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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NWNlZTU1ZDRiYjcwMzUwMTY0YWVhOGJjM2IwNTEwMjU1Y2ZhNWU3NQ==
4
+ MzZlZTA3YTcxYTNiNDA3ZmQ3MTdhMzE5ZGQxNzA1Yzg4YmFhMjI5Mg==
5
5
  data.tar.gz: !binary |-
6
- MTQwZGExYWQ2NTNjNjcxN2Q0OGEyNWIyMmI4YTJmMTUyODhiYWFlYQ==
6
+ OTQ3MzczNzVmZDI4ZWMwYjBhOGY0NjMyZmU4MWE1N2UyN2RhMTZkMA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ODM0MDIwNTJiOWM4ODcwMGYyMmU3YWEyNzg5ZWMwN2ExMTRkMGUxZDFhZGVm
10
- M2JmMmEzNWFlMjlhYjE0NWNmNzIxNmNlYmQ1MzI3OWM2Y2ZkN2MzMzhlODdm
11
- MmQxZTY2MjVkZjc3Nzc2M2IzMGY2MWExOGMwN2FjNzUyNzVmODM=
9
+ ZjkwNjFmOWJiNmM2ZDg1MzI3ZGNlNDBkMzU3ZTIwYWRiN2NkNjJmMzFjMjQ3
10
+ ZGNlOGIyNzA1MzM5OGQ4YzBlN2M2ZmFlZjE5ZTg5ZjgyNzY5YmMxZDQ4MDcz
11
+ MTBiYTAyOGMyYjNmOWVkNzU0Yzk0MDU4NGE2NDY3ZjZhYmQxMjQ=
12
12
  data.tar.gz: !binary |-
13
- ZDkwN2E4NDg2YWQzODY1NDYwZjEwMGVmYmIxY2M3MzYwODc0Y2IyNjRkODVl
14
- MDNmMmVkOGM5MzYxOTZjM2YzMzgxY2ZlZjZiZjQ2MmRlNzExZjJjZDJlNDI0
15
- Njg1YWFiMjk0ZjFiZjk2YTkwMjdhMDFjYjNhNjM1OGQ3ZDBkNzg=
13
+ MjdkMWE2YzM0NzcxYjZkYjkzNzZiYWVmZTMyMGUxMjVmNzMxYjAyZjVmYzBi
14
+ YmRhMDY3YWM5OTI3MzdmNDBhNTVjZjVkMDBmZTQ4ZjE5OWVhMjQ0ZjhkYTk3
15
+ OWE1MjBlZWM4ZWYxNzMyYWJjNzE5Njk4OWMxNDRkYTU2Nzg3YTA=
data/.gitignore CHANGED
@@ -1,4 +1,5 @@
1
1
  .bundle/
2
2
  Gemfile.lock
3
3
  pkg/
4
+ tmp
4
5
  *.gem
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 3.1.6
4
+
5
+ Make [license (MIT)](LICENSE.txt) easier to autodetect.
6
+
3
7
  ## 3.1.5
4
8
 
5
9
  * Bugfix: don't raise error loading models before the DB is created. Thanks to PikachuEXE and Andrii Malyshko.
@@ -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
- ## Credits and license
171
-
172
- By [Barsoom](http://barsoom.se) under the MIT license:
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)
@@ -1,3 +1,3 @@
1
1
  module Traco
2
- VERSION = "3.1.5"
2
+ VERSION = "3.1.6"
3
3
  end
@@ -10,7 +10,7 @@ describe Traco::LocaleFallbacks do
10
10
  end
11
11
 
12
12
  describe "#[]" do
13
- context "with the ':default' option" do
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)
@@ -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.5
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: 2014-08-14 00:00:00.000000000 Z
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.1
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.