chili 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (97) hide show
  1. data/.gitignore +6 -5
  2. data/README.md +28 -30
  3. data/Rakefile +2 -2
  4. data/bin/chili +1 -1
  5. data/lib/chili/tasks.rb +0 -4
  6. data/lib/chili/template.rb +15 -51
  7. data/lib/chili/version.rb +1 -1
  8. data/spec/bin/chili_spec.rb +9 -8
  9. data/spec/dummy/{main_app → example}/README.rdoc +0 -0
  10. data/spec/dummy/{main_app → example}/Rakefile +0 -0
  11. data/spec/dummy/{main_app → example}/app/assets/javascripts/application.js +0 -0
  12. data/spec/dummy/{chili_template/app/assets/stylesheets/chili_template → example/app/assets/stylesheets}/application.css +0 -0
  13. data/spec/dummy/{main_app → example}/app/assets/stylesheets/posts.css +0 -0
  14. data/spec/dummy/{main_app → example}/app/assets/stylesheets/scaffold.css +0 -0
  15. data/spec/dummy/{main_app → example}/app/assets/stylesheets/users.css +0 -0
  16. data/spec/dummy/{main_app → example}/app/controllers/application_controller.rb +0 -0
  17. data/spec/dummy/{main_app → example}/app/controllers/posts_controller.rb +0 -0
  18. data/spec/dummy/{main_app → example}/app/controllers/users_controller.rb +0 -0
  19. data/spec/dummy/{main_app → example}/app/helpers/application_helper.rb +0 -0
  20. data/spec/dummy/{main_app → example}/app/helpers/posts_helper.rb +0 -0
  21. data/spec/dummy/{main_app → example}/app/helpers/users_helper.rb +0 -0
  22. data/spec/dummy/{chili_social/app/assets/images/chili_social → example/app/mailers}/.gitkeep +0 -0
  23. data/spec/dummy/{chili_template/app/assets/images/chili_template → example/app/models}/.gitkeep +0 -0
  24. data/spec/dummy/{main_app → example}/app/models/post.rb +0 -0
  25. data/spec/dummy/{main_app → example}/app/models/user.rb +0 -0
  26. data/spec/dummy/{main_app → example}/app/views/layouts/application.html.erb +0 -0
  27. data/spec/dummy/{main_app → example}/app/views/posts/_form.html.erb +0 -0
  28. data/spec/dummy/{main_app → example}/app/views/posts/_post.html.erb +0 -0
  29. data/spec/dummy/{main_app → example}/app/views/posts/edit.html.erb +0 -0
  30. data/spec/dummy/{main_app → example}/app/views/posts/index.html.erb +0 -0
  31. data/spec/dummy/{main_app → example}/app/views/posts/new.html.erb +0 -0
  32. data/spec/dummy/{main_app → example}/app/views/posts/show.html.erb +0 -0
  33. data/spec/dummy/{main_app → example}/app/views/users/_form.html.erb +0 -0
  34. data/spec/dummy/{main_app → example}/app/views/users/edit.html.erb +0 -0
  35. data/spec/dummy/{main_app → example}/app/views/users/index.html.erb +0 -0
  36. data/spec/dummy/{main_app → example}/app/views/users/new.html.erb +0 -0
  37. data/spec/dummy/{main_app → example}/app/views/users/show.html.erb +0 -0
  38. data/spec/dummy/{main_app → example}/config.ru +0 -0
  39. data/spec/dummy/{main_app → example}/config/application.rb +0 -0
  40. data/spec/dummy/{main_app → example}/config/boot.rb +1 -1
  41. data/spec/dummy/{main_app → example}/config/database.yml +0 -0
  42. data/spec/dummy/{main_app → example}/config/environment.rb +0 -0
  43. data/spec/dummy/{main_app → example}/config/environments/development.rb +0 -0
  44. data/spec/dummy/{main_app → example}/config/environments/production.rb +0 -0
  45. data/spec/dummy/{main_app → example}/config/environments/test.rb +0 -0
  46. data/spec/dummy/{main_app → example}/config/initializers/backtrace_silencers.rb +0 -0
  47. data/spec/dummy/{main_app → example}/config/initializers/inflections.rb +0 -0
  48. data/spec/dummy/{main_app → example}/config/initializers/mime_types.rb +0 -0
  49. data/spec/dummy/{main_app → example}/config/initializers/secret_token.rb +0 -0
  50. data/spec/dummy/{main_app → example}/config/initializers/session_store.rb +0 -0
  51. data/spec/dummy/{main_app → example}/config/initializers/wrap_parameters.rb +0 -0
  52. data/spec/dummy/{main_app → example}/config/locales/en.yml +0 -0
  53. data/spec/dummy/{main_app → example}/config/routes.rb +0 -0
  54. data/spec/dummy/{main_app → example}/db/migrate/20120513023816_create_posts.rb +0 -0
  55. data/spec/dummy/{main_app → example}/db/migrate/20120513023840_create_users.rb +0 -0
  56. data/spec/dummy/{main_app → example}/db/migrate/20120513032032_create_chili_social_likes.chili_likes.rb +0 -0
  57. data/spec/dummy/{main_app → example}/db/schema.rb +0 -0
  58. data/spec/dummy/{main_app/app/mailers → example/lib/assets}/.gitkeep +0 -0
  59. data/spec/dummy/{main_app/app/models → example/log}/.gitkeep +0 -0
  60. data/spec/dummy/{main_app → example}/public/404.html +0 -0
  61. data/spec/dummy/{main_app → example}/public/422.html +0 -0
  62. data/spec/dummy/{main_app → example}/public/500.html +0 -0
  63. data/spec/dummy/{main_app → example}/public/favicon.ico +0 -0
  64. data/spec/dummy/{main_app → example}/script/rails +0 -0
  65. data/spec/dummy/{main_app/lib/assets → example/vendor/chili_social/app/assets/images/chili_social}/.gitkeep +0 -0
  66. data/spec/dummy/{chili_social → example/vendor/chili_social}/app/assets/javascripts/chili_social/application.js +0 -0
  67. data/spec/dummy/{chili_social → example/vendor/chili_social}/app/assets/stylesheets/chili_social/application.css.scss +0 -0
  68. data/spec/dummy/{chili_social → example/vendor/chili_social}/app/controllers/chili_social/likes_controller.rb +0 -0
  69. data/spec/dummy/{chili_social → example/vendor/chili_social}/app/models/chili_social/like.rb +0 -0
  70. data/spec/dummy/{chili_social → example/vendor/chili_social}/app/models/chili_social/post.rb +0 -0
  71. data/spec/dummy/{chili_social → example/vendor/chili_social}/app/models/chili_social/user.rb +0 -0
  72. data/spec/dummy/{chili_social → example/vendor/chili_social}/app/overrides/layouts/application/stylesheets.html.erb.deface +0 -0
  73. data/spec/dummy/{chili_social → example/vendor/chili_social}/app/overrides/posts/_post/like_actions.html.erb.deface +0 -0
  74. data/spec/dummy/{chili_social → example/vendor/chili_social}/app/overrides/posts/index/disclaimer.html.erb.deface +0 -0
  75. data/spec/dummy/{chili_social → example/vendor/chili_social}/app/overrides/posts/index/like_links.html.erb.deface +0 -0
  76. data/spec/dummy/{chili_social → example/vendor/chili_social}/app/views/chili_social/likes/index.html.erb +0 -0
  77. data/spec/dummy/{chili_social → example/vendor/chili_social}/config/routes.rb +0 -0
  78. data/spec/dummy/{chili_social → example/vendor/chili_social}/db/migrate/20120513031021_create_chili_likes_likes.rb +0 -0
  79. data/spec/dummy/{chili_social → example/vendor/chili_social}/lib/chili_social.rb +0 -0
  80. data/spec/dummy/{chili_social → example/vendor/chili_social}/lib/chili_social/engine.rb +0 -0
  81. data/spec/dummy/{chili_template → template}/MIT-LICENSE +0 -0
  82. data/spec/dummy/{chili_template → template}/README.rdoc +0 -0
  83. data/spec/dummy/{main_app/log → template/app/assets/images/chili_template}/.gitkeep +0 -0
  84. data/spec/dummy/{chili_template → template}/app/assets/javascripts/chili_template/application.js +0 -0
  85. data/spec/dummy/{main_app/app/assets/stylesheets → template/app/assets/stylesheets/chili_template}/application.css +0 -0
  86. data/spec/dummy/{chili_template → template}/app/overrides/layouts/application/example.html.erb.deface +1 -1
  87. data/spec/dummy/{chili_template → template}/chili_template.gemspec +3 -3
  88. data/spec/dummy/{chili_template → template}/config/routes.rb +0 -0
  89. data/spec/dummy/{chili_template → template}/lib/chili_template.rb +0 -0
  90. data/spec/dummy/{chili_template → template}/lib/chili_template/engine.rb +0 -0
  91. data/spec/dummy/{chili_template → template}/lib/chili_template/version.rb +0 -0
  92. data/spec/dummy/{chili_template → template}/lib/tasks/chili_template_tasks.rake +0 -0
  93. data/spec/dummy/{chili_template → template}/script/rails +0 -0
  94. data/spec/spec_helper.rb +1 -1
  95. metadata +189 -228
  96. data/spec/dummy/chili_template/Rakefile +0 -6
  97. data/spec/dummy/chili_template/spec/spec_helper.rb +0 -11
@@ -1,6 +0,0 @@
1
- #!/usr/bin/env rake
2
- APP_RAKEFILE = File.expand_path("../main_app/Rakefile", __FILE__)
3
- require 'chili/tasks'
4
-
5
- # Default rake task to rspec
6
- task default: 'app:spec'
@@ -1,11 +0,0 @@
1
- ENV["RAILS_ENV"] ||= 'test'
2
- require File.expand_path("../../main_app/config/environment", __FILE__)
3
- require 'rspec/rails'
4
- require 'rspec/autorun'
5
-
6
- ENGINE_RAILS_ROOT=File.join(File.dirname(__FILE__), '../')
7
-
8
- # Requires supporting ruby files with custom matchers and macros, etc,
9
- # in spec/support/ and its subdirectories in both main app and the extension.
10
- Dir[Rails.root.join("spec/support/**/*.rb")].each {|f| require f }
11
- Dir[File.join(ENGINE_RAILS_ROOT, "spec/support/**/*.rb")].each {|f| require f }