spree_i18n 5.3.2 → 5.3.3
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 +4 -4
- data/README.md +28 -32
- data/Rakefile +11 -16
- data/config/locales/ar.yml +2041 -294
- data/config/locales/be.yml +1769 -79
- data/config/locales/bg.yml +1705 -46
- data/config/locales/ca.yml +1727 -3
- data/config/locales/cs.yml +1785 -48
- data/config/locales/da.yml +1722 -9
- data/config/locales/de-CH.yml +1773 -3
- data/config/locales/de.yml +1490 -58
- data/config/locales/el.yml +1645 -12
- data/config/locales/en-AU.yml +1726 -2
- data/config/locales/en-GB.yml +1725 -5
- data/config/locales/en-IN.yml +1725 -3
- data/config/locales/en-NZ.yml +1726 -2
- data/config/locales/es-CL.yml +1713 -54
- data/config/locales/es-EC.yml +1728 -8
- data/config/locales/es-MX.yml +1732 -9
- data/config/locales/es.yml +1563 -147
- data/config/locales/et.yml +1747 -5
- data/config/locales/fa.yml +2013 -89
- data/config/locales/fi.yml +1708 -3
- data/config/locales/fr.yml +1515 -93
- data/config/locales/hu.yml +1726 -5
- data/config/locales/id.yml +1731 -6
- data/config/locales/it.yml +1768 -66
- data/config/locales/ja.yml +2399 -661
- data/config/locales/km.yml +1774 -68
- data/config/locales/ko.yml +2071 -288
- data/config/locales/ku.yml +1725 -5
- data/config/locales/lt.yml +1641 -12
- data/config/locales/lv.yml +1744 -16
- data/config/locales/nb.yml +1561 -99
- data/config/locales/ne.yml +1729 -7
- data/config/locales/nl.yml +1728 -24
- data/config/locales/pl.yml +1560 -79
- data/config/locales/pt-BR.yml +1634 -63
- data/config/locales/pt.yml +1787 -4
- data/config/locales/ro.yml +1755 -32
- data/config/locales/ru.yml +2799 -1112
- data/config/locales/sk.yml +2002 -269
- data/config/locales/sl-SI.yml +1778 -8
- data/config/locales/sv.yml +1576 -120
- data/config/locales/th.yml +2473 -745
- data/config/locales/tr.yml +1922 -134
- data/config/locales/uk.yml +1538 -195
- data/config/locales/vi.yml +1875 -136
- data/config/locales/zh-CN.yml +2631 -928
- data/config/locales/zh-TW.yml +1600 -110
- data/lib/spree_i18n/version.rb +3 -9
- metadata +39 -40
- data/.github/dependabot.yml +0 -7
- data/.gitignore +0 -22
- data/.rspec +0 -3
- data/.rubocop.yml +0 -7
- data/.travis.yml +0 -44
- data/Appraisals +0 -9
- data/CONTRIBUTING.md +0 -81
- data/Gemfile +0 -6
- data/bin/rails +0 -7
- data/gemfiles/spree_4_2.gemfile +0 -8
- data/gemfiles/spree_master.gemfile +0 -8
- data/spec/features/russian_errors_translation_spec.rb +0 -16
- data/spec/features/translation_spec.rb +0 -46
- data/spec/spec_helper.rb +0 -10
- data/spec/support/i18n.rb +0 -5
- data/spree_i18n.gemspec +0 -31
data/lib/spree_i18n/version.rb
CHANGED
|
@@ -1,17 +1,11 @@
|
|
|
1
1
|
module SpreeI18n
|
|
2
|
+
VERSION = '5.3.3'.freeze
|
|
3
|
+
|
|
2
4
|
module_function
|
|
3
5
|
|
|
4
6
|
# Returns the version of the currently loaded SpreeI18n as a
|
|
5
7
|
# <tt>Gem::Version</tt>.
|
|
6
8
|
def version
|
|
7
|
-
Gem::Version.new
|
|
8
|
-
end
|
|
9
|
-
|
|
10
|
-
module Version
|
|
11
|
-
MAJOR = 5
|
|
12
|
-
MINOR = 3
|
|
13
|
-
TINY = 2
|
|
14
|
-
|
|
15
|
-
STRING = [MAJOR, MINOR, TINY].compact.join('.')
|
|
9
|
+
Gem::Version.new(VERSION)
|
|
16
10
|
end
|
|
17
11
|
end
|
metadata
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: spree_i18n
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 5.3.
|
|
4
|
+
version: 5.3.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
|
-
-
|
|
7
|
+
- Vendo Connect Inc.
|
|
8
8
|
bindir: bin
|
|
9
9
|
cert_chain: []
|
|
10
10
|
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
12
|
- !ruby/object:Gem::Dependency
|
|
13
|
-
name:
|
|
13
|
+
name: spree_core
|
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
|
15
15
|
requirements:
|
|
16
16
|
- - ">="
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version:
|
|
18
|
+
version: 5.4.0.alpha
|
|
19
19
|
type: :runtime
|
|
20
20
|
prerelease: false
|
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
22
22
|
requirements:
|
|
23
23
|
- - ">="
|
|
24
24
|
- !ruby/object:Gem::Version
|
|
25
|
-
version:
|
|
25
|
+
version: 5.4.0.alpha
|
|
26
26
|
- !ruby/object:Gem::Dependency
|
|
27
|
-
name:
|
|
27
|
+
name: spree_extension
|
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
|
29
29
|
requirements:
|
|
30
30
|
- - ">="
|
|
@@ -38,7 +38,7 @@ dependencies:
|
|
|
38
38
|
- !ruby/object:Gem::Version
|
|
39
39
|
version: '0'
|
|
40
40
|
- !ruby/object:Gem::Dependency
|
|
41
|
-
name:
|
|
41
|
+
name: i18n_data
|
|
42
42
|
requirement: !ruby/object:Gem::Requirement
|
|
43
43
|
requirements:
|
|
44
44
|
- - ">="
|
|
@@ -52,21 +52,21 @@ dependencies:
|
|
|
52
52
|
- !ruby/object:Gem::Version
|
|
53
53
|
version: '0'
|
|
54
54
|
- !ruby/object:Gem::Dependency
|
|
55
|
-
name:
|
|
55
|
+
name: rails-i18n
|
|
56
56
|
requirement: !ruby/object:Gem::Requirement
|
|
57
57
|
requirements:
|
|
58
58
|
- - ">="
|
|
59
59
|
- !ruby/object:Gem::Version
|
|
60
|
-
version:
|
|
60
|
+
version: '0'
|
|
61
61
|
type: :runtime
|
|
62
62
|
prerelease: false
|
|
63
63
|
version_requirements: !ruby/object:Gem::Requirement
|
|
64
64
|
requirements:
|
|
65
65
|
- - ">="
|
|
66
66
|
- !ruby/object:Gem::Version
|
|
67
|
-
version:
|
|
67
|
+
version: '0'
|
|
68
68
|
- !ruby/object:Gem::Dependency
|
|
69
|
-
name:
|
|
69
|
+
name: kaminari-i18n
|
|
70
70
|
requirement: !ruby/object:Gem::Requirement
|
|
71
71
|
requirements:
|
|
72
72
|
- - ">="
|
|
@@ -93,24 +93,30 @@ dependencies:
|
|
|
93
93
|
- - ">="
|
|
94
94
|
- !ruby/object:Gem::Version
|
|
95
95
|
version: '0'
|
|
96
|
-
|
|
97
|
-
|
|
96
|
+
- !ruby/object:Gem::Dependency
|
|
97
|
+
name: i18n-tasks
|
|
98
|
+
requirement: !ruby/object:Gem::Requirement
|
|
99
|
+
requirements:
|
|
100
|
+
- - ">="
|
|
101
|
+
- !ruby/object:Gem::Version
|
|
102
|
+
version: '0'
|
|
103
|
+
type: :development
|
|
104
|
+
prerelease: false
|
|
105
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
106
|
+
requirements:
|
|
107
|
+
- - ">="
|
|
108
|
+
- !ruby/object:Gem::Version
|
|
109
|
+
version: '0'
|
|
110
|
+
description: Adds locale files, country/language names and translation tooling for
|
|
111
|
+
internationalizing Spree Commerce stores.
|
|
112
|
+
email: hello@spreecommerce.org
|
|
98
113
|
executables: []
|
|
99
114
|
extensions: []
|
|
100
115
|
extra_rdoc_files: []
|
|
101
116
|
files:
|
|
102
|
-
- ".github/dependabot.yml"
|
|
103
|
-
- ".gitignore"
|
|
104
|
-
- ".rspec"
|
|
105
|
-
- ".rubocop.yml"
|
|
106
|
-
- ".travis.yml"
|
|
107
|
-
- Appraisals
|
|
108
|
-
- CONTRIBUTING.md
|
|
109
|
-
- Gemfile
|
|
110
117
|
- LICENSE.md
|
|
111
118
|
- README.md
|
|
112
119
|
- Rakefile
|
|
113
|
-
- bin/rails
|
|
114
120
|
- config/initializers/country_names.rb
|
|
115
121
|
- config/locales/ar.yml
|
|
116
122
|
- config/locales/be.yml
|
|
@@ -159,8 +165,6 @@ files:
|
|
|
159
165
|
- config/locales/vi.yml
|
|
160
166
|
- config/locales/zh-CN.yml
|
|
161
167
|
- config/locales/zh-TW.yml
|
|
162
|
-
- gemfiles/spree_4_2.gemfile
|
|
163
|
-
- gemfiles/spree_master.gemfile
|
|
164
168
|
- lib/generators/spree_i18n/install/install_generator.rb
|
|
165
169
|
- lib/spree/i18n_utils.rb
|
|
166
170
|
- lib/spree_i18n.rb
|
|
@@ -169,15 +173,14 @@ files:
|
|
|
169
173
|
- lib/spree_i18n/locales_and_local_language_names.csv
|
|
170
174
|
- lib/spree_i18n/version.rb
|
|
171
175
|
- lib/tasks/spree_i18n/upgrade.rake
|
|
172
|
-
|
|
173
|
-
- spec/features/translation_spec.rb
|
|
174
|
-
- spec/spec_helper.rb
|
|
175
|
-
- spec/support/i18n.rb
|
|
176
|
-
- spree_i18n.gemspec
|
|
177
|
-
homepage: http://spreecommerce.com
|
|
176
|
+
homepage: https://github.com/spree/spree_i18n
|
|
178
177
|
licenses:
|
|
179
|
-
- BSD-3
|
|
180
|
-
metadata:
|
|
178
|
+
- BSD-3-Clause
|
|
179
|
+
metadata:
|
|
180
|
+
bug_tracker_uri: https://github.com/spree/spree_i18n/issues
|
|
181
|
+
changelog_uri: https://github.com/spree/spree_i18n/releases/tag/v5.3.3
|
|
182
|
+
documentation_uri: https://docs.spreecommerce.org/
|
|
183
|
+
source_code_uri: https://github.com/spree/spree_i18n/tree/v5.3.3
|
|
181
184
|
rdoc_options: []
|
|
182
185
|
require_paths:
|
|
183
186
|
- lib
|
|
@@ -185,7 +188,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
185
188
|
requirements:
|
|
186
189
|
- - ">="
|
|
187
190
|
- !ruby/object:Gem::Version
|
|
188
|
-
version: '
|
|
191
|
+
version: '3.2'
|
|
189
192
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
190
193
|
requirements:
|
|
191
194
|
- - ">="
|
|
@@ -193,11 +196,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
193
196
|
version: '0'
|
|
194
197
|
requirements:
|
|
195
198
|
- none
|
|
196
|
-
rubygems_version:
|
|
199
|
+
rubygems_version: 4.0.2
|
|
197
200
|
specification_version: 4
|
|
198
|
-
summary: Provides locale information
|
|
199
|
-
test_files:
|
|
200
|
-
- spec/features/russian_errors_translation_spec.rb
|
|
201
|
-
- spec/features/translation_spec.rb
|
|
202
|
-
- spec/spec_helper.rb
|
|
203
|
-
- spec/support/i18n.rb
|
|
201
|
+
summary: Provides locale information and translations for Spree Commerce.
|
|
202
|
+
test_files: []
|
data/.github/dependabot.yml
DELETED
data/.gitignore
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
\#*
|
|
2
|
-
*~
|
|
3
|
-
.#*
|
|
4
|
-
.DS_Store
|
|
5
|
-
.idea
|
|
6
|
-
.localeapp/locales
|
|
7
|
-
.project
|
|
8
|
-
coverage
|
|
9
|
-
default
|
|
10
|
-
Gemfile.lock
|
|
11
|
-
tmp
|
|
12
|
-
nbproject
|
|
13
|
-
pkg
|
|
14
|
-
*.sw?
|
|
15
|
-
spec/dummy
|
|
16
|
-
.rvmrc
|
|
17
|
-
.sass-cache
|
|
18
|
-
public/spree
|
|
19
|
-
.ruby-version
|
|
20
|
-
.ruby-gemset
|
|
21
|
-
gemfiles/*.gemfile.lock
|
|
22
|
-
*.gem
|
data/.rspec
DELETED
data/.rubocop.yml
DELETED
data/.travis.yml
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
os: linux
|
|
2
|
-
dist: bionic
|
|
3
|
-
|
|
4
|
-
addons:
|
|
5
|
-
apt:
|
|
6
|
-
sources:
|
|
7
|
-
- google-chrome
|
|
8
|
-
packages:
|
|
9
|
-
- google-chrome-stable
|
|
10
|
-
|
|
11
|
-
services:
|
|
12
|
-
- mysql
|
|
13
|
-
- postgresql
|
|
14
|
-
|
|
15
|
-
language: ruby
|
|
16
|
-
|
|
17
|
-
rvm:
|
|
18
|
-
- 2.7
|
|
19
|
-
- 3.0
|
|
20
|
-
|
|
21
|
-
env:
|
|
22
|
-
- DB=mysql
|
|
23
|
-
- DB=postgres
|
|
24
|
-
|
|
25
|
-
gemfile:
|
|
26
|
-
- gemfiles/spree_4_2.gemfile
|
|
27
|
-
- gemfiles/spree_master.gemfile
|
|
28
|
-
|
|
29
|
-
jobs:
|
|
30
|
-
allow_failures:
|
|
31
|
-
- gemfile: gemfiles/spree_master.gemfile
|
|
32
|
-
|
|
33
|
-
before_install:
|
|
34
|
-
- mysql -u root -e "GRANT ALL ON *.* TO 'travis'@'%';"
|
|
35
|
-
|
|
36
|
-
before_script:
|
|
37
|
-
- CHROME_MAIN_VERSION=`google-chrome-stable --version | sed -E 's/(^Google Chrome |\.[0-9]+ )//g'`
|
|
38
|
-
- CHROMEDRIVER_VERSION=`curl -s "https://chromedriver.storage.googleapis.com/LATEST_RELEASE_$CHROME_MAIN_VERSION"`
|
|
39
|
-
- curl "https://chromedriver.storage.googleapis.com/${CHROMEDRIVER_VERSION}/chromedriver_linux64.zip" -O
|
|
40
|
-
- unzip chromedriver_linux64.zip -d ~/bin
|
|
41
|
-
|
|
42
|
-
script:
|
|
43
|
-
- bundle exec rake test_app
|
|
44
|
-
- bundle exec rake spec
|
data/Appraisals
DELETED
data/CONTRIBUTING.md
DELETED
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
# Contributing
|
|
2
|
-
|
|
3
|
-
Spree i18n is an open source project and we encourage contributions. Please see the [contributors guidelines](http://spreecommerce.com/documentation/contributing_to_spree.html) for more information before contributing.
|
|
4
|
-
|
|
5
|
-
In the spirit of [free software][1], **everyone** is encouraged to help improve this project.
|
|
6
|
-
|
|
7
|
-
Here are some ways *you* can contribute:
|
|
8
|
-
|
|
9
|
-
* by using prerelease versions
|
|
10
|
-
* by reporting [bugs][2]
|
|
11
|
-
* by suggesting new features
|
|
12
|
-
* by writing [translations][3] (e.g. use branch 2-4-stable for Spree v2.4.x)
|
|
13
|
-
* by writing or editing documentation
|
|
14
|
-
* by writing specifications
|
|
15
|
-
* by writing code (*no patch is too small*: fix typos, add comments, clean up inconsistent whitespace)
|
|
16
|
-
* by refactoring code
|
|
17
|
-
* by resolving [issues][2]
|
|
18
|
-
* by reviewing patches
|
|
19
|
-
|
|
20
|
-
---
|
|
21
|
-
|
|
22
|
-
## Filing an issue
|
|
23
|
-
|
|
24
|
-
When filing an issue on this extension, please first do these things:
|
|
25
|
-
|
|
26
|
-
* Verify you can reproduce this issue in a brand new application.
|
|
27
|
-
* Run through the steps to reproduce the issue again.
|
|
28
|
-
|
|
29
|
-
In the issue itself please provide:
|
|
30
|
-
|
|
31
|
-
* A comprehensive list of steps to reproduce the issue.
|
|
32
|
-
* What you're *expecting* to happen compared with what's *actually* happening.
|
|
33
|
-
* The version of Spree *and* the version of Rails.
|
|
34
|
-
* A list of all extensions.
|
|
35
|
-
* Any relevant stack traces ("Full trace" preferred)
|
|
36
|
-
* Your `Gemfile`
|
|
37
|
-
|
|
38
|
-
In 99% of cases, this information is enough to determine the cause and solution to the problem that is being described.
|
|
39
|
-
|
|
40
|
-
---
|
|
41
|
-
|
|
42
|
-
## Pull requests
|
|
43
|
-
|
|
44
|
-
We gladly accept pull requests to fix bugs and, in some circumstances, add new features to this extension.
|
|
45
|
-
|
|
46
|
-
Here's a quick guide:
|
|
47
|
-
|
|
48
|
-
1. Fork the repo.
|
|
49
|
-
|
|
50
|
-
2. Run the tests. We only take pull requests with passing tests, and it's great to know that you have a clean slate.
|
|
51
|
-
|
|
52
|
-
3. Create new branch then make changes and add tests for your changes. Only refactoring and documentation changes require no new tests. If you are adding functionality or fixing a bug, we need tests!
|
|
53
|
-
|
|
54
|
-
4. Push to your fork and submit a pull request. If the changes will apply cleanly to the latest stable branches and master branch, you will only need to submit one pull request.
|
|
55
|
-
|
|
56
|
-
At this point you're waiting on us. We may suggest some changes or improvements or alternatives.
|
|
57
|
-
|
|
58
|
-
Some things that will increase the chance that your pull request is accepted, taken straight from the Ruby on Rails guide:
|
|
59
|
-
|
|
60
|
-
* Use Rails idioms and helpers.
|
|
61
|
-
* Include tests that fail without your code, and pass with it.
|
|
62
|
-
* Update the documentation, the surrounding one, examples elsewhere, guides, whatever is affected by your contribution.
|
|
63
|
-
|
|
64
|
-
---
|
|
65
|
-
|
|
66
|
-
## TL;DR
|
|
67
|
-
|
|
68
|
-
* Fork the repo
|
|
69
|
-
* Clone your repo
|
|
70
|
-
* Run `bundle install`
|
|
71
|
-
* Run `bundle exec rake test_app` to create the test application in `spec/dummy`
|
|
72
|
-
* Make your changes
|
|
73
|
-
* Ensure specs pass by running `bundle exec rspec spec`
|
|
74
|
-
* Ensure all syntax ok by running `rubocop .`
|
|
75
|
-
* Submit your pull request
|
|
76
|
-
|
|
77
|
-
And in case we didn't emphasize it enough: **we love tests!**
|
|
78
|
-
|
|
79
|
-
[1]: http://www.fsf.org/licensing/essays/free-sw.html
|
|
80
|
-
[2]: https://github.com/spree-contrib/spree_i18n/issues
|
|
81
|
-
[3]: https://github.com/spree-contrib/spree_i18n/tree/master/config/locales
|
data/Gemfile
DELETED
data/bin/rails
DELETED
data/gemfiles/spree_4_2.gemfile
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
# encoding: utf-8
|
|
2
|
-
|
|
3
|
-
RSpec.describe 'Russian errors translations' do
|
|
4
|
-
def translation(count)
|
|
5
|
-
Spree.t(:errors_prohibited_this_record_from_being_saved, count: count)
|
|
6
|
-
end
|
|
7
|
-
|
|
8
|
-
context 'when current locale is Russian' do
|
|
9
|
-
it 'translation is available' do
|
|
10
|
-
I18n.locale = :ru
|
|
11
|
-
expect(translation(1)).to eq 'Одна ошибка не позволяет сохранить запись в базе'
|
|
12
|
-
expect(translation(3)).to eq '3 ошибки не позволяют сохранить запись в базе'
|
|
13
|
-
expect(translation(10)).to eq '10 ошибок не позволяют сохранить запись в базе'
|
|
14
|
-
end
|
|
15
|
-
end
|
|
16
|
-
end
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
# encoding: utf-8
|
|
2
|
-
|
|
3
|
-
RSpec.describe 'Translation' do
|
|
4
|
-
def translation
|
|
5
|
-
I18n.t('activerecord.attributes.spree/address.zipcode')
|
|
6
|
-
end
|
|
7
|
-
|
|
8
|
-
context 'when current locale is en' do
|
|
9
|
-
it 'translation is available' do
|
|
10
|
-
I18n.locale = :en
|
|
11
|
-
expect(translation).to eq 'Zip Code'
|
|
12
|
-
end
|
|
13
|
-
end
|
|
14
|
-
|
|
15
|
-
# German is chosen as an example of language whose translations are found in a file.
|
|
16
|
-
context 'when current locale is German' do
|
|
17
|
-
it 'translation is available' do
|
|
18
|
-
I18n.locale = :de
|
|
19
|
-
expect(translation).to eq 'PLZ'
|
|
20
|
-
end
|
|
21
|
-
end
|
|
22
|
-
|
|
23
|
-
# Chilean spanish is chosen
|
|
24
|
-
context 'when current locale is Chilean Spanish' do
|
|
25
|
-
it 'translation is available' do
|
|
26
|
-
I18n.locale = :'es-CL'
|
|
27
|
-
expect(translation).to eq 'Código Postal'
|
|
28
|
-
end
|
|
29
|
-
end
|
|
30
|
-
|
|
31
|
-
# Swedish is chosen
|
|
32
|
-
context 'when current locale is Swedish' do
|
|
33
|
-
it 'translation is available' do
|
|
34
|
-
I18n.locale = :'sv'
|
|
35
|
-
expect(translation).to eq 'Postnummer'
|
|
36
|
-
end
|
|
37
|
-
end
|
|
38
|
-
|
|
39
|
-
# Hungarian is chosen
|
|
40
|
-
context 'when current locale is Hungarian' do
|
|
41
|
-
it 'translation is available' do
|
|
42
|
-
I18n.locale = :'hu'
|
|
43
|
-
expect(translation).to eq 'Irányítószám'
|
|
44
|
-
end
|
|
45
|
-
end
|
|
46
|
-
end
|
data/spec/spec_helper.rb
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
# Configure Rails Environment
|
|
2
|
-
ENV['RAILS_ENV'] = 'test'
|
|
3
|
-
|
|
4
|
-
require File.expand_path('../dummy/config/environment.rb', __FILE__)
|
|
5
|
-
|
|
6
|
-
require 'spree_dev_tools/rspec/spec_helper'
|
|
7
|
-
|
|
8
|
-
# Requires supporting ruby files with custom matchers and macros, etc,
|
|
9
|
-
# in spec/support/ and its subdirectories.
|
|
10
|
-
Dir[File.join(File.dirname(__FILE__), 'support/**/*.rb')].sort.each { |f| require f }
|
data/spec/support/i18n.rb
DELETED
data/spree_i18n.gemspec
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
# coding: utf-8
|
|
2
|
-
lib = File.expand_path('../lib/', __FILE__)
|
|
3
|
-
$LOAD_PATH.unshift lib unless $LOAD_PATH.include?(lib)
|
|
4
|
-
|
|
5
|
-
require 'spree_i18n/version'
|
|
6
|
-
|
|
7
|
-
Gem::Specification.new do |s|
|
|
8
|
-
s.platform = Gem::Platform::RUBY
|
|
9
|
-
s.name = 'spree_i18n'
|
|
10
|
-
s.version = SpreeI18n.version
|
|
11
|
-
s.summary = 'Provides locale information for use in Spree.'
|
|
12
|
-
s.description = s.summary
|
|
13
|
-
|
|
14
|
-
s.author = 'Sean Schofield'
|
|
15
|
-
s.email = 'sean.schofield@gmail.com'
|
|
16
|
-
s.homepage = 'http://spreecommerce.com'
|
|
17
|
-
s.license = 'BSD-3'
|
|
18
|
-
|
|
19
|
-
s.files = `git ls-files`.split("\n")
|
|
20
|
-
s.test_files = `git ls-files -- spec/*`.split("\n")
|
|
21
|
-
s.require_path = 'lib'
|
|
22
|
-
s.requirements << 'none'
|
|
23
|
-
|
|
24
|
-
s.add_runtime_dependency 'i18n_data'
|
|
25
|
-
s.add_runtime_dependency 'rails-i18n'
|
|
26
|
-
s.add_runtime_dependency 'kaminari-i18n'
|
|
27
|
-
s.add_runtime_dependency 'spree_core', '>= 4.2.0.rc3'
|
|
28
|
-
s.add_runtime_dependency 'spree_extension'
|
|
29
|
-
|
|
30
|
-
s.add_development_dependency 'spree_dev_tools'
|
|
31
|
-
end
|