spiffy_stores_app 8.2.10 → 8.2.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (68) hide show
  1. checksums.yaml +5 -5
  2. data/.gitignore +0 -0
  3. data/.rubocop.yml +0 -0
  4. data/.travis.yml +0 -0
  5. data/CHANGELOG.md +4 -0
  6. data/Gemfile +0 -0
  7. data/README.md +0 -0
  8. data/Rakefile +0 -0
  9. data/app/assets/javascripts/spiffy_stores_app/redirect.js +0 -0
  10. data/app/controllers/spiffy_stores_app/authenticated_controller.rb +0 -0
  11. data/app/controllers/spiffy_stores_app/sessions_controller.rb +0 -0
  12. data/app/controllers/spiffy_stores_app/webhooks_controller.rb +0 -0
  13. data/app/views/spiffy_stores_app/sessions/new.html.erb +0 -0
  14. data/app/views/spiffy_stores_app/shared/redirect.html.erb +0 -0
  15. data/config/locales/de.yml +0 -0
  16. data/config/locales/en.yml +0 -0
  17. data/config/locales/es.yml +0 -0
  18. data/config/locales/fr.yml +0 -0
  19. data/config/locales/ja.yml +0 -0
  20. data/config/routes.rb +0 -0
  21. data/docs/Quickstart.md +0 -0
  22. data/images/app-proxy-screenshot.png +0 -0
  23. data/lib/generators/spiffy_stores_app/add_after_authenticate_job/add_after_authenticate_job_generator.rb +0 -0
  24. data/lib/generators/spiffy_stores_app/add_after_authenticate_job/templates/after_authenticate_job.rb +0 -0
  25. data/lib/generators/spiffy_stores_app/add_webhook/add_webhook_generator.rb +0 -0
  26. data/lib/generators/spiffy_stores_app/add_webhook/templates/webhook_job.rb +0 -0
  27. data/lib/generators/spiffy_stores_app/app_proxy_controller/app_proxy_controller_generator.rb +0 -0
  28. data/lib/generators/spiffy_stores_app/app_proxy_controller/templates/app_proxy_controller.rb +0 -0
  29. data/lib/generators/spiffy_stores_app/app_proxy_controller/templates/app_proxy_route.rb +0 -0
  30. data/lib/generators/spiffy_stores_app/app_proxy_controller/templates/index.html.erb +0 -0
  31. data/lib/generators/spiffy_stores_app/controllers/controllers_generator.rb +0 -0
  32. data/lib/generators/spiffy_stores_app/home_controller/home_controller_generator.rb +0 -0
  33. data/lib/generators/spiffy_stores_app/home_controller/templates/home_controller.rb +0 -0
  34. data/lib/generators/spiffy_stores_app/home_controller/templates/index.html.erb +0 -0
  35. data/lib/generators/spiffy_stores_app/home_controller/templates/spiffy_stores_app_ready_script.html.erb +0 -0
  36. data/lib/generators/spiffy_stores_app/install/install_generator.rb +0 -0
  37. data/lib/generators/spiffy_stores_app/install/templates/_flash_messages.html.erb +0 -0
  38. data/lib/generators/spiffy_stores_app/install/templates/embedded_app.html.erb +0 -0
  39. data/lib/generators/spiffy_stores_app/install/templates/omniauth.rb +0 -0
  40. data/lib/generators/spiffy_stores_app/install/templates/spiffy_provider.rb +0 -0
  41. data/lib/generators/spiffy_stores_app/install/templates/spiffy_stores_app.rb +0 -0
  42. data/lib/generators/spiffy_stores_app/routes/routes_generator.rb +0 -0
  43. data/lib/generators/spiffy_stores_app/routes/templates/routes.rb +0 -0
  44. data/lib/generators/spiffy_stores_app/shop_model/shop_model_generator.rb +0 -0
  45. data/lib/generators/spiffy_stores_app/shop_model/templates/db/migrate/create_shops.erb +0 -0
  46. data/lib/generators/spiffy_stores_app/shop_model/templates/shop.rb +0 -0
  47. data/lib/generators/spiffy_stores_app/shop_model/templates/shops.yml +0 -0
  48. data/lib/generators/spiffy_stores_app/spiffy_stores_app_generator.rb +0 -0
  49. data/lib/generators/spiffy_stores_app/views/views_generator.rb +0 -0
  50. data/lib/spiffy_stores_app.rb +0 -0
  51. data/lib/spiffy_stores_app/configuration.rb +0 -0
  52. data/lib/spiffy_stores_app/controller_concerns/app_proxy_verification.rb +0 -0
  53. data/lib/spiffy_stores_app/controller_concerns/embedded_app.rb +0 -0
  54. data/lib/spiffy_stores_app/controller_concerns/localization.rb +0 -0
  55. data/lib/spiffy_stores_app/controller_concerns/login_protection.rb +0 -0
  56. data/lib/spiffy_stores_app/controller_concerns/webhook_verification.rb +1 -2
  57. data/lib/spiffy_stores_app/engine.rb +0 -0
  58. data/lib/spiffy_stores_app/jobs/scripttags_manager_job.rb +0 -0
  59. data/lib/spiffy_stores_app/jobs/webhooks_manager_job.rb +0 -0
  60. data/lib/spiffy_stores_app/managers/scripttags_manager.rb +0 -0
  61. data/lib/spiffy_stores_app/managers/webhooks_manager.rb +0 -0
  62. data/lib/spiffy_stores_app/session/in_memory_session_store.rb +0 -0
  63. data/lib/spiffy_stores_app/session/session_repository.rb +0 -0
  64. data/lib/spiffy_stores_app/session/session_storage.rb +0 -0
  65. data/lib/spiffy_stores_app/utils.rb +0 -0
  66. data/lib/spiffy_stores_app/version.rb +1 -1
  67. data/spiffy_stores_app.gemspec +0 -0
  68. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: fe757e2be50ca38932ac5b7e96ec5af62026231ed1123936960c85c909aff380
4
- data.tar.gz: 06537dd17188f037d4c8e3fc4235f6a59df378b2c1bce7425c5739d81960c306
2
+ SHA1:
3
+ metadata.gz: eee637c87d3f406e100f0ab9225a5f4f8ddafe14
4
+ data.tar.gz: 17f9d4a36a15b04b6c20230bb3bb4c1e57f65b13
5
5
  SHA512:
6
- metadata.gz: 26baf55fbd28f31bd6d626565a842ebd613b4f4e1a2b58299fb563f629d98ea164d94e3aa64bb7677108de0c6a834cf87e5452597f7d3c36b811a4b0e64e9fc1
7
- data.tar.gz: a6a5d13bd8ba2e47908c0bfa78eb36be407618451d8da78cd6ea353c89fd15161ea540f463e3abb6440a9e27d704ae5427cb99a9abc747c24c6d97a74f5984cc
6
+ metadata.gz: a535c5d784cbbb5142cea36f00271569a9c6edd7e8b6236677e5d64912d63d0b883e59ca1161857361d7bcc62f52e8a3035bc922817857cea47c678c1b8d2d4f
7
+ data.tar.gz: e69c3b53c577732049938b65d30d9caf30f3a60bc0f68059c8e14f4cd239337d2bb0505263fbde982e17046310cde311858bdbd8109fd52b213590755885636c
data/.gitignore CHANGED
File without changes
File without changes
File without changes
@@ -1,3 +1,7 @@
1
+ 8.2.11
2
+ ------
3
+ * Update HMAC encoding strategy
4
+
1
5
  8.2.10
2
6
  ------
3
7
  * Use correct API message
data/Gemfile CHANGED
File without changes
data/README.md CHANGED
File without changes
data/Rakefile CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -17,10 +17,9 @@ module SpiffyStoresApp
17
17
  def hmac_valid?(data)
18
18
  secret = SpiffyStoresApp.configuration.secret
19
19
  digest = OpenSSL::Digest.new('sha256')
20
- encoded_params = JSON.parse(data).map {|i| "#{URI.escape(i[0].to_s, '&=%')}=#{URI.escape(i[1].to_s, '&%')}"}.sort.join('&')
21
20
  ActiveSupport::SecurityUtils.secure_compare(
22
21
  spiffy_stores_hmac,
23
- OpenSSL::HMAC.hexdigest(digest, secret, encoded_params)
22
+ OpenSSL::HMAC.hexdigest(digest, secret, data)
24
23
  )
25
24
  end
26
25
 
File without changes
File without changes
@@ -1,3 +1,3 @@
1
1
  module SpiffyStoresApp
2
- VERSION = '8.2.10'.freeze
2
+ VERSION = '8.2.11'.freeze
3
3
  end
File without changes
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spiffy_stores_app
3
3
  version: !ruby/object:Gem::Version
4
- version: 8.2.10
4
+ version: 8.2.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Spiffy Stores
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-03 00:00:00.000000000 Z
11
+ date: 2018-09-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -213,7 +213,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
213
213
  version: '0'
214
214
  requirements: []
215
215
  rubyforge_project:
216
- rubygems_version: 2.7.7
216
+ rubygems_version: 2.2.3
217
217
  signing_key:
218
218
  specification_version: 4
219
219
  summary: This gem is used to get quickly started with the Spiffy Stores API