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

Simplify handling of params #76

Merged

Conversation

nickcoyne
Copy link
Contributor

@nickcoyne nickcoyne commented Jul 21, 2016

Replace the version specific methods with something that will probably require less maintenance. And works for Rails 5.

@nickcoyne nickcoyne force-pushed the simplify-rails-version-param-handling branch from 8ffdd47 to f5d29b2 Compare July 22, 2016 04:10
@nickcoyne
Copy link
Contributor Author

Builds are failing for Ruby 1.9.3 and 2.2.0. Looks like it may be gem dependency issues.

@samselikoff
Copy link
Contributor

@ryanto I don't have commit access here

@nickcoyne nickcoyne force-pushed the simplify-rails-version-param-handling branch from d0b4b3a to 5616fa3 Compare June 27, 2017 23:42
@nickcoyne nickcoyne mentioned this pull request Sep 15, 2017
@jhirbour
Copy link
Contributor

@samselikoff or @ryanto can you add me or @danbernier as a owner on RubyGems so we can push new versions of this gem up?

@ryanto
Copy link
Contributor

ryanto commented Jun 26, 2018

Of course! I need your rubygems emails. I tried using your hirbour.org email, but it said user not found.

@jhirbour
Copy link
Contributor

@ryanto just emailed you.

@ryanto
Copy link
Contributor

ryanto commented Jun 26, 2018

Perfect, you're all set!

@jhirbour
Copy link
Contributor

@nickcoyne once you resolve the merge conflicts, I'll get this merged and pushed to rubygems. Also make sure you bump the version number.

@samselikoff
Copy link
Contributor

Just as an FYI – on my open-source repos I've started wiring up Travis to be able to publish new versions of our libs (npm, ruby gems). This way, we don't need to manage two sets of permissions. Anyone who has access to the Github repo can release/publish (since Travis is the one releasing).

Wanted to mention this because I really like the pattern and could help in the future.

Replace the version specific params methods with something that will probably
require less maintenance. And works for Rails 5.
* Also update for Rails 5 compatibility, and adds Rails 5 to the Travis build
  matrix.
@nickcoyne nickcoyne force-pushed the simplify-rails-version-param-handling branch from fbb69e0 to 0d7b530 Compare June 28, 2018 17:45
No more support for < 5.0
@nickcoyne nickcoyne force-pushed the simplify-rails-version-param-handling branch from 0d7b530 to 141eacc Compare June 28, 2018 17:48
@nickcoyne
Copy link
Contributor Author

@jhirbour my last commit on this PR removed support for Rails < 5.0. Are you ok with that? I could probably do some more tidying up around that too.

@jhirbour
Copy link
Contributor

@nickcoyne I'm discussing internally. I'll get back to you.

@alexdean
Copy link

@nickcoyne i need to update a FEB-using rails app to rails 5, & i'd like to get this PR merged & tagged & released. are you using this code currently? (tests are passing in travis, but not sure if that's sufficient or not.)

looks like the travis build matrix needs some cleanup (stop testing on rails versions < 5, probably update the set of rubies being tested against), and need some changelog notes. i'm happy to take that.

@nickcoyne
Copy link
Contributor Author

@alexdean yes this code is currently in use on ed.ted.com (Rails 5.1)

gem 'front_end_builds',
    git: 'https://github.com/nickcoyne/front_end_builds.git',
    branch: 'simplify-rails-version-param-handling'

@jozefvaclavik
Copy link

I'm also running this branch on Rails 5.2. All good.

@jozefvaclavik jozefvaclavik mentioned this pull request Jan 18, 2019
@jhirbour
Copy link
Contributor

@nickcoyne I'm working on creating/tagging/pushing a release with these changes. I'll adjust the README accordingly. I'll also take a stab at fixing the travis bits too.

@jhirbour
Copy link
Contributor

jhirbour commented Feb 1, 2019

I've created this PR to incorporate Nick's changes into master. My PR also contains fixes for OpenSSL V2 which is used in Ruby 2.4 and greater.

@jhirbour jhirbour merged commit 141eacc into tedconf:master Feb 5, 2019
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.

6 participants