A summary of data about the Ruby ecosystem.

https://github.com/ruby/ruby2_keywords

Shim library for Module#ruby2_keywords
https://github.com/ruby/ruby2_keywords

Keywords

ruby

Keywords from Contributors

activerecord rubygems activejob mvc debugging-tool debugger repl openssl tls documentation-tool

Last synced: about 15 hours ago
JSON representation

Repository metadata

Shim library for Module#ruby2_keywords

README.md

ruby2_keywords

Provides empty Module#ruby2_keywords method, for the forward
source-level compatibility against ruby2.7 and ruby3.

Installation

Add this line to your application's Gemfile:

gem 'ruby2_keywords'

And then execute:

$ bundle

Or install it yourself as:

$ gem install ruby2_keywords

Usage

For class/module instance methods:

require 'ruby2_keywords'

module YourModule
  ruby2_keywords def delegating_method(*args)
    other_method(*args)
  end
end

For global methods:

require 'ruby2_keywords'

ruby2_keywords def oldstyle_keywords(options = {})
end

You can do the same for a method defined by Module#define_method:

define_method :delegating_method do |*args, &block|
  other_method(*args, &block)
end
ruby2_keywords :delegating_method

Contributing

Bug reports and pull requests are welcome on GitHub or
Ruby Issue Tracking System.

Development

After checking out the repo, run bundle install to install dependencies.
Then, run bundle exec rake test to run the tests.

To test on older Ruby versions, you can use docker. E.g. to test on Ruby 2.0,
use docker-compose run ruby-2.0.

License

The gem is available as open source under the terms of the
Ruby License or the 2-Clause BSD License.


Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 8 days ago

Total Commits: 63
Total Committers: 10
Avg Commits per committer: 6.3
Development Distribution Score (DDS): 0.429

Commits in past year: 5
Committers in past year: 1
Avg Commits per committer in past year: 5.0
Development Distribution Score (DDS) in past year: 0.0

Name Email Commits
Nobuyoshi Nakada n****u@r****g 36
Ivo Anjo i****o@d****m 7
Hiroshi SHIBATA h****t@r****g 6
Yusuke Endoh m****e@r****g 5
dependabot[bot] 4****] 2
Nazar Matus f****e@g****m 2
Benoit Daloze e****p@g****m 2
Junichi Sato 2****1 1
Jeremy Evans c****e@j****t 1
Antonio Terceiro a****a@t****z 1

Committer domains:


Issue and Pull Request metadata

Last synced: 4 days ago

Total issues: 7
Total pull requests: 30
Average time to close issues: 5 months
Average time to close pull requests: about 1 month
Total issue authors: 6
Total pull request authors: 11
Average comments per issue: 2.71
Average comments per pull request: 0.63
Merged pull request: 18
Bot issues: 0
Bot pull requests: 12

Past year issues: 0
Past year pull requests: 13
Past year average time to close issues: N/A
Past year average time to close pull requests: 28 days
Past year issue authors: 0
Past year pull request authors: 2
Past year average comments per issue: 0
Past year average comments per pull request: 0.46
Past year merged pull request: 2
Past year bot issues: 0
Past year bot pull requests: 9

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/ruby/ruby2_keywords

Top Issue Authors

  • ShockwaveNN (2)
  • pvalena (1)
  • swikars1 (1)
  • brian-kephart (1)
  • bastelfreak (1)
  • p (1)

Top Pull Request Authors

  • dependabot[bot] (12)
  • hsbt (5)
  • mame (4)
  • eregon (2)
  • FunkyloverOne (1)
  • tanakakc (1)
  • terceiro (1)
  • sato11 (1)
  • nobu (1)
  • jeremyevans (1)
  • ivoanjo (1)

Top Issue Labels

Top Pull Request Labels

  • dependencies (12)
  • github_actions (9)

Package metadata

gem.coop: ruby2_keywords

Shim library for Module#ruby2_keywords

  • Homepage: https://github.com/ruby/ruby2_keywords
  • Documentation: http://www.rubydoc.info/gems/ruby2_keywords/
  • Licenses: Ruby,BSD-2-Clause
  • Latest release: 0.0.5 (published over 4 years ago)
  • Last Synced: 2025-12-10T12:00:54.303Z (2 days ago)
  • Versions: 6
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 416,170,603 Total
  • Docker Downloads: 3,568,298,120
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 0.019%
    • Docker downloads count: 0.021%
    • Downloads: 0.056%
  • Maintainers (3)
rubygems.org: ruby2_keywords

Shim library for Module#ruby2_keywords

  • Homepage: https://github.com/ruby/ruby2_keywords
  • Documentation: http://www.rubydoc.info/gems/ruby2_keywords/
  • Licenses: Ruby,BSD-2-Clause
  • Latest release: 0.0.5 (published over 4 years ago)
  • Last Synced: 2025-12-10T20:00:34.444Z (1 day ago)
  • Versions: 6
  • Dependent Packages: 55
  • Dependent Repositories: 134,322
  • Downloads: 416,285,517 Total
  • Docker Downloads: 3,568,298,120
  • Rankings:
    • Docker downloads count: 0.026%
    • Downloads: 0.06%
    • Dependent repos count: 0.106%
    • Dependent packages count: 0.495%
    • Average: 2.364%
    • Forks count: 6.595%
    • Stargazers count: 6.906%
  • Maintainers (3)
proxy.golang.org: github.com/ruby/ruby2_keywords

  • Homepage:
  • Documentation: https://pkg.go.dev/github.com/ruby/ruby2_keywords#section-documentation
  • Licenses: bsd-2-clause
  • Latest release: v0.0.5 (published almost 5 years ago)
  • Last Synced: 2025-12-10T20:00:35.236Z (1 day ago)
  • Versions: 6
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Stargazers count: 5.371%
    • Forks count: 5.453%
    • Average: 7.8%
    • Dependent packages count: 9.576%
    • Dependent repos count: 10.802%

Dependencies

gems.rb rubygems
  • rake >= 0 development
  • test-unit >= 2.2 development
.github/workflows/test.yml actions
  • actions/checkout master composite
  • actions/upload-artifact v3 composite
  • ruby/setup-ruby v1 composite
docker-compose.yml docker
  • ruby 2.0
  • ruby 2.1
  • ruby 2.2
  • ruby 2.3
  • ruby 2.4
  • ruby 2.5
  • ruby 2.6
  • ruby 2.7
  • ruby 3.0
ruby2_keywords.gemspec rubygems
.github/workflows/push_gem.yml actions
  • actions/checkout 11bd71901bbe5b1630ceea73d27597364c9af683 composite
  • ruby/setup-ruby 13e7a03dc3ac6c3798f4570bfead2aed4d96abfb composite
  • rubygems/release-gem a25424ba2ba8b387abc8ef40807c2c85b96cbe32 composite
  • step-security/harden-runner 0634a2670c59f64b4a01f0f96f84700a4088b9f0 composite

Score: 29.32094166204347