i18n-inflector-rails 1.0.6 → 1.0.7

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.
data.tar.gz.sig CHANGED
Binary file
data/ChangeLog CHANGED
@@ -1,3 +1,72 @@
1
+ commit 9310116f391346f9120d663775be2da025cc99db
2
+ Author: Paweł Wilk <siefca@gnu.org>
3
+ Date: Sun Sep 15 12:31:29 2013 +0200
4
+
5
+ ChangeLog updated
6
+
7
+ commit a4e4400ee04c89f1f8be5ee3cbaa458a8089b001
8
+ Author: Paweł Wilk <siefca@gnu.org>
9
+ Date: Sun Sep 15 12:30:59 2013 +0200
10
+
11
+ README updated
12
+
13
+ commit 0761f02523839e77783d07b8f2953c4ea323d189
14
+ Author: Paweł Wilk <siefca@gnu.org>
15
+ Date: Sun Sep 15 12:28:24 2013 +0200
16
+
17
+ Updated license information, HISTORY and README
18
+
19
+ commit 5a00ebf493b84da0bbac113c4c0b30a7893e799e
20
+ Author: Paweł Wilk <siefca@gnu.org>
21
+ Date: Sun Sep 15 12:18:46 2013 +0200
22
+
23
+ Release 1.0.7
24
+
25
+ commit a5f8d2c23fd5f76ba05d91c84e8a208f9fdf5095
26
+ Author: Paweł Wilk <siefca@gnu.org>
27
+ Date: Sun Sep 15 12:18:29 2013 +0200
28
+
29
+ Updated Manifest.txt
30
+
31
+ commit 8b114479f60eaa056f4aef47d9771262b062e03a
32
+ Author: Paweł Wilk <siefca@gnu.org>
33
+ Date: Sun Sep 15 12:13:59 2013 +0200
34
+
35
+ Gemfile.lock updated
36
+
37
+ commit ddde726e9db44d42581df3ecfbca94278a1c0b86
38
+ Author: Paweł Wilk <siefca@gnu.org>
39
+ Date: Sun Sep 15 12:11:46 2013 +0200
40
+
41
+ Fixed RSpec deprecation warnings
42
+
43
+ commit 1891e9c94228ea968855ab1b4e05c87a132fba6f
44
+ Merge: 8f730f6 51e3e3c
45
+ Author: Paweł Wilk <siefca@gnu.org>
46
+ Date: Sat Sep 14 15:54:12 2013 -0700
47
+
48
+ Merge pull request #3 from dmilisic/master
49
+
50
+ Rails 4 compatibility (thank you danijel!)
51
+
52
+ commit 51e3e3cf9230386e9da0f415c28d3c888a0ab8f4
53
+ Author: danijel <danijel.milisic@drap.hr>
54
+ Date: Mon Jul 15 14:11:40 2013 +0200
55
+
56
+ rails 4 compatibility
57
+
58
+ commit 8f730f63c561f2efc00c5850068c1426a9aaee91
59
+ Author: Paweł Wilk <siefca@gnu.org>
60
+ Date: Thu Oct 18 22:28:30 2012 +0200
61
+
62
+ README updated
63
+
64
+ commit 3f83426716d24c6298e6796c9bbfd10e4fb373d0
65
+ Author: Paweł Wilk <siefca@gnu.org>
66
+ Date: Tue Aug 9 17:20:48 2011 +0200
67
+
68
+ Release 1.0.6
69
+
1
70
  commit d0ef3e273d3cec561e252830aaf0eb44e0820807
2
71
  Author: Paweł Wilk <siefca@gnu.org>
3
72
  Date: Mon Aug 8 00:14:01 2011 +0200
data/Gemfile CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  # DO NOT EDIT THIS FILE. Instead, edit Rakefile, and run `rake bundler:gemfile`.
4
4
 
5
- source :gemcutter
5
+ source "https://rubygems.org/"
6
6
 
7
7
  gem "i18n-inflector", "~>2.6"
8
- gem "railties", "~>3.0"
9
- gem "actionpack", "~>3.0"
8
+ gem "railties", ">=3.0.0"
9
+ gem "actionpack", ">=3.0.0"
10
10
 
11
11
  gem "hoe-yard", ">=0.1.2", :group => [:development, :test]
12
12
  gem "rspec", ">=2.6.0", :group => [:development, :test]
@@ -14,6 +14,6 @@ gem "yard", ">=0.7.2", :group => [:development, :test]
14
14
  gem "rdoc", ">=3.8.0", :group => [:development, :test]
15
15
  gem "bundler", ">=1.0.10", :group => [:development, :test]
16
16
  gem "hoe-bundler", ">=1.1.0", :group => [:development, :test]
17
- gem "hoe", "~>2.10", :group => [:development, :test]
17
+ gem "hoe", "~>2.16", :group => [:development, :test]
18
18
 
19
19
  # vim: syntax=ruby
@@ -0,0 +1,70 @@
1
+ GEM
2
+ remote: https://rubygems.org/
3
+ specs:
4
+ actionpack (4.0.0)
5
+ activesupport (= 4.0.0)
6
+ builder (~> 3.1.0)
7
+ erubis (~> 2.7.0)
8
+ rack (~> 1.5.2)
9
+ rack-test (~> 0.6.2)
10
+ activesupport (4.0.0)
11
+ i18n (~> 0.6, >= 0.6.4)
12
+ minitest (~> 4.2)
13
+ multi_json (~> 1.3)
14
+ thread_safe (~> 0.1)
15
+ tzinfo (~> 0.3.37)
16
+ atomic (1.1.14)
17
+ builder (3.1.4)
18
+ diff-lcs (1.2.4)
19
+ erubis (2.7.0)
20
+ hoe (2.16.1)
21
+ rake (~> 0.8)
22
+ hoe-bundler (1.2.0)
23
+ hoe (>= 2.2.0)
24
+ hoe-yard (0.1.2)
25
+ yard (>= 0.2.3.1)
26
+ i18n (0.6.5)
27
+ i18n-inflector (2.6.7)
28
+ i18n (>= 0.4.1)
29
+ json (1.8.0)
30
+ minitest (4.7.5)
31
+ multi_json (1.8.0)
32
+ rack (1.5.2)
33
+ rack-test (0.6.2)
34
+ rack (>= 1.0)
35
+ railties (4.0.0)
36
+ actionpack (= 4.0.0)
37
+ activesupport (= 4.0.0)
38
+ rake (>= 0.8.7)
39
+ thor (>= 0.18.1, < 2.0)
40
+ rake (0.9.6)
41
+ rdoc (4.0.1)
42
+ json (~> 1.4)
43
+ rspec (2.14.1)
44
+ rspec-core (~> 2.14.0)
45
+ rspec-expectations (~> 2.14.0)
46
+ rspec-mocks (~> 2.14.0)
47
+ rspec-core (2.14.5)
48
+ rspec-expectations (2.14.2)
49
+ diff-lcs (>= 1.1.3, < 2.0)
50
+ rspec-mocks (2.14.3)
51
+ thor (0.18.1)
52
+ thread_safe (0.1.3)
53
+ atomic
54
+ tzinfo (0.3.37)
55
+ yard (0.8.7.1)
56
+
57
+ PLATFORMS
58
+ ruby
59
+
60
+ DEPENDENCIES
61
+ actionpack (>= 3.0.0)
62
+ bundler (>= 1.0.10)
63
+ hoe (~> 2.16)
64
+ hoe-bundler (>= 1.1.0)
65
+ hoe-yard (>= 0.1.2)
66
+ i18n-inflector (~> 2.6)
67
+ railties (>= 3.0.0)
68
+ rdoc (>= 3.8.0)
69
+ rspec (>= 2.6.0)
70
+ yard (>= 0.7.2)
@@ -2,6 +2,7 @@
2
2
  .yardopts
3
3
  ChangeLog
4
4
  Gemfile
5
+ Gemfile.lock
5
6
  LGPL-LICENSE
6
7
  Manifest.txt
7
8
  README.rdoc
@@ -170,12 +170,24 @@ see {I18n Inflector documentation}[http://rubydoc.info/gems/i18n-inflector].
170
170
 
171
171
  == Credits
172
172
 
173
- {Heise Media Polska}[http://www.heise-online.pl/] supports Free Software and has
174
- contributed to this plug-in by paying for me to eat when I've been coding.
173
+ * {Heise Media Polska}[http://www.heise-online.pl/] supports Free Software and has
174
+ contributed to this library by paying for my food during the coding.
175
+
176
+ * {Ryan Bates}[https://github.com/dmilisic/] made this package Rails 4 compatible. Thanks!
177
+
178
+ == Donations
179
+
180
+ If you like my work you can send me some BitCoins:
181
+
182
+ * <tt>13wZbBjs6yQQuAb3zjfHubQSyer2cLAYzH</tt>
183
+
184
+ Or you can endorse my skills on LinkedIn:
185
+
186
+ * {pl.linkedin.com/in/pwilk}[http://www.linkedin.com/profile/view?id=4251568#profile-skills]
175
187
 
176
188
  == License
177
189
 
178
- Copyright (c) 2011 by Paweł Wilk.
190
+ Copyright (c) 2011-2013 by Paweł Wilk.
179
191
 
180
192
  i18n-inflector-rails is copyrighted software owned by Paweł Wilk (pw@gnu.org).
181
193
  You may redistribute and/or modify this software as long as you
data/Rakefile CHANGED
@@ -46,8 +46,8 @@ Hoe.spec 'i18n-inflector-rails' do
46
46
  self.history_file = 'docs/HISTORY'
47
47
 
48
48
  extra_deps << ['i18n-inflector', '~> 2.6'] <<
49
- ['railties', '~> 3.0'] <<
50
- ['actionpack', '~> 3.0']
49
+ ['railties', '>= 3.0.0'] <<
50
+ ['actionpack', '>= 3.0.0']
51
51
  extra_dev_deps << ['rspec', '>= 2.6.0'] <<
52
52
  ['yard', '>= 0.7.2'] <<
53
53
  ['rdoc', '>= 3.8.0'] <<
@@ -1,3 +1,19 @@
1
+ === 1.0.7 / 2013-08-14
2
+
3
+ * major enhancements
4
+
5
+ * Rails 4 compatibility
6
+
7
+ * minor bugfixes
8
+
9
+ * RSpec deprecations removed
10
+
11
+ === 1.0.6 / 2011-08-09
12
+
13
+ * minor bugfixes
14
+
15
+ * YAML parser workaround improved
16
+
1
17
  === 1.0.5 / 2011-08-07
2
18
 
3
19
  * minor bugfixes
data/docs/LEGAL CHANGED
@@ -1,7 +1,7 @@
1
1
  LEGAL NOTICE INFORMATION
2
2
  ------------------------
3
3
 
4
- i18n-inflector-rails is Copyright (C) 2011 by Paweł Wilk.
4
+ i18n-inflector-rails is Copyright (C) 2011-2013 by Paweł Wilk.
5
5
 
6
6
  i18n-inflector-rails is copyrighted software owned by Paweł Wilk
7
7
  (pw@gnu.org). You may redistribute and/or modify this
@@ -30,8 +30,8 @@ Gem::Specification.new do |s|
30
30
  s.specification_version = 3
31
31
 
32
32
  s.add_dependency 'i18n-inflector', '~> 2.6'
33
- s.add_dependency 'railties', '~> 3.0'
34
- s.add_dependency 'actionpack', '~> 3.0'
33
+ s.add_dependency 'railties', '>= 3.0.0'
34
+ s.add_dependency 'actionpack', '>= 3.0.0'
35
35
  s.add_development_dependency 'rspec', '>= 2.6.0'
36
36
  s.add_development_dependency 'yard', '>= 0.7.2'
37
37
  s.add_development_dependency 'bundler', '>= 1.0.10'
@@ -1,7 +1,7 @@
1
1
  # encoding: utf-8
2
2
  #
3
3
  # Author:: Paweł Wilk (mailto:pw@gnu.org)
4
- # Copyright:: (c) 2011 by Paweł Wilk
4
+ # Copyright:: (c) 2011-2013 by by Paweł Wilk
5
5
  # License:: This program is licensed under the terms of {file:LGPL-LICENSE GNU Lesser General Public License} or {file:COPYING Ruby License}.
6
6
  #
7
7
  # This file contains error reporting classes for I18n::Backend::Inflector module.
@@ -1,7 +1,7 @@
1
1
  # encoding: utf-8
2
2
  #
3
3
  # Author:: Paweł Wilk (mailto:pw@gnu.org)
4
- # Copyright:: (c) 2011 by Paweł Wilk
4
+ # Copyright:: (c) 2011-2013 by by Paweł Wilk
5
5
  # License:: This program is licensed under the terms of {file:LGPL-LICENSE GNU Lesser General Public License} or {file:COPYING Ruby License}.
6
6
  #
7
7
  # This file contains I18n::Backend::Inflector::Rails module,
@@ -1,7 +1,7 @@
1
1
  # encoding: utf-8
2
2
  #
3
3
  # Author:: Paweł Wilk (mailto:pw@gnu.org)
4
- # Copyright:: (c) 2011 by Paweł Wilk
4
+ # Copyright:: (c) 2011-2013 by by Paweł Wilk
5
5
  # License:: This program is licensed under the terms of {file:LGPL-LICENSE GNU Lesser General Public License} or {file:COPYING Ruby License}.
6
6
  #
7
7
  # This file contains I18n::Inflector::Rails::AdditionalOptions module,
@@ -1,7 +1,7 @@
1
1
  # encoding: utf-8
2
2
  #
3
3
  # Author:: Paweł Wilk (mailto:pw@gnu.org)
4
- # Copyright:: (c) 2011 by Paweł Wilk
4
+ # Copyright:: (c) 2011-2013 by by Paweł Wilk
5
5
  # License:: This program is licensed under the terms of {file:LGPL-LICENSE GNU Lesser General Public License} or {file:COPYING Ruby License}.
6
6
  #
7
7
  # This file loads I18n::Inflector::Rails goodies into Rails.
@@ -1,7 +1,7 @@
1
1
  # encoding: utf-8
2
2
  #
3
3
  # Author:: Paweł Wilk (mailto:pw@gnu.org)
4
- # Copyright:: (c) 2011 by Paweł Wilk
4
+ # Copyright:: (c) 2011-2013 by by Paweł Wilk
5
5
  # License:: This program is licensed under the terms of {file:LGPL-LICENSE GNU Lesser General Public License} or {file:COPYING Ruby License}.
6
6
  #
7
7
  # This file contains version information.
@@ -15,7 +15,7 @@ module I18n
15
15
  # @private
16
16
  EMAIL = 'pw@gnu.org'
17
17
  # @private
18
- VERSION = '1.0.6'
18
+ VERSION = '1.0.7'
19
19
  # @private
20
20
  NAME = 'i18n-inflector-rails'
21
21
  # @private
@@ -306,9 +306,9 @@ describe ApplicationController do
306
306
  end
307
307
 
308
308
  it "should not raise when method does not exists and verify_methods is enabled" do
309
- lambda{@nomethod_controller.trn('welcome', :inflector_verify_methods => true)}.should_not raise_error(NameError)
309
+ lambda{@nomethod_controller.trn('welcome', :inflector_verify_methods => true)}.should_not raise_error
310
310
  I18n.inflector.options.verify_methods = true
311
- lambda{@nomethod_controller.trn('welcome')}.should_not raise_error(NameError)
311
+ lambda{@nomethod_controller.trn('welcome')}.should_not raise_error
312
312
  end
313
313
 
314
314
  it "should translate with the :inflector_lazy_methods switch turned off" do
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: i18n-inflector-rails
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.0.6
5
+ version: 1.0.7
6
6
  platform: ruby
7
7
  authors:
8
8
  - "Pawe\xC5\x82 Wilk"
@@ -30,7 +30,7 @@ cert_chain:
30
30
  NK3TIZaPCh1S2/ES6wXNvjQ+5EnEEL9j/pSEop9DYEBPaM2WDVR5i0jJTAaRWw==
31
31
  -----END CERTIFICATE-----
32
32
 
33
- date: 2011-08-09 00:00:00 Z
33
+ date: 2013-09-15 00:00:00 Z
34
34
  dependencies:
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: i18n-inflector
@@ -48,9 +48,9 @@ dependencies:
48
48
  requirement: &id002 !ruby/object:Gem::Requirement
49
49
  none: false
50
50
  requirements:
51
- - - ~>
51
+ - - ">="
52
52
  - !ruby/object:Gem::Version
53
- version: "3.0"
53
+ version: 3.0.0
54
54
  type: :runtime
55
55
  prerelease: false
56
56
  version_requirements: *id002
@@ -59,9 +59,9 @@ dependencies:
59
59
  requirement: &id003 !ruby/object:Gem::Requirement
60
60
  none: false
61
61
  requirements:
62
- - - ~>
62
+ - - ">="
63
63
  - !ruby/object:Gem::Version
64
- version: "3.0"
64
+ version: 3.0.0
65
65
  type: :runtime
66
66
  prerelease: false
67
67
  version_requirements: *id003
@@ -138,7 +138,7 @@ dependencies:
138
138
  requirements:
139
139
  - - ~>
140
140
  - !ruby/object:Gem::Version
141
- version: "2.10"
141
+ version: "2.16"
142
142
  type: :development
143
143
  prerelease: false
144
144
  version_requirements: *id010
@@ -151,11 +151,13 @@ extensions: []
151
151
 
152
152
  extra_rdoc_files:
153
153
  - Manifest.txt
154
+ - README.rdoc
154
155
  files:
155
156
  - .rspec
156
157
  - .yardopts
157
158
  - ChangeLog
158
159
  - Gemfile
160
+ - Gemfile.lock
159
161
  - LGPL-LICENSE
160
162
  - Manifest.txt
161
163
  - README.rdoc
@@ -192,7 +194,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
192
194
  requirements:
193
195
  - - ">="
194
196
  - !ruby/object:Gem::Version
195
- hash: -4022217839564024347
197
+ hash: -103731541373937408
196
198
  segments:
197
199
  - 0
198
200
  version: "0"
@@ -205,7 +207,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
205
207
  requirements: []
206
208
 
207
209
  rubyforge_project: i18n-inflector-rails
208
- rubygems_version: 1.8.5
210
+ rubygems_version: 1.8.24
209
211
  signing_key:
210
212
  specification_version: 3
211
213
  summary: I18n Inflector bindings for Rails
metadata.gz.sig CHANGED
Binary file