jp_ems_fee 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 162b40fae2ff60d6c0bbf294ce6b793a85a5f84f
4
- data.tar.gz: 6233255b7b6c66b366563acc16f38a74a46a9e07
3
+ metadata.gz: 328a7e62bd120381279cc760db7d0072334368ef
4
+ data.tar.gz: ed1d9775d4ee6af46985ff9b9d8acee1ca93c289
5
5
  SHA512:
6
- metadata.gz: 6110a5868ca6047cc24744475531333c11a6ccc7f83cd9b2360bd479bd402365b48638ff76ef4c447038d3b9c92df5cf9583cba0a01b6c5f3dfee91d0489ab90
7
- data.tar.gz: c78226c9d564e895213f4f459065bcdd4d323c9f23d095522f78882427ce6ed886441de952df0c7916dd0e6bf7c9f1bf416ad3eb34bd63aafb30253e7b812a60
6
+ metadata.gz: 1bc663059f0f152d79a2f7b95b69e7df0c7863b3e01243442b6a64803d112d8c44db86b873d21a60f1d7fb577a8fc85033879e7b1919d1a1ec4dafcf76a2abe5
7
+ data.tar.gz: bbd683acdd54a8015673e38cc5d5cc1bab5e6dd5b9e8efc38bbf806c56e7b17f639f04bf183845a91b9dd1d36e4197490252504a4488d81cc2715897919733b8
@@ -52,7 +52,7 @@ module JpEmsFee
52
52
  end
53
53
 
54
54
  def calculate(weight, area_name)
55
- yaml = YAML.load_file(File.expand_path('../../jp_ems_fee/price_table.yaml', __FILE__))
55
+ yaml = YAML.load_file(File.expand_path('../../price_table.yaml', __FILE__))
56
56
  yaml[area_name].each do |r|
57
57
  if r.first >= weight
58
58
  return r[1]
@@ -1,3 +1,3 @@
1
1
  module JpEmsFee
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
@@ -0,0 +1,173 @@
1
+ ---
2
+ asia:
3
+ 500: 1400
4
+ 600: 1540
5
+ 700: 1680
6
+ 800: 1820
7
+ 900: 1960
8
+ 1000: 2100
9
+ 1250: 2400
10
+ 1500: 2700
11
+ 1750: 3000
12
+ 2000: 3300
13
+ 2500: 3800
14
+ 3000: 4300
15
+ 3500: 4800
16
+ 4000: 5300
17
+ 4500: 5800
18
+ 5000: 6300
19
+ 5500: 6800
20
+ 6000: 7300
21
+ 7000: 8100
22
+ 8000: 8900
23
+ 9000: 9700
24
+ 10000: 10500
25
+ 11000: 11300
26
+ 12000: 12100
27
+ 13000: 12900
28
+ 14000: 13700
29
+ 15000: 14500
30
+ 16000: 15300
31
+ 17000: 16100
32
+ 18000: 16900
33
+ 19000: 17700
34
+ 20000: 18500
35
+ 21000: 19300
36
+ 22000: 20100
37
+ 23000: 20900
38
+ 24000: 21700
39
+ 25000: 22500
40
+ 26000: 23300
41
+ 27000: 24100
42
+ 28000: 24900
43
+ 29000: 25700
44
+ 30000: 26500
45
+ oceania:
46
+ 500: 2000
47
+ 600: 2180
48
+ 700: 2360
49
+ 800: 2540
50
+ 900: 2720
51
+ 1000: 2900
52
+ 1250: 3300
53
+ 1500: 3700
54
+ 1750: 4100
55
+ 2000: 4500
56
+ 2500: 5200
57
+ 3000: 5900
58
+ 3500: 6600
59
+ 4000: 7300
60
+ 4500: 8000
61
+ 5000: 8700
62
+ 5500: 9400
63
+ 6000: 10100
64
+ 7000: 11200
65
+ 8000: 12300
66
+ 9000: 13400
67
+ 10000: 14500
68
+ 11000: 15600
69
+ 12000: 16700
70
+ 13000: 17800
71
+ 14000: 18900
72
+ 15000: 20000
73
+ 16000: 21100
74
+ 17000: 22200
75
+ 18000: 23300
76
+ 19000: 24400
77
+ 20000: 25500
78
+ 21000: 26600
79
+ 22000: 27700
80
+ 23000: 28800
81
+ 24000: 29900
82
+ 25000: 31000
83
+ 26000: 32100
84
+ 27000: 33200
85
+ 28000: 34300
86
+ 29000: 35400
87
+ 30000: 36500
88
+ europa:
89
+ 500: 2200
90
+ 600: 2400
91
+ 700: 2600
92
+ 800: 2800
93
+ 900: 3000
94
+ 1000: 3200
95
+ 1250: 3650
96
+ 1500: 4100
97
+ 1750: 4550
98
+ 2000: 5000
99
+ 2500: 5800
100
+ 3000: 6600
101
+ 3500: 7400
102
+ 4000: 8200
103
+ 4500: 9000
104
+ 5000: 9800
105
+ 5500: 10600
106
+ 6000: 11400
107
+ 7000: 12700
108
+ 8000: 14000
109
+ 9000: 15300
110
+ 10000: 16600
111
+ 11000: 17900
112
+ 12000: 19200
113
+ 13000: 20500
114
+ 14000: 21800
115
+ 15000: 23100
116
+ 16000: 24400
117
+ 17000: 25700
118
+ 18000: 27000
119
+ 19000: 28300
120
+ 20000: 29600
121
+ 21000: 30900
122
+ 22000: 32200
123
+ 23000: 33500
124
+ 24000: 34800
125
+ 25000: 36100
126
+ 26000: 37400
127
+ 27000: 38700
128
+ 28000: 40000
129
+ 29000: 41300
130
+ 30000: 42600
131
+ africa:
132
+ 500: 2400
133
+ 600: 2740
134
+ 700: 3080
135
+ 800: 3420
136
+ 900: 3760
137
+ 1000: 4100
138
+ 1250: 4900
139
+ 1500: 5700
140
+ 1750: 6500
141
+ 2000: 7300
142
+ 2500: 8800
143
+ 3000: 10300
144
+ 3500: 11800
145
+ 4000: 13300
146
+ 4500: 14800
147
+ 5000: 16300
148
+ 5500: 17800
149
+ 6000: 19300
150
+ 7000: 21400
151
+ 8000: 23500
152
+ 9000: 25600
153
+ 10000: 27700
154
+ 11000: 29800
155
+ 12000: 31900
156
+ 13000: 34000
157
+ 14000: 36100
158
+ 15000: 38200
159
+ 16000: 40300
160
+ 17000: 42400
161
+ 18000: 44500
162
+ 19000: 46600
163
+ 20000: 48700
164
+ 21000: 50800
165
+ 22000: 52900
166
+ 23000: 55000
167
+ 24000: 57100
168
+ 25000: 59200
169
+ 26000: 61300
170
+ 27000: 63400
171
+ 28000: 65500
172
+ 29000: 67600
173
+ 30000: 69700
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jp_ems_fee
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nishio Takuya
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-03-09 00:00:00.000000000 Z
11
+ date: 2017-08-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -72,6 +72,7 @@ files:
72
72
  - jp_ems_fee.gemspec
73
73
  - lib/jp_ems_fee.rb
74
74
  - lib/jp_ems_fee/version.rb
75
+ - price_table.yaml
75
76
  homepage: https://github.com/webuilder240/jp_ems_fee_ruby
76
77
  licenses:
77
78
  - MIT