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 +4 -4
- data/config/initializers/spree.rb +7 -0
- data/lib/spree_store_pickup/engine.rb +0 -8
- data/lib/spree_store_pickup/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 19b22e5eb5f6769935eaf302b68075f00bfde9c33653c5923d7d82fd7878b0d8
|
4
|
+
data.tar.gz: 8fb8b461b0609a39c0795a8682eda0710d748f8578092699edf8db8a664902dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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)
|
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.
|
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.
|
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.
|
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
|