spree_zaez_correios 3.0.1 → 3.0.2

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
  SHA1:
3
- metadata.gz: 6b9150403039861870a11e305908e36a0bb857fe
4
- data.tar.gz: 31a19ebe11caf76d72e3b047a268e4560a08c79c
3
+ metadata.gz: 4255be93af1ecf410479a091868addcdcc9a26e6
4
+ data.tar.gz: ca7511b5bf71f3b74bb5261f386d33603ee32c29
5
5
  SHA512:
6
- metadata.gz: 67f9f9816cd2d1bc8ecad2ac6f9f3e0b3781ee4cf94aa337bd86526e9e590dfbfa94d49e557d33c59c4ffc5ea09e54e3c24821aa44a1851f4e7b56d90df43760
7
- data.tar.gz: d3936ef4aafb0fb37732136595b46027d23c350ba68e5537c2697be159c301a4a5d9a27b6d61868abfe2f576c807537c80fed109a5ace7c7e2850cd070725955
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
@@ -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.1'
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.1
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-20 00:00:00.000000000 Z
11
+ date: 2015-07-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: spree_core