spree_postal_service 2.0.0 → 2.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,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- Mjc2NzQ0NTJkODhkYjQyOGFjNDdkMzRmNGViYmU5NGExYzNkOWI0ZQ==
4
+ ZGYwYzRhZWY1OTRhZjk2ZDQ4MGE3ODVlOTIwNmQ2NDg0NTUzNzYwMg==
5
5
  data.tar.gz: !binary |-
6
- OTYxNWNlZjU4YjQ0ZDFmYWQyMGJmYWRmMzg3ZTE4NzcyNDBhMGEyOQ==
6
+ ODhiYWM1YzE4ZjQyNTAyMjJkZDhlNGZhY2M3MTc5YjAyYjllZjY3Mg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MTU0Yzk2YTkyYjBjNjMwOTlhMjQwNTQ2ZjA1MmFmZTkxMjFlY2YyMGEwNGUy
10
- ZGRiMDY3M2NlZWQ4Y2U4YWY3YmU3Y2Q3ZjNhNjM3Mzg5MmUyYTBmNzliNmFj
11
- OTM5OTk4MDc2NTNkOGY0NmZjYzk3ZmVmMDJhNjViYmFjYjEyNDM=
9
+ Yzg5ZTY2MzhjODA3ODEwOWQ2MTcyZjliY2YzOGMwZTE3MDI4MjUzZTFhMTAw
10
+ MWIwYTY2ZDg5ODRmMjI5MDU5MmNjMjk3NmVhNDc3NzZjMzVhZGZkYzFlYmJk
11
+ NGMyNmU1NzhmOTg1MDBmMWQ5M2E2MGJlYjhiOGU1ZWNhN2VjODM=
12
12
  data.tar.gz: !binary |-
13
- MGU3YWU2Y2Y1NjBmMmI3NjNlZTczOTA4MGZlZThiODIxZjI0Mzg2YzBmMjI4
14
- YTJmYWQ4Y2MzOWQ1OTllYjQ4OTRjMDk0OWFmYWQyYmVkMDQ2YTdhZGMxODEz
15
- ODM4ZDdmOTAwN2Q3NWQ0M2M4ZWM4MmMyMjE1YzhlMjI2ZGQ1OGU=
13
+ YThmNjk3MDQ0NzYxMTQzZjM2ZmRlNmMwNzlhM2U1MDFjZWM0YWI5MDc1MWQ1
14
+ MGM5NjFhNGZmYzhhZjIyNGExMGJmOTc2ZGY3NjQ4ZDhjNWViODhhOTA2N2I2
15
+ MGFiNWFiMzViMjM0MTMyYjkzZDg1N2VmMGJlYjQyYTk0NDRlNWQ=
@@ -1,12 +1,13 @@
1
1
  ---
2
2
  en:
3
- price_table: Prices (space seperated)
4
- weight_table: Weights (space seperated)
5
- postal_service: Postal Service
6
- max_item_weight: Max weight of one item
7
- max_item_width: Max width of one item
8
- max_item_length: Max length of one item
9
- handling_fee: Handling fee
10
- handling_max: "Amount, over which handling fee won't be applied"
11
- min_price: Minimum total of the order
12
- default_weight: Default weight
3
+ spree:
4
+ price_table: Prices (space seperated)
5
+ weight_table: Weights (space seperated)
6
+ postal_service: Postal Service
7
+ max_item_weight: Max weight of one item
8
+ max_item_width: Max width of one item
9
+ max_item_length: Max length of one item
10
+ handling_fee: Handling fee
11
+ handling_max: "Amount, over which handling fee won't be applied"
12
+ min_price: Minimum total of the order
13
+ default_weight: Default weight
@@ -1,12 +1,13 @@
1
1
  ---
2
2
  pt:
3
- price_table: Preços (separados por espaços)
4
- weight_table: Pesos (separados por espaços)
5
- postal_service: Serviço Postal
6
- max_item_weight: Peso máximo por item
7
- max_item_width: Peso máxima por item
8
- max_item_length: Comprimento máximo por item
9
- handling_fee: Taxa de tratamento
10
- handling_max: Valor a partir do qual a taxa de tratamento não é aplicada
11
- min_price: Preço mínimo
12
- default_weight: Peso por omissão
3
+ spree:
4
+ price_table: Preços (separados por espaços)
5
+ weight_table: Pesos (separados por espaços)
6
+ postal_service: Serviço Postal
7
+ max_item_weight: Peso máximo por item
8
+ max_item_width: Peso máxima por item
9
+ max_item_length: Comprimento máximo por item
10
+ handling_fee: Taxa de tratamento
11
+ handling_max: Valor a partir do qual a taxa de tratamento não é aplicada
12
+ min_price: Preço mínimo
13
+ default_weight: Peso por omissão
@@ -1,12 +1,13 @@
1
1
  ---
2
2
  sv:
3
- price_table: Priser (mellanrums separerade)
4
- weight_table: Vikter (mellanrums separerade)
5
- postal_service: Post Service
6
- max_item_weight: Max vikt på ett objekt
7
- max_item_width: Max bredd på ett objekt
8
- max_item_length: Max längd på ett objekt
9
- handling_fee: Hantering avgift
10
- handling_max: "Belopp, över vilken expeditionsavgift inte skall tillämpas"
11
- min_price: Minsta belopp
12
- default_weight: Förvald vikt
3
+ spree:
4
+ price_table: Priser (mellanrums separerade)
5
+ weight_table: Vikter (mellanrums separerade)
6
+ postal_service: Post Service
7
+ max_item_weight: Max vikt på ett objekt
8
+ max_item_width: Max bredd på ett objekt
9
+ max_item_length: Max längd på ett objekt
10
+ handling_fee: Hantering avgift
11
+ handling_max: "Belopp, över vilken expeditionsavgift inte skall tillämpas"
12
+ min_price: Minsta belopp
13
+ default_weight: Förvald vikt
@@ -20,7 +20,7 @@ class Spree::Calculator::PostalService < Spree::Calculator
20
20
  :preferred_default_weight
21
21
 
22
22
  def self.description
23
- I18n.t(:postal_service)
23
+ Spree.t(:postal_service)
24
24
  end
25
25
 
26
26
  def self.register
@@ -8,7 +8,7 @@ module SpreePostalService
8
8
  module VERSION
9
9
  MAJOR = 2
10
10
  MINOR = 0
11
- TINY = 0
11
+ TINY = 1
12
12
  PRE = nil
13
13
 
14
14
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
@@ -15,7 +15,7 @@ describe Spree::Calculator::PostalService do
15
15
  context 'in any language' do
16
16
  before { I18n.locale = :pt }
17
17
  specify do
18
- postal_service_calculator.description.should == I18n.t(:postal_service)
18
+ postal_service_calculator.description.should == Spree.t(:postal_service)
19
19
  end
20
20
  end
21
21
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_postal_service
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Torsten Rüger