bigcartel-currency-locales 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +4 -0
- data/.travis.yml +12 -0
- data/Appraisals +19 -0
- data/Gemfile +3 -0
- data/README.md +23 -0
- data/Rakefile +25 -0
- data/bigcartel-currency-locales.gemspec +21 -0
- data/gemfiles/2.3.gemfile +10 -0
- data/gemfiles/2.3.gemfile.lock +44 -0
- data/gemfiles/3.0.gemfile +8 -0
- data/gemfiles/3.0.gemfile.lock +99 -0
- data/gemfiles/3.1.gemfile +8 -0
- data/gemfiles/3.1.gemfile.lock +110 -0
- data/gemfiles/3.2.gemfile +8 -0
- data/gemfiles/3.2.gemfile.lock +109 -0
- data/lib/currency-locales.rb +12 -0
- data/lib/currency-locales/locales/cs.yml +26 -0
- data/lib/currency-locales/locales/da.yml +26 -0
- data/lib/currency-locales/locales/en-AU.yml +26 -0
- data/lib/currency-locales/locales/en-GB.yml +26 -0
- data/lib/currency-locales/locales/en-PH.yml +27 -0
- data/lib/currency-locales/locales/en-US.yml +26 -0
- data/lib/currency-locales/locales/es-MX.yml +26 -0
- data/lib/currency-locales/locales/eu.yml +26 -0
- data/lib/currency-locales/locales/gsw-CH.yml +26 -0
- data/lib/currency-locales/locales/hu.yml +26 -0
- data/lib/currency-locales/locales/il.yml +26 -0
- data/lib/currency-locales/locales/ja.yml +30 -0
- data/lib/currency-locales/locales/ms-MY.yml +26 -0
- data/lib/currency-locales/locales/nb.yml +22 -0
- data/lib/currency-locales/locales/pl.yml +27 -0
- data/lib/currency-locales/locales/pt-BR.yml +26 -0
- data/lib/currency-locales/locales/sv-SE.yml +26 -0
- data/lib/currency-locales/locales/th.yml +26 -0
- data/lib/currency-locales/locales/tr.yml +29 -0
- data/lib/currency-locales/locales/zh-TW.yml +30 -0
- data/lib/currency-locales/railtie.rb +11 -0
- data/lib/currency-locales/version.rb +5 -0
- data/rails/init.rb +1 -0
- data/spec/integration/currency_locales_spec.rb +421 -0
- data/spec/spec_helper.rb +27 -0
- metadata +125 -0
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
ENV["RAILS_ENV"] = "test"
|
2
|
+
|
3
|
+
require 'currency-locales'
|
4
|
+
|
5
|
+
begin
|
6
|
+
require 'action_controller/railtie'
|
7
|
+
$stdout.puts "Testing against Rails #{ Rails::VERSION::STRING }"
|
8
|
+
rescue LoadError
|
9
|
+
gem 'rails'
|
10
|
+
require 'action_pack'
|
11
|
+
require 'action_controller'
|
12
|
+
$stdout.puts "Testing against Rails #{ ActionPack::VERSION::STRING }"
|
13
|
+
end
|
14
|
+
|
15
|
+
BigCartel::CurrencyLocales.insert
|
16
|
+
|
17
|
+
if Module.const_defined?("RSpec")
|
18
|
+
RSpec.configure do |config|
|
19
|
+
config.mock_with :rspec
|
20
|
+
config.fail_fast = true
|
21
|
+
end
|
22
|
+
else
|
23
|
+
require 'spec'
|
24
|
+
Spec::Runner.configure do |config|
|
25
|
+
config.mock_with :rspec
|
26
|
+
end
|
27
|
+
end
|
metadata
ADDED
@@ -0,0 +1,125 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: bigcartel-currency-locales
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.3.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Big Cartel
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2013-05-29 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: appraisal
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '>='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '>='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rails
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 3.2.9
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 3.2.9
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec-rails
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '2.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '2.0'
|
55
|
+
description: Common locale data for Rails i18n of Big Cartel's supported currencies.
|
56
|
+
email: dev@bigcartel.com
|
57
|
+
executables: []
|
58
|
+
extensions: []
|
59
|
+
extra_rdoc_files: []
|
60
|
+
files:
|
61
|
+
- .gitignore
|
62
|
+
- .travis.yml
|
63
|
+
- Appraisals
|
64
|
+
- Gemfile
|
65
|
+
- README.md
|
66
|
+
- Rakefile
|
67
|
+
- bigcartel-currency-locales.gemspec
|
68
|
+
- gemfiles/2.3.gemfile
|
69
|
+
- gemfiles/2.3.gemfile.lock
|
70
|
+
- gemfiles/3.0.gemfile
|
71
|
+
- gemfiles/3.0.gemfile.lock
|
72
|
+
- gemfiles/3.1.gemfile
|
73
|
+
- gemfiles/3.1.gemfile.lock
|
74
|
+
- gemfiles/3.2.gemfile
|
75
|
+
- gemfiles/3.2.gemfile.lock
|
76
|
+
- lib/currency-locales.rb
|
77
|
+
- lib/currency-locales/locales/cs.yml
|
78
|
+
- lib/currency-locales/locales/da.yml
|
79
|
+
- lib/currency-locales/locales/en-AU.yml
|
80
|
+
- lib/currency-locales/locales/en-GB.yml
|
81
|
+
- lib/currency-locales/locales/en-PH.yml
|
82
|
+
- lib/currency-locales/locales/en-US.yml
|
83
|
+
- lib/currency-locales/locales/es-MX.yml
|
84
|
+
- lib/currency-locales/locales/eu.yml
|
85
|
+
- lib/currency-locales/locales/gsw-CH.yml
|
86
|
+
- lib/currency-locales/locales/hu.yml
|
87
|
+
- lib/currency-locales/locales/il.yml
|
88
|
+
- lib/currency-locales/locales/ja.yml
|
89
|
+
- lib/currency-locales/locales/ms-MY.yml
|
90
|
+
- lib/currency-locales/locales/nb.yml
|
91
|
+
- lib/currency-locales/locales/pl.yml
|
92
|
+
- lib/currency-locales/locales/pt-BR.yml
|
93
|
+
- lib/currency-locales/locales/sv-SE.yml
|
94
|
+
- lib/currency-locales/locales/th.yml
|
95
|
+
- lib/currency-locales/locales/tr.yml
|
96
|
+
- lib/currency-locales/locales/zh-TW.yml
|
97
|
+
- lib/currency-locales/railtie.rb
|
98
|
+
- lib/currency-locales/version.rb
|
99
|
+
- rails/init.rb
|
100
|
+
- spec/integration/currency_locales_spec.rb
|
101
|
+
- spec/spec_helper.rb
|
102
|
+
homepage: http://github.com/bigcartel/bigcartel-currency-locales
|
103
|
+
licenses: []
|
104
|
+
metadata: {}
|
105
|
+
post_install_message:
|
106
|
+
rdoc_options: []
|
107
|
+
require_paths:
|
108
|
+
- lib
|
109
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
110
|
+
requirements:
|
111
|
+
- - '>='
|
112
|
+
- !ruby/object:Gem::Version
|
113
|
+
version: '0'
|
114
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
115
|
+
requirements:
|
116
|
+
- - '>='
|
117
|
+
- !ruby/object:Gem::Version
|
118
|
+
version: '0'
|
119
|
+
requirements: []
|
120
|
+
rubyforge_project:
|
121
|
+
rubygems_version: 2.0.0
|
122
|
+
signing_key:
|
123
|
+
specification_version: 4
|
124
|
+
summary: Common locale data for Rails i18n of Big Cartel's supported currencies.
|
125
|
+
test_files: []
|