shopify_app 7.2.3 → 7.2.5

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: a6802e72897eb705326a9cc6639506aa5eefb912
4
- data.tar.gz: 76ae92534abcbbc635adcab460e6d7b72898a5ca
3
+ metadata.gz: 73a13aa324e7251f1f84dad2ebf4fdecd17d9a90
4
+ data.tar.gz: b202b5087f3bdc3e0e70010f1f3d3ac311a8ab79
5
5
  SHA512:
6
- metadata.gz: 22cb00e95696ddfce4f64cd77cbe422de626e17e654b151d89c83a2d0813469a4565f51725f848c557e70b58275f2dfb1f40e0600d2bd03f787fa97d38325ae7
7
- data.tar.gz: fffd5d0b94281792e7911091060654f06192387b9a5d08f336a6ec18725af3094a65c4ff5d9e05771dd0fba7d326d04b17572f305d68a2f6cef93fe0cb30b49b
6
+ metadata.gz: 80c4a1fa400a9e664d8123038b221cc3602bbf4ea6c077fbd3f429a6df5c618e2ff35a46e670790fcfabf08aac4665fcca8e9008c2b8096327da08cfb49db553
7
+ data.tar.gz: 062e0684614ed72ca775392ca7d97e9d0df6f1a6d47f99bf5267919025a99d18945efe2351b5ff0552c3db66e93b6e746a98f594116cddcae8536e544bb057f8
@@ -1,11 +1,17 @@
1
- 7.2.2
1
+ 7.2.5
2
2
  -----
3
- * Use postMessage to redirect parent iframe during authentication
4
- https://github.com/Shopify/shopify_app/pull/366
3
+ * Update LoginProtection.redirection_javascript to work with absolute URLS
4
+ [[#389]](https://github.com/Shopify/shopify_app/pull/389)
5
5
 
6
- 7.2.1
6
+ 7.2.4
7
7
  -----
8
+ * Fix redirect issue by sanitizing shop name on sessions#new
9
+
10
+ 7.2.3
11
+ -----
12
+ * Use postMessage to redirect parent iframe during authentication [[#366]](https://github.com/Shopify/shopify_app/pull/366)
8
13
  * Add support for dynamically generating scripttag URLs
14
+ * Bug-fix: Update scripttags_manager_job
9
15
  * Bug-fix: `--application_name` and `--scope` generates proper Configuration even when options supplied to them contain whitespaces.
10
16
 
11
17
  7.2.0
data/RELEASING CHANGED
@@ -1,13 +1,15 @@
1
1
  Releasing ShopifyApp
2
2
 
3
3
  1. Check the Semantic Versioning page for info on how to version the new release: http://semver.org
4
- 2. Update the version of ShopifyApp in lib/shopify_app/version.rb
5
- 3. Add a CHANGELOG entry for the new release with the date
6
- 4. Commit the changes with a commit message like "Packaging for release X.Y.Z"
7
- 5. Tag the release with the version (Leave REV blank for HEAD or provide a SHA)
8
- $ git tag vX.Y.Z REV
9
- 6. Push out the changes
10
- $ git push
11
- 7. Push out the tags
4
+ 2. Create a pull request with the following changes:
5
+ * Update the version of ShopifyApp in lib/shopify_app/version.rb
6
+ * Add a CHANGELOG entry for the new release with the date
7
+ * Commit the changes with a commit message like "Packaging for release X.Y.Z"
8
+ 3. Merge your pull request
9
+ 4. Pull from master so you have the latest version of the shopify_app
10
+ 5. Tag the HEAD with the version (Leave REV blank for HEAD or provide a SHA)
11
+ $ git tag vX.Y.Z
12
+ 6. Push out your tags
12
13
  $ git push --tags
13
- 8. Use Shipit to build and push the gem
14
+ 7. Use Shipit to build and push the gem (you may have to clear GIT cache in
15
+ Shipit to get the latest tags)
@@ -0,0 +1,4 @@
1
+ fr:
2
+ logged_in: 'Vous êtes connecté(e)'
3
+ logged_out: 'Vous êtes déconnecté(e)'
4
+ could_not_log_in: 'Impossible de se connecter à la boutique Shopify'
@@ -79,9 +79,12 @@ module ShopifyApp
79
79
 
80
80
  // If the current window is the 'child', change the parent's URL with postMessage
81
81
  } else {
82
+ normalizedLink = document.createElement('a');
83
+ normalizedLink.href = #{url.to_json};
84
+
82
85
  data = JSON.stringify({
83
86
  message: 'Shopify.API.remoteRedirect',
84
- data: { location: window.location.origin + #{url.to_json} }
87
+ data: { location: normalizedLink.href }
85
88
  });
86
89
  window.parent.postMessage(data, "https://#{sanitized_shop_name}");
87
90
  }
@@ -8,7 +8,7 @@ module ShopifyApp
8
8
  end
9
9
 
10
10
  def new
11
- authenticate if params[:shop].present?
11
+ authenticate if sanitized_shop_name.present?
12
12
  end
13
13
 
14
14
  def create
@@ -1,3 +1,3 @@
1
1
  module ShopifyApp
2
- VERSION = '7.2.3'
2
+ VERSION = '7.2.5'
3
3
  end
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.3
4
+ version: 7.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shopify
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-09 00:00:00.000000000 Z
11
+ date: 2017-02-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -148,6 +148,7 @@ files:
148
148
  - app/views/shopify_app/sessions/new.html.erb
149
149
  - config/locales/en.yml
150
150
  - config/locales/es.yml
151
+ - config/locales/fr.yml
151
152
  - config/routes.rb
152
153
  - images/app-proxy-screenshot.png
153
154
  - lib/generators/shopify_app/add_webhook/add_webhook_generator.rb
@@ -215,7 +216,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
215
216
  version: '0'
216
217
  requirements: []
217
218
  rubyforge_project:
218
- rubygems_version: 2.5.1
219
+ rubygems_version: 2.5.2
219
220
  signing_key:
220
221
  specification_version: 4
221
222
  summary: This gem is used to get quickly started with the Shopify API