Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds RbConfig class to remove deprecation warnings #45

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kurko
Copy link

@kurko kurko commented Jun 23, 2012

Since Ruby 1.9.1, the Config class should be renamed to RbConfig. This
commit adds that but also leaves the old Config for olders Ruby
versions.

Since Ruby 1.9.1, the Config class should be renamed to RbConfig. This
commit adds that but also leaves the old Config for olders Ruby
versions.
@kurko
Copy link
Author

kurko commented Jun 23, 2012

I couldn't make rake work. Tried the described below with no success.

→ ruby -rubygems -Ilib -Itest -I./ test/test_watchr.rb 
Run options: --seed 19276

# Running tests:

/Users/kurko/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/ruby-fsevent-0.2.1/lib/fsevent/signal_ext.rb:46:in `trap': wrong number of arguments (2 for 1) (ArgumentError)
        from /Users/kurko/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/mocha-0.11.4/lib/mocha/integration/mini_test/version_230_to_262.rb:46:in `run'
        from /Users/kurko/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite'
        from /Users/kurko/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/minitest/unit.rb:780:in `map'
        from /Users/kurko/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite'
        from /Users/kurko/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/minitest/unit.rb:770:in `block in _run_suites'
        from /Users/kurko/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/minitest/unit.rb:770:in `map'
        from /Users/kurko/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/minitest/unit.rb:770:in `_run_suites'
        from /Users/kurko/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/minitest/unit.rb:746:in `_run_anything'
        from /Users/kurko/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/minitest/unit.rb:909:in `run_tests'
        from /Users/kurko/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/minitest/unit.rb:896:in `block in _run'
        from /Users/kurko/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/minitest/unit.rb:895:in `each'
        from /Users/kurko/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/minitest/unit.rb:895:in `_run'
        from /Users/kurko/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/minitest/unit.rb:884:in `run'
        from /Users/kurko/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/minitest/unit.rb:664:in `block in autorun'

@kevinburke
Copy link

This has been fixed here:

http://github.com/kevinburke/observr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants