タグ

関連タグで絞り込む (0)

  • 関連タグはありません

タグの絞り込みを解除

GemとRubyとRailsに関するYassLabのブックマーク (10)

  • RubyGems/Bundler における Cooldown 機能の議論と現状 - ANDPAD Tech Blog

    こんにちは、Ruby コミッタの柴田です。最近は暖かくなり、ガーデニングで栽培しているバラや藤の新芽や花芽が出てくる時期になってきたので、しっかり花を咲かせるように薬剤や肥料の準備をしなければ〜と必要なものの買い物計画を立てている真っ最中です。 今回はサプライチェーンセキュリティの対策として他のエコシステムで導入が進んでいる「Cooldown(クールダウン)」機能を紹介し、私がメンテナンスしている RubyGems と Bundler でも導入するべきか検討した背景と、今後の方向性についてお話しします。 Cooldown とは何か Cooldown とは、パッケージの新しいバージョンがリリースされてから一定期間が経過するまで、そのバージョンへの更新を行わないようにする仕組みです。 この機能の主な目的はサプライチェーン攻撃の緩和です。悪意のあるコードが含まれたパッケージがリリースされた場合、

    RubyGems/Bundler における Cooldown 機能の議論と現状 - ANDPAD Tech Blog
    YassLab
    YassLab 2026/03/20
    "RubyGems でも 2020 年に 700 以上のタイポスクワッティング型の悪意ある Gem / Cooldown は完璧な解決策ではありませんが、RubyGems.org 側でのスキャンやメタデータの提供と組み合わせることで、実効性のある対策にできる可能性”
  • Rubyのbundlerを劇的に高速化するShopifyの取り組み(翻訳)|TechRacho by BPS株式会社

    概要 CC BY-NC-SA 4.0 International Deedに基づいて翻訳・公開いたします。 英語記事: Faster bundler | Rails at Scale 原文公開日: 2026年03月09日 原著者: Edouard Chin、Eileen Uchitelle CC BY-NC-SA 4.0 Deed | 表示 - 非営利 - 継承 4.0 国際 | Creative Commons 日語タイトルは内容に即したものにしました。 Shopifyでは開発環境の高速化が求められています。特にShopifyほど大規模なアプリケーションになると、依存関係のインストールにも時間がかかるものです。TypeScriptbunPythonのuvは、依存関係のインストール時間を劇的に改善しましたが、同じことがBundlerとRubyコミュニティでも実現可能だとしたら嬉しいで

    Rubyのbundlerを劇的に高速化するShopifyの取り組み(翻訳)|TechRacho by BPS株式会社
    YassLab
    YassLab 2026/03/17
    "Bundlerのgemダウンロード速度は200%高速化し、モノリス内でgemをgit cloneするときの速度も3倍高速化 / cibuildgemでプリコンパイルする方式に変えたことで、Shopifyのアプリケーション内でbundle installの実行時間全体を3.5倍も短縮"
  • Rails アプリケーションへの型導入検討 - エムスリーテックブログ

    この記事はエムスリー Advent Calendar 2025 5日目の記事です。 エムスリーエンジニアリングG コンシューマーチームの松原です。 Rails アプリケーション開発で型が欲しいと思ったことありますか? 正直なところ、筆者はそれほど必要ないと考えていました。日々開発・運用している Rails アプリケーションの中には10年選手のものもあり、コードベースの勘所もほぼ把握できている状態だったためです。 しかし、ここ最近は TypeScript で開発されているプロジェクトに触れて型のメリットを実感し、型があった方が嬉しいことの方が多いかもしれないと感じています。 ここ半年ほどを振り返ってみても、型があれば防げたであろう問題に大小合わせると数回以上は遭遇しており、型導入による恩恵がコストを上回る可能性が高いのではないかと考えるようになりました。 また生成 AI が出力するコードにも

    Rails アプリケーションへの型導入検討 - エムスリーテックブログ
    YassLab
    YassLab 2025/12/10
    “現時点の評価 -- ツールとしてのこなれ感と、運用時に段階的に型チェックを進めていきやすそうなところで Sorbet を導入していくのが今のチームには適していそうです”
  • RubyGems/Bundler 4.0 最速解説 - ANDPAD Tech Blog

    こんにちは、hsbt です。 相変わらず原神やゼンレスゾーンゼロをプレイしているのですが、Yotei をひと段落したあとにアサシンクリードシャドウズをプレイしてみたら、面白さ再発見という感じで楽しくプレイしています。 今回は、私がメンテナとして開発をしている RubyGems と Bundler のメジャーアップデートである 4.0.0 の重要な変更点と備えについて解説します。特に Bundler 4の変更は、セキュリティの強化 と、長年の混乱の元となっていた暗黙的な挙動の明確化 に焦点を当てています。長年の利用を通じて慣れ親しんだ動作のいくつかがBundler 4でデフォルトから変更されます。 4.0.0 Released - RubyGems Blog Upgrading to RubyGems/Bundler 4 - RubyGems Blog 私が書いた上記の2つのエントリにフルバ

    RubyGems/Bundler 4.0 最速解説 - ANDPAD Tech Blog
    YassLab
    YassLab 2025/12/07
    “チェックサムによるセキュリティ強化 -- 特に rubygems.org 以外の private server などを利用している場合は、Bundler 2.7 であってもいますぐに bundle lock --add-checksums を実行してチェックサムを追加することを強くお勧めします。”
  • Our Stewardship: Where We Are, What’s Changing and How We’ll Engage

    Dear Rubyists, Thank you for giving me this opportunity to share with you. We take our stewardship of the Ruby Gems ecosystem seriously. Our mission is clear: keep the language and the infrastructure you rely on stable, safe, and trustworthy. Before we get to what the next steps will be, here is a quick recap from the video that we shared last week. Moving parts:We recognize there is confusion bet

    Our Stewardship: Where We Are, What’s Changing and How We’ll Engage
    YassLab
    YassLab 2025/10/04
    “community PRs continue as normal, while a small set of direct commit/owner rights are temporarily paused and are being re-granted as roles are confirmed. We have set a clear deadline to complete this work within the next two weeks, so access can be restored in an orderly, transparent way.”
  • Strengthening the Stewardship of RubyGems and Bundler

    Updated 2025-09-25 to reflect: Postponement of Q&A Session and link to updated statement. Ruby Community, At the heart of Ruby Central’s mission is our responsibility to steward the open source tools that power the Ruby ecosystem. That commitment is only as strong as the people and processes behind it. Over the past several months, we have been carefully reviewing how RubyGems.org, RubyGems, and B

    Strengthening the Stewardship of RubyGems and Bundler
    YassLab
    YassLab 2025/09/20
    “Ruby Central will play a supporting role in collaboration with the Ruby Core team, and we will continue to provide project-based grants to ensure these projects evolve in a way that is secure, community-driven, and sustainable.”
  • GitHub - skryukov/typelizer: A TypeScript type generator for Ruby serializers.

    You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

    GitHub - skryukov/typelizer: A TypeScript type generator for Ruby serializers.
    YassLab
    YassLab 2025/03/07
    "Typelizer is a Ruby gem that automatically generates TypeScript i/fs from your Ruby serializers, bridging the gap between Ruby backend and TypeScript frontend. It supports multiple serializer libs and provides a flexible config system, making it easier to maintain type consistency across your app"
  • スタディサプリ最大のRailsアプリケーションにYJIT+pitchforkを導入してメモリ使用量を劇的に削減するまで - スタディサプリ Product Team Blog

    こんにちは。SREのkyontanです。Rubyが大好きなのでRubyの話をします。ちなみにリクルートはRubyKaigi 2024へGold Sponsorとして協賛しています! *1。ぜひ沖縄でお会いしましょう。 これはあるアプリケーションのメモリ消費量を示すグラフなのですが、まさかgemを入れ替えるだけでこんなに嬉しい変化が見られるとは思っていませんでした。今日はそんなgemの話をします。 話は遡って2023年4月のある日、インターネットを眺めていたところ、ShopifyがpitchforkというOSSを公開したという情報が目に留まりました。 調べてみると、どうやら著名なRackサーバー実装の1つであるunicornの派生版であり、メモリ使用量の削減に特化しているらしいのです。 github.com これはスタディサプリ小中高のあのリソースドカいマイクロサービス第一位である api

    スタディサプリ最大のRailsアプリケーションにYJIT+pitchforkを導入してメモリ使用量を劇的に削減するまで - スタディサプリ Product Team Blog
    YassLab
    YassLab 2024/04/02
    "松本で行われたRubyKaigi 2023に参加した際にはAfter Partyでbyroot氏とも対面で会話し、多分そのワークロードだとうまく動くと思う、みたいな会話 / 先は長そうだ……と思いつつpitchforkにissueを立ててみると、なんと40分で解決"
  • activerecord-originator をリリースしました - pockestrap

    こんにちは。 id:Pocke です。 今日は activerecord-originator という gem を作ったので紹介します。 github.com なにこれ Active Record が発行するSQLの各部分に、それがどこで作られたものかをコメントとして入れ込む gem です。 理解するには実例を見るのが早いでしょう。次のログはArticlesController#indexで実行されるクエリの例です。 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."status" = ? /* app/models/article.rb:3:in `published' */ AND "articles"."category_id" = ? /* app/controllers/artic

    activerecord-originator をリリースしました - pockestrap
    YassLab
    YassLab 2024/03/14
    "SQL の組み立てが複雑になると、この gem が真価を発揮 / そのクエリがどのように組み立てられたかがピンポイントで分かる / default_scope のような、どこで付与されたのか分かりづらい条件をデバッグする際にも役立つ"
  • GitHub - makicamel/circuit_switch: circuit_switch is a gem for 'difficult' application. This switch helps to make changes easier and deploy safely.

    You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

    GitHub - makicamel/circuit_switch: circuit_switch is a gem for 'difficult' application. This switch helps to make changes easier and deploy safely.
    YassLab
    YassLab 2024/02/19
    “circuit_switch is a gem for 'difficult' application; for example, few tests, too many meta-programming codes, low aggregation classes and few deploys. This switch helps make changes easier and deploy safely. You can deploy and check with a short code ”
  • 1