shopify_app 7.2.8 → 7.2.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: da5334ef600cd3a2b85e2d563063c4971f9c4216
4
- data.tar.gz: 80ff75561b661796dd57950ce1e1f2772d848bff
3
+ metadata.gz: 6d2ec69edc2076207b931a70ca4a179ca6eaa44b
4
+ data.tar.gz: bbe2f402bbe4477342d3fd7e94b66159ef57c06f
5
5
  SHA512:
6
- metadata.gz: 00b236462b953a09ebf7cf48a02d0124ff1b1e3d1baa08b2965119e114802a77794f945a3941d2910891f1fb4d93be615ea77c03b967da57de8bec589e33f66e
7
- data.tar.gz: 35ef4a7b8a5a42b17160f7b275dbabce8e00f5ec79458c83bc90b9b147e8e378be987464e85140afb1de3c44b9148f2fe4cda6fd689cda9ec278d1762c746269
6
+ metadata.gz: b00c710d21d28a13ad737e0ad8448a0312ac1f66e9d707bf75ab4c9d48ebee5a3d54d6c97e37f1f0f540182920c083c9cd5ddcabb8d04457dd3d0993362ed99c
7
+ data.tar.gz: 1d218d5683519c3f76483156ad019fcbd991791423782edfdd4d89ec8a2525285b964b62b84605c39d1a064693413307dc4fcfd96c045ff0760c71ccbf68f7b1
data/.travis.yml CHANGED
@@ -4,7 +4,3 @@ sudo: false
4
4
 
5
5
  rvm:
6
6
  - 2.3.1
7
-
8
- gemfile:
9
- - Gemfile.rails40
10
- - Gemfile.rails50
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ 7.2.9
2
+ -----
3
+ * Remove support for Rails 4
4
+ [[#417]](https://github.com/Shopify/shopify_app/pull/417)
5
+
1
6
  7.2.8
2
7
  -----
3
8
  * Add i18n locale param support
data/README.md CHANGED
@@ -15,7 +15,7 @@ Table of Contents
15
15
  * [**Quickstart**](#quickstart)
16
16
  * [**Becoming a Shopify App Developer**](#becoming-a-shopify-app-developer)
17
17
  * [**Installation**](#installation)
18
- * [Rails 5](#rails-5)
18
+ * [Rails Compatibility](#rails-compatibility)
19
19
  * [**Generators**](#generators)
20
20
  * [Default Generator](#default-generator)
21
21
  * [Install Generator](#install-generator)
@@ -94,14 +94,9 @@ $ bundle install
94
94
  Now we are ready to run any of the shopify_app generators. The following section explains the generators and what they can do.
95
95
 
96
96
 
97
- #### Rails 5
97
+ #### Rails Compatibility
98
98
 
99
- shopify_app is compatible with Rails 5 but since the latest ActiveResource release (4.1) is locked on Rails 4.x, you'll need to use the unreleased master version:
100
-
101
- ```ruby
102
- gem 'shopify_app'
103
- gem 'activeresource', github: 'rails/activeresource'
104
- ```
99
+ The lastest version of shopify_app is compatible with Rails `>= 5`. Use version `<= v7.2.8` if you need to work with Rails 4.
105
100
 
106
101
 
107
102
  Generators
@@ -3,12 +3,7 @@ module ShopifyApp
3
3
  extend ActiveSupport::Concern
4
4
 
5
5
  included do
6
- if Rails.version >= '5.0'
7
- skip_before_action :verify_authenticity_token, raise: false
8
- else
9
- skip_before_action :verify_authenticity_token
10
- end
11
-
6
+ skip_before_action :verify_authenticity_token, raise: false
12
7
  before_action :verify_proxy_request
13
8
  end
14
9
 
@@ -1,3 +1,3 @@
1
1
  module ShopifyApp
2
- VERSION = '7.2.8'
2
+ VERSION = '7.2.9'
3
3
  end
@@ -3,12 +3,7 @@ module ShopifyApp
3
3
  extend ActiveSupport::Concern
4
4
 
5
5
  included do
6
- if Rails.version >= '5.0'
7
- skip_before_action :verify_authenticity_token, raise: false
8
- else
9
- skip_before_action :verify_authenticity_token
10
- end
11
-
6
+ skip_before_action :verify_authenticity_token, raise: false
12
7
  before_action :verify_request
13
8
  end
14
9
 
data/shopify_app.gemspec CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |s|
10
10
 
11
11
  s.required_ruby_version = ">= 2.2.2"
12
12
 
13
- s.add_runtime_dependency('rails', '>= 4.2.6')
13
+ s.add_runtime_dependency('rails', '>= 5.0.0')
14
14
  s.add_runtime_dependency('shopify_api', '>= 4.3.2')
15
15
  s.add_runtime_dependency('omniauth-shopify-oauth2', '~> 1.1.11')
16
16
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shopify_app
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.2.8
4
+ version: 7.2.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shopify
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-09 00:00:00.000000000 Z
11
+ date: 2017-05-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 4.2.6
19
+ version: 5.0.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 4.2.6
26
+ version: 5.0.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: shopify_api
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -132,8 +132,6 @@ files:
132
132
  - ".travis.yml"
133
133
  - CHANGELOG.md
134
134
  - Gemfile
135
- - Gemfile.rails40
136
- - Gemfile.rails50
137
135
  - ISSUE_TEMPLATE.md
138
136
  - LICENSE
139
137
  - QUICKSTART.md
data/Gemfile.rails40 DELETED
@@ -1,4 +0,0 @@
1
- source 'https://rubygems.org'
2
- gemspec
3
-
4
- gem 'rails', '>=4.2.6', '<5.0.0'
data/Gemfile.rails50 DELETED
@@ -1,5 +0,0 @@
1
- source 'https://rubygems.org'
2
- gemspec
3
-
4
- gem 'rails', '5.0.2'
5
- gem 'activeresource', github: 'rails/activeresource'