spree_store_pickup 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2bff3e96a314f62623ba4b7cb4886caa8f1e72a6021676ce7acb56d6d88dc310
4
- data.tar.gz: b6b2cd63d857f865380ec10ea1cb0f5faf92b0e9c3791ab1a8831f19c27bcd96
3
+ metadata.gz: 19b22e5eb5f6769935eaf302b68075f00bfde9c33653c5923d7d82fd7878b0d8
4
+ data.tar.gz: 8fb8b461b0609a39c0795a8682eda0710d748f8578092699edf8db8a664902dd
5
5
  SHA512:
6
- metadata.gz: 3933568d145fdf4e80de7276b084bf072b6b22be60d782341c8011cc8e47d4c2cc42ba467f5958f34ceef616fdcb5bae184949c89db8417533c2de4faad5376c
7
- data.tar.gz: ad4ec212cbb7e3ada8553fa04b362ab10811fbd5cce8702b5f297af6d8338ea47421201c4a4ae85cde1184fa76b09f4e9fb62a49c0c747c5cfd780e3e42ebf83
6
+ metadata.gz: 97c4980d8e20f69ddaaa79bb023e26dea1ba66baa365473caab2b3e2837c3441c7eb34007425417a9fac9d12b0d1889cd1df9bee4cc78a046257e4bf27835604
7
+ data.tar.gz: 18661da3303c6ac143bd9007e7b364dc766ee598d814b5f0a9d995f45b0918b764747e947a47d8538cb9bfcf3489bb47325b85a344e008be274e9797d9e0cf0a
@@ -0,0 +1,7 @@
1
+ Rails.application.config.after_initialize do
2
+ Rails.application.config.spree.payment_methods << Spree::PaymentMethod::StorePickup
3
+
4
+ Rails.application.config.spree_admin.shipping_method_form_partials << 'spree/admin/shipping_methods/store_pickup_form'
5
+
6
+ Spree::PermittedAttributes.shipping_method_attributes << :store_pickup
7
+ end
@@ -9,14 +9,6 @@ module SpreeStorePickup
9
9
  g.test_framework :rspec
10
10
  end
11
11
 
12
- config.after_initialize do |app|
13
- app.config.spree.payment_methods << Spree::PaymentMethod::StorePickup
14
-
15
- app.config.spree_admin.shipping_method_form_partials << 'spree/admin/shipping_methods/store_pickup_form'
16
-
17
- Spree::PermittedAttributes.shipping_method_attributes << :store_pickup
18
- end
19
-
20
12
  def self.activate
21
13
  Dir.glob(File.join(File.dirname(__FILE__), '../../app/**/*_decorator*.rb')) do |c|
22
14
  Rails.configuration.cache_classes ? require(c) : load(c)
@@ -1,5 +1,5 @@
1
1
  module SpreeStorePickup
2
- VERSION = '1.0.0'.freeze
2
+ VERSION = '1.0.1'.freeze
3
3
 
4
4
  def gem_version
5
5
  Gem::Version.new(VERSION)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_store_pickup
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - OlympusOne
@@ -97,6 +97,7 @@ files:
97
97
  - app/views/spree/admin/shipping_methods/_store_pickup_form.html.erb
98
98
  - app/views/spree/admin/spree/checkout/payment/_store_pickup.html.erb
99
99
  - app/views/spree/checkout/payment/_store_pickup.html.erb
100
+ - config/initializers/spree.rb
100
101
  - config/locales/el.yml
101
102
  - config/locales/en.yml
102
103
  - config/routes.rb
@@ -111,10 +112,10 @@ licenses:
111
112
  - MIT
112
113
  metadata:
113
114
  bug_tracker_uri: https://github.com/olympusone/spree_store_pickup/issues
114
- changelog_uri: https://github.com/olympusone/spree_store_pickup/releases/tag/v1.0.0
115
+ changelog_uri: https://github.com/olympusone/spree_store_pickup/releases/tag/v1.0.1
115
116
  documentation_uri: https://github.com/olympusone/spree_store_pickup
116
117
  homepage_uri: https://github.com/olympusone/spree_store_pickup
117
- source_code_uri: https://github.com/olympusone/spree_store_pickup/tree/v1.0.0
118
+ source_code_uri: https://github.com/olympusone/spree_store_pickup/tree/v1.0.1
118
119
  rdoc_options: []
119
120
  require_paths:
120
121
  - lib