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

Remove support for rails 4 #417

Merged
merged 4 commits into from
May 29, 2017
Merged

Remove support for rails 4 #417

merged 4 commits into from
May 29, 2017

Conversation

Hammadk
Copy link
Member

@Hammadk Hammadk commented May 28, 2017

We need to remove support for Rails 4 because changes to the testing syntax In Rails 5 are not compatible with this version.

This PR makes the following changes:

  • Update Travis CI to only test Rails 5
  • Update test syntax to match Rails 5
  • Clean up tests

@Hammadk Hammadk force-pushed the remove-support-for-rails-4 branch from a5b46da to 6b2ef33 Compare May 28, 2017 00:43
Copy link
Member

@SebastianSzturo SebastianSzturo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀 Thanks for the cleanup.

@Hammadk
Copy link
Member Author

Hammadk commented May 29, 2017

Sub @swalkinshaw for @kevinhughes27 since Kevin is away. Scott, please see the comments in this thread for context on why we are removing support for Rails 5).

@Hammadk Hammadk requested a review from swalkinshaw May 29, 2017 18:13
.travis.yml Outdated
@@ -6,5 +6,4 @@ rvm:
- 2.3.1

gemfile:
- Gemfile.rails40
- Gemfile.rails50
- Gemfile
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this even needed anymore?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We didn't need that. Removed 👍

Copy link
Contributor

@swalkinshaw swalkinshaw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good stuff 🚀

@swalkinshaw
Copy link
Contributor

Oh, can you update https://github.com/Shopify/shopify_app#rails-5

@Hammadk Hammadk merged commit 9d5bdd6 into master May 29, 2017
@Hammadk Hammadk deleted the remove-support-for-rails-4 branch May 29, 2017 20:11
@kevinhughes27
Copy link
Contributor

Awesome! Thanks for doing this :)

@ashmaroli
Copy link
Contributor

Shouldn't this have been released as v7.3.0 to avoid breaking apps with dependency on minor?

gem 'shopify_app', '~> 7.2.0'

@Hammadk
Copy link
Member Author

Hammadk commented May 30, 2017

Fair point Ashmaroli. We should have skipped to 7.3.0 instead of 7.2.9.

On the bright side, bundler will complain and let them know if their app is using Rails < 5.

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.

5 participants