ember-appkit-rails 0.1.2 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (162) hide show
  1. checksums.yaml +4 -4
  2. data/MIT-LICENSE +1 -1
  3. data/Rakefile +31 -6
  4. data/app/assets/javascripts/templates/application.hbs +7 -0
  5. data/app/controllers/landing_controller.rb +5 -0
  6. data/lib/ember-appkit-rails.rb +9 -0
  7. data/lib/ember/appkit.rb +5 -0
  8. data/lib/ember/appkit/rails.rb +4 -4
  9. data/lib/ember/appkit/rails/engine.rb +37 -9
  10. data/lib/ember/appkit/rails/resource_override.rb +14 -0
  11. data/lib/ember/appkit/rails/sprockets.rb +4 -0
  12. data/lib/ember/appkit/rails/sprockets/directive_processor.rb +9 -0
  13. data/lib/ember/appkit/rails/sprockets/processed_asset.rb +27 -0
  14. data/lib/ember/appkit/rails/version.rb +1 -1
  15. data/lib/generators/ember/bootstrap_generator.rb +58 -19
  16. data/lib/generators/ember/component_generator.rb +2 -4
  17. data/lib/generators/ember/controller_generator.rb +1 -3
  18. data/lib/generators/ember/generator_helpers.rb +18 -10
  19. data/lib/generators/ember/helper_generator.rb +17 -0
  20. data/lib/generators/ember/model_generator.rb +3 -4
  21. data/lib/generators/ember/resource_generator.rb +13 -1
  22. data/lib/generators/ember/route_generator.rb +1 -2
  23. data/lib/generators/ember/scaffold_generator.rb +52 -0
  24. data/lib/generators/ember/template_generator.rb +1 -2
  25. data/lib/generators/ember/view_generator.rb +1 -4
  26. data/lib/generators/templates/adapter.js +3 -0
  27. data/lib/generators/templates/application.js.erb +11 -0
  28. data/lib/generators/templates/array_controller.js.es6 +1 -3
  29. data/lib/generators/templates/component.js.es6 +1 -1
  30. data/lib/generators/templates/controller.js.es6 +1 -2
  31. data/{test/dummy/app/utils → lib/generators/templates}/csrf.js +0 -0
  32. data/lib/generators/templates/environment.js +12 -0
  33. data/{test/dummy/app/views/application/show.html → lib/generators/templates/environments/development.js} +0 -0
  34. data/lib/generators/templates/environments/production.js +0 -0
  35. data/lib/generators/templates/environments/test.js +0 -0
  36. data/lib/generators/templates/helper.js +2 -0
  37. data/lib/generators/templates/model.js.es6 +1 -1
  38. data/lib/generators/templates/object_controller.js.es6 +1 -3
  39. data/lib/generators/templates/route.js.es6 +1 -2
  40. data/lib/generators/templates/router.js.es6 +1 -2
  41. data/lib/generators/templates/scaffold/route/edit.js.es6 +22 -0
  42. data/lib/generators/templates/scaffold/route/index.js.es6 +5 -0
  43. data/lib/generators/templates/scaffold/route/new.js.es6 +23 -0
  44. data/lib/generators/templates/scaffold/route/show.js.es6 +14 -0
  45. data/lib/generators/templates/scaffold/template.hbs +3 -0
  46. data/lib/generators/templates/scaffold/template/edit.hbs +3 -0
  47. data/lib/generators/templates/scaffold/template/form.hbs +9 -0
  48. data/lib/generators/templates/scaffold/template/index.hbs +20 -0
  49. data/lib/generators/templates/scaffold/template/new.hbs +3 -0
  50. data/lib/generators/templates/scaffold/template/show.hbs +9 -0
  51. data/lib/generators/templates/template.hbs +0 -5
  52. data/lib/generators/templates/view.js.es6 +1 -2
  53. data/test/dummy/Gemfile +40 -0
  54. data/test/dummy/config/adapter.js +3 -0
  55. data/test/dummy/config/application.js +11 -0
  56. data/test/dummy/config/application.rb +24 -8
  57. data/test/dummy/config/boot.rb +1 -2
  58. data/test/dummy/config/environment.js +12 -0
  59. data/test/dummy/config/environments/development.js +0 -0
  60. data/test/dummy/config/environments/development.rb +1 -3
  61. data/test/dummy/config/environments/production.js +0 -0
  62. data/test/dummy/config/environments/test.js +0 -0
  63. data/test/dummy/config/environments/test.rb +1 -1
  64. data/test/dummy/config/initializers/csrf.js +9 -0
  65. data/test/dummy/config/initializers/secret_token.rb +1 -1
  66. data/test/dummy/config/initializers/wrap_parameters.rb +0 -5
  67. data/test/dummy/{app/assets/javascripts → config}/router.js.es6 +1 -2
  68. data/test/dummy/config/routes.rb +55 -2
  69. data/test/dummy/log/test.log +14 -175
  70. data/test/dummy/public/robots.txt +5 -0
  71. data/test/dummy/tmp/Gemfile +45 -0
  72. data/test/dummy/{app → tmp/app}/assets/javascripts/application.js +3 -1
  73. data/test/dummy/tmp/app/assets/javascripts/custom/application.js +16 -0
  74. data/test/dummy/tmp/app/templates/post.hbs +0 -0
  75. data/test/dummy/tmp/app/views/layouts/application.html.erb +14 -0
  76. data/test/dummy/tmp/cache/assets/test/sprockets/07afa5d8ceda557642e2330ab45eb203 +0 -0
  77. data/test/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  78. data/test/dummy/tmp/cache/assets/test/sprockets/1f15c49a05b13c3a7ee50d2ac3900f38 +0 -0
  79. data/test/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  80. data/test/dummy/tmp/cache/assets/test/sprockets/4a1d4e32cd7b9fd1c62bfd553ae56051 +0 -0
  81. data/test/dummy/tmp/cache/assets/test/sprockets/660bc633c8899c6c1b20514637fa0169 +0 -0
  82. data/test/dummy/tmp/cache/assets/test/sprockets/67afcba9807cd5e57b80b5fdf9f26758 +0 -0
  83. data/test/dummy/tmp/cache/assets/test/sprockets/6870da13c3305651063dc22ccce27d5c +0 -0
  84. data/test/dummy/tmp/cache/assets/test/sprockets/7ca4966e0a480430a858a7ab74518c75 +0 -0
  85. data/test/dummy/tmp/cache/assets/test/sprockets/827fafc13575b345cc572fd041ef1fba +0 -0
  86. data/test/dummy/tmp/cache/assets/test/sprockets/83af35bb6b852de883a26a9458fd4e3a +0 -0
  87. data/test/dummy/tmp/cache/assets/test/sprockets/8ebc8c58233ab12eee6edfc0feca2492 +0 -0
  88. data/test/dummy/tmp/cache/assets/test/sprockets/9160f792acb62d1f7721c714681fcfe6 +0 -0
  89. data/test/dummy/tmp/cache/assets/test/sprockets/a2f615309ade94c14ae81d7ebc94fd67 +0 -0
  90. data/test/dummy/tmp/cache/assets/test/sprockets/a9648a765fed0738b076bd24099109a3 +0 -0
  91. data/test/dummy/tmp/cache/assets/test/sprockets/ae884a1acda0e6f9bb27a856a22bb08d +0 -0
  92. data/test/dummy/tmp/cache/assets/test/sprockets/bb4a2293175928af3e23c47488077098 +0 -0
  93. data/test/dummy/tmp/cache/assets/test/sprockets/bf689240392e7355c0de5cfd47272146 +0 -0
  94. data/test/dummy/tmp/cache/assets/test/sprockets/c8c4c1b316845f30168739b5795846d6 +0 -0
  95. data/test/dummy/tmp/cache/assets/test/sprockets/{2f5173deea6c795b8fdde723bb4b63af → d5a48c6656341c56cac8a8e42bb925a5} +0 -0
  96. data/test/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  97. data/test/dummy/tmp/cache/assets/test/sprockets/{cffd775d018f68ce5dba1ee0d951a994 → de0932670a6c856bc6eda1586fd29061} +0 -0
  98. data/test/dummy/tmp/cache/assets/test/sprockets/de94a60b438eb5bf57653f3a220acd80 +0 -0
  99. data/test/dummy/tmp/cache/assets/test/sprockets/e22019b3c13c20bc08e899fb2b7248ea +0 -0
  100. data/test/dummy/tmp/cache/assets/test/sprockets/e9abb671d48f6ff2be6ffb463ea652bf +0 -0
  101. data/test/dummy/tmp/cache/assets/test/sprockets/eeb5bd38d1dad0d908461fd114f702bc +0 -0
  102. data/test/dummy/tmp/cache/assets/test/sprockets/fde9e78f8d55a70f4ef757638fc6cde0 +0 -0
  103. data/test/dummy/tmp/cache/assets/test/sprockets/fdfac6623944c5a23737724cbd90e58e +0 -0
  104. data/test/dummy/tmp/ember-rails/ember-data.js +3787 -5850
  105. data/test/dummy/tmp/generator_test_output/Gemfile +45 -0
  106. data/test/dummy/tmp/generator_test_output/app/assets/javascripts/application.js +16 -0
  107. data/test/dummy/tmp/generator_test_output/app/assets/javascripts/custom/application.js +16 -0
  108. data/test/dummy/tmp/generator_test_output/app/views/layouts/application.html.erb +14 -0
  109. data/test/dummy/tmp/generator_test_output/app/views/post.js.es6 +2 -0
  110. data/test/fixtures/rails_4-0-0_Gemfile +45 -0
  111. data/test/fixtures/rails_4-0-0_application.js +16 -0
  112. data/test/fixtures/rails_4-0-0_application_layout +14 -0
  113. data/test/generators/bootstrap_generator_test.rb +72 -17
  114. data/test/generators/component_generator_test.rb +13 -20
  115. data/test/generators/controller_generator_test.rb +7 -18
  116. data/test/generators/helper_generator_test.rb +16 -0
  117. data/test/generators/model_generator_test.rb +7 -14
  118. data/test/generators/resource_generator_test.rb +12 -11
  119. data/test/generators/resource_override_test.rb +29 -0
  120. data/test/generators/route_generator_test.rb +1 -9
  121. data/test/generators/scaffold_generator_test.rb +48 -0
  122. data/test/generators/template_generator_test.rb +4 -10
  123. data/test/generators/view_generator_test.rb +11 -18
  124. data/test/integration/navigation_test.rb +11 -3
  125. data/test/support/generator_test_support.rb +59 -18
  126. data/test/support/integration_test_support.rb +12 -0
  127. data/vendor/assets/javascripts/app.js.es6.erb +27 -0
  128. data/vendor/assets/javascripts/ember-appkit/index.js +1 -0
  129. data/vendor/assets/javascripts/ember-appkit/resolver.js +13 -9
  130. metadata +133 -90
  131. data/lib/generators/templates/application.js +0 -2
  132. data/lib/generators/templates/ember-app.js.es6 +0 -15
  133. data/test/dummy/app/assets/javascripts/components/my-component.js.es6 +0 -4
  134. data/test/dummy/app/assets/javascripts/controllers/index.js.es6 +0 -7
  135. data/test/dummy/app/assets/javascripts/ember-app.js +0 -9
  136. data/test/dummy/app/assets/javascripts/models/person.js.es6 +0 -3
  137. data/test/dummy/app/assets/javascripts/routes/index.js.es6 +0 -13
  138. data/test/dummy/app/assets/javascripts/templates/application.hbs +0 -2
  139. data/test/dummy/app/assets/javascripts/templates/components/my-component.hbs +0 -1
  140. data/test/dummy/app/assets/javascripts/templates/index.hbs +0 -6
  141. data/test/dummy/tmp/app/assets/javascripts/templates/post.hbs +0 -5
  142. data/test/dummy/tmp/cache/assets/test/sprockets/19c9bc7dbf67a891e93c7a663a62ff1c +0 -0
  143. data/test/dummy/tmp/cache/assets/test/sprockets/22d5df6f378a04858f2123ee6e176ff1 +0 -0
  144. data/test/dummy/tmp/cache/assets/test/sprockets/30e6b42a491dc4952ff020137405d502 +0 -0
  145. data/test/dummy/tmp/cache/assets/test/sprockets/331122f2f78d79778408023cf5bad1e3 +0 -0
  146. data/test/dummy/tmp/cache/assets/test/sprockets/34b3026e7f937c6a19a0aee7f8451aad +0 -0
  147. data/test/dummy/tmp/cache/assets/test/sprockets/36b770b8db4bb47ce9c524d7104be2e9 +0 -0
  148. data/test/dummy/tmp/cache/assets/test/sprockets/4bde569e155e5abfc2bc79bb61721688 +0 -0
  149. data/test/dummy/tmp/cache/assets/test/sprockets/720ee922899be7948cc2a8b27660ce0b +0 -0
  150. data/test/dummy/tmp/cache/assets/test/sprockets/7689ffe6d7c831ee178e07106482b2cc +0 -0
  151. data/test/dummy/tmp/cache/assets/test/sprockets/7bf1770d3a1c8bc1b59a4bc89d5c4bca +0 -0
  152. data/test/dummy/tmp/cache/assets/test/sprockets/7d008b32a16b10ea72ea849f47d9a095 +0 -0
  153. data/test/dummy/tmp/cache/assets/test/sprockets/8e9feb35d7e388f760d17aaf89b32731 +0 -0
  154. data/test/dummy/tmp/cache/assets/test/sprockets/b3a5b51571520b61f892c51e979b9f53 +0 -0
  155. data/test/dummy/tmp/cache/assets/test/sprockets/c0bb6b15bdd48873e96974816e18abe9 +0 -0
  156. data/test/dummy/tmp/cache/assets/test/sprockets/e2a67ad17895f7711966ca1a5ff7af86 +0 -0
  157. data/test/dummy/tmp/cache/assets/test/sprockets/e44f5ebcd8f42995512e64b96b63c9cf +0 -0
  158. data/test/dummy/tmp/cache/assets/test/sprockets/e8aa57b28c86586b8b7344feb891c43f +0 -0
  159. data/test/dummy/tmp/cache/assets/test/sprockets/ed5238112abbfd6a794a100804365903 +0 -0
  160. data/test/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  161. data/test/dummy/tmp/generator_test_output/app/assets/javascripts/views/post.js.es6 +0 -3
  162. data/vendor/assets/javascripts/app.js.es6 +0 -13
@@ -1,14 +1,30 @@
1
1
  require File.expand_path('../boot', __FILE__)
2
2
 
3
- require 'action_controller/railtie'
4
- require 'sprockets/railtie'
5
- require 'rails/test_unit/railtie'
3
+ # Pick the frameworks you want:
4
+ # require "active_record/railtie"
5
+ require "action_controller/railtie"
6
+ require "action_mailer/railtie"
7
+ require "sprockets/railtie"
8
+ require "rails/test_unit/railtie"
6
9
 
7
- Bundler.require(*Rails.groups)
8
- require 'ember/appkit/rails'
9
- require 'jquery-rails'
10
+ # Require the gems listed in Gemfile, including any gems
11
+ # you've limited to :test, :development, or :production.
12
+ Bundler.require(:default, Rails.env)
10
13
 
14
+ require 'jquery-rails'
15
+ require 'ember-appkit-rails'
11
16
  module Dummy
12
- class Application < Rails::Application; end
13
- end
17
+ class Application < Rails::Application
18
+ # Settings in config/environments/* take precedence over those specified here.
19
+ # Application configuration should go into files in config/initializers
20
+ # -- all .rb files in that directory are automatically loaded.
14
21
 
22
+ # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
23
+ # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
24
+ # config.time_zone = 'Central Time (US & Canada)'
25
+
26
+ # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
27
+ # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
28
+ # config.i18n.default_locale = :de
29
+ end
30
+ end
@@ -1,5 +1,4 @@
1
1
  # Set up gems listed in the Gemfile.
2
- ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../../../Gemfile', __FILE__)
2
+ ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
3
3
 
4
4
  require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE'])
5
- $LOAD_PATH.unshift File.expand_path('../../../../lib', __FILE__)
@@ -0,0 +1,12 @@
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 = {};
File without changes
@@ -14,13 +14,11 @@ Dummy::Application.configure do
14
14
  config.action_controller.perform_caching = false
15
15
 
16
16
  # Don't care if the mailer can't send.
17
- # config.action_mailer.raise_delivery_errors = false
17
+ config.action_mailer.raise_delivery_errors = false
18
18
 
19
19
  # Print deprecation notices to the Rails logger.
20
20
  config.active_support.deprecation = :log
21
21
 
22
- # Raise an error on page load if there are pending migrations
23
- # config.active_record.migration_error = :page_load
24
22
 
25
23
  # Debug mode disables concatenation and preprocessing of assets.
26
24
  # This option may cause significant delays in view rendering with a large
File without changes
File without changes
@@ -29,7 +29,7 @@ Dummy::Application.configure do
29
29
  # Tell Action Mailer not to deliver emails to the real world.
30
30
  # The :test delivery method accumulates sent emails in the
31
31
  # ActionMailer::Base.deliveries array.
32
- # config.action_mailer.delivery_method = :test
32
+ config.action_mailer.delivery_method = :test
33
33
 
34
34
  # Print deprecation notices to the stderr.
35
35
  config.active_support.deprecation = :stderr
@@ -0,0 +1,9 @@
1
+ $.ajaxPrefilter(function(options, originalOptions, jqXHR) {
2
+ var token;
3
+ if (!options.crossDomain) {
4
+ token = $('meta[name="csrf-token"]').attr('content');
5
+ if (token) {
6
+ return jqXHR.setRequestHeader('X-CSRF-Token', token);
7
+ }
8
+ }
9
+ });
@@ -9,4 +9,4 @@
9
9
 
10
10
  # Make sure your secret_key_base is kept private
11
11
  # if you're sharing your code publicly.
12
- Dummy::Application.config.secret_key_base = 'ff1348db36e45616fc8965827d32e3b4e3660485671545431c637de6d646b47f94841f886504967e65b6bea8173cff8a8c66fea64a574c26115f162cac05327c'
12
+ Dummy::Application.config.secret_key_base = '55f0726230f3176d7bf0856d6633ba4fe02f3fd488396ccfec6cedd6f6fcaac7e8ff4e97dc8d8191699717a99458b3d530c6ce7374b0237d9d85d53729f637d8'
@@ -7,8 +7,3 @@
7
7
  ActiveSupport.on_load(:action_controller) do
8
8
  wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
9
9
  end
10
-
11
- # To enable root element in JSON for ActiveRecord objects.
12
- # ActiveSupport.on_load(:active_record) do
13
- # self.include_root_in_json = true
14
- # end
@@ -1,7 +1,6 @@
1
1
  var Router = Ember.Router.extend();
2
2
 
3
3
  Router.map(function() {
4
- this.route('about');
5
4
  });
6
5
 
7
- export default = Router;
6
+ export default Router;
@@ -1,3 +1,56 @@
1
- Rails.application.routes.draw do
2
- root 'application#show'
1
+ Dummy::Application.routes.draw do
2
+ # The priority is based upon order of creation: first created -> highest priority.
3
+ # See how all your routes lay out with "rake routes".
4
+
5
+ # You can have the root of your site routed with "root"
6
+ # root 'welcome#index'
7
+
8
+ # Example of regular route:
9
+ # get 'products/:id' => 'catalog#view'
10
+
11
+ # Example of named route that can be invoked with purchase_url(id: product.id)
12
+ # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
13
+
14
+ # Example resource route (maps HTTP verbs to controller actions automatically):
15
+ # resources :products
16
+
17
+ # Example resource route with options:
18
+ # resources :products do
19
+ # member do
20
+ # get 'short'
21
+ # post 'toggle'
22
+ # end
23
+ #
24
+ # collection do
25
+ # get 'sold'
26
+ # end
27
+ # end
28
+
29
+ # Example resource route with sub-resources:
30
+ # resources :products do
31
+ # resources :comments, :sales
32
+ # resource :seller
33
+ # end
34
+
35
+ # Example resource route with more complex sub-resources:
36
+ # resources :products do
37
+ # resources :comments
38
+ # resources :sales do
39
+ # get 'recent', on: :collection
40
+ # end
41
+ # end
42
+
43
+ # Example resource route with concerns:
44
+ # concern :toggleable do
45
+ # post 'toggle'
46
+ # end
47
+ # resources :posts, concerns: :toggleable
48
+ # resources :photos, concerns: :toggleable
49
+
50
+ # Example resource route within a namespace:
51
+ # namespace :admin do
52
+ # # Directs /admin/products/* to Admin::ProductsController
53
+ # # (app/controllers/admin/products_controller.rb)
54
+ # resources :products
55
+ # end
3
56
  end
@@ -1,22 +1,13 @@
1
1
  -----------------------------------------------------------------------------------------
2
2
  BootstrapGeneratorTest: test_Assert_folder_layout_and_.gitkeep_files_are_properly_created
3
3
  -----------------------------------------------------------------------------------------
4
- ------------------------------------------------------
5
- BootstrapGeneratorTest: test_Does_not_add_jquery_twice
6
- ------------------------------------------------------
7
4
  -----------------------------------------------------------------
8
5
  BootstrapGeneratorTest: test_Does_not_error_if_Gemfile_is_missing
9
6
  -----------------------------------------------------------------
10
- -------------------------------------------------------------------
11
- BootstrapGeneratorTest: test_Leaves_jquery-ujs_if_--leave-jqueryujs
12
- -------------------------------------------------------------------
13
7
  --------------------------------------------------------------------
14
- BootstrapGeneratorTest: test_Leaves_turbolinks_if_--leave-turbolinks
8
+ BootstrapGeneratorTest: test_Removed_app/assets/javascript_directory
15
9
  --------------------------------------------------------------------
16
10
  -----------------------------------------------
17
- BootstrapGeneratorTest: test_Removes_jquery-ujs
18
- -----------------------------------------------
19
- -----------------------------------------------
20
11
  BootstrapGeneratorTest: test_Removes_turbolinks
21
12
  -----------------------------------------------
22
13
  -------------------------------------------------------
@@ -28,9 +19,12 @@ BootstrapGeneratorTest: test_Uses_config.ember.appkit.paths.app
28
19
  ---------------------------------------------
29
20
  BootstrapGeneratorTest: test_create_bootstrap
30
21
  ---------------------------------------------
31
- ------------------------------------------------------------------
32
- BootstrapGeneratorTest: test_create_bootstrap_with_and_custom_path
33
- ------------------------------------------------------------------
22
+ ----------------------------------------------------------------------
23
+ BootstrapGeneratorTest: test_create_bootstrap_with_and_custom_app_path
24
+ ----------------------------------------------------------------------
25
+ -------------------------------------------------------------------------
26
+ BootstrapGeneratorTest: test_create_bootstrap_with_and_custom_config_path
27
+ -------------------------------------------------------------------------
34
28
  ------------------------------------------------------------------
35
29
  BootstrapGeneratorTest: test_create_bootstrap_with_custom_app_name
36
30
  ------------------------------------------------------------------
@@ -40,9 +34,6 @@ ComponentGeneratorTest: test_Assert_files_are_properly_created_(CamelCase)
40
34
  ---------------------------------------------------------------------------
41
35
  ComponentGeneratorTest: test_Assert_files_are_properly_created_(lower-case)
42
36
  ---------------------------------------------------------------------------
43
- -------------------------------------------------------------------------------
44
- ComponentGeneratorTest: test_Assert_files_are_properly_created_with_custom_path
45
- -------------------------------------------------------------------------------
46
37
  -----------------------------------------------------------------------------------------
47
38
  ComponentGeneratorTest: test_Assert_object_names_are_properly_created_with_CamelCase_name
48
39
  -----------------------------------------------------------------------------------------
@@ -58,9 +49,6 @@ ComponentGeneratorTest: test_default_component
58
49
  ---------------------------------------------------------------
59
50
  ControllerGeneratorTest: test_Assert_files_are_properly_created
60
51
  ---------------------------------------------------------------
61
- --------------------------------------------------------------------------------
62
- ControllerGeneratorTest: test_Assert_files_are_properly_created_with_custom_path
63
- --------------------------------------------------------------------------------
64
52
  ----------------------------------------------------------------
65
53
  ControllerGeneratorTest: test_Uses_config.ember.appkit.paths.app
66
54
  ----------------------------------------------------------------
@@ -79,9 +67,6 @@ HelperGeneratorTest: test_Generates_helper_correctly
79
67
  ----------------------------------------------------------
80
68
  ModelGeneratorTest: test_Assert_files_are_properly_created
81
69
  ----------------------------------------------------------
82
- ---------------------------------------------------------------------------
83
- ModelGeneratorTest: test_Assert_files_are_properly_created_with_custom_path
84
- ---------------------------------------------------------------------------
85
70
  -----------------------------------------------------------
86
71
  ModelGeneratorTest: test_Uses_config.ember.appkit.paths.app
87
72
  -----------------------------------------------------------
@@ -118,15 +103,9 @@ ResourceOverrideTest: test_create_template_without_ember
118
103
  ----------------------------------------------------------
119
104
  RouteGeneratorTest: test_Assert_files_are_properly_created
120
105
  ----------------------------------------------------------
121
- ---------------------------------------------------------------------------
122
- RouteGeneratorTest: test_Assert_files_are_properly_created_with_custom_path
123
- ---------------------------------------------------------------------------
124
106
  -------------------------------------------
125
107
  ScaffoldGeneratorTest: test_create_template
126
108
  -------------------------------------------
127
- ------------------------------------------------------------------------------
128
- TemplateGeneratorTest: test_Assert_files_are_properly_created_with_custom_path
129
- ------------------------------------------------------------------------------
130
109
  --------------------------------------------------------------
131
110
  TemplateGeneratorTest: test_Uses_config.ember.appkit.paths.app
132
111
  --------------------------------------------------------------
@@ -136,9 +115,6 @@ TemplateGeneratorTest: test_generates_template
136
115
  ---------------------------------------------------------
137
116
  ViewGeneratorTest: test_Assert_files_are_properly_created
138
117
  ---------------------------------------------------------
139
- --------------------------------------------------------------------------
140
- ViewGeneratorTest: test_Assert_files_are_properly_created_with_custom_path
141
- --------------------------------------------------------------------------
142
118
  ----------------------------------------------------------
143
119
  ViewGeneratorTest: test_Uses_config.ember.appkit.paths.app
144
120
  ----------------------------------------------------------
@@ -157,154 +133,17 @@ ViewGeneratorTest: test_create_view_without_a_template
157
133
  ----------------------------------------------------
158
134
  NavigationTest: test_can_render_default_landing_page
159
135
  ----------------------------------------------------
160
- Started GET "/" for 127.0.0.1 at 2013-11-28 03:37:44 -0500
136
+ Started GET "/" for 127.0.0.1 at 2013-11-29 20:29:41 -0500
161
137
  Processing by LandingController#index as HTML
162
138
  Rendered inline template within layouts/application (0.8ms)
163
- Completed 200 OK in 342ms (Views: 341.4ms)
164
- Started GET "/assets/application.css" for 127.0.0.1 at 2013-11-28 03:37:45 -0500
165
- Started GET "/assets/application.js" for 127.0.0.1 at 2013-11-28 03:37:45 -0500
139
+ Completed 200 OK in 358ms (Views: 358.0ms)
140
+ Started GET "/assets/application.css" for 127.0.0.1 at 2013-11-29 20:29:41 -0500
141
+ Started GET "/assets/application.js" for 127.0.0.1 at 2013-11-29 20:29:41 -0500
166
142
  ---------------------------------------------------
167
143
  NavigationTest: test_can_using_simple_"ember_magic"
168
144
  ---------------------------------------------------
169
- Started GET "/" for 127.0.0.1 at 2013-11-28 03:37:45 -0500
145
+ Started GET "/" for 127.0.0.1 at 2013-11-29 20:29:41 -0500
170
146
  Processing by LandingController#index as HTML
171
147
  Completed 200 OK in 1ms (Views: 1.3ms)
172
- Started GET "/assets/application.js" for 127.0.0.1 at 2013-11-28 03:37:45 -0500
173
- -----------------------------------------------------------------------------------------
174
- BootstrapGeneratorTest: test_Assert_folder_layout_and_.gitkeep_files_are_properly_created
175
- -----------------------------------------------------------------------------------------
176
- -------------------------------------------------------
177
- BootstrapGeneratorTest: test_Uses_config.ember.app_name
178
- -------------------------------------------------------
179
- ---------------------------------------------------------
180
- BootstrapGeneratorTest: test_Uses_config.ember.ember_path
181
- ---------------------------------------------------------
182
- ---------------------------------------------
183
- BootstrapGeneratorTest: test_create_bootstrap
184
- ---------------------------------------------
185
- ------------------------------------------------------------------
186
- BootstrapGeneratorTest: test_create_bootstrap_with_and_custom_path
187
- ------------------------------------------------------------------
188
- ------------------------------------------------------------------
189
- BootstrapGeneratorTest: test_create_bootstrap_with_custom_app_name
190
- ------------------------------------------------------------------
191
- --------------------------------------------------------------------------
192
- ComponentGeneratorTest: test_Assert_files_are_properly_created_(CamelCase)
193
- --------------------------------------------------------------------------
194
- ---------------------------------------------------------------------------
195
- ComponentGeneratorTest: test_Assert_files_are_properly_created_(lower-case)
196
- ---------------------------------------------------------------------------
197
- -------------------------------------------------------------------------------
198
- ComponentGeneratorTest: test_Assert_files_are_properly_created_with_custom_path
199
- -------------------------------------------------------------------------------
200
- -----------------------------------------------------------------------------------------
201
- ComponentGeneratorTest: test_Assert_object_names_are_properly_created_with_CamelCase_name
202
- -----------------------------------------------------------------------------------------
203
- ------------------------------------------------------------------------------------------
204
- ComponentGeneratorTest: test_Assert_object_names_are_properly_created_with_lower-case_name
205
- ------------------------------------------------------------------------------------------
206
- ---------------------------------------------------------
207
- ComponentGeneratorTest: test_Uses_config.ember.ember_path
208
- ---------------------------------------------------------
209
- ----------------------------------------------
210
- ComponentGeneratorTest: test_default_component
211
- ----------------------------------------------
212
- ---------------------------------------------------------------
213
- ControllerGeneratorTest: test_Assert_files_are_properly_created
214
- ---------------------------------------------------------------
215
- --------------------------------------------------------------------------------
216
- ControllerGeneratorTest: test_Assert_files_are_properly_created_with_custom_path
217
- --------------------------------------------------------------------------------
218
- ----------------------------------------------------------
219
- ControllerGeneratorTest: test_Uses_config.ember.ember_path
220
- ----------------------------------------------------------
221
- ----------------------------------------------
222
- ControllerGeneratorTest: test_array_controller
223
- ----------------------------------------------
224
- ------------------------------------------------
225
- ControllerGeneratorTest: test_default_controller
226
- ------------------------------------------------
227
- -----------------------------------------------------------
228
- ControllerGeneratorTest: test_default_controller_namespaced
229
- -----------------------------------------------------------
230
- -----------------------------------------------
231
- ControllerGeneratorTest: test_object_controller
232
- -----------------------------------------------
233
- ----------------------------------------------------------
234
- ModelGeneratorTest: test_Assert_files_are_properly_created
235
- ----------------------------------------------------------
236
- ---------------------------------------------------------------------------
237
- ModelGeneratorTest: test_Assert_files_are_properly_created_with_custom_path
238
- ---------------------------------------------------------------------------
239
- -----------------------------------------------------
240
- ModelGeneratorTest: test_Uses_config.ember.ember_path
241
- -----------------------------------------------------
242
- -------------------------------------
243
- ModelGeneratorTest: test_create_model
244
- -------------------------------------
245
- ------------------------------------------------
246
- ModelGeneratorTest: test_create_namespaced_model
247
- ------------------------------------------------
248
- ---------------------------------------------------------------------------
249
- ModelGeneratorTest: test_leave_parentheses_when_create_model_w/o_attributes
250
- ---------------------------------------------------------------------------
251
- --------------------------------------------------------
252
- ResourceGeneratorTest: test_Uses_config.ember.ember_path
253
- --------------------------------------------------------
254
- ---------------------------------------------
255
- ResourceGeneratorTest: test_create_controller
256
- ---------------------------------------------
257
- ----------------------------------------
258
- ResourceGeneratorTest: test_create_route
259
- ----------------------------------------
260
- -------------------------------------------
261
- ResourceGeneratorTest: test_create_template
262
- -------------------------------------------
263
- --------------------------------------
264
- ResourceGeneratorTest: test_skip_route
265
- --------------------------------------
266
- ----------------------------------------------------------
267
- RouteGeneratorTest: test_Assert_files_are_properly_created
268
- ----------------------------------------------------------
269
- ---------------------------------------------------------------------------
270
- RouteGeneratorTest: test_Assert_files_are_properly_created_with_custom_path
271
- ---------------------------------------------------------------------------
272
- ------------------------------------------------------------------------------
273
- TemplateGeneratorTest: test_Assert_files_are_properly_created_with_custom_path
274
- ------------------------------------------------------------------------------
275
- --------------------------------------------------------
276
- TemplateGeneratorTest: test_Uses_config.ember.ember_path
277
- --------------------------------------------------------
278
- ----------------------------------------------
279
- TemplateGeneratorTest: test_generates_template
280
- ----------------------------------------------
281
- ---------------------------------------------------------
282
- ViewGeneratorTest: test_Assert_files_are_properly_created
283
- ---------------------------------------------------------
284
- --------------------------------------------------------------------------
285
- ViewGeneratorTest: test_Assert_files_are_properly_created_with_custom_path
286
- --------------------------------------------------------------------------
287
- ----------------------------------------------------
288
- ViewGeneratorTest: test_Uses_config.ember.ember_path
289
- ----------------------------------------------------
290
- ----------------------------------------------
291
- ViewGeneratorTest: test_create_namespaced_view
292
- ----------------------------------------------
293
- --------------------------------------------------------------------------
294
- ViewGeneratorTest: test_create_view_and_template_(using_ember-rails_flags)
295
- --------------------------------------------------------------------------
296
- ------------------------------------------------------------
297
- ViewGeneratorTest: test_create_view_with_template_by_default
298
- ------------------------------------------------------------
299
- ------------------------------------------------------
300
- ViewGeneratorTest: test_create_view_without_a_template
301
- ------------------------------------------------------
302
- -----------------------------------------
303
- NavigationTest: test_can_render_home_page
304
- -----------------------------------------
305
- Started GET "/" for 127.0.0.1 at 2013-11-28 13:05:39 -0500
306
- Processing by ApplicationController#show as HTML
307
- Rendered application/show.html within layouts/application (1.1ms)
308
- Completed 200 OK in 669ms (Views: 669.1ms)
309
- Started GET "/assets/application.css" for 127.0.0.1 at 2013-11-28 13:05:39 -0500
310
- Started GET "/assets/application.js" for 127.0.0.1 at 2013-11-28 13:05:39 -0500
148
+ Started GET "/assets/application.css" for 127.0.0.1 at 2013-11-29 20:29:41 -0500
149
+ Started GET "/assets/application.js" for 127.0.0.1 at 2013-11-29 20:29:41 -0500
@@ -0,0 +1,5 @@
1
+ # See http://www.robotstxt.org/wc/norobots.html for documentation on how to use the robots.txt file
2
+ #
3
+ # To ban all spiders from the entire site uncomment the next two lines:
4
+ # User-agent: *
5
+ # Disallow: /