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

Update webmock for Ruby 2.4.x #30

Closed
wants to merge 7 commits into from
Closed

Update webmock for Ruby 2.4.x #30

wants to merge 7 commits into from

Conversation

flyinggrizzly
Copy link
Contributor

StubSocket no longer has a #close method in Ruby 2.4. Fixed in later versions.

Convert specs to RSpec 2.99.2 syntax with Transpec

This conversion is done by Transpec 3.3.0 with the following command:
    transpec

* 56 conversions
    from: obj.should
      to: expect(obj).to

* 29 conversions
    from: it { should ... }
      to: it { is_expected.to ... }

* 3 conversions
    from: it { should_not ... }
      to: it { is_expected.not_to ... }

* 1 conversion
    from: == expected
      to: eq(expected)

For more details: https://github.com/yujinakayama/transpec#supported-conversions

bump rspec to 3.6
Bump ruby to use rails 5 minimum 2.2.2
Activesupport is set to all 5.x.x versions

Ruby version wasn't actually udpated before,
this commit actually updates it to 2.2.2

update gem version

roll active support down to 5 for all vers of Rails 5
@flyinggrizzly flyinggrizzly deleted the update-active-support branch August 12, 2017 16:11
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.

1 participant