stripe-i18n 1.3.0 → 2.0.0

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: 5f8bf7df618e154c5e0df1df4fc4f6e29b8c7bd9
4
- data.tar.gz: 1f0d6a934abb246e5c4d85096e274935d725d6d2
3
+ metadata.gz: 019ef3dfab07d5c78a9d6c74ffe0d147867bb7e6
4
+ data.tar.gz: 9f5e5a0e3412e79a807c84b3e3ced33dff99229f
5
5
  SHA512:
6
- metadata.gz: 643cd908401861afddc26fc4e3e3cca2339bd52881df0e00d30bfbfaa4764819e472925fdcc2dd4ca8addb9d34d01146eee3e6c1f03a0f97711f90f4472fda41
7
- data.tar.gz: 2fae3339922673928fe225acd1642793e80897b024ea4dab0e55ce104e588432947af8d7f9a9520e1dd956d5b6455f8480740b1414624e94f5a6b31e98d034f3
6
+ metadata.gz: 95e38cd85446b1cd904aa0539cf943c0b45b80b4c090f42afe076e45776cdd3393bcabe67cc57c1037c0e25b09c2904d1b37366ccf0b4227cf9f4652cc32e233
7
+ data.tar.gz: c253e8ee267aec5f05122ea39f696fde8234fff39a57c32378611bb5708f047324186cce2552f724bbd9f0d35a0c84c836b674f637d8d0c32fa7940804f25c8e
data/.gitignore CHANGED
@@ -12,3 +12,4 @@
12
12
  *.o
13
13
  *.a
14
14
  mkmf.log
15
+ .idea
data/.travis.yml CHANGED
@@ -1,5 +1,4 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 1.9.3
4
- - 2.0.0
5
- - 2.1
3
+ - 2.2.2
4
+ - 2.3.2
@@ -1,3 +1,3 @@
1
1
  module StripeI18n
2
- VERSION = "1.3.0"
2
+ VERSION = "2.0.0"
3
3
  end
@@ -0,0 +1,15 @@
1
+ zh-HK:
2
+ stripe:
3
+ errors:
4
+ incorrect_number: "信用卡號碼不正確"
5
+ invalid_number: "信用卡號碼不是一個有效的信用卡號碼"
6
+ invalid_expiry_month: "到期月份無效"
7
+ invalid_expiry_year: "到期年份無效"
8
+ invalid_cvc: "信用卡驗證碼無效"
9
+ expired_card: "信用卡已過期"
10
+ incorrect_cvc: "信用卡驗證碼不正確"
11
+ incorrect_zip: "信用卡驗證碼不被接納"
12
+ card_declined: "信用卡被拒絕"
13
+ missing: "沒有客戶信用卡被付款"
14
+ processing_error: "在處理信用卡時發生錯誤"
15
+ rate_limit: "由於請求過快地觸及API,因此發生錯誤。如果您一直遇到此錯誤,請告知我們。"
data/stripe-i18n.gemspec CHANGED
@@ -17,9 +17,10 @@ Gem::Specification.new do |spec|
17
17
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
+ spec.required_ruby_version = ">= 2.2.2"
20
21
 
21
22
  spec.add_runtime_dependency('i18n', '~> 0.6')
22
- spec.add_runtime_dependency('railties', '~> 4.0')
23
+ spec.add_runtime_dependency('railties', '>= 4.0')
23
24
 
24
25
  spec.add_development_dependency "rspec-rails", "= 2.14.2"
25
26
  spec.add_development_dependency "i18n-spec", "= 0.4.0"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stripe-i18n
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Koslow
@@ -9,34 +9,34 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-12-23 00:00:00.000000000 Z
12
+ date: 2016-11-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: i18n
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - ~>
18
+ - - "~>"
19
19
  - !ruby/object:Gem::Version
20
20
  version: '0.6'
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - ~>
25
+ - - "~>"
26
26
  - !ruby/object:Gem::Version
27
27
  version: '0.6'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: railties
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - ~>
32
+ - - ">="
33
33
  - !ruby/object:Gem::Version
34
34
  version: '4.0'
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - ~>
39
+ - - ">="
40
40
  - !ruby/object:Gem::Version
41
41
  version: '4.0'
42
42
  - !ruby/object:Gem::Dependency
@@ -71,42 +71,42 @@ dependencies:
71
71
  name: spork
72
72
  requirement: !ruby/object:Gem::Requirement
73
73
  requirements:
74
- - - ~>
74
+ - - "~>"
75
75
  - !ruby/object:Gem::Version
76
76
  version: 1.0rc
77
77
  type: :development
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
- - - ~>
81
+ - - "~>"
82
82
  - !ruby/object:Gem::Version
83
83
  version: 1.0rc
84
84
  - !ruby/object:Gem::Dependency
85
85
  name: bundler
86
86
  requirement: !ruby/object:Gem::Requirement
87
87
  requirements:
88
- - - ~>
88
+ - - "~>"
89
89
  - !ruby/object:Gem::Version
90
90
  version: '1.7'
91
91
  type: :development
92
92
  prerelease: false
93
93
  version_requirements: !ruby/object:Gem::Requirement
94
94
  requirements:
95
- - - ~>
95
+ - - "~>"
96
96
  - !ruby/object:Gem::Version
97
97
  version: '1.7'
98
98
  - !ruby/object:Gem::Dependency
99
99
  name: rake
100
100
  requirement: !ruby/object:Gem::Requirement
101
101
  requirements:
102
- - - ~>
102
+ - - "~>"
103
103
  - !ruby/object:Gem::Version
104
104
  version: '10.0'
105
105
  type: :development
106
106
  prerelease: false
107
107
  version_requirements: !ruby/object:Gem::Requirement
108
108
  requirements:
109
- - - ~>
109
+ - - "~>"
110
110
  - !ruby/object:Gem::Version
111
111
  version: '10.0'
112
112
  description: Currently supports German (de), French (fr), Italian (it), Dutch (nl),
@@ -118,8 +118,8 @@ executables: []
118
118
  extensions: []
119
119
  extra_rdoc_files: []
120
120
  files:
121
- - .gitignore
122
- - .travis.yml
121
+ - ".gitignore"
122
+ - ".travis.yml"
123
123
  - Gemfile
124
124
  - LICENSE.txt
125
125
  - README.md
@@ -138,6 +138,7 @@ files:
138
138
  - rails/locale/nl.yml
139
139
  - rails/locale/pt-BR.yml
140
140
  - rails/locale/ru.yml
141
+ - rails/locale/zh-HK.yml
141
142
  - spec/integration/translation_spec.rb
142
143
  - spec/spec_helper.rb
143
144
  - spec/support/fake_app.rb
@@ -153,17 +154,17 @@ require_paths:
153
154
  - lib
154
155
  required_ruby_version: !ruby/object:Gem::Requirement
155
156
  requirements:
156
- - - '>='
157
+ - - ">="
157
158
  - !ruby/object:Gem::Version
158
- version: '0'
159
+ version: 2.2.2
159
160
  required_rubygems_version: !ruby/object:Gem::Requirement
160
161
  requirements:
161
- - - '>='
162
+ - - ">="
162
163
  - !ruby/object:Gem::Version
163
164
  version: '0'
164
165
  requirements: []
165
166
  rubyforge_project:
166
- rubygems_version: 2.0.14
167
+ rubygems_version: 2.5.1
167
168
  signing_key:
168
169
  specification_version: 4
169
170
  summary: Ruby i18n translations for Stripe error messages.