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.
- checksums.yaml +5 -5
- data/.gitignore +0 -0
- data/.rubocop.yml +0 -0
- data/.travis.yml +0 -0
- data/CHANGELOG.md +4 -0
- data/Gemfile +0 -0
- data/README.md +0 -0
- data/Rakefile +0 -0
- data/app/assets/javascripts/spiffy_stores_app/redirect.js +0 -0
- data/app/controllers/spiffy_stores_app/authenticated_controller.rb +0 -0
- data/app/controllers/spiffy_stores_app/sessions_controller.rb +0 -0
- data/app/controllers/spiffy_stores_app/webhooks_controller.rb +0 -0
- data/app/views/spiffy_stores_app/sessions/new.html.erb +0 -0
- data/app/views/spiffy_stores_app/shared/redirect.html.erb +0 -0
- data/config/locales/de.yml +0 -0
- data/config/locales/en.yml +0 -0
- data/config/locales/es.yml +0 -0
- data/config/locales/fr.yml +0 -0
- data/config/locales/ja.yml +0 -0
- data/config/routes.rb +0 -0
- data/docs/Quickstart.md +0 -0
- data/images/app-proxy-screenshot.png +0 -0
- data/lib/generators/spiffy_stores_app/add_after_authenticate_job/add_after_authenticate_job_generator.rb +0 -0
- data/lib/generators/spiffy_stores_app/add_after_authenticate_job/templates/after_authenticate_job.rb +0 -0
- data/lib/generators/spiffy_stores_app/add_webhook/add_webhook_generator.rb +0 -0
- data/lib/generators/spiffy_stores_app/add_webhook/templates/webhook_job.rb +0 -0
- data/lib/generators/spiffy_stores_app/app_proxy_controller/app_proxy_controller_generator.rb +0 -0
- data/lib/generators/spiffy_stores_app/app_proxy_controller/templates/app_proxy_controller.rb +0 -0
- data/lib/generators/spiffy_stores_app/app_proxy_controller/templates/app_proxy_route.rb +0 -0
- data/lib/generators/spiffy_stores_app/app_proxy_controller/templates/index.html.erb +0 -0
- data/lib/generators/spiffy_stores_app/controllers/controllers_generator.rb +0 -0
- data/lib/generators/spiffy_stores_app/home_controller/home_controller_generator.rb +0 -0
- data/lib/generators/spiffy_stores_app/home_controller/templates/home_controller.rb +0 -0
- data/lib/generators/spiffy_stores_app/home_controller/templates/index.html.erb +0 -0
- data/lib/generators/spiffy_stores_app/home_controller/templates/spiffy_stores_app_ready_script.html.erb +0 -0
- data/lib/generators/spiffy_stores_app/install/install_generator.rb +0 -0
- data/lib/generators/spiffy_stores_app/install/templates/_flash_messages.html.erb +0 -0
- data/lib/generators/spiffy_stores_app/install/templates/embedded_app.html.erb +0 -0
- data/lib/generators/spiffy_stores_app/install/templates/omniauth.rb +0 -0
- data/lib/generators/spiffy_stores_app/install/templates/spiffy_provider.rb +0 -0
- data/lib/generators/spiffy_stores_app/install/templates/spiffy_stores_app.rb +0 -0
- data/lib/generators/spiffy_stores_app/routes/routes_generator.rb +0 -0
- data/lib/generators/spiffy_stores_app/routes/templates/routes.rb +0 -0
- data/lib/generators/spiffy_stores_app/shop_model/shop_model_generator.rb +0 -0
- data/lib/generators/spiffy_stores_app/shop_model/templates/db/migrate/create_shops.erb +0 -0
- data/lib/generators/spiffy_stores_app/shop_model/templates/shop.rb +0 -0
- data/lib/generators/spiffy_stores_app/shop_model/templates/shops.yml +0 -0
- data/lib/generators/spiffy_stores_app/spiffy_stores_app_generator.rb +0 -0
- data/lib/generators/spiffy_stores_app/views/views_generator.rb +0 -0
- data/lib/spiffy_stores_app.rb +0 -0
- data/lib/spiffy_stores_app/configuration.rb +0 -0
- data/lib/spiffy_stores_app/controller_concerns/app_proxy_verification.rb +0 -0
- data/lib/spiffy_stores_app/controller_concerns/embedded_app.rb +0 -0
- data/lib/spiffy_stores_app/controller_concerns/localization.rb +0 -0
- data/lib/spiffy_stores_app/controller_concerns/login_protection.rb +0 -0
- data/lib/spiffy_stores_app/controller_concerns/webhook_verification.rb +1 -2
- data/lib/spiffy_stores_app/engine.rb +0 -0
- data/lib/spiffy_stores_app/jobs/scripttags_manager_job.rb +0 -0
- data/lib/spiffy_stores_app/jobs/webhooks_manager_job.rb +0 -0
- data/lib/spiffy_stores_app/managers/scripttags_manager.rb +0 -0
- data/lib/spiffy_stores_app/managers/webhooks_manager.rb +0 -0
- data/lib/spiffy_stores_app/session/in_memory_session_store.rb +0 -0
- data/lib/spiffy_stores_app/session/session_repository.rb +0 -0
- data/lib/spiffy_stores_app/session/session_storage.rb +0 -0
- data/lib/spiffy_stores_app/utils.rb +0 -0
- data/lib/spiffy_stores_app/version.rb +1 -1
- data/spiffy_stores_app.gemspec +0 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: eee637c87d3f406e100f0ab9225a5f4f8ddafe14
|
4
|
+
data.tar.gz: 17f9d4a36a15b04b6c20230bb3bb4c1e57f65b13
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a535c5d784cbbb5142cea36f00271569a9c6edd7e8b6236677e5d64912d63d0b883e59ca1161857361d7bcc62f52e8a3035bc922817857cea47c678c1b8d2d4f
|
7
|
+
data.tar.gz: e69c3b53c577732049938b65d30d9caf30f3a60bc0f68059c8e14f4cd239337d2bb0505263fbde982e17046310cde311858bdbd8109fd52b213590755885636c
|
data/.gitignore
CHANGED
File without changes
|
data/.rubocop.yml
CHANGED
File without changes
|
data/.travis.yml
CHANGED
File without changes
|
data/CHANGELOG.md
CHANGED
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
|
data/config/locales/de.yml
CHANGED
File without changes
|
data/config/locales/en.yml
CHANGED
File without changes
|
data/config/locales/es.yml
CHANGED
File without changes
|
data/config/locales/fr.yml
CHANGED
File without changes
|
data/config/locales/ja.yml
CHANGED
File without changes
|
data/config/routes.rb
CHANGED
File without changes
|
data/docs/Quickstart.md
CHANGED
File without changes
|
File without changes
|
File without changes
|
data/lib/generators/spiffy_stores_app/add_after_authenticate_job/templates/after_authenticate_job.rb
CHANGED
File without changes
|
File without changes
|
File without changes
|
data/lib/generators/spiffy_stores_app/app_proxy_controller/app_proxy_controller_generator.rb
CHANGED
File without changes
|
data/lib/generators/spiffy_stores_app/app_proxy_controller/templates/app_proxy_controller.rb
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
|
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
|
data/lib/spiffy_stores_app.rb
CHANGED
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,
|
22
|
+
OpenSSL::HMAC.hexdigest(digest, secret, data)
|
24
23
|
)
|
25
24
|
end
|
26
25
|
|
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
|
data/spiffy_stores_app.gemspec
CHANGED
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.
|
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-
|
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.
|
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
|