ember-appkit-rails 0.2.2 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (95) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/templates/application.hbs +569 -5
  3. data/lib/ember-appkit-rails.rb +0 -9
  4. data/lib/ember/appkit/rails.rb +15 -3
  5. data/lib/ember/appkit/rails/active_support.rb +1 -0
  6. data/lib/ember/appkit/rails/active_support/dependencies.rb +10 -0
  7. data/lib/ember/appkit/rails/engine.rb +49 -19
  8. data/lib/ember/appkit/rails/sprockets.rb +1 -0
  9. data/lib/ember/appkit/rails/sprockets/context.rb +10 -0
  10. data/lib/ember/appkit/rails/sprockets/processed_asset.rb +1 -1
  11. data/lib/ember/appkit/rails/template.rb +109 -0
  12. data/lib/ember/appkit/rails/version.rb +1 -1
  13. data/lib/ember/appkit/rails/walker.rb +99 -0
  14. data/lib/generators/ember/bootstrap_generator.rb +16 -8
  15. data/lib/generators/ember/component_generator.rb +1 -1
  16. data/lib/generators/ember/generator_helpers.rb +1 -1
  17. data/lib/generators/ember/model_generator.rb +1 -1
  18. data/lib/generators/ember/resource_generator.rb +3 -4
  19. data/lib/generators/ember/resource_override.rb +21 -0
  20. data/lib/generators/ember/scaffold_controller_override.rb +14 -0
  21. data/lib/generators/ember/scaffold_override.rb +25 -0
  22. data/lib/generators/templates/{adapter.js → adapter.js.erb} +1 -1
  23. data/lib/generators/templates/application.js.erb +0 -1
  24. data/lib/generators/templates/environments/development.js +3 -0
  25. data/lib/generators/templates/environments/production.js +3 -0
  26. data/lib/generators/templates/environments/test.js +3 -0
  27. data/lib/generators/templates/scaffold/template/index.hbs +2 -2
  28. data/lib/generators/templates/scaffold/template/show.hbs +1 -1
  29. data/lib/generators/templates/scaffold_controller/controller.rb +56 -0
  30. data/test/dummy/Gemfile +0 -3
  31. data/test/dummy/app/assets/javascripts/application.js +16 -0
  32. data/test/dummy/app/models/is_a_module/dog.rb +0 -0
  33. data/test/dummy/config/adapter.js.erb +3 -0
  34. data/test/dummy/config/application.js +0 -1
  35. data/test/dummy/config/environments/development.js +3 -0
  36. data/test/dummy/config/environments/production.js +3 -0
  37. data/test/dummy/config/environments/test.js +3 -0
  38. data/test/dummy/config/initializers/secret_token.rb +1 -1
  39. data/test/dummy/log/test.log +47 -12
  40. data/test/dummy/tmp/{ember-rails/ember.js → cache/assets/test/sprockets/012cc56cb3d167247c623ab5a4dd2f8a} +0 -0
  41. data/test/dummy/tmp/cache/assets/test/sprockets/07afa5d8ceda557642e2330ab45eb203 +0 -0
  42. data/test/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  43. data/test/dummy/tmp/cache/assets/test/sprockets/1d5975f28925835fe6077b200f4f150f +0 -0
  44. data/test/dummy/tmp/cache/assets/test/sprockets/1f15c49a05b13c3a7ee50d2ac3900f38 +0 -0
  45. data/test/dummy/tmp/{ember-rails/ember-data.js → cache/assets/test/sprockets/352c2af460d03b624ae5652411a463d1} +0 -0
  46. data/test/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  47. data/test/dummy/tmp/cache/assets/test/sprockets/4a1d4e32cd7b9fd1c62bfd553ae56051 +0 -0
  48. data/test/dummy/tmp/cache/assets/test/sprockets/{6870da13c3305651063dc22ccce27d5c → 5421e30f80c2b8cdf4379b8dce18bcd3} +0 -0
  49. data/test/dummy/tmp/cache/assets/test/sprockets/645beb565f2e6d67728537e06963533d +0 -0
  50. data/test/dummy/tmp/cache/assets/test/sprockets/660bc633c8899c6c1b20514637fa0169 +0 -0
  51. data/test/dummy/tmp/cache/assets/test/sprockets/67afcba9807cd5e57b80b5fdf9f26758 +0 -0
  52. data/test/dummy/tmp/cache/assets/test/sprockets/{8ebc8c58233ab12eee6edfc0feca2492 → 702dbd08a7eb5e831dd268e0460d97b2} +0 -0
  53. data/test/dummy/tmp/cache/assets/test/sprockets/7ca4966e0a480430a858a7ab74518c75 +0 -0
  54. data/test/dummy/tmp/cache/assets/test/sprockets/827fafc13575b345cc572fd041ef1fba +0 -0
  55. data/test/dummy/tmp/cache/assets/test/sprockets/83af35bb6b852de883a26a9458fd4e3a +0 -0
  56. data/test/dummy/tmp/cache/assets/test/sprockets/9160f792acb62d1f7721c714681fcfe6 +0 -0
  57. data/test/dummy/tmp/cache/assets/test/sprockets/ae884a1acda0e6f9bb27a856a22bb08d +0 -0
  58. data/test/dummy/tmp/cache/assets/test/sprockets/bb4a2293175928af3e23c47488077098 +0 -0
  59. data/test/dummy/tmp/cache/assets/test/sprockets/bf689240392e7355c0de5cfd47272146 +0 -0
  60. data/test/dummy/tmp/cache/assets/test/sprockets/d5a48c6656341c56cac8a8e42bb925a5 +0 -0
  61. data/test/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  62. data/test/dummy/tmp/cache/assets/test/sprockets/de0932670a6c856bc6eda1586fd29061 +0 -0
  63. data/test/dummy/tmp/cache/assets/test/sprockets/de94a60b438eb5bf57653f3a220acd80 +0 -0
  64. data/test/dummy/tmp/cache/assets/test/sprockets/e15ec26dd7914851e352c6f2c73c4284 +0 -0
  65. data/test/dummy/tmp/cache/assets/test/sprockets/e3ddb4a07e99c5bbf5f9cd9db3cdb82a +0 -0
  66. data/test/dummy/tmp/cache/assets/test/sprockets/e9abb671d48f6ff2be6ffb463ea652bf +0 -0
  67. data/test/dummy/tmp/cache/assets/test/sprockets/eeb5bd38d1dad0d908461fd114f702bc +0 -0
  68. data/test/dummy/tmp/cache/assets/test/sprockets/fde9e78f8d55a70f4ef757638fc6cde0 +0 -0
  69. data/test/dummy/tmp/cache/assets/test/sprockets/fdfac6623944c5a23737724cbd90e58e +0 -0
  70. data/test/fixtures/routes_with_api_and_version_namespaces.rb +6 -0
  71. data/test/fixtures/routes_with_api_namespace.rb +4 -0
  72. data/test/generators/bootstrap_generator_test.rb +6 -3
  73. data/test/generators/component_generator_test.rb +6 -6
  74. data/test/generators/model_generator_test.rb +8 -2
  75. data/test/generators/resource_generator_test.rb +6 -6
  76. data/test/generators/resource_override_test.rb +10 -4
  77. data/test/generators/scaffold_override_test.rb +94 -0
  78. data/test/integration/autoload_modules_test.rb +22 -0
  79. data/test/integration/navigation_test.rb +1 -2
  80. data/test/support/generator_test_support.rb +8 -10
  81. data/test/test_helper.rb +2 -1
  82. data/vendor/assets/javascripts/app.js.es6.erb +1 -1
  83. data/vendor/assets/javascripts/ember-appkit/index.js +1 -3
  84. data/vendor/assets/javascripts/ember-appkit/loader.js +53 -0
  85. metadata +98 -41
  86. data/lib/ember/appkit.rb +0 -5
  87. data/lib/ember/appkit/rails/resource_override.rb +0 -14
  88. data/test/dummy/config/adapter.js +0 -3
  89. data/test/dummy/tmp/cache/assets/test/sprockets/07a9ce16127008e142b1b0223c4d7784 +0 -0
  90. data/test/dummy/tmp/cache/assets/test/sprockets/a2f615309ade94c14ae81d7ebc94fd67 +0 -0
  91. data/test/dummy/tmp/cache/assets/test/sprockets/a9648a765fed0738b076bd24099109a3 +0 -0
  92. data/test/dummy/tmp/cache/assets/test/sprockets/b340d5578308bb4c197a8ca3538b0e24 +0 -0
  93. data/test/dummy/tmp/cache/assets/test/sprockets/c8c4c1b316845f30168739b5795846d6 +0 -0
  94. data/test/dummy/tmp/cache/assets/test/sprockets/e22019b3c13c20bc08e899fb2b7248ea +0 -0
  95. data/vendor/assets/javascripts/ember-appkit/almond.js +0 -417
@@ -0,0 +1,4 @@
1
+ Dummy::Application.routes.draw do
2
+ namespace :api do
3
+ end
4
+ end
@@ -71,9 +71,12 @@ class BootstrapGeneratorTest < Rails::Generators::TestCase
71
71
  confirm_turbolinks_removed "app/views/layouts/application.html.erb"
72
72
  end
73
73
 
74
- test "Removed app/assets/javascript directory" do
74
+ test "Removed jbuilder" do
75
75
  run_generator
76
- assert_no_directory "app/assets/javascripts"
76
+
77
+ assert_file 'Gemfile' do |content|
78
+ assert_no_match(/jbuilder/, content)
79
+ end
77
80
  end
78
81
 
79
82
  test "Does not error if Gemfile is missing" do
@@ -90,7 +93,7 @@ class BootstrapGeneratorTest < Rails::Generators::TestCase
90
93
  assert_file "#{config_path}/environments/test.js"
91
94
  assert_file "#{config_path}/application.js"
92
95
  assert_file "#{config_path}/router.js.es6"
93
- assert_file "#{config_path}/adapter.js"
96
+ assert_file "#{config_path}/adapter.js.erb"
94
97
  assert_file "#{config_path}/initializers/csrf.js"
95
98
  end
96
99
 
@@ -11,31 +11,31 @@ class ComponentGeneratorTest < Rails::Generators::TestCase
11
11
 
12
12
  test "default_component" do
13
13
  run_generator ["PostChart"]
14
- assert_file "#{app_path}/components/post-chart_component.js.es6"
14
+ assert_file "#{app_path}/components/post-chart.js.es6"
15
15
  assert_file "#{app_path}/templates/components/post-chart.hbs"
16
16
  end
17
17
 
18
18
  test "Assert files are properly created (CamelCase)" do
19
19
  run_generator %w(PostChart)
20
- assert_file "#{app_path}/components/post-chart_component.js.es6"
20
+ assert_file "#{app_path}/components/post-chart.js.es6"
21
21
  assert_file "#{app_path}/templates/components/post-chart.hbs"
22
22
  end
23
23
 
24
24
  test "Assert object names are properly created with CamelCase name" do
25
25
  run_generator %w(PostChart)
26
- assert_file "#{app_path}/components/post-chart_component.js.es6"
26
+ assert_file "#{app_path}/components/post-chart.js.es6"
27
27
  assert_file "#{app_path}/templates/components/post-chart.hbs"
28
28
  end
29
29
 
30
30
  test "Assert files are properly created (lower-case)" do
31
31
  run_generator %w(post-chart)
32
- assert_file "#{app_path}/components/post-chart_component.js.es6"
32
+ assert_file "#{app_path}/components/post-chart.js.es6"
33
33
  assert_file "#{app_path}/templates/components/post-chart.hbs"
34
34
  end
35
35
 
36
36
  test "Assert object names are properly created with lower-case name" do
37
37
  run_generator %w(post-chart)
38
- assert_file "#{app_path}/components/post-chart_component.js.es6"
38
+ assert_file "#{app_path}/components/post-chart.js.es6"
39
39
  assert_file "#{app_path}/templates/components/post-chart.hbs"
40
40
  end
41
41
 
@@ -44,7 +44,7 @@ class ComponentGeneratorTest < Rails::Generators::TestCase
44
44
 
45
45
  with_config paths: {app: custom_path} do
46
46
  run_generator ["PostChart"]
47
- assert_file "#{custom_path}/components/post-chart_component.js.es6"
47
+ assert_file "#{custom_path}/components/post-chart.js.es6"
48
48
  assert_file "#{custom_path}/templates/components/post-chart.hbs"
49
49
  end
50
50
  end
@@ -15,8 +15,8 @@ class ModelGeneratorTest < Rails::Generators::TestCase
15
15
  end
16
16
 
17
17
  test "create namespaced model" do
18
- run_generator ["post/doineedthis", "title:string"]
19
- assert_file "#{app_path}/models/post/doineedthis.js.es6"
18
+ run_generator ["post/dog", "title:string"]
19
+ assert_file "#{app_path}/models/post/dog.js.es6"
20
20
  end
21
21
 
22
22
  test "leave parentheses when create model w/o attributes" do
@@ -24,6 +24,12 @@ class ModelGeneratorTest < Rails::Generators::TestCase
24
24
  assert_file "#{app_path}/models/post.js.es6", /export default DS.Model.extend/
25
25
  end
26
26
 
27
+ test "forces pluarl names to singular" do
28
+ run_generator ["posts"]
29
+ assert_file "#{app_path}/models/post.js.es6"
30
+ assert_no_file "#{app_path}/models/posts.js.es6"
31
+ end
32
+
27
33
  test "Assert files are properly created" do
28
34
  run_generator %w(ember)
29
35
 
@@ -10,17 +10,17 @@ class ResourceGeneratorTest < Rails::Generators::TestCase
10
10
 
11
11
  test "create template" do
12
12
  run_generator ["post"]
13
- assert_file "#{app_path}/templates/post.hbs"
13
+ assert_file "#{app_path}/templates/posts.hbs"
14
14
  end
15
15
 
16
16
  test "create controller" do
17
17
  run_generator ["post"]
18
- assert_file "#{app_path}/controllers/post.js.es6"
18
+ assert_file "#{app_path}/controllers/posts.js.es6"
19
19
  end
20
20
 
21
21
  test "create route" do
22
22
  run_generator ["post"]
23
- assert_file "#{app_path}/routes/post.js.es6"
23
+ assert_file "#{app_path}/routes/posts.js.es6"
24
24
  assert_file "#{config_path}/router.js.es6" do |content|
25
25
  assert_match(%r{this.resource\('posts'\);}, content)
26
26
  end
@@ -28,7 +28,7 @@ class ResourceGeneratorTest < Rails::Generators::TestCase
28
28
 
29
29
  test "skip route" do
30
30
  run_generator ["post", "--skip-route"]
31
- assert_no_file "#{app_path}/routes/post.js.es6"
31
+ assert_no_file "#{app_path}/routes/posts.js.es6"
32
32
  end
33
33
 
34
34
  test "Uses config.ember.appkit.paths.app" do
@@ -37,8 +37,8 @@ class ResourceGeneratorTest < Rails::Generators::TestCase
37
37
 
38
38
  with_config paths: {app: custom_path} do
39
39
  run_generator ["post"]
40
- assert_file "#{custom_path}/controllers/post.js.es6"
41
- assert_file "#{custom_path}/routes/post.js.es6"
40
+ assert_file "#{custom_path}/controllers/posts.js.es6"
41
+ assert_file "#{custom_path}/routes/posts.js.es6"
42
42
  end
43
43
  end
44
44
  end
@@ -1,21 +1,27 @@
1
1
  require 'test_helper'
2
- require 'ember/appkit/rails/resource_override'
3
2
 
4
3
  class ResourceOverrideTest < Rails::Generators::TestCase
5
4
  include GeneratorTestSupport
6
5
 
7
6
  tests Rails::Generators::ResourceGenerator
8
7
  destination File.join(Rails.root, "tmp")
9
- setup :prepare_destination, :copy_routes
8
+ setup :prepare_destination, :copy_router, :copy_routes
10
9
 
11
10
  test "create template without ember" do
12
11
  run_generator ["post"]
13
- assert_no_file "#{app_path}/templates/post.hbs"
12
+ assert_no_file "#{app_path}/templates/posts.hbs"
14
13
  end
15
14
 
16
15
  test "create template with ember" do
17
16
  run_generator ["post", '--ember']
18
- assert_file "#{app_path}/templates/post.hbs"
17
+ assert_file "#{app_path}/templates/posts.hbs"
18
+ end
19
+
20
+ test "does not create non-essential files for ember apps" do
21
+ run_generator ["post", "title:string"]
22
+ assert_no_file "#{app_path}/assets/javascripts/posts.js"
23
+ assert_no_file "#{app_path}/helpers/posts_helper.rb"
24
+ assert_no_directory "#{app_path}/views/posts"
19
25
  end
20
26
 
21
27
  private
@@ -0,0 +1,94 @@
1
+ require 'test_helper'
2
+
3
+ class ScaffoldOverrideTest < Rails::Generators::TestCase
4
+ include GeneratorTestSupport
5
+
6
+ tests Rails::Generators::ScaffoldGenerator
7
+ destination File.join(Rails.root, "tmp")
8
+ setup :prepare_destination, :copy_routes, :copy_router, :reset_api_version
9
+
10
+ test "create template without ember" do
11
+ run_generator ["post"]
12
+ assert_no_file "#{app_path}/templates/posts.hbs"
13
+ end
14
+
15
+ test "create template with ember" do
16
+ run_generator ["post", 'title:string', '--ember']
17
+ assert_file "#{app_path}/templates/posts.hbs"
18
+ end
19
+
20
+ test "does not create non-essential files for ember apps" do
21
+ run_generator ["post", "title:string"]
22
+ assert_no_file "#{app_path}/assets/javascripts/posts.js"
23
+ assert_no_file "#{app_path}/helpers/posts_helper.rb"
24
+ assert_no_directory "#{app_path}/views/posts"
25
+ end
26
+
27
+ test "creates properly namespaced api route" do
28
+ run_generator ["post"]
29
+ assert_file 'config/routes.rb' do |content|
30
+ assert_match(/ namespace :api do\n namespace :v1 do\n resources :posts, except: \[:new, :edit\]\n end\n end/, content)
31
+ end
32
+ end
33
+
34
+ test "creates api version namespaced controller" do
35
+ run_generator ["post"]
36
+ assert_file 'app/controllers/api/v1/posts_controller.rb'
37
+ end
38
+
39
+ test "creates properly namespaced api routes when api namespace already exists" do
40
+ copy_routes_with_api_namespace
41
+ run_generator ["post"]
42
+ assert_file 'config/routes.rb' do |content|
43
+ assert_match(/ namespace :api do\n namespace :v1 do\n resources :posts, except: \[:new, :edit\]\n end\n end/, content)
44
+ assert_equal 1, content.scan(/api/).size
45
+ end
46
+ end
47
+
48
+ test "creates properly namespaced api routes when api and version namespaces already exists" do
49
+ copy_routes_with_api_and_version_namespaces
50
+ run_generator ["post"]
51
+ assert_file 'config/routes.rb' do |content|
52
+ assert_match(/ namespace :api do\n namespace :v1 do\n resources :posts, except: \[:new, :edit\]\n end\n end/, content)
53
+ assert_equal 1, content.scan(/api/).size
54
+ assert_equal 1, content.scan(/v1/).size
55
+ end
56
+ end
57
+
58
+ test "creates properly namespaced api routes when api and other version namespaces already exists" do
59
+ copy_routes_with_api_and_version_namespaces
60
+ ::Rails.application.config.ember.api_version = 2
61
+ run_generator ["post"]
62
+ assert_file 'config/routes.rb' do |content|
63
+ assert_match(/ namespace :api do\n namespace :v2 do\n resources :posts, except: \[:new, :edit\]\n end\n namespace :v1 do\n end\n end/, content)
64
+ assert_equal 1, content.scan(/api/).size
65
+ assert_equal 1, content.scan(/v1/).size
66
+ assert_equal 1, content.scan(/v2/).size
67
+ end
68
+ end
69
+
70
+ private
71
+
72
+ def reset_api_version
73
+ ::Rails.application.config.ember.api_version = 1
74
+ end
75
+
76
+ def copy_routes
77
+ copy_routes_file("../../dummy/config/routes.rb")
78
+ end
79
+
80
+ def copy_routes_with_api_namespace
81
+ copy_routes_file("../../fixtures/routes_with_api_namespace.rb")
82
+ end
83
+
84
+ def copy_routes_with_api_and_version_namespaces
85
+ copy_routes_file("../../fixtures/routes_with_api_and_version_namespaces.rb")
86
+ end
87
+
88
+ def copy_routes_file(routes_destination)
89
+ routes = File.expand_path(routes_destination, __FILE__)
90
+ destination = File.expand_path('../../dummy/tmp/config', __FILE__)
91
+ FileUtils.mkdir_p(destination)
92
+ FileUtils.cp routes, File.join(destination, 'routes.rb')
93
+ end
94
+ end
@@ -0,0 +1,22 @@
1
+ require 'test_helper'
2
+
3
+ class AutoloadModulesTest < ActionDispatch::IntegrationTest
4
+ include IntegrationTestSupport
5
+
6
+ test 'does not auto create modules for directories that do not have ruby files' do
7
+ FileUtils.mkdir(File.join(Rails.root, 'app/models/not_a_module'))
8
+
9
+ assert_raise NameError do
10
+ NotAModule
11
+ end
12
+ end
13
+
14
+ test 'does create modules for directories that have ruby files' do
15
+ FileUtils.mkdir(File.join(Rails.root, 'app/models/is_a_module'))
16
+ FileUtils.touch(File.join(Rails.root, 'app/models/is_a_module/dog.rb'))
17
+
18
+ assert_nothing_raised NameError do
19
+ IsAModule
20
+ end
21
+ end
22
+ end
@@ -5,7 +5,7 @@ class NavigationTest < ActionDispatch::IntegrationTest
5
5
 
6
6
  test 'can render default landing page' do
7
7
  visit '/'
8
- assert page.has_text? "That was easy, wasn't it?"
8
+ assert page.has_text? "Welcome to Ember on Rails!"
9
9
  end
10
10
 
11
11
  test 'can using simple "ember magic"' do
@@ -14,4 +14,3 @@ class NavigationTest < ActionDispatch::IntegrationTest
14
14
  assert page.has_text? "EMBER ROCKS!"
15
15
  end
16
16
  end
17
-
@@ -2,10 +2,8 @@ require 'pathname'
2
2
 
3
3
  module GeneratorTestSupport
4
4
  # def run_generator(args=self.default_arguments, config={})
5
- # # capture(:stdout) do
6
- # args += ['--skip-bundle'] unless args.include? '--dev'
7
- # self.generator_class.start(args, config.reverse_merge(destination_root: destination_root))
8
- # # end
5
+ # args += ['--skip-bundle'] unless args.include? '--dev'
6
+ # self.generator_class.start(args, config.reverse_merge(destination_root: destination_root))
9
7
  # end
10
8
 
11
9
  def prepare_destination
@@ -30,7 +28,7 @@ module GeneratorTestSupport
30
28
  end
31
29
 
32
30
  def with_config(options = {})
33
- original_values = ::Rails.configuration.ember.appkit.clone
31
+ original_values = ::Rails.configuration.ember.clone
34
32
  original_values.paths = original_values.paths.clone
35
33
  original_values.paths.app = original_values.paths.app.clone
36
34
  original_values.paths.config = original_values.paths.config.clone
@@ -38,17 +36,17 @@ module GeneratorTestSupport
38
36
  options.each do |key, value|
39
37
  if Hash === value
40
38
  value.each do |k, v|
41
- ::Rails.configuration.ember.appkit[key][k] = v
39
+ ::Rails.configuration.ember[key][k] = v
42
40
  end
43
41
  else
44
- ::Rails.configuration.ember.appkit[key] = value
42
+ ::Rails.configuration.ember[key] = value
45
43
  end
46
44
  end
47
45
 
48
46
  yield
49
47
  ensure
50
- ::Rails.configuration.ember.appkit.clear
51
- ::Rails.configuration.ember.appkit = original_values
48
+ ::Rails.configuration.ember.clear
49
+ ::Rails.configuration.ember = original_values
52
50
  end
53
51
 
54
52
  def assert_new_dirs(options = {})
@@ -65,7 +63,7 @@ module GeneratorTestSupport
65
63
  end
66
64
 
67
65
  def app_path(path = 'app')
68
- path
66
+ path
69
67
  end
70
68
 
71
69
  def config_path(path = 'config')
@@ -1,15 +1,16 @@
1
1
  # Configure Rails Environment
2
2
  ENV["RAILS_ENV"] = "test"
3
3
 
4
+ require 'byebug'
4
5
  require File.expand_path("../dummy/config/environment.rb", __FILE__)
5
6
  require "rails/test_help"
6
7
  require 'capybara/rails'
7
8
  require 'capybara/poltergeist'
8
- require 'byebug'
9
9
 
10
10
  Capybara.current_driver = :poltergeist
11
11
 
12
12
  Rails.backtrace_cleaner.remove_silencers!
13
+ Rails.application.load_generators
13
14
 
14
15
  # Load support files
15
16
  Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
@@ -1,4 +1,4 @@
1
- <% config = Rails.application.config.ember.appkit %>
1
+ <% config = Rails.application.config.ember %>
2
2
  import Resolver from 'resolver';
3
3
 
4
4
  if (typeof Turbolinks !== 'undefined') {
@@ -1,6 +1,4 @@
1
- //= require handlebars
2
- //= require ember
3
- //= require ./almond
1
+ //= require ./loader
4
2
  //= require ./resolver
5
3
  //= require app
6
4
  //= require templates/application
@@ -0,0 +1,53 @@
1
+ var define, requireModule, require, requirejs;
2
+
3
+ (function() {
4
+ var registry = {}, seen = {};
5
+
6
+ define = function(name, deps, callback) {
7
+ registry[name] = { deps: deps, callback: callback };
8
+ };
9
+
10
+ requirejs = require = requireModule = function(name) {
11
+ requirejs._eak_seen = registry;
12
+
13
+ if (seen[name]) { return seen[name]; }
14
+ seen[name] = {};
15
+
16
+ if (!registry[name]) {
17
+ throw new Error("Could not find module " + name);
18
+ }
19
+
20
+ var mod = registry[name],
21
+ deps = mod.deps,
22
+ callback = mod.callback,
23
+ reified = [],
24
+ exports;
25
+
26
+ for (var i=0, l=deps.length; i<l; i++) {
27
+ if (deps[i] === 'exports') {
28
+ reified.push(exports = {});
29
+ } else {
30
+ reified.push(requireModule(resolve(deps[i])));
31
+ }
32
+ }
33
+
34
+ var value = callback.apply(this, reified);
35
+ return seen[name] = exports || value;
36
+
37
+ function resolve(child) {
38
+ if (child.charAt(0) !== '.') { return child; }
39
+ var parts = child.split("/");
40
+ var parentBase = name.split("/").slice(0, -1);
41
+
42
+ for (var i=0, l=parts.length; i<l; i++) {
43
+ var part = parts[i];
44
+
45
+ if (part === '..') { parentBase.pop(); }
46
+ else if (part === '.') { continue; }
47
+ else { parentBase.push(part); }
48
+ }
49
+
50
+ return parentBase.join("/");
51
+ }
52
+ };
53
+ })();
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ember-appkit-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Cardarella
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-04 00:00:00.000000000 Z
11
+ date: 2014-01-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -39,47 +39,89 @@ dependencies:
39
39
  - !ruby/object:Gem::Version
40
40
  version: 0.3.0
41
41
  - !ruby/object:Gem::Dependency
42
- name: ember-rails
42
+ name: ember-source
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ~>
46
46
  - !ruby/object:Gem::Version
47
- version: 0.14.0
47
+ version: 1.2.0.1
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ~>
53
53
  - !ruby/object:Gem::Version
54
- version: 0.14.0
54
+ version: 1.2.0.1
55
55
  - !ruby/object:Gem::Dependency
56
- name: ember-source
56
+ name: ember-data-source
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - ~>
60
60
  - !ruby/object:Gem::Version
61
- version: 1.2.0.1
61
+ version: 1.0.0.beta.3
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - ~>
67
67
  - !ruby/object:Gem::Version
68
- version: 1.2.0.1
68
+ version: 1.0.0.beta.3
69
69
  - !ruby/object:Gem::Dependency
70
- name: ember-data-source
70
+ name: handlebars-source
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ~>
73
+ - - '>='
74
74
  - !ruby/object:Gem::Version
75
- version: 1.0.0.beta.3
75
+ version: '0'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ~>
80
+ - - '>='
81
81
  - !ruby/object:Gem::Version
82
- version: 1.0.0.beta.3
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: jquery-rails
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - '>='
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - '>='
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: barber
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - '>='
102
+ - !ruby/object:Gem::Version
103
+ version: 0.4.1
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - '>='
109
+ - !ruby/object:Gem::Version
110
+ version: 0.4.1
111
+ - !ruby/object:Gem::Dependency
112
+ name: active_model_serializers
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - '>='
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - '>='
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
83
125
  - !ruby/object:Gem::Dependency
84
126
  name: jquery-rails
85
127
  requirement: !ruby/object:Gem::Requirement
@@ -131,14 +173,17 @@ extra_rdoc_files: []
131
173
  files:
132
174
  - app/assets/javascripts/templates/application.hbs
133
175
  - app/controllers/landing_controller.rb
176
+ - lib/ember/appkit/rails/active_support/dependencies.rb
177
+ - lib/ember/appkit/rails/active_support.rb
134
178
  - lib/ember/appkit/rails/engine.rb
135
- - lib/ember/appkit/rails/resource_override.rb
179
+ - lib/ember/appkit/rails/sprockets/context.rb
136
180
  - lib/ember/appkit/rails/sprockets/directive_processor.rb
137
181
  - lib/ember/appkit/rails/sprockets/processed_asset.rb
138
182
  - lib/ember/appkit/rails/sprockets.rb
183
+ - lib/ember/appkit/rails/template.rb
139
184
  - lib/ember/appkit/rails/version.rb
185
+ - lib/ember/appkit/rails/walker.rb
140
186
  - lib/ember/appkit/rails.rb
141
- - lib/ember/appkit.rb
142
187
  - lib/ember-appkit-rails.rb
143
188
  - lib/generators/ember/bootstrap_generator.rb
144
189
  - lib/generators/ember/component_generator.rb
@@ -147,11 +192,14 @@ files:
147
192
  - lib/generators/ember/helper_generator.rb
148
193
  - lib/generators/ember/model_generator.rb
149
194
  - lib/generators/ember/resource_generator.rb
195
+ - lib/generators/ember/resource_override.rb
150
196
  - lib/generators/ember/route_generator.rb
197
+ - lib/generators/ember/scaffold_controller_override.rb
151
198
  - lib/generators/ember/scaffold_generator.rb
199
+ - lib/generators/ember/scaffold_override.rb
152
200
  - lib/generators/ember/template_generator.rb
153
201
  - lib/generators/ember/view_generator.rb
154
- - lib/generators/templates/adapter.js
202
+ - lib/generators/templates/adapter.js.erb
155
203
  - lib/generators/templates/application.js.erb
156
204
  - lib/generators/templates/array_controller.js.es6
157
205
  - lib/generators/templates/component.js.es6
@@ -177,22 +225,25 @@ files:
177
225
  - lib/generators/templates/scaffold/template/new.hbs
178
226
  - lib/generators/templates/scaffold/template/show.hbs
179
227
  - lib/generators/templates/scaffold/template.hbs
228
+ - lib/generators/templates/scaffold_controller/controller.rb
180
229
  - lib/generators/templates/template.hbs
181
230
  - lib/generators/templates/view.js.es6
182
231
  - vendor/assets/javascripts/app.js.es6.erb
183
- - vendor/assets/javascripts/ember-appkit/almond.js
184
232
  - vendor/assets/javascripts/ember-appkit/index.js
233
+ - vendor/assets/javascripts/ember-appkit/loader.js
185
234
  - vendor/assets/javascripts/ember-appkit/resolver.js
186
235
  - MIT-LICENSE
187
236
  - Rakefile
237
+ - test/dummy/app/assets/javascripts/application.js
188
238
  - test/dummy/app/assets/stylesheets/application.css
189
239
  - test/dummy/app/controllers/application_controller.rb
190
240
  - test/dummy/app/helpers/application_helper.rb
241
+ - test/dummy/app/models/is_a_module/dog.rb
191
242
  - test/dummy/app/views/layouts/application.html.erb
192
243
  - test/dummy/bin/bundle
193
244
  - test/dummy/bin/rails
194
245
  - test/dummy/bin/rake
195
- - test/dummy/config/adapter.js
246
+ - test/dummy/config/adapter.js.erb
196
247
  - test/dummy/config/application.js
197
248
  - test/dummy/config/application.rb
198
249
  - test/dummy/config/boot.rb
@@ -231,42 +282,40 @@ files:
231
282
  - test/dummy/tmp/app/assets/javascripts/custom/application.js
232
283
  - test/dummy/tmp/app/templates/post.hbs
233
284
  - test/dummy/tmp/app/views/layouts/application.html.erb
234
- - test/dummy/tmp/cache/assets/test/sprockets/07a9ce16127008e142b1b0223c4d7784
285
+ - test/dummy/tmp/cache/assets/test/sprockets/012cc56cb3d167247c623ab5a4dd2f8a
235
286
  - test/dummy/tmp/cache/assets/test/sprockets/07afa5d8ceda557642e2330ab45eb203
236
287
  - test/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705
288
+ - test/dummy/tmp/cache/assets/test/sprockets/1d5975f28925835fe6077b200f4f150f
237
289
  - test/dummy/tmp/cache/assets/test/sprockets/1f15c49a05b13c3a7ee50d2ac3900f38
238
290
  - test/dummy/tmp/cache/assets/test/sprockets/2264c7e125771795e258218d114a5d70
239
291
  - test/dummy/tmp/cache/assets/test/sprockets/2ad53936554864466b852e4eae6d6803
292
+ - test/dummy/tmp/cache/assets/test/sprockets/352c2af460d03b624ae5652411a463d1
240
293
  - test/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953
241
294
  - test/dummy/tmp/cache/assets/test/sprockets/4a1d4e32cd7b9fd1c62bfd553ae56051
295
+ - test/dummy/tmp/cache/assets/test/sprockets/5421e30f80c2b8cdf4379b8dce18bcd3
296
+ - test/dummy/tmp/cache/assets/test/sprockets/645beb565f2e6d67728537e06963533d
242
297
  - test/dummy/tmp/cache/assets/test/sprockets/660bc633c8899c6c1b20514637fa0169
243
298
  - test/dummy/tmp/cache/assets/test/sprockets/67afcba9807cd5e57b80b5fdf9f26758
244
- - test/dummy/tmp/cache/assets/test/sprockets/6870da13c3305651063dc22ccce27d5c
245
299
  - test/dummy/tmp/cache/assets/test/sprockets/6f11a763e4911199895bb68385de0430
300
+ - test/dummy/tmp/cache/assets/test/sprockets/702dbd08a7eb5e831dd268e0460d97b2
246
301
  - test/dummy/tmp/cache/assets/test/sprockets/7ca4966e0a480430a858a7ab74518c75
247
302
  - test/dummy/tmp/cache/assets/test/sprockets/827fafc13575b345cc572fd041ef1fba
248
303
  - test/dummy/tmp/cache/assets/test/sprockets/83af35bb6b852de883a26a9458fd4e3a
249
304
  - test/dummy/tmp/cache/assets/test/sprockets/889c68982dadf8d222309363924fe44b
250
- - test/dummy/tmp/cache/assets/test/sprockets/8ebc8c58233ab12eee6edfc0feca2492
251
305
  - test/dummy/tmp/cache/assets/test/sprockets/9160f792acb62d1f7721c714681fcfe6
252
- - test/dummy/tmp/cache/assets/test/sprockets/a2f615309ade94c14ae81d7ebc94fd67
253
- - test/dummy/tmp/cache/assets/test/sprockets/a9648a765fed0738b076bd24099109a3
254
306
  - test/dummy/tmp/cache/assets/test/sprockets/ae884a1acda0e6f9bb27a856a22bb08d
255
- - test/dummy/tmp/cache/assets/test/sprockets/b340d5578308bb4c197a8ca3538b0e24
256
307
  - test/dummy/tmp/cache/assets/test/sprockets/bb4a2293175928af3e23c47488077098
257
308
  - test/dummy/tmp/cache/assets/test/sprockets/bf689240392e7355c0de5cfd47272146
258
- - test/dummy/tmp/cache/assets/test/sprockets/c8c4c1b316845f30168739b5795846d6
259
309
  - test/dummy/tmp/cache/assets/test/sprockets/d5a48c6656341c56cac8a8e42bb925a5
260
310
  - test/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6
261
311
  - test/dummy/tmp/cache/assets/test/sprockets/de0932670a6c856bc6eda1586fd29061
262
312
  - test/dummy/tmp/cache/assets/test/sprockets/de94a60b438eb5bf57653f3a220acd80
263
- - test/dummy/tmp/cache/assets/test/sprockets/e22019b3c13c20bc08e899fb2b7248ea
313
+ - test/dummy/tmp/cache/assets/test/sprockets/e15ec26dd7914851e352c6f2c73c4284
314
+ - test/dummy/tmp/cache/assets/test/sprockets/e3ddb4a07e99c5bbf5f9cd9db3cdb82a
264
315
  - test/dummy/tmp/cache/assets/test/sprockets/e9abb671d48f6ff2be6ffb463ea652bf
265
316
  - test/dummy/tmp/cache/assets/test/sprockets/eeb5bd38d1dad0d908461fd114f702bc
266
317
  - test/dummy/tmp/cache/assets/test/sprockets/fde9e78f8d55a70f4ef757638fc6cde0
267
318
  - test/dummy/tmp/cache/assets/test/sprockets/fdfac6623944c5a23737724cbd90e58e
268
- - test/dummy/tmp/ember-rails/ember-data.js
269
- - test/dummy/tmp/ember-rails/ember.js
270
319
  - test/dummy/tmp/Gemfile
271
320
  - test/dummy/tmp/generator_test_output/app/assets/javascripts/application.js
272
321
  - test/dummy/tmp/generator_test_output/app/assets/javascripts/custom/application.js
@@ -276,6 +325,8 @@ files:
276
325
  - test/fixtures/rails_4-0-0_application.js
277
326
  - test/fixtures/rails_4-0-0_application_layout
278
327
  - test/fixtures/rails_4-0-0_Gemfile
328
+ - test/fixtures/routes_with_api_and_version_namespaces.rb
329
+ - test/fixtures/routes_with_api_namespace.rb
279
330
  - test/generators/bootstrap_generator_test.rb
280
331
  - test/generators/component_generator_test.rb
281
332
  - test/generators/controller_generator_test.rb
@@ -285,8 +336,10 @@ files:
285
336
  - test/generators/resource_override_test.rb
286
337
  - test/generators/route_generator_test.rb
287
338
  - test/generators/scaffold_generator_test.rb
339
+ - test/generators/scaffold_override_test.rb
288
340
  - test/generators/template_generator_test.rb
289
341
  - test/generators/view_generator_test.rb
342
+ - test/integration/autoload_modules_test.rb
290
343
  - test/integration/navigation_test.rb
291
344
  - test/support/generator_test_support.rb
292
345
  - test/support/integration_test_support.rb
@@ -315,14 +368,16 @@ signing_key:
315
368
  specification_version: 4
316
369
  summary: Ember App Kit for Rails
317
370
  test_files:
371
+ - test/dummy/app/assets/javascripts/application.js
318
372
  - test/dummy/app/assets/stylesheets/application.css
319
373
  - test/dummy/app/controllers/application_controller.rb
320
374
  - test/dummy/app/helpers/application_helper.rb
375
+ - test/dummy/app/models/is_a_module/dog.rb
321
376
  - test/dummy/app/views/layouts/application.html.erb
322
377
  - test/dummy/bin/bundle
323
378
  - test/dummy/bin/rails
324
379
  - test/dummy/bin/rake
325
- - test/dummy/config/adapter.js
380
+ - test/dummy/config/adapter.js.erb
326
381
  - test/dummy/config/application.js
327
382
  - test/dummy/config/application.rb
328
383
  - test/dummy/config/boot.rb
@@ -361,42 +416,40 @@ test_files:
361
416
  - test/dummy/tmp/app/assets/javascripts/custom/application.js
362
417
  - test/dummy/tmp/app/templates/post.hbs
363
418
  - test/dummy/tmp/app/views/layouts/application.html.erb
364
- - test/dummy/tmp/cache/assets/test/sprockets/07a9ce16127008e142b1b0223c4d7784
419
+ - test/dummy/tmp/cache/assets/test/sprockets/012cc56cb3d167247c623ab5a4dd2f8a
365
420
  - test/dummy/tmp/cache/assets/test/sprockets/07afa5d8ceda557642e2330ab45eb203
366
421
  - test/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705
422
+ - test/dummy/tmp/cache/assets/test/sprockets/1d5975f28925835fe6077b200f4f150f
367
423
  - test/dummy/tmp/cache/assets/test/sprockets/1f15c49a05b13c3a7ee50d2ac3900f38
368
424
  - test/dummy/tmp/cache/assets/test/sprockets/2264c7e125771795e258218d114a5d70
369
425
  - test/dummy/tmp/cache/assets/test/sprockets/2ad53936554864466b852e4eae6d6803
426
+ - test/dummy/tmp/cache/assets/test/sprockets/352c2af460d03b624ae5652411a463d1
370
427
  - test/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953
371
428
  - test/dummy/tmp/cache/assets/test/sprockets/4a1d4e32cd7b9fd1c62bfd553ae56051
429
+ - test/dummy/tmp/cache/assets/test/sprockets/5421e30f80c2b8cdf4379b8dce18bcd3
430
+ - test/dummy/tmp/cache/assets/test/sprockets/645beb565f2e6d67728537e06963533d
372
431
  - test/dummy/tmp/cache/assets/test/sprockets/660bc633c8899c6c1b20514637fa0169
373
432
  - test/dummy/tmp/cache/assets/test/sprockets/67afcba9807cd5e57b80b5fdf9f26758
374
- - test/dummy/tmp/cache/assets/test/sprockets/6870da13c3305651063dc22ccce27d5c
375
433
  - test/dummy/tmp/cache/assets/test/sprockets/6f11a763e4911199895bb68385de0430
434
+ - test/dummy/tmp/cache/assets/test/sprockets/702dbd08a7eb5e831dd268e0460d97b2
376
435
  - test/dummy/tmp/cache/assets/test/sprockets/7ca4966e0a480430a858a7ab74518c75
377
436
  - test/dummy/tmp/cache/assets/test/sprockets/827fafc13575b345cc572fd041ef1fba
378
437
  - test/dummy/tmp/cache/assets/test/sprockets/83af35bb6b852de883a26a9458fd4e3a
379
438
  - test/dummy/tmp/cache/assets/test/sprockets/889c68982dadf8d222309363924fe44b
380
- - test/dummy/tmp/cache/assets/test/sprockets/8ebc8c58233ab12eee6edfc0feca2492
381
439
  - test/dummy/tmp/cache/assets/test/sprockets/9160f792acb62d1f7721c714681fcfe6
382
- - test/dummy/tmp/cache/assets/test/sprockets/a2f615309ade94c14ae81d7ebc94fd67
383
- - test/dummy/tmp/cache/assets/test/sprockets/a9648a765fed0738b076bd24099109a3
384
440
  - test/dummy/tmp/cache/assets/test/sprockets/ae884a1acda0e6f9bb27a856a22bb08d
385
- - test/dummy/tmp/cache/assets/test/sprockets/b340d5578308bb4c197a8ca3538b0e24
386
441
  - test/dummy/tmp/cache/assets/test/sprockets/bb4a2293175928af3e23c47488077098
387
442
  - test/dummy/tmp/cache/assets/test/sprockets/bf689240392e7355c0de5cfd47272146
388
- - test/dummy/tmp/cache/assets/test/sprockets/c8c4c1b316845f30168739b5795846d6
389
443
  - test/dummy/tmp/cache/assets/test/sprockets/d5a48c6656341c56cac8a8e42bb925a5
390
444
  - test/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6
391
445
  - test/dummy/tmp/cache/assets/test/sprockets/de0932670a6c856bc6eda1586fd29061
392
446
  - test/dummy/tmp/cache/assets/test/sprockets/de94a60b438eb5bf57653f3a220acd80
393
- - test/dummy/tmp/cache/assets/test/sprockets/e22019b3c13c20bc08e899fb2b7248ea
447
+ - test/dummy/tmp/cache/assets/test/sprockets/e15ec26dd7914851e352c6f2c73c4284
448
+ - test/dummy/tmp/cache/assets/test/sprockets/e3ddb4a07e99c5bbf5f9cd9db3cdb82a
394
449
  - test/dummy/tmp/cache/assets/test/sprockets/e9abb671d48f6ff2be6ffb463ea652bf
395
450
  - test/dummy/tmp/cache/assets/test/sprockets/eeb5bd38d1dad0d908461fd114f702bc
396
451
  - test/dummy/tmp/cache/assets/test/sprockets/fde9e78f8d55a70f4ef757638fc6cde0
397
452
  - test/dummy/tmp/cache/assets/test/sprockets/fdfac6623944c5a23737724cbd90e58e
398
- - test/dummy/tmp/ember-rails/ember-data.js
399
- - test/dummy/tmp/ember-rails/ember.js
400
453
  - test/dummy/tmp/Gemfile
401
454
  - test/dummy/tmp/generator_test_output/app/assets/javascripts/application.js
402
455
  - test/dummy/tmp/generator_test_output/app/assets/javascripts/custom/application.js
@@ -406,6 +459,8 @@ test_files:
406
459
  - test/fixtures/rails_4-0-0_application.js
407
460
  - test/fixtures/rails_4-0-0_application_layout
408
461
  - test/fixtures/rails_4-0-0_Gemfile
462
+ - test/fixtures/routes_with_api_and_version_namespaces.rb
463
+ - test/fixtures/routes_with_api_namespace.rb
409
464
  - test/generators/bootstrap_generator_test.rb
410
465
  - test/generators/component_generator_test.rb
411
466
  - test/generators/controller_generator_test.rb
@@ -415,8 +470,10 @@ test_files:
415
470
  - test/generators/resource_override_test.rb
416
471
  - test/generators/route_generator_test.rb
417
472
  - test/generators/scaffold_generator_test.rb
473
+ - test/generators/scaffold_override_test.rb
418
474
  - test/generators/template_generator_test.rb
419
475
  - test/generators/view_generator_test.rb
476
+ - test/integration/autoload_modules_test.rb
420
477
  - test/integration/navigation_test.rb
421
478
  - test/support/generator_test_support.rb
422
479
  - test/support/integration_test_support.rb