rails_i18n_routes 1.1.6 → 1.1.8

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.
@@ -1,6 +1,6 @@
1
1
  module RailsI18nRoutes
2
2
  module ActionController
3
- module BaseMethods
3
+ module Base
4
4
 
5
5
  def self.included(base)
6
6
  base.send :prepend_before_filter, :select_locale
@@ -1,6 +1,6 @@
1
1
  module RailsI18nRoutes
2
2
  module ActionDispatch
3
- module MapperMethods
3
+ module Mapper
4
4
 
5
5
  def localized
6
6
  @locales = I18n.available_locales.dup
@@ -18,18 +18,21 @@ module RailsI18nRoutes
18
18
 
19
19
  def add_route(action, options)
20
20
  if @locales
21
- scope = @scope.dup
22
21
  @locales.each do |locale|
23
- @scope[:path] = i18n_path(@scope[:path], locale) if @scope[:path]
22
+ path = @scope[:path].dup if @scope[:path].present?
23
+ path_names = @scope[:path_names].dup
24
+ @scope[:path] = i18n_path(path, locale) if @scope[:path].present?
25
+ @scope[:path_names].each { |key, value| @scope[:path_names][key] = I18n.t("routes.#{key}", :locale => locale, :default => value) }
24
26
  super(*[i18n_path(action, locale), i18n_options(options, locale)])
27
+ @scope[:path] = path if @scope[:path].present?
28
+ @scope[:path_names] = path_names
25
29
  end
26
- @set.named_routes.define_i18n_route_helper @scope[:as] ? "#{@scope[:as]}_#{options[:as]}" : options[:as]
27
- @scope = scope
30
+ @set.named_routes.define_i18n_route_helper @scope[:as] ? "#{@scope[:as]}_#{options[:as]}" : options[:as] unless @scope[:scope_level_resource].present?
28
31
  return
29
32
  end
30
33
  super
31
- end
32
-
34
+ end
35
+
33
36
  protected
34
37
 
35
38
  def i18n_options(options, locale)
@@ -50,37 +53,19 @@ module RailsI18nRoutes
50
53
  end
51
54
 
52
55
  def i18n_path(path, locale)
53
- i18n_path = []
54
- path.to_s.split('/').each do |part|
55
- next if part == ''
56
- part.gsub!(/-/, '_')
57
- i18n_path << ((part[0] == ':' or part[0] == '*') ? part : I18n.t("routes.#{part}", :locale => locale, :default => part.gsub(/_/, '-')))
58
- end
59
- i18n_path.join('/')
56
+ unless path.is_a? Symbol
57
+ i18n_path = []
58
+ path.split('/').each do |part|
59
+ next if part == ''
60
+ part.gsub!(/-/, '_')
61
+ i18n_path << ((part[0] == ':' or part[0] == '*') ? part : I18n.t("routes.#{part}", :locale => locale, :default => part.gsub(/_/, '-')))
62
+ end
63
+ i18n_path.join('/')
64
+ else
65
+ path
66
+ end
60
67
  end
61
68
 
62
69
  end
63
- module NamedRouteCollectionMethods
64
-
65
- def define_i18n_route_helper(name)
66
- ['url', 'path'].each do |kind|
67
- selector = url_helper_name(name, kind)
68
- @module.module_eval <<-END_EVAL, __FILE__, __LINE__ + 1
69
- remove_possible_method :#{selector}
70
- def #{selector}(*args)
71
- options = args.extract_options!
72
- if Rails.application.config.i18n_routes.selection == :subdomain
73
- suffix = (options[:subdomain] ? options[:subdomain] : request.subdomain)
74
- else
75
- suffix = (options[:locale] ? options[:locale] : I18n.locale).to_s.gsub('-', '_').downcase
76
- end
77
- send ("#{name}_" + suffix.to_s + "_#{kind}"), *(args << options)
78
- end
79
- END_EVAL
80
- helpers << selector
81
- end
82
- end
83
-
84
- end
85
70
  end
86
71
  end
@@ -0,0 +1,28 @@
1
+ module RailsI18nRoutes
2
+ module ActionDispatch
3
+ module RouteSet
4
+ module NamedRouteCollection
5
+
6
+ def define_i18n_route_helper(name)
7
+ ['url', 'path'].each do |kind|
8
+ selector = url_helper_name(name, kind)
9
+ @module.module_eval <<-END_EVAL, __FILE__, __LINE__ + 1
10
+ remove_possible_method :#{selector}
11
+ def #{selector}(*args)
12
+ options = args.extract_options!
13
+ if Rails.application.config.i18n_routes.selection == :subdomain
14
+ suffix = (options[:subdomain] ? options[:subdomain] : request.subdomain)
15
+ else
16
+ suffix = (options[:locale] ? options[:locale] : I18n.locale).to_s.gsub('-', '_').downcase
17
+ end
18
+ send ("#{name}_" + suffix.to_s + "_#{kind}"), *(args << options)
19
+ end
20
+ END_EVAL
21
+ helpers << selector
22
+ end
23
+ end
24
+
25
+ end
26
+ end
27
+ end
28
+ end
@@ -5,9 +5,9 @@ module RailsI18nRoutes
5
5
  config.i18n_routes.selection = :prefix
6
6
 
7
7
  initializer 'rails_i18n_routes' do
8
- ::ActionDispatch::Routing::Mapper.send :include, RailsI18nRoutes::ActionDispatch::MapperMethods
9
- ::ActionDispatch::Routing::RouteSet::NamedRouteCollection.send :include, RailsI18nRoutes::ActionDispatch::NamedRouteCollectionMethods
10
- ::ActionController::Base.send :include, RailsI18nRoutes::ActionController::BaseMethods
8
+ ::ActionDispatch::Routing::Mapper.send :include, RailsI18nRoutes::ActionDispatch::Mapper
9
+ ::ActionDispatch::Routing::RouteSet::NamedRouteCollection.send :include, RailsI18nRoutes::ActionDispatch::RouteSet::NamedRouteCollection
10
+ ::ActionController::Base.send :include, RailsI18nRoutes::ActionController::Base
11
11
  end
12
12
 
13
13
  end
@@ -1,5 +1,5 @@
1
1
  module RailsI18nRoutes
2
2
 
3
- VERSION = '1.1.6'
3
+ VERSION = '1.1.8'
4
4
 
5
5
  end
@@ -1,6 +1,8 @@
1
- require 'rails_i18n_routes/action_controller'
2
- require 'rails_i18n_routes/action_dispatch'
1
+ require 'rails_i18n_routes/action_controller/base'
2
+ require 'rails_i18n_routes/action_dispatch/route_set/named_route_collection'
3
+ require 'rails_i18n_routes/action_dispatch/mapper'
3
4
  require 'rails_i18n_routes/railtie'
5
+ require 'rails_i18n_routes/version'
4
6
 
5
7
  module RailsI18nRoutes
6
8
  end
@@ -1,5 +1,7 @@
1
1
  en-US:
2
2
  routes:
3
+ new: "new"
4
+ edit: "edit"
3
5
  namespace: "namespace"
4
6
  nesteds: "nesteds"
5
7
  simples: "simples"
@@ -1,5 +1,7 @@
1
1
  es-AR:
2
2
  routes:
3
+ new: "nuevo"
4
+ edit: "editar"
3
5
  namespace: "nombre-de-espacio"
4
6
  nesteds: "anidadas"
5
7
  simples: "simples"
@@ -1,5 +1,7 @@
1
1
  es-UY:
2
2
  routes:
3
+ new: "nuevo"
4
+ edit: "editar"
3
5
  namespace: "nombre-de-espacio"
4
6
  nesteds: "anidadas"
5
7
  simples: "simples"
@@ -1,6 +1,9 @@
1
1
  Dummy::Application.routes.draw do
2
2
 
3
3
  localized do
4
+ namespace :test, :path => 'prueba' do
5
+ resources :test1, :path => 'prueba1'
6
+ end
4
7
  namespace :namespace do
5
8
  match 'nesteds' => 'nesteds#show', :as => :nested
6
9
  end
@@ -34,3 +34,66 @@ Connecting to database specified by database.yml
34
34
   (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
35
35
   (0.0ms) SELECT version FROM "schema_migrations"
36
36
   (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
37
+ Connecting to database specified by database.yml
38
+ Connecting to database specified by database.yml
39
+ Connecting to database specified by database.yml
40
+ Connecting to database specified by database.yml
41
+ Connecting to database specified by database.yml
42
+ Connecting to database specified by database.yml
43
+ Connecting to database specified by database.yml
44
+ Connecting to database specified by database.yml
45
+ Connecting to database specified by database.yml
46
+ Connecting to database specified by database.yml
47
+ Connecting to database specified by database.yml
48
+ Connecting to database specified by database.yml
49
+ Connecting to database specified by database.yml
50
+ Connecting to database specified by database.yml
51
+ Connecting to database specified by database.yml
52
+ Connecting to database specified by database.yml
53
+ Connecting to database specified by database.yml
54
+ Connecting to database specified by database.yml
55
+ Connecting to database specified by database.yml
56
+ Connecting to database specified by database.yml
57
+ Connecting to database specified by database.yml
58
+ Connecting to database specified by database.yml
59
+ Connecting to database specified by database.yml
60
+ Connecting to database specified by database.yml
61
+ Connecting to database specified by database.yml
62
+ Connecting to database specified by database.yml
63
+ Connecting to database specified by database.yml
64
+ Connecting to database specified by database.yml
65
+ Connecting to database specified by database.yml
66
+ Connecting to database specified by database.yml
67
+ Connecting to database specified by database.yml
68
+ Connecting to database specified by database.yml
69
+ Connecting to database specified by database.yml
70
+ Connecting to database specified by database.yml
71
+ Connecting to database specified by database.yml
72
+ Connecting to database specified by database.yml
73
+ Connecting to database specified by database.yml
74
+ Connecting to database specified by database.yml
75
+ Connecting to database specified by database.yml
76
+ Connecting to database specified by database.yml
77
+ Connecting to database specified by database.yml
78
+ Connecting to database specified by database.yml
79
+ Connecting to database specified by database.yml
80
+ Connecting to database specified by database.yml
81
+ Connecting to database specified by database.yml
82
+ Connecting to database specified by database.yml
83
+ Connecting to database specified by database.yml
84
+ Connecting to database specified by database.yml
85
+ Connecting to database specified by database.yml
86
+ Connecting to database specified by database.yml
87
+ Connecting to database specified by database.yml
88
+ Connecting to database specified by database.yml
89
+ Connecting to database specified by database.yml
90
+ Connecting to database specified by database.yml
91
+ Connecting to database specified by database.yml
92
+ Connecting to database specified by database.yml
93
+ Connecting to database specified by database.yml
94
+ Connecting to database specified by database.yml
95
+ Connecting to database specified by database.yml
96
+ Connecting to database specified by database.yml
97
+ Connecting to database specified by database.yml
98
+ Connecting to database specified by database.yml
99
+ Connecting to database specified by database.yml
@@ -4397,3 +4397,162 @@ Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
4397
4397
   (0.1ms) rollback transaction
4398
4398
   (0.0ms) begin transaction
4399
4399
   (0.0ms) rollback transaction
4400
+ Connecting to database specified by database.yml
4401
+  (0.2ms) begin transaction
4402
+ Processing by SimplesController#show as HTML
4403
+ Parameters: {"locale"=>"en-US"}
4404
+ Rendered simples/show.html.erb within layouts/application (6.6ms)
4405
+ Completed 200 OK in 64ms (Views: 63.1ms | ActiveRecord: 0.0ms)
4406
+ Processing by SimplesController#show as HTML
4407
+ Parameters: {"locale"=>"en-US"}
4408
+ Rendered simples/show.html.erb within layouts/application (0.4ms)
4409
+ Completed 200 OK in 4ms (Views: 4.2ms | ActiveRecord: 0.0ms)
4410
+ Processing by SimplesController#show as HTML
4411
+ Parameters: {"locale"=>"en-US"}
4412
+ Rendered simples/show.html.erb within layouts/application (0.4ms)
4413
+ Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms)
4414
+  (0.1ms) rollback transaction
4415
+  (0.0ms) begin transaction
4416
+ Processing by SimplesController#show as HTML
4417
+ Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
4418
+ Processing by SimplesController#show as HTML
4419
+ Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms)
4420
+ Processing by SimplesController#show as HTML
4421
+ Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
4422
+  (0.0ms) rollback transaction
4423
+  (0.1ms) begin transaction
4424
+  (0.1ms) rollback transaction
4425
+  (0.1ms) begin transaction
4426
+  (0.1ms) rollback transaction
4427
+  (0.0ms) begin transaction
4428
+  (0.0ms) rollback transaction
4429
+ Connecting to database specified by database.yml
4430
+  (0.2ms) begin transaction
4431
+  (0.0ms) rollback transaction
4432
+  (0.0ms) begin transaction
4433
+  (0.1ms) rollback transaction
4434
+  (0.1ms) begin transaction
4435
+  (0.1ms) rollback transaction
4436
+  (0.1ms) begin transaction
4437
+ Processing by SimplesController#show as HTML
4438
+ Parameters: {"locale"=>"en-US"}
4439
+ Completed 200 OK in 152ms (Views: 151.8ms | ActiveRecord: 0.0ms)
4440
+ Processing by SimplesController#show as HTML
4441
+ Parameters: {"locale"=>"en-US"}
4442
+ Completed 200 OK in 4ms (Views: 4.2ms | ActiveRecord: 0.0ms)
4443
+ Processing by SimplesController#show as HTML
4444
+ Parameters: {"locale"=>"en-US"}
4445
+ Completed 200 OK in 4ms (Views: 4.0ms | ActiveRecord: 0.0ms)
4446
+  (0.1ms) rollback transaction
4447
+  (0.0ms) begin transaction
4448
+ Processing by SimplesController#show as HTML
4449
+ Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)
4450
+ Processing by SimplesController#show as HTML
4451
+ Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
4452
+ Processing by SimplesController#show as HTML
4453
+ Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
4454
+  (0.1ms) rollback transaction
4455
+ Connecting to database specified by database.yml
4456
+  (0.2ms) begin transaction
4457
+  (0.0ms) rollback transaction
4458
+  (0.1ms) begin transaction
4459
+  (0.1ms) rollback transaction
4460
+  (0.1ms) begin transaction
4461
+  (0.1ms) rollback transaction
4462
+  (0.1ms) begin transaction
4463
+ Processing by SimplesController#show as HTML
4464
+ Parameters: {"locale"=>"en-US"}
4465
+ Completed 200 OK in 173ms (Views: 172.4ms | ActiveRecord: 0.0ms)
4466
+ Processing by SimplesController#show as HTML
4467
+ Parameters: {"locale"=>"en-US"}
4468
+ Completed 200 OK in 4ms (Views: 4.1ms | ActiveRecord: 0.0ms)
4469
+ Processing by SimplesController#show as HTML
4470
+ Parameters: {"locale"=>"en-US"}
4471
+ Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms)
4472
+  (0.1ms) rollback transaction
4473
+  (0.0ms) begin transaction
4474
+ Processing by SimplesController#show as HTML
4475
+ Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
4476
+ Processing by SimplesController#show as HTML
4477
+ Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
4478
+ Processing by SimplesController#show as HTML
4479
+ Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
4480
+  (0.0ms) rollback transaction
4481
+ Connecting to database specified by database.yml
4482
+  (0.2ms) begin transaction
4483
+  (0.0ms) rollback transaction
4484
+  (0.1ms) begin transaction
4485
+  (0.1ms) rollback transaction
4486
+  (0.0ms) begin transaction
4487
+  (0.1ms) rollback transaction
4488
+  (0.1ms) begin transaction
4489
+ Processing by SimplesController#show as HTML
4490
+ Parameters: {"locale"=>"en-US"}
4491
+ Completed 200 OK in 46ms (Views: 45.5ms | ActiveRecord: 0.0ms)
4492
+ Processing by SimplesController#show as HTML
4493
+ Parameters: {"locale"=>"en-US"}
4494
+ Completed 200 OK in 4ms (Views: 4.2ms | ActiveRecord: 0.0ms)
4495
+ Processing by SimplesController#show as HTML
4496
+ Parameters: {"locale"=>"en-US"}
4497
+ Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms)
4498
+  (0.1ms) rollback transaction
4499
+  (0.0ms) begin transaction
4500
+ Processing by SimplesController#show as HTML
4501
+ Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
4502
+ Processing by SimplesController#show as HTML
4503
+ Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
4504
+ Processing by SimplesController#show as HTML
4505
+ Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
4506
+  (0.0ms) rollback transaction
4507
+ Connecting to database specified by database.yml
4508
+  (0.2ms) begin transaction
4509
+  (0.0ms) rollback transaction
4510
+  (0.0ms) begin transaction
4511
+  (0.1ms) rollback transaction
4512
+  (0.1ms) begin transaction
4513
+  (0.1ms) rollback transaction
4514
+  (0.0ms) begin transaction
4515
+ Processing by SimplesController#show as HTML
4516
+ Parameters: {"locale"=>"en-US"}
4517
+ Completed 200 OK in 18ms (Views: 17.3ms | ActiveRecord: 0.0ms)
4518
+ Processing by SimplesController#show as HTML
4519
+ Parameters: {"locale"=>"en-US"}
4520
+ Completed 200 OK in 4ms (Views: 4.1ms | ActiveRecord: 0.0ms)
4521
+ Processing by SimplesController#show as HTML
4522
+ Parameters: {"locale"=>"en-US"}
4523
+ Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms)
4524
+  (0.1ms) rollback transaction
4525
+  (0.0ms) begin transaction
4526
+ Processing by SimplesController#show as HTML
4527
+ Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
4528
+ Processing by SimplesController#show as HTML
4529
+ Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
4530
+ Processing by SimplesController#show as HTML
4531
+ Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms)
4532
+  (0.0ms) rollback transaction
4533
+ Connecting to database specified by database.yml
4534
+  (0.2ms) begin transaction
4535
+  (0.1ms) rollback transaction
4536
+  (0.1ms) begin transaction
4537
+  (0.1ms) rollback transaction
4538
+  (0.1ms) begin transaction
4539
+  (0.1ms) rollback transaction
4540
+  (0.1ms) begin transaction
4541
+ Processing by SimplesController#show as HTML
4542
+ Parameters: {"locale"=>"en-US"}
4543
+ Completed 200 OK in 17ms (Views: 16.8ms | ActiveRecord: 0.0ms)
4544
+ Processing by SimplesController#show as HTML
4545
+ Parameters: {"locale"=>"en-US"}
4546
+ Completed 200 OK in 4ms (Views: 4.0ms | ActiveRecord: 0.0ms)
4547
+ Processing by SimplesController#show as HTML
4548
+ Parameters: {"locale"=>"en-US"}
4549
+ Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms)
4550
+  (0.1ms) rollback transaction
4551
+  (0.0ms) begin transaction
4552
+ Processing by SimplesController#show as HTML
4553
+ Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
4554
+ Processing by SimplesController#show as HTML
4555
+ Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
4556
+ Processing by SimplesController#show as HTML
4557
+ Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
4558
+  (0.0ms) rollback transaction
@@ -2,7 +2,7 @@ require 'test_helper'
2
2
 
3
3
  class RailsI18nRoutesTest < ActiveSupport::TestCase
4
4
 
5
- test 'truth' do
5
+ test "truth" do
6
6
  assert_kind_of Module, RailsI18nRoutes
7
7
  end
8
8
 
@@ -1,6 +1,6 @@
1
1
  require 'test_helper'
2
2
 
3
- class ActionDispatchTest < ActionController::IntegrationTest
3
+ class RoutesTest < ActionController::IntegrationTest
4
4
 
5
5
  test "should translate subdomain routes" do
6
6
  with_routes_type :subdomain do
@@ -1,6 +1,6 @@
1
1
  require 'test_helper'
2
2
 
3
- class ActionControllerTest < ActionController::TestCase
3
+ class SelectionTest < ActionController::TestCase
4
4
  tests SimplesController
5
5
 
6
6
  test "should select correct locale by subdomain" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_i18n_routes
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.6
4
+ version: 1.1.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-04-04 00:00:00.000000000 Z
12
+ date: 2013-04-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -51,16 +51,15 @@ executables: []
51
51
  extensions: []
52
52
  extra_rdoc_files: []
53
53
  files:
54
- - lib/rails_i18n_routes/action_controller.rb
55
- - lib/rails_i18n_routes/action_dispatch.rb
54
+ - lib/rails_i18n_routes/action_controller/base.rb
55
+ - lib/rails_i18n_routes/action_dispatch/mapper.rb
56
+ - lib/rails_i18n_routes/action_dispatch/route_set/named_route_collection.rb
56
57
  - lib/rails_i18n_routes/railtie.rb
57
58
  - lib/rails_i18n_routes/version.rb
58
59
  - lib/rails_i18n_routes.rb
59
60
  - MIT-LICENSE
60
61
  - Rakefile
61
62
  - README.rdoc
62
- - test/action_controller_test.rb
63
- - test/action_dispatch_test.rb
64
63
  - test/dummy/app/assets/javascripts/application.js
65
64
  - test/dummy/app/assets/stylesheets/application.css
66
65
  - test/dummy/app/controllers/application_controller.rb
@@ -104,6 +103,8 @@ files:
104
103
  - test/dummy/README.rdoc
105
104
  - test/dummy/script/rails
106
105
  - test/rails_i18n_routes_test.rb
106
+ - test/routes_test.rb
107
+ - test/selection_test.rb
107
108
  - test/test_helper.rb
108
109
  homepage: https://github.com/mattways/rails_i18n_routes
109
110
  licenses: []
@@ -130,8 +131,6 @@ signing_key:
130
131
  specification_version: 3
131
132
  summary: Toolkit for Rails i18n routes.
132
133
  test_files:
133
- - test/action_controller_test.rb
134
- - test/action_dispatch_test.rb
135
134
  - test/dummy/app/assets/javascripts/application.js
136
135
  - test/dummy/app/assets/stylesheets/application.css
137
136
  - test/dummy/app/controllers/application_controller.rb
@@ -175,4 +174,6 @@ test_files:
175
174
  - test/dummy/README.rdoc
176
175
  - test/dummy/script/rails
177
176
  - test/rails_i18n_routes_test.rb
177
+ - test/routes_test.rb
178
+ - test/selection_test.rb
178
179
  - test/test_helper.rb