traco 3.1.5 → 3.1.6
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 +8 -8
- data/.gitignore +1 -0
- data/CHANGELOG.md +4 -0
- data/LICENSE.txt +19 -0
- data/README.md +3 -23
- data/lib/traco/version.rb +1 -1
- data/spec/locale_fallbacks_spec.rb +1 -1
- data/traco.gemspec +1 -0
- metadata +6 -4
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
MzZlZTA3YTcxYTNiNDA3ZmQ3MTdhMzE5ZGQxNzA1Yzg4YmFhMjI5Mg==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
OTQ3MzczNzVmZDI4ZWMwYjBhOGY0NjMyZmU4MWE1N2UyN2RhMTZkMA==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
ZjkwNjFmOWJiNmM2ZDg1MzI3ZGNlNDBkMzU3ZTIwYWRiN2NkNjJmMzFjMjQ3
|
|
10
|
+
ZGNlOGIyNzA1MzM5OGQ4YzBlN2M2ZmFlZjE5ZTg5ZjgyNzY5YmMxZDQ4MDcz
|
|
11
|
+
MTBiYTAyOGMyYjNmOWVkNzU0Yzk0MDU4NGE2NDY3ZjZhYmQxMjQ=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
MjdkMWE2YzM0NzcxYjZkYjkzNzZiYWVmZTMyMGUxMjVmNzMxYjAyZjVmYzBi
|
|
14
|
+
YmRhMDY3YWM5OTI3MzdmNDBhNTVjZjVkMDBmZTQ4ZjE5OWVhMjQ0ZjhkYTk3
|
|
15
|
+
OWE1MjBlZWM4ZWYxNzMyYWJjNzE5Njk4OWMxNDRkYTU2Nzg3YTA=
|
data/CHANGELOG.md
CHANGED
data/LICENSE.txt
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
Copyright © 2012–2015 Barsoom AB
|
|
2
|
+
|
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
5
|
+
in the Software without restriction, including without limitation the rights
|
|
6
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
7
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
8
|
+
furnished to do so, subject to the following conditions:
|
|
9
|
+
|
|
10
|
+
The above copyright notice and this permission notice shall be included in
|
|
11
|
+
all copies or substantial portions of the Software.
|
|
12
|
+
|
|
13
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
15
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
16
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
18
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
19
|
+
THE SOFTWARE.
|
data/README.md
CHANGED
|
@@ -167,26 +167,6 @@ Possible improvements to make:
|
|
|
167
167
|
* Tomáš Horáček
|
|
168
168
|
* Joakim Kolsjö
|
|
169
169
|
|
|
170
|
-
##
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
> Copyright © 2012–2014 Barsoom AB
|
|
175
|
-
>
|
|
176
|
-
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
177
|
-
> of this software and associated documentation files (the "Software"), to deal
|
|
178
|
-
> in the Software without restriction, including without limitation the rights
|
|
179
|
-
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
180
|
-
> copies of the Software, and to permit persons to whom the Software is
|
|
181
|
-
> furnished to do so, subject to the following conditions:
|
|
182
|
-
>
|
|
183
|
-
> The above copyright notice and this permission notice shall be included in
|
|
184
|
-
> all copies or substantial portions of the Software.
|
|
185
|
-
>
|
|
186
|
-
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
187
|
-
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
188
|
-
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
189
|
-
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
190
|
-
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
191
|
-
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
192
|
-
> THE SOFTWARE.
|
|
170
|
+
## License
|
|
171
|
+
|
|
172
|
+
[MIT](LICENSE.txt)
|
data/lib/traco/version.rb
CHANGED
|
@@ -10,7 +10,7 @@ describe Traco::LocaleFallbacks do
|
|
|
10
10
|
end
|
|
11
11
|
|
|
12
12
|
describe "#[]" do
|
|
13
|
-
|
|
13
|
+
context "with the ':default' option" do
|
|
14
14
|
it "returns given locale, then default locale" do
|
|
15
15
|
I18n.default_locale = :en
|
|
16
16
|
subject = Traco::LocaleFallbacks.new(:default)
|
data/traco.gemspec
CHANGED
|
@@ -9,6 +9,7 @@ Gem::Specification.new do |s|
|
|
|
9
9
|
s.email = ["henrik@barsoom.se"]
|
|
10
10
|
s.homepage = ""
|
|
11
11
|
s.summary = "Translatable columns for Rails 3 or better, stored in the model table itself."
|
|
12
|
+
s.license = "MIT"
|
|
12
13
|
|
|
13
14
|
s.files = `git ls-files`.split("\n")
|
|
14
15
|
s.test_files = `git ls-files -- spec/*`.split("\n")
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: traco
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.1.
|
|
4
|
+
version: 3.1.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Henrik Nyh
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2015-01-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activerecord
|
|
@@ -78,6 +78,7 @@ files:
|
|
|
78
78
|
- .travis.yml
|
|
79
79
|
- CHANGELOG.md
|
|
80
80
|
- Gemfile
|
|
81
|
+
- LICENSE.txt
|
|
81
82
|
- README.md
|
|
82
83
|
- Rakefile
|
|
83
84
|
- benchmarks/overhead.rb
|
|
@@ -95,7 +96,8 @@ files:
|
|
|
95
96
|
- spec/traco_spec.rb
|
|
96
97
|
- traco.gemspec
|
|
97
98
|
homepage: ''
|
|
98
|
-
licenses:
|
|
99
|
+
licenses:
|
|
100
|
+
- MIT
|
|
99
101
|
metadata: {}
|
|
100
102
|
post_install_message:
|
|
101
103
|
rdoc_options: []
|
|
@@ -113,7 +115,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
113
115
|
version: '0'
|
|
114
116
|
requirements: []
|
|
115
117
|
rubyforge_project:
|
|
116
|
-
rubygems_version: 2.2.
|
|
118
|
+
rubygems_version: 2.2.2
|
|
117
119
|
signing_key:
|
|
118
120
|
specification_version: 4
|
|
119
121
|
summary: Translatable columns for Rails 3 or better, stored in the model table itself.
|