spree_zaez_correios 3.0.1 → 3.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/spree_zaez_correios/engine.rb +6 -0
- data/spree_zaez_correios.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4255be93af1ecf410479a091868addcdcc9a26e6
|
4
|
+
data.tar.gz: ca7511b5bf71f3b74bb5261f386d33603ee32c29
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e08390e104ca1fd045363840b246f7cab464bf4c72441a974b20a1c0f11d6cc4d5b6fbf35bb11f8540b46abdc78e3723a8f0e670a45fdedb0bb5133e23d6ff8a
|
7
|
+
data.tar.gz: 62eba9d2aad506f0f96205383ae3e5201943c74d0b449c7721c1b8c5f9cdc757b93b4f440c32fa4e8ac405135bea223598a3272d266b34dca54f6c5663f04a41
|
@@ -15,6 +15,12 @@ module SpreeZaezCorreios
|
|
15
15
|
end
|
16
16
|
end
|
17
17
|
|
18
|
+
initializer 'spree_zaez_correios.register.calculators' do |app|
|
19
|
+
app.config.spree.calculators.shipping_methods << Spree::Calculator::Shipping::PAC
|
20
|
+
app.config.spree.calculators.shipping_methods << Spree::Calculator::Shipping::SEDEX
|
21
|
+
app.config.spree.calculators.shipping_methods << Spree::Calculator::Shipping::SEDEX10
|
22
|
+
end
|
23
|
+
|
18
24
|
config.to_prepare &method(:activate).to_proc
|
19
25
|
end
|
20
26
|
end
|
data/spree_zaez_correios.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
Gem::Specification.new do |s|
|
3
3
|
s.platform = Gem::Platform::RUBY
|
4
4
|
s.name = 'spree_zaez_correios'
|
5
|
-
s.version = '3.0.
|
5
|
+
s.version = '3.0.2'
|
6
6
|
s.summary = "Implements diverse functions in order to enable the use of services from Brazil's Correios in Spree Commerce"
|
7
7
|
s.description = s.summary
|
8
8
|
s.required_ruby_version = '>= 2.0.0'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spree_zaez_correios
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Zaez Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-07-
|
11
|
+
date: 2015-07-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: spree_core
|