ember-appkit-rails 0.3.2 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (82) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/templates/application.hbs +4 -4
  3. data/lib/ember/appkit/rails.rb +1 -0
  4. data/lib/ember/appkit/rails/engine.rb +6 -3
  5. data/lib/ember/appkit/rails/sprockets/context.rb +1 -1
  6. data/lib/ember/appkit/rails/version.rb +1 -1
  7. data/lib/ember/appkit/rails/walker.rb +86 -57
  8. data/lib/generators/ember/bootstrap_generator.rb +14 -6
  9. data/lib/generators/ember/scaffold_controller_override.rb +3 -3
  10. data/lib/generators/ember/scaffold_override.rb +1 -1
  11. data/lib/generators/templates/adapter.js.erb +1 -1
  12. data/lib/generators/templates/application.js.erb +1 -1
  13. data/lib/generators/templates/environment.js.erb +19 -0
  14. data/lib/generators/templates/environments/development.js.erb +9 -0
  15. data/lib/generators/templates/environments/production.js.erb +14 -0
  16. data/{test/dummy/config/environments/development.js → lib/generators/templates/environments/test.js.erb} +2 -0
  17. data/lib/generators/templates/router.js.es6 +9 -1
  18. data/lib/generators/templates/scaffold/route/edit.js.es6 +2 -4
  19. data/lib/generators/templates/scaffold/route/new.js.es6 +1 -2
  20. data/lib/generators/templates/scaffold/route/show.js.es6 +1 -2
  21. data/lib/generators/templates/scaffold/template/form.hbs +2 -2
  22. data/lib/generators/templates/scaffold/template/show.hbs +1 -1
  23. data/lib/generators/templates/scaffold_controller/controller.rb +5 -4
  24. data/test/dummy/Gemfile +1 -1
  25. data/test/dummy/config/{adapter.js.erb → adapters/application.js.es6.erb} +1 -1
  26. data/test/dummy/config/application.js +1 -1
  27. data/test/dummy/config/environment.js.erb +19 -0
  28. data/test/dummy/config/environments/development.js.erb +9 -0
  29. data/test/dummy/config/environments/production.js.erb +14 -0
  30. data/{lib/generators/templates/environments/development.js → test/dummy/config/environments/test.js.erb} +2 -0
  31. data/test/dummy/config/initializers/secret_token.rb +1 -1
  32. data/test/dummy/config/router.js.es6 +9 -1
  33. data/test/dummy/config/routes.rb +3 -0
  34. data/test/dummy/log/test.log +35 -7
  35. data/test/dummy/tmp/cache/assets/test/sprockets/10fe949cc641775f5630b5dad6deb5fc +0 -0
  36. data/test/dummy/tmp/cache/assets/test/sprockets/129b422236f443119233cdb0a4525a06 +0 -0
  37. data/test/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  38. data/test/dummy/tmp/cache/assets/test/sprockets/1f15c49a05b13c3a7ee50d2ac3900f38 +0 -0
  39. data/test/dummy/tmp/cache/assets/test/sprockets/25b8b60341168a02f48dabd2b0aa82ad +0 -0
  40. data/test/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  41. data/test/dummy/tmp/cache/assets/test/sprockets/4a1d4e32cd7b9fd1c62bfd553ae56051 +0 -0
  42. data/test/dummy/tmp/cache/assets/test/sprockets/660bc633c8899c6c1b20514637fa0169 +0 -0
  43. data/test/dummy/tmp/cache/assets/test/sprockets/67afcba9807cd5e57b80b5fdf9f26758 +0 -0
  44. data/test/dummy/tmp/cache/assets/test/sprockets/7ca4966e0a480430a858a7ab74518c75 +0 -0
  45. data/test/dummy/tmp/cache/assets/test/sprockets/827fafc13575b345cc572fd041ef1fba +0 -0
  46. data/test/dummy/tmp/cache/assets/test/sprockets/{07afa5d8ceda557642e2330ab45eb203 → 83030d43d9bff738a1a01366d61d7691} +0 -0
  47. data/test/dummy/tmp/cache/assets/test/sprockets/83a9a7d15d681a382363d2bccb9528bb +0 -0
  48. data/test/dummy/tmp/cache/assets/test/sprockets/83af35bb6b852de883a26a9458fd4e3a +0 -0
  49. data/test/dummy/tmp/cache/assets/test/sprockets/{ae884a1acda0e6f9bb27a856a22bb08d → 8adfb5e646dca2c629e5d3dc88e2c2e9} +0 -0
  50. data/test/dummy/tmp/cache/assets/test/sprockets/9160f792acb62d1f7721c714681fcfe6 +0 -0
  51. data/test/dummy/tmp/cache/assets/test/sprockets/a6a0d79927cb0ec286aa0afb9812685c +0 -0
  52. data/test/dummy/tmp/cache/assets/test/sprockets/bb4a2293175928af3e23c47488077098 +0 -0
  53. data/test/dummy/tmp/cache/assets/test/sprockets/bf689240392e7355c0de5cfd47272146 +0 -0
  54. data/test/dummy/tmp/cache/assets/test/sprockets/cdbe9110f011148cc7a1f172dc18a883 +0 -0
  55. data/test/dummy/tmp/cache/assets/test/sprockets/d5a48c6656341c56cac8a8e42bb925a5 +0 -0
  56. data/test/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  57. data/test/dummy/tmp/cache/assets/test/sprockets/de0932670a6c856bc6eda1586fd29061 +0 -0
  58. data/test/dummy/tmp/cache/assets/test/sprockets/de94a60b438eb5bf57653f3a220acd80 +0 -0
  59. data/test/dummy/tmp/cache/assets/test/sprockets/e9abb671d48f6ff2be6ffb463ea652bf +0 -0
  60. data/test/dummy/tmp/cache/assets/test/sprockets/eeb5bd38d1dad0d908461fd114f702bc +0 -0
  61. data/test/fixtures/routes_with_api_version_namespaces_and_route.rb +12 -0
  62. data/test/fixtures/walker.rb +76 -0
  63. data/test/generators/bootstrap_generator_test.rb +14 -6
  64. data/test/generators/resource_override_test.rb +0 -9
  65. data/test/generators/scaffold_override_test.rb +22 -9
  66. data/test/integration/engine_test.rb +34 -0
  67. data/test/support/generator_test_support.rb +11 -0
  68. data/vendor/assets/javascripts/app.js.es6.erb +1 -16
  69. data/vendor/assets/javascripts/ember-appkit/index.js +1 -0
  70. data/vendor/assets/javascripts/ember-appkit/resolver.js +12 -7
  71. data/vendor/assets/javascripts/ember-appkit/resolver_ext.js +40 -0
  72. metadata +55 -44
  73. data/lib/generators/templates/environment.js +0 -12
  74. data/lib/generators/templates/environments/production.js +0 -3
  75. data/lib/generators/templates/environments/test.js +0 -3
  76. data/test/dummy/config/environment.js +0 -12
  77. data/test/dummy/config/environments/production.js +0 -3
  78. data/test/dummy/config/environments/test.js +0 -3
  79. data/test/dummy/tmp/cache/assets/test/sprockets/e15ec26dd7914851e352c6f2c73c4284 +0 -0
  80. data/test/dummy/tmp/cache/assets/test/sprockets/e3ddb4a07e99c5bbf5f9cd9db3cdb82a +0 -0
  81. data/test/dummy/tmp/cache/assets/test/sprockets/fde9e78f8d55a70f4ef757638fc6cde0 +0 -0
  82. data/test/dummy/tmp/cache/assets/test/sprockets/fdfac6623944c5a23737724cbd90e58e +0 -0
@@ -0,0 +1,34 @@
1
+ require 'test_helper'
2
+
3
+ class EngineTest < ActionDispatch::IntegrationTest
4
+ test 'app/assets/javascripts is not in asset load path' do
5
+ refute Rails.application.config.assets.paths.include?(File.join(Rails.root, 'app/assets/javascripts'))
6
+ end
7
+
8
+ test 'app is in the asset load path' do
9
+ assert Rails.application.config.assets.paths.include?(File.join(Rails.root, 'app'))
10
+ end
11
+
12
+ test 'config is in the asset load path' do
13
+ assert Rails.application.config.assets.paths.include?(File.join(Rails.root, 'config'))
14
+ end
15
+
16
+ test 'lib is in the asset load path' do
17
+ assert Rails.application.config.assets.paths.include?(File.join(Rails.root, 'lib'))
18
+ end
19
+
20
+ test 'lib/assets/javascripts is not in the asset load path' do
21
+ refute Rails.application.config.assets.paths.include?(File.join(Rails.root, 'lib/assets/javascripts'))
22
+ end
23
+
24
+ test 'ember source assets come after vendor/assets/javascripts' do
25
+ vendor_index = Rails.application.config.assets.paths.index(File.join(Rails.root, 'vendor/assets/javascripts'))
26
+ ember_source_index = Rails.application.config.assets.paths.index { |path| path =~ /ember-source/ }
27
+ ember_data_source_index = Rails.application.config.assets.paths.index { |path| path =~ /ember-data-source/ }
28
+ handlebars_source_index = Rails.application.config.assets.paths.index { |path| path =~ /handlebars-source/ }
29
+
30
+ assert vendor_index < ember_source_index
31
+ assert vendor_index < ember_data_source_index
32
+ assert vendor_index < handlebars_source_index
33
+ end
34
+ end
@@ -83,4 +83,15 @@ module GeneratorTestSupport
83
83
  FileUtils.mkdir_p(destination)
84
84
  copy_file source, File.join(destination, 'application.rb')
85
85
  end
86
+
87
+ def copy_routes
88
+ copy_routes_file("../../dummy/config/routes.rb")
89
+ end
90
+
91
+ def copy_routes_file(routes_destination)
92
+ routes = File.expand_path(routes_destination, __FILE__)
93
+ destination = File.join(destination_root, 'config')
94
+ FileUtils.mkdir_p(destination)
95
+ FileUtils.cp routes, File.join(destination, 'routes.rb')
96
+ end
86
97
  end
@@ -5,23 +5,8 @@ if (typeof Turbolinks !== 'undefined') {
5
5
  throw new Error("Turbolinks has been detected. Ember Appkit Rails will not function properly alongside Turbolinks.");
6
6
  }
7
7
 
8
- <% unless config.enable_logging %>
9
- Ember.LOG_VERSION = false;
10
- <% end %>
11
-
12
8
  var App = Ember.Application.extend({
13
-
14
- <% if config.enable_logging %>
15
- LOG_ACTIVE_GENERATION: true,
16
- LOG_MODULE_RESOLVER: true,
17
- LOG_TRANSITIONS: true,
18
- LOG_TRANSITIONS_INTERNAL: true,
19
- LOG_VIEW_LOOKUPS: true,
20
- <% end %>
21
-
22
- modulePrefix: '<%= config.namespaces.app %>',
23
- configPrefix: '<%= config.namespaces.config %>',
24
9
  Resolver: Resolver
25
- });
10
+ }, window.config);
26
11
 
27
12
  export default App;
@@ -1,4 +1,5 @@
1
1
  //= require ./loader
2
2
  //= require ./resolver
3
+ //= require ./resolver_ext
3
4
  //= require app
4
5
  //= require templates/application
@@ -1,5 +1,5 @@
1
1
  // Fetched from: https://raw.github.com/stefanpenner/ember-jj-abrams-resolver/master/dist/ember-resolver.js
2
- // Fetched on: 2013-11-27T08:26:18
2
+ // Fetched on: 2014-01-11T18:12:01
3
3
  // ==========================================================================
4
4
  // Project: Ember - JavaScript Application Framework
5
5
  // Copyright: Copyright 2013 Stefan Penner and Ember App Kit Contributors
@@ -22,7 +22,7 @@ define("resolver",
22
22
  * important features:
23
23
  *
24
24
  * 1) The resolver makes the container aware of es6 modules via the AMD
25
- * output. The loader's _seen is consulted so that classes can be
25
+ * output. The loader's _seen is consulted so that classes can be
26
26
  * resolved directly via the module loader, without needing a manual
27
27
  * `import`.
28
28
  * 2) is able provide injections to classes that implement `extend`
@@ -33,7 +33,7 @@ define("resolver",
33
33
  return {
34
34
  create: function (injections) {
35
35
  if (typeof klass.extend === 'function') {
36
- return klass.extend(injections);
36
+ return klass.extend(injections);
37
37
  } else {
38
38
  return klass;
39
39
  }
@@ -68,7 +68,7 @@ define("resolver",
68
68
  var underscoredModuleName = Ember.String.underscore(moduleName);
69
69
 
70
70
  if (moduleName !== underscoredModuleName && seen[moduleName] && seen[underscoredModuleName]) {
71
- throw new TypeError("Ambigous module names: `" + moduleName + "` and `" + underscoredModuleName + "`");
71
+ throw new TypeError("Ambiguous module names: `" + moduleName + "` and `" + underscoredModuleName + "`");
72
72
  }
73
73
 
74
74
  if (seen[moduleName]) {
@@ -83,7 +83,7 @@ define("resolver",
83
83
  function resolveRouter(parsedName) {
84
84
  /*jshint validthis:true */
85
85
 
86
- var prefix = this.namespace.configPrefix,
86
+ var prefix = this.namespace.modulePrefix,
87
87
  routerModule;
88
88
 
89
89
  if (parsedName.fullName === 'router:main') {
@@ -115,7 +115,7 @@ define("resolver",
115
115
  if (requirejs._eak_seen[normalizedModuleName]) {
116
116
  var module = require(normalizedModuleName, null, null, true /* force sync */);
117
117
 
118
- if (module['default']) { module = module['default']; }
118
+ if (module && module['default']) { module = module['default']; }
119
119
 
120
120
  if (module === undefined) {
121
121
  throw new Error(" Expected to find: '" + parsedName.fullName + "' within '" + normalizedModuleName + "' but got 'undefined'. Did you forget to `export default` within '" + normalizedModuleName + "'?");
@@ -155,7 +155,12 @@ define("resolver",
155
155
  // 1. `needs: ['posts/post']`
156
156
  // 2. `{{render "posts/post"}}`
157
157
  // 3. `this.render('posts/post')` from Route
158
- return Ember.String.dasherize(fullName.replace(/\./g, '/'));
158
+ var split = fullName.split(':');
159
+ if (split.length > 1) {
160
+ return split[0] + ':' + Ember.String.dasherize(split[1].replace(/\./g, '/'));
161
+ } else {
162
+ return fullName;
163
+ }
159
164
  }
160
165
  });
161
166
 
@@ -0,0 +1,40 @@
1
+ (function() {
2
+ var Resolver = require('resolver').default;
3
+ var originalResolveOther = Resolver
4
+
5
+ function resolveCustomPrefix(parsedName) {
6
+ /*jshint validthis:true */
7
+
8
+ var prefix = this.namespace.modulePrefix,
9
+ type = parsedName.type,
10
+ name = parsedName.fullNameWithoutType,
11
+ tmpModuleName, moduleName, module;
12
+
13
+ if (this.namespace[type + 'Prefix']) {
14
+ prefix = this.namespace[type + 'Prefix'];
15
+ }
16
+
17
+ tmpModuleName = prefix + '/' + type;
18
+ if (name === 'main' && requirejs._eak_seen[tmpModuleName]) {
19
+ moduleName = tmpModuleName;
20
+ } else {
21
+ }
22
+
23
+ if (!moduleName) { moduleName = prefix + '/' + type + 's/' + name; }
24
+
25
+ if (requirejs._eak_seen[moduleName]) {
26
+ module = require(moduleName);
27
+ if (module['default']) { module = module['default']; }
28
+
29
+ return module;
30
+ } else {
31
+ return this.resolveOther(parsedName);
32
+ }
33
+ }
34
+
35
+ Resolver.reopen({
36
+ resolveRouter: resolveCustomPrefix,
37
+ resolveAdapter: resolveCustomPrefix,
38
+ resolveSerializer: resolveCustomPrefix
39
+ });
40
+ })();
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.3.2
4
+ version: 0.4.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: 2014-01-14 00:00:00.000000000 Z
11
+ date: 2014-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -16,14 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - ~>
18
18
  - !ruby/object:Gem::Version
19
- version: 4.0.0
19
+ version: '4.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ~>
25
25
  - !ruby/object:Gem::Version
26
- version: 4.0.0
26
+ version: '4.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: parser
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: es6_module_transpiler-rails
29
43
  requirement: !ruby/object:Gem::Requirement
@@ -122,20 +136,6 @@ dependencies:
122
136
  - - '>='
123
137
  - !ruby/object:Gem::Version
124
138
  version: '0'
125
- - !ruby/object:Gem::Dependency
126
- name: jquery-rails
127
- requirement: !ruby/object:Gem::Requirement
128
- requirements:
129
- - - '>='
130
- - !ruby/object:Gem::Version
131
- version: '0'
132
- type: :development
133
- prerelease: false
134
- version_requirements: !ruby/object:Gem::Requirement
135
- requirements:
136
- - - '>='
137
- - !ruby/object:Gem::Version
138
- version: '0'
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: capybara
141
141
  requirement: !ruby/object:Gem::Requirement
@@ -206,10 +206,10 @@ files:
206
206
  - lib/generators/templates/component.template.hbs
207
207
  - lib/generators/templates/controller.js.es6
208
208
  - lib/generators/templates/csrf.js
209
- - lib/generators/templates/environment.js
210
- - lib/generators/templates/environments/development.js
211
- - lib/generators/templates/environments/production.js
212
- - lib/generators/templates/environments/test.js
209
+ - lib/generators/templates/environment.js.erb
210
+ - lib/generators/templates/environments/development.js.erb
211
+ - lib/generators/templates/environments/production.js.erb
212
+ - lib/generators/templates/environments/test.js.erb
213
213
  - lib/generators/templates/helper.js
214
214
  - lib/generators/templates/model.js.es6
215
215
  - lib/generators/templates/object_controller.js.es6
@@ -232,6 +232,7 @@ files:
232
232
  - vendor/assets/javascripts/ember-appkit/index.js
233
233
  - vendor/assets/javascripts/ember-appkit/loader.js
234
234
  - vendor/assets/javascripts/ember-appkit/resolver.js
235
+ - vendor/assets/javascripts/ember-appkit/resolver_ext.js
235
236
  - MIT-LICENSE
236
237
  - Rakefile
237
238
  - test/dummy/app/assets/javascripts/application.js
@@ -243,17 +244,17 @@ files:
243
244
  - test/dummy/bin/bundle
244
245
  - test/dummy/bin/rails
245
246
  - test/dummy/bin/rake
246
- - test/dummy/config/adapter.js.erb
247
+ - test/dummy/config/adapters/application.js.es6.erb
247
248
  - test/dummy/config/application.js
248
249
  - test/dummy/config/application.rb
249
250
  - test/dummy/config/boot.rb
250
- - test/dummy/config/environment.js
251
+ - test/dummy/config/environment.js.erb
251
252
  - test/dummy/config/environment.rb
252
- - test/dummy/config/environments/development.js
253
+ - test/dummy/config/environments/development.js.erb
253
254
  - test/dummy/config/environments/development.rb
254
- - test/dummy/config/environments/production.js
255
+ - test/dummy/config/environments/production.js.erb
255
256
  - test/dummy/config/environments/production.rb
256
- - test/dummy/config/environments/test.js
257
+ - test/dummy/config/environments/test.js.erb
257
258
  - test/dummy/config/environments/test.rb
258
259
  - test/dummy/config/initializers/backtrace_silencers.rb
259
260
  - test/dummy/config/initializers/csrf.js
@@ -282,10 +283,12 @@ files:
282
283
  - test/dummy/tmp/app/assets/javascripts/custom/application.js
283
284
  - test/dummy/tmp/app/templates/post.hbs
284
285
  - test/dummy/tmp/app/views/layouts/application.html.erb
285
- - test/dummy/tmp/cache/assets/test/sprockets/07afa5d8ceda557642e2330ab45eb203
286
+ - test/dummy/tmp/cache/assets/test/sprockets/10fe949cc641775f5630b5dad6deb5fc
287
+ - test/dummy/tmp/cache/assets/test/sprockets/129b422236f443119233cdb0a4525a06
286
288
  - test/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705
287
289
  - test/dummy/tmp/cache/assets/test/sprockets/1d5975f28925835fe6077b200f4f150f
288
290
  - test/dummy/tmp/cache/assets/test/sprockets/1f15c49a05b13c3a7ee50d2ac3900f38
291
+ - test/dummy/tmp/cache/assets/test/sprockets/25b8b60341168a02f48dabd2b0aa82ad
289
292
  - test/dummy/tmp/cache/assets/test/sprockets/2ad53936554864466b852e4eae6d6803
290
293
  - test/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953
291
294
  - test/dummy/tmp/cache/assets/test/sprockets/47fb03bce147145961cb3deeafca54d7
@@ -297,25 +300,25 @@ files:
297
300
  - test/dummy/tmp/cache/assets/test/sprockets/67afcba9807cd5e57b80b5fdf9f26758
298
301
  - test/dummy/tmp/cache/assets/test/sprockets/7ca4966e0a480430a858a7ab74518c75
299
302
  - test/dummy/tmp/cache/assets/test/sprockets/827fafc13575b345cc572fd041ef1fba
303
+ - test/dummy/tmp/cache/assets/test/sprockets/83030d43d9bff738a1a01366d61d7691
304
+ - test/dummy/tmp/cache/assets/test/sprockets/83a9a7d15d681a382363d2bccb9528bb
300
305
  - test/dummy/tmp/cache/assets/test/sprockets/83af35bb6b852de883a26a9458fd4e3a
301
306
  - test/dummy/tmp/cache/assets/test/sprockets/889c68982dadf8d222309363924fe44b
307
+ - test/dummy/tmp/cache/assets/test/sprockets/8adfb5e646dca2c629e5d3dc88e2c2e9
302
308
  - test/dummy/tmp/cache/assets/test/sprockets/9160f792acb62d1f7721c714681fcfe6
303
- - test/dummy/tmp/cache/assets/test/sprockets/ae884a1acda0e6f9bb27a856a22bb08d
309
+ - test/dummy/tmp/cache/assets/test/sprockets/a6a0d79927cb0ec286aa0afb9812685c
304
310
  - test/dummy/tmp/cache/assets/test/sprockets/bb4a2293175928af3e23c47488077098
305
311
  - test/dummy/tmp/cache/assets/test/sprockets/bf689240392e7355c0de5cfd47272146
312
+ - test/dummy/tmp/cache/assets/test/sprockets/cdbe9110f011148cc7a1f172dc18a883
306
313
  - test/dummy/tmp/cache/assets/test/sprockets/ce7582379ff02bb25cee3ac0486fe1f2
307
314
  - test/dummy/tmp/cache/assets/test/sprockets/d4cb455bee790d041fb3111fb1636531
308
315
  - test/dummy/tmp/cache/assets/test/sprockets/d5a48c6656341c56cac8a8e42bb925a5
309
316
  - test/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6
310
317
  - test/dummy/tmp/cache/assets/test/sprockets/de0932670a6c856bc6eda1586fd29061
311
318
  - test/dummy/tmp/cache/assets/test/sprockets/de94a60b438eb5bf57653f3a220acd80
312
- - test/dummy/tmp/cache/assets/test/sprockets/e15ec26dd7914851e352c6f2c73c4284
313
319
  - test/dummy/tmp/cache/assets/test/sprockets/e36a853a1349d7f33f6c0083c05f897b
314
- - test/dummy/tmp/cache/assets/test/sprockets/e3ddb4a07e99c5bbf5f9cd9db3cdb82a
315
320
  - test/dummy/tmp/cache/assets/test/sprockets/e9abb671d48f6ff2be6ffb463ea652bf
316
321
  - test/dummy/tmp/cache/assets/test/sprockets/eeb5bd38d1dad0d908461fd114f702bc
317
- - test/dummy/tmp/cache/assets/test/sprockets/fde9e78f8d55a70f4ef757638fc6cde0
318
- - test/dummy/tmp/cache/assets/test/sprockets/fdfac6623944c5a23737724cbd90e58e
319
322
  - test/dummy/tmp/Gemfile
320
323
  - test/dummy/tmp/generator_test_output/app/assets/javascripts/application.js
321
324
  - test/dummy/tmp/generator_test_output/app/assets/javascripts/custom/application.js
@@ -327,6 +330,8 @@ files:
327
330
  - test/fixtures/rails_4-0-0_Gemfile
328
331
  - test/fixtures/routes_with_api_and_version_namespaces.rb
329
332
  - test/fixtures/routes_with_api_namespace.rb
333
+ - test/fixtures/routes_with_api_version_namespaces_and_route.rb
334
+ - test/fixtures/walker.rb
330
335
  - test/generators/bootstrap_generator_test.rb
331
336
  - test/generators/component_generator_test.rb
332
337
  - test/generators/controller_generator_test.rb
@@ -340,6 +345,7 @@ files:
340
345
  - test/generators/template_generator_test.rb
341
346
  - test/generators/view_generator_test.rb
342
347
  - test/integration/autoload_modules_test.rb
348
+ - test/integration/engine_test.rb
343
349
  - test/integration/navigation_test.rb
344
350
  - test/support/generator_test_support.rb
345
351
  - test/support/integration_test_support.rb
@@ -377,17 +383,17 @@ test_files:
377
383
  - test/dummy/bin/bundle
378
384
  - test/dummy/bin/rails
379
385
  - test/dummy/bin/rake
380
- - test/dummy/config/adapter.js.erb
386
+ - test/dummy/config/adapters/application.js.es6.erb
381
387
  - test/dummy/config/application.js
382
388
  - test/dummy/config/application.rb
383
389
  - test/dummy/config/boot.rb
384
- - test/dummy/config/environment.js
390
+ - test/dummy/config/environment.js.erb
385
391
  - test/dummy/config/environment.rb
386
- - test/dummy/config/environments/development.js
392
+ - test/dummy/config/environments/development.js.erb
387
393
  - test/dummy/config/environments/development.rb
388
- - test/dummy/config/environments/production.js
394
+ - test/dummy/config/environments/production.js.erb
389
395
  - test/dummy/config/environments/production.rb
390
- - test/dummy/config/environments/test.js
396
+ - test/dummy/config/environments/test.js.erb
391
397
  - test/dummy/config/environments/test.rb
392
398
  - test/dummy/config/initializers/backtrace_silencers.rb
393
399
  - test/dummy/config/initializers/csrf.js
@@ -416,10 +422,12 @@ test_files:
416
422
  - test/dummy/tmp/app/assets/javascripts/custom/application.js
417
423
  - test/dummy/tmp/app/templates/post.hbs
418
424
  - test/dummy/tmp/app/views/layouts/application.html.erb
419
- - test/dummy/tmp/cache/assets/test/sprockets/07afa5d8ceda557642e2330ab45eb203
425
+ - test/dummy/tmp/cache/assets/test/sprockets/10fe949cc641775f5630b5dad6deb5fc
426
+ - test/dummy/tmp/cache/assets/test/sprockets/129b422236f443119233cdb0a4525a06
420
427
  - test/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705
421
428
  - test/dummy/tmp/cache/assets/test/sprockets/1d5975f28925835fe6077b200f4f150f
422
429
  - test/dummy/tmp/cache/assets/test/sprockets/1f15c49a05b13c3a7ee50d2ac3900f38
430
+ - test/dummy/tmp/cache/assets/test/sprockets/25b8b60341168a02f48dabd2b0aa82ad
423
431
  - test/dummy/tmp/cache/assets/test/sprockets/2ad53936554864466b852e4eae6d6803
424
432
  - test/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953
425
433
  - test/dummy/tmp/cache/assets/test/sprockets/47fb03bce147145961cb3deeafca54d7
@@ -431,25 +439,25 @@ test_files:
431
439
  - test/dummy/tmp/cache/assets/test/sprockets/67afcba9807cd5e57b80b5fdf9f26758
432
440
  - test/dummy/tmp/cache/assets/test/sprockets/7ca4966e0a480430a858a7ab74518c75
433
441
  - test/dummy/tmp/cache/assets/test/sprockets/827fafc13575b345cc572fd041ef1fba
442
+ - test/dummy/tmp/cache/assets/test/sprockets/83030d43d9bff738a1a01366d61d7691
443
+ - test/dummy/tmp/cache/assets/test/sprockets/83a9a7d15d681a382363d2bccb9528bb
434
444
  - test/dummy/tmp/cache/assets/test/sprockets/83af35bb6b852de883a26a9458fd4e3a
435
445
  - test/dummy/tmp/cache/assets/test/sprockets/889c68982dadf8d222309363924fe44b
446
+ - test/dummy/tmp/cache/assets/test/sprockets/8adfb5e646dca2c629e5d3dc88e2c2e9
436
447
  - test/dummy/tmp/cache/assets/test/sprockets/9160f792acb62d1f7721c714681fcfe6
437
- - test/dummy/tmp/cache/assets/test/sprockets/ae884a1acda0e6f9bb27a856a22bb08d
448
+ - test/dummy/tmp/cache/assets/test/sprockets/a6a0d79927cb0ec286aa0afb9812685c
438
449
  - test/dummy/tmp/cache/assets/test/sprockets/bb4a2293175928af3e23c47488077098
439
450
  - test/dummy/tmp/cache/assets/test/sprockets/bf689240392e7355c0de5cfd47272146
451
+ - test/dummy/tmp/cache/assets/test/sprockets/cdbe9110f011148cc7a1f172dc18a883
440
452
  - test/dummy/tmp/cache/assets/test/sprockets/ce7582379ff02bb25cee3ac0486fe1f2
441
453
  - test/dummy/tmp/cache/assets/test/sprockets/d4cb455bee790d041fb3111fb1636531
442
454
  - test/dummy/tmp/cache/assets/test/sprockets/d5a48c6656341c56cac8a8e42bb925a5
443
455
  - test/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6
444
456
  - test/dummy/tmp/cache/assets/test/sprockets/de0932670a6c856bc6eda1586fd29061
445
457
  - test/dummy/tmp/cache/assets/test/sprockets/de94a60b438eb5bf57653f3a220acd80
446
- - test/dummy/tmp/cache/assets/test/sprockets/e15ec26dd7914851e352c6f2c73c4284
447
458
  - test/dummy/tmp/cache/assets/test/sprockets/e36a853a1349d7f33f6c0083c05f897b
448
- - test/dummy/tmp/cache/assets/test/sprockets/e3ddb4a07e99c5bbf5f9cd9db3cdb82a
449
459
  - test/dummy/tmp/cache/assets/test/sprockets/e9abb671d48f6ff2be6ffb463ea652bf
450
460
  - test/dummy/tmp/cache/assets/test/sprockets/eeb5bd38d1dad0d908461fd114f702bc
451
- - test/dummy/tmp/cache/assets/test/sprockets/fde9e78f8d55a70f4ef757638fc6cde0
452
- - test/dummy/tmp/cache/assets/test/sprockets/fdfac6623944c5a23737724cbd90e58e
453
461
  - test/dummy/tmp/Gemfile
454
462
  - test/dummy/tmp/generator_test_output/app/assets/javascripts/application.js
455
463
  - test/dummy/tmp/generator_test_output/app/assets/javascripts/custom/application.js
@@ -461,6 +469,8 @@ test_files:
461
469
  - test/fixtures/rails_4-0-0_Gemfile
462
470
  - test/fixtures/routes_with_api_and_version_namespaces.rb
463
471
  - test/fixtures/routes_with_api_namespace.rb
472
+ - test/fixtures/routes_with_api_version_namespaces_and_route.rb
473
+ - test/fixtures/walker.rb
464
474
  - test/generators/bootstrap_generator_test.rb
465
475
  - test/generators/component_generator_test.rb
466
476
  - test/generators/controller_generator_test.rb
@@ -474,6 +484,7 @@ test_files:
474
484
  - test/generators/template_generator_test.rb
475
485
  - test/generators/view_generator_test.rb
476
486
  - test/integration/autoload_modules_test.rb
487
+ - test/integration/engine_test.rb
477
488
  - test/integration/navigation_test.rb
478
489
  - test/support/generator_test_support.rb
479
490
  - test/support/integration_test_support.rb
@@ -1,12 +0,0 @@
1
- //= require_self
2
- //= require_environment_from ./environments
3
- /*
4
- This is useful when using canary versions of Ember to enable
5
- feature flags before Ember itself is loaded.
6
-
7
- See the feature flags guide for details:
8
-
9
- http://emberjs.com/guides/configuring-ember/feature-flags/
10
- */
11
-
12
- window.ENV = {};