routing_filter_locale_unless_api 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -3,13 +3,13 @@
3
3
  *.gem
4
4
  .DS_Store
5
5
  .bundle
6
+ .rbx
6
7
  .rvmrc
7
8
  .yardoc
8
9
  Gemfile.lock
9
10
  bin
10
11
  coverage*
11
12
  doc
12
- gemfiles/*.gemfile
13
13
  gemfiles/*.gemfile.lock
14
14
  pkg
15
15
  rdoc
data/.travis.yml CHANGED
@@ -1,10 +1,13 @@
1
+ bundler_args: "--without development"
2
+ script: "bundle exec rake spec"
1
3
  rvm:
2
- - 1.8.7-p334
3
- - 1.9.1
4
+ - 1.8.7
4
5
  - 1.9.2
6
+ - 1.9.3
5
7
  - ruby-head
6
8
  - ree
9
+ - jruby
7
10
  gemfile:
8
- - gemfiles/Gemfile.actionpack-3.0.x
9
- - gemfiles/Gemfile.actionpack-3.1.x
10
- script: "bundle exec rake spec"
11
+ - gemfiles/actionpack-3.0.x.gemfile
12
+ - gemfiles/actionpack-3.1.x.gemfile
13
+ - gemfiles/actionpack-3.2.x.gemfile
data/Appraisals CHANGED
@@ -1,9 +1,15 @@
1
- appraise "3.0" do
1
+ appraise "actionpack-3.0.x" do
2
2
  gem "i18n", "~> 0.5.0"
3
- gem "actionpack", "~> 3.0"
3
+ gem "actionpack", "~> 3.0.0"
4
4
  end
5
5
 
6
- appraise "3.1.0" do
6
+ appraise "actionpack-3.1.x" do
7
7
  gem "i18n", "~> 0.6.0"
8
8
  gem "actionpack", "~> 3.1.0"
9
- end
9
+ end
10
+
11
+ appraise "actionpack-3.2.x" do
12
+ gem "i18n", "~> 0.6.0"
13
+ gem "actionpack", "~> 3.2.0"
14
+ gem "routing-filter", "~> 0.3.0"
15
+ end
data/Changelog.md CHANGED
@@ -1,6 +1,13 @@
1
1
  ### Dev
2
2
 
3
- [full changelog](https://github.com/ZenCocoon/routing_filter_locale_unless_api/compare/v0.2.0...master)
3
+ [full changelog](https://github.com/ZenCocoon/routing_filter_locale_unless_api/compare/v0.2.1...master)
4
+
5
+ ### 0.2.1 / 2012-02-18
6
+
7
+ [full changelog](https://github.com/ZenCocoon/routing_filter_locale_unless_api/compare/v0.2.0...v0.2.1)
8
+
9
+ * Enhancements
10
+ * Support newer version of routing_filter
4
11
 
5
12
  ### 0.2.0 / 2011-09-13
6
13
 
data/Gemfile CHANGED
@@ -3,5 +3,10 @@ source "http://rubygems.org"
3
3
  gemspec
4
4
 
5
5
  ### MRI 1.8 and 1.9
6
- gem "rb-fsevent", "~> 0.3.9", :platforms => [:mri_18, :mri_19]
7
- gem "ruby-prof", "~> 0.9.2", :platforms => [:mri_18, :mri_19]
6
+ gem "rb-fsevent", "~> 0.3.9", :platforms => [:mri_18, :mri_19], :group => :development
7
+ gem "ruby-prof", "~> 0.9.2", :platforms => [:mri_18, :mri_19], :group => :development
8
+
9
+ gem "rake", "~> 0.9", :group => :test
10
+ gem 'rspec', '~> 2.8.0', :group => :test
11
+ gem "cucumber", "1.0.0", :group => :test
12
+ gem "appraisal", '~> 0.3.6', :group => :test
data/README.md CHANGED
@@ -26,11 +26,11 @@ tracker](https://github.com/ZenCocoon/routing_filter_locale_unless_api/issues).
26
26
 
27
27
  ## Requirements
28
28
 
29
- Notice: Tests currently failing under Ruby 1.8.7-p352, Ruby 1.8.7-p334 works properly so as Ruby 1.9.1, 1.9.2
29
+ Tested with Ruby 1.8.7, 1.9.2, 1.9.3, Ruby-head, REE and JRuby
30
30
 
31
31
  actionpack >= 3.0.9
32
32
  i18n >= 0.5.0
33
- routing-filter ~> 0.2.3
33
+ routing-filter >= 0.2.3
34
34
 
35
35
  ## Installation
36
36
 
@@ -0,0 +1,14 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "http://rubygems.org"
4
+
5
+ gem "rb-fsevent", "~> 0.3.9", :platforms=>[:mri_18, :mri_19], :group=>:development
6
+ gem "ruby-prof", "~> 0.9.2", :platforms=>[:mri_18, :mri_19], :group=>:development
7
+ gem "rake", "~> 0.9", :group=>:test
8
+ gem "rspec", "~> 2.8.0", :group=>:test
9
+ gem "cucumber", "1.0.0", :group=>:test
10
+ gem "appraisal", "~> 0.3.6", :group=>:test
11
+ gem "i18n", "~> 0.5.0"
12
+ gem "actionpack", "~> 3.0.0"
13
+
14
+ gemspec :path=>"../"
@@ -0,0 +1,14 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "http://rubygems.org"
4
+
5
+ gem "rb-fsevent", "~> 0.3.9", :platforms=>[:mri_18, :mri_19], :group=>:development
6
+ gem "ruby-prof", "~> 0.9.2", :platforms=>[:mri_18, :mri_19], :group=>:development
7
+ gem "rake", "~> 0.9", :group=>:test
8
+ gem "rspec", "~> 2.8.0", :group=>:test
9
+ gem "cucumber", "1.0.0", :group=>:test
10
+ gem "appraisal", "~> 0.3.6", :group=>:test
11
+ gem "i18n", "~> 0.6.0"
12
+ gem "actionpack", "~> 3.1.0"
13
+
14
+ gemspec :path=>"../"
@@ -0,0 +1,15 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "http://rubygems.org"
4
+
5
+ gem "rb-fsevent", "~> 0.3.9", :platforms=>[:mri_18, :mri_19], :group=>:development
6
+ gem "ruby-prof", "~> 0.9.2", :platforms=>[:mri_18, :mri_19], :group=>:development
7
+ gem "rake", "~> 0.9", :group=>:test
8
+ gem "rspec", "~> 2.8.0", :group=>:test
9
+ gem "cucumber", "1.0.0", :group=>:test
10
+ gem "appraisal", "~> 0.3.6", :group=>:test
11
+ gem "i18n", "~> 0.6.0"
12
+ gem "actionpack", "~> 3.2.0"
13
+ gem "routing-filter", "~> 0.3.0"
14
+
15
+ gemspec :path=>"../"
@@ -1,6 +1,6 @@
1
1
  module RoutingFilterLocaleUnlessAPI
2
2
  # @private
3
3
  module Version
4
- STRING = "0.2.0"
4
+ STRING = "0.2.1"
5
5
  end
6
6
  end
@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
20
20
 
21
21
  s.add_dependency "actionpack", ">= 3.0.9"
22
22
  s.add_dependency "i18n", ">= 0.5.0"
23
- s.add_dependency "routing-filter", "~> 0.2.3"
23
+ s.add_dependency "routing-filter", ">= 0.2.3"
24
24
 
25
25
  s.add_development_dependency "rake", "~> 0.9"
26
26
  s.add_development_dependency 'rspec', '~> 2.6.0'
metadata CHANGED
@@ -1,206 +1,145 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: routing_filter_locale_unless_api
3
- version: !ruby/object:Gem::Version
4
- hash: 23
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.1
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 2
9
- - 0
10
- version: 0.2.0
11
6
  platform: ruby
12
- authors:
13
- - "S\xC3\xA9bastien Grosjean"
7
+ authors:
8
+ - Sébastien Grosjean
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2011-09-14 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
12
+ date: 2012-02-18 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
21
15
  name: actionpack
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &70362673922040 !ruby/object:Gem::Requirement
24
17
  none: false
25
- requirements:
26
- - - ">="
27
- - !ruby/object:Gem::Version
28
- hash: 21
29
- segments:
30
- - 3
31
- - 0
32
- - 9
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
33
21
  version: 3.0.9
34
22
  type: :runtime
35
- version_requirements: *id001
36
- - !ruby/object:Gem::Dependency
37
- name: i18n
38
23
  prerelease: false
39
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: *70362673922040
25
+ - !ruby/object:Gem::Dependency
26
+ name: i18n
27
+ requirement: &70362673921060 !ruby/object:Gem::Requirement
40
28
  none: false
41
- requirements:
42
- - - ">="
43
- - !ruby/object:Gem::Version
44
- hash: 11
45
- segments:
46
- - 0
47
- - 5
48
- - 0
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
49
32
  version: 0.5.0
50
33
  type: :runtime
51
- version_requirements: *id002
52
- - !ruby/object:Gem::Dependency
53
- name: routing-filter
54
34
  prerelease: false
55
- requirement: &id003 !ruby/object:Gem::Requirement
35
+ version_requirements: *70362673921060
36
+ - !ruby/object:Gem::Dependency
37
+ name: routing-filter
38
+ requirement: &70362673920600 !ruby/object:Gem::Requirement
56
39
  none: false
57
- requirements:
58
- - - ~>
59
- - !ruby/object:Gem::Version
60
- hash: 17
61
- segments:
62
- - 0
63
- - 2
64
- - 3
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
65
43
  version: 0.2.3
66
44
  type: :runtime
67
- version_requirements: *id003
68
- - !ruby/object:Gem::Dependency
69
- name: rake
70
45
  prerelease: false
71
- requirement: &id004 !ruby/object:Gem::Requirement
46
+ version_requirements: *70362673920600
47
+ - !ruby/object:Gem::Dependency
48
+ name: rake
49
+ requirement: &70362673910200 !ruby/object:Gem::Requirement
72
50
  none: false
73
- requirements:
51
+ requirements:
74
52
  - - ~>
75
- - !ruby/object:Gem::Version
76
- hash: 25
77
- segments:
78
- - 0
79
- - 9
80
- version: "0.9"
53
+ - !ruby/object:Gem::Version
54
+ version: '0.9'
81
55
  type: :development
82
- version_requirements: *id004
83
- - !ruby/object:Gem::Dependency
84
- name: rspec
85
56
  prerelease: false
86
- requirement: &id005 !ruby/object:Gem::Requirement
57
+ version_requirements: *70362673910200
58
+ - !ruby/object:Gem::Dependency
59
+ name: rspec
60
+ requirement: &70362673909500 !ruby/object:Gem::Requirement
87
61
  none: false
88
- requirements:
62
+ requirements:
89
63
  - - ~>
90
- - !ruby/object:Gem::Version
91
- hash: 23
92
- segments:
93
- - 2
94
- - 6
95
- - 0
64
+ - !ruby/object:Gem::Version
96
65
  version: 2.6.0
97
66
  type: :development
98
- version_requirements: *id005
99
- - !ruby/object:Gem::Dependency
100
- name: cucumber
101
67
  prerelease: false
102
- requirement: &id006 !ruby/object:Gem::Requirement
68
+ version_requirements: *70362673909500
69
+ - !ruby/object:Gem::Dependency
70
+ name: cucumber
71
+ requirement: &70362673908860 !ruby/object:Gem::Requirement
103
72
  none: false
104
- requirements:
105
- - - "="
106
- - !ruby/object:Gem::Version
107
- hash: 23
108
- segments:
109
- - 1
110
- - 0
111
- - 0
73
+ requirements:
74
+ - - =
75
+ - !ruby/object:Gem::Version
112
76
  version: 1.0.0
113
77
  type: :development
114
- version_requirements: *id006
115
- - !ruby/object:Gem::Dependency
116
- name: guard-rspec
117
78
  prerelease: false
118
- requirement: &id007 !ruby/object:Gem::Requirement
79
+ version_requirements: *70362673908860
80
+ - !ruby/object:Gem::Dependency
81
+ name: guard-rspec
82
+ requirement: &70362673908400 !ruby/object:Gem::Requirement
119
83
  none: false
120
- requirements:
121
- - - "="
122
- - !ruby/object:Gem::Version
123
- hash: 9
124
- segments:
125
- - 0
126
- - 1
127
- - 9
84
+ requirements:
85
+ - - =
86
+ - !ruby/object:Gem::Version
128
87
  version: 0.1.9
129
88
  type: :development
130
- version_requirements: *id007
131
- - !ruby/object:Gem::Dependency
132
- name: guard-cucumber
133
89
  prerelease: false
134
- requirement: &id008 !ruby/object:Gem::Requirement
90
+ version_requirements: *70362673908400
91
+ - !ruby/object:Gem::Dependency
92
+ name: guard-cucumber
93
+ requirement: &70362673907920 !ruby/object:Gem::Requirement
135
94
  none: false
136
- requirements:
95
+ requirements:
137
96
  - - ~>
138
- - !ruby/object:Gem::Version
139
- hash: 9
140
- segments:
141
- - 0
142
- - 5
143
- - 1
97
+ - !ruby/object:Gem::Version
144
98
  version: 0.5.1
145
99
  type: :development
146
- version_requirements: *id008
147
- - !ruby/object:Gem::Dependency
148
- name: growl
149
100
  prerelease: false
150
- requirement: &id009 !ruby/object:Gem::Requirement
101
+ version_requirements: *70362673907920
102
+ - !ruby/object:Gem::Dependency
103
+ name: growl
104
+ requirement: &70362673907460 !ruby/object:Gem::Requirement
151
105
  none: false
152
- requirements:
153
- - - "="
154
- - !ruby/object:Gem::Version
155
- hash: 17
156
- segments:
157
- - 1
158
- - 0
159
- - 3
106
+ requirements:
107
+ - - =
108
+ - !ruby/object:Gem::Version
160
109
  version: 1.0.3
161
110
  type: :development
162
- version_requirements: *id009
163
- - !ruby/object:Gem::Dependency
164
- name: yard
165
111
  prerelease: false
166
- requirement: &id010 !ruby/object:Gem::Requirement
112
+ version_requirements: *70362673907460
113
+ - !ruby/object:Gem::Dependency
114
+ name: yard
115
+ requirement: &70362673906960 !ruby/object:Gem::Requirement
167
116
  none: false
168
- requirements:
117
+ requirements:
169
118
  - - ~>
170
- - !ruby/object:Gem::Version
171
- hash: 7
172
- segments:
173
- - 0
174
- - 7
175
- - 2
119
+ - !ruby/object:Gem::Version
176
120
  version: 0.7.2
177
121
  type: :development
178
- version_requirements: *id010
179
- - !ruby/object:Gem::Dependency
180
- name: appraisal
181
122
  prerelease: false
182
- requirement: &id011 !ruby/object:Gem::Requirement
123
+ version_requirements: *70362673906960
124
+ - !ruby/object:Gem::Dependency
125
+ name: appraisal
126
+ requirement: &70362673906460 !ruby/object:Gem::Requirement
183
127
  none: false
184
- requirements:
128
+ requirements:
185
129
  - - ~>
186
- - !ruby/object:Gem::Version
187
- hash: 31
188
- segments:
189
- - 0
190
- - 3
191
- - 6
130
+ - !ruby/object:Gem::Version
192
131
  version: 0.3.6
193
132
  type: :development
194
- version_requirements: *id011
195
- description: A routing-filter additional filter that add locale unless XML or JSON, or root_url with default locale
133
+ prerelease: false
134
+ version_requirements: *70362673906460
135
+ description: A routing-filter additional filter that add locale unless XML or JSON,
136
+ or root_url with default locale
196
137
  email: public@zencocoon.com
197
138
  executables: []
198
-
199
139
  extensions: []
200
-
201
- extra_rdoc_files:
140
+ extra_rdoc_files:
202
141
  - README.md
203
- files:
142
+ files:
204
143
  - .gitignore
205
144
  - .travis.yml
206
145
  - .yardopts
@@ -211,8 +150,9 @@ files:
211
150
  - License.txt
212
151
  - README.md
213
152
  - Rakefile
214
- - gemfiles/Gemfile.actionpack-3.0.x
215
- - gemfiles/Gemfile.actionpack-3.1.x
153
+ - gemfiles/actionpack-3.0.x.gemfile
154
+ - gemfiles/actionpack-3.1.x.gemfile
155
+ - gemfiles/actionpack-3.2.x.gemfile
216
156
  - lib/routing_filter_locale_unless_api.rb
217
157
  - lib/routing_filter_locale_unless_api/filter/locale_unless_api.rb
218
158
  - lib/routing_filter_locale_unless_api/version.rb
@@ -221,37 +161,31 @@ files:
221
161
  - spec/spec_helper.rb
222
162
  homepage: https://github.com/ZenCocoon/routing_filter_locale_unless_api
223
163
  licenses: []
224
-
225
164
  post_install_message:
226
- rdoc_options:
165
+ rdoc_options:
227
166
  - --charset=UTF-8
228
- require_paths:
167
+ require_paths:
229
168
  - lib
230
- required_ruby_version: !ruby/object:Gem::Requirement
169
+ required_ruby_version: !ruby/object:Gem::Requirement
231
170
  none: false
232
- requirements:
233
- - - ">="
234
- - !ruby/object:Gem::Version
235
- hash: 3
236
- segments:
237
- - 0
238
- version: "0"
239
- required_rubygems_version: !ruby/object:Gem::Requirement
171
+ requirements:
172
+ - - ! '>='
173
+ - !ruby/object:Gem::Version
174
+ version: '0'
175
+ required_rubygems_version: !ruby/object:Gem::Requirement
240
176
  none: false
241
- requirements:
242
- - - ">="
243
- - !ruby/object:Gem::Version
244
- hash: 3
245
- segments:
246
- - 0
247
- version: "0"
177
+ requirements:
178
+ - - ! '>='
179
+ - !ruby/object:Gem::Version
180
+ version: '0'
248
181
  requirements: []
249
-
250
182
  rubyforge_project:
251
- rubygems_version: 1.8.10
183
+ rubygems_version: 1.8.17
252
184
  signing_key:
253
185
  specification_version: 3
254
- summary: routing filter that add locale unless XML or JSON, or root_url with default locale
255
- test_files:
186
+ summary: routing filter that add locale unless XML or JSON, or root_url with default
187
+ locale
188
+ test_files:
256
189
  - spec/routing_filter_locale_unless_api/filter/locale_unless_api_spec.rb
257
190
  - spec/spec_helper.rb
191
+ has_rdoc:
@@ -1,10 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "http://rubygems.org"
4
-
5
- gem "ruby-prof", "~> 0.9.2", :platforms=>[:mri_18, :mri_19]
6
- gem "rb-fsevent", "~> 0.3.9", :platforms=>[:mri_18, :mri_19]
7
- gem "actionpack", "~> 3.0"
8
- gem "i18n", "~> 0.5.0"
9
-
10
- gemspec :path=>"../"
@@ -1,10 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "http://rubygems.org"
4
-
5
- gem "ruby-prof", "~> 0.9.2", :platforms=>[:mri_18, :mri_19]
6
- gem "rb-fsevent", "~> 0.3.9", :platforms=>[:mri_18, :mri_19]
7
- gem "actionpack", "~> 3.1.0"
8
- gem "i18n", "~> 0.6.0"
9
-
10
- gemspec :path=>"../"