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
@@ -1,3 +0,0 @@
1
- //= require handlebars.runtime
2
- //= require ember.prod
3
- //= require ember-data.prod
@@ -1,3 +0,0 @@
1
- //= require handlebars
2
- //= require ember
3
- //= require ember-data
@@ -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 = {};
@@ -1,3 +0,0 @@
1
- //= require handlebars.runtime
2
- //= require ember.prod
3
- //= require ember-data.prod
@@ -1,3 +0,0 @@
1
- //= require handlebars
2
- //= require ember
3
- //= require ember-data