chili 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +6 -5
- data/README.md +28 -30
- data/Rakefile +2 -2
- data/bin/chili +1 -1
- data/lib/chili/tasks.rb +0 -4
- data/lib/chili/template.rb +15 -51
- data/lib/chili/version.rb +1 -1
- data/spec/bin/chili_spec.rb +9 -8
- data/spec/dummy/{main_app → example}/README.rdoc +0 -0
- data/spec/dummy/{main_app → example}/Rakefile +0 -0
- data/spec/dummy/{main_app → example}/app/assets/javascripts/application.js +0 -0
- data/spec/dummy/{chili_template/app/assets/stylesheets/chili_template → example/app/assets/stylesheets}/application.css +0 -0
- data/spec/dummy/{main_app → example}/app/assets/stylesheets/posts.css +0 -0
- data/spec/dummy/{main_app → example}/app/assets/stylesheets/scaffold.css +0 -0
- data/spec/dummy/{main_app → example}/app/assets/stylesheets/users.css +0 -0
- data/spec/dummy/{main_app → example}/app/controllers/application_controller.rb +0 -0
- data/spec/dummy/{main_app → example}/app/controllers/posts_controller.rb +0 -0
- data/spec/dummy/{main_app → example}/app/controllers/users_controller.rb +0 -0
- data/spec/dummy/{main_app → example}/app/helpers/application_helper.rb +0 -0
- data/spec/dummy/{main_app → example}/app/helpers/posts_helper.rb +0 -0
- data/spec/dummy/{main_app → example}/app/helpers/users_helper.rb +0 -0
- data/spec/dummy/{chili_social/app/assets/images/chili_social → example/app/mailers}/.gitkeep +0 -0
- data/spec/dummy/{chili_template/app/assets/images/chili_template → example/app/models}/.gitkeep +0 -0
- data/spec/dummy/{main_app → example}/app/models/post.rb +0 -0
- data/spec/dummy/{main_app → example}/app/models/user.rb +0 -0
- data/spec/dummy/{main_app → example}/app/views/layouts/application.html.erb +0 -0
- data/spec/dummy/{main_app → example}/app/views/posts/_form.html.erb +0 -0
- data/spec/dummy/{main_app → example}/app/views/posts/_post.html.erb +0 -0
- data/spec/dummy/{main_app → example}/app/views/posts/edit.html.erb +0 -0
- data/spec/dummy/{main_app → example}/app/views/posts/index.html.erb +0 -0
- data/spec/dummy/{main_app → example}/app/views/posts/new.html.erb +0 -0
- data/spec/dummy/{main_app → example}/app/views/posts/show.html.erb +0 -0
- data/spec/dummy/{main_app → example}/app/views/users/_form.html.erb +0 -0
- data/spec/dummy/{main_app → example}/app/views/users/edit.html.erb +0 -0
- data/spec/dummy/{main_app → example}/app/views/users/index.html.erb +0 -0
- data/spec/dummy/{main_app → example}/app/views/users/new.html.erb +0 -0
- data/spec/dummy/{main_app → example}/app/views/users/show.html.erb +0 -0
- data/spec/dummy/{main_app → example}/config.ru +0 -0
- data/spec/dummy/{main_app → example}/config/application.rb +0 -0
- data/spec/dummy/{main_app → example}/config/boot.rb +1 -1
- data/spec/dummy/{main_app → example}/config/database.yml +0 -0
- data/spec/dummy/{main_app → example}/config/environment.rb +0 -0
- data/spec/dummy/{main_app → example}/config/environments/development.rb +0 -0
- data/spec/dummy/{main_app → example}/config/environments/production.rb +0 -0
- data/spec/dummy/{main_app → example}/config/environments/test.rb +0 -0
- data/spec/dummy/{main_app → example}/config/initializers/backtrace_silencers.rb +0 -0
- data/spec/dummy/{main_app → example}/config/initializers/inflections.rb +0 -0
- data/spec/dummy/{main_app → example}/config/initializers/mime_types.rb +0 -0
- data/spec/dummy/{main_app → example}/config/initializers/secret_token.rb +0 -0
- data/spec/dummy/{main_app → example}/config/initializers/session_store.rb +0 -0
- data/spec/dummy/{main_app → example}/config/initializers/wrap_parameters.rb +0 -0
- data/spec/dummy/{main_app → example}/config/locales/en.yml +0 -0
- data/spec/dummy/{main_app → example}/config/routes.rb +0 -0
- data/spec/dummy/{main_app → example}/db/migrate/20120513023816_create_posts.rb +0 -0
- data/spec/dummy/{main_app → example}/db/migrate/20120513023840_create_users.rb +0 -0
- data/spec/dummy/{main_app → example}/db/migrate/20120513032032_create_chili_social_likes.chili_likes.rb +0 -0
- data/spec/dummy/{main_app → example}/db/schema.rb +0 -0
- data/spec/dummy/{main_app/app/mailers → example/lib/assets}/.gitkeep +0 -0
- data/spec/dummy/{main_app/app/models → example/log}/.gitkeep +0 -0
- data/spec/dummy/{main_app → example}/public/404.html +0 -0
- data/spec/dummy/{main_app → example}/public/422.html +0 -0
- data/spec/dummy/{main_app → example}/public/500.html +0 -0
- data/spec/dummy/{main_app → example}/public/favicon.ico +0 -0
- data/spec/dummy/{main_app → example}/script/rails +0 -0
- data/spec/dummy/{main_app/lib/assets → example/vendor/chili_social/app/assets/images/chili_social}/.gitkeep +0 -0
- data/spec/dummy/{chili_social → example/vendor/chili_social}/app/assets/javascripts/chili_social/application.js +0 -0
- data/spec/dummy/{chili_social → example/vendor/chili_social}/app/assets/stylesheets/chili_social/application.css.scss +0 -0
- data/spec/dummy/{chili_social → example/vendor/chili_social}/app/controllers/chili_social/likes_controller.rb +0 -0
- data/spec/dummy/{chili_social → example/vendor/chili_social}/app/models/chili_social/like.rb +0 -0
- data/spec/dummy/{chili_social → example/vendor/chili_social}/app/models/chili_social/post.rb +0 -0
- data/spec/dummy/{chili_social → example/vendor/chili_social}/app/models/chili_social/user.rb +0 -0
- data/spec/dummy/{chili_social → example/vendor/chili_social}/app/overrides/layouts/application/stylesheets.html.erb.deface +0 -0
- data/spec/dummy/{chili_social → example/vendor/chili_social}/app/overrides/posts/_post/like_actions.html.erb.deface +0 -0
- data/spec/dummy/{chili_social → example/vendor/chili_social}/app/overrides/posts/index/disclaimer.html.erb.deface +0 -0
- data/spec/dummy/{chili_social → example/vendor/chili_social}/app/overrides/posts/index/like_links.html.erb.deface +0 -0
- data/spec/dummy/{chili_social → example/vendor/chili_social}/app/views/chili_social/likes/index.html.erb +0 -0
- data/spec/dummy/{chili_social → example/vendor/chili_social}/config/routes.rb +0 -0
- data/spec/dummy/{chili_social → example/vendor/chili_social}/db/migrate/20120513031021_create_chili_likes_likes.rb +0 -0
- data/spec/dummy/{chili_social → example/vendor/chili_social}/lib/chili_social.rb +0 -0
- data/spec/dummy/{chili_social → example/vendor/chili_social}/lib/chili_social/engine.rb +0 -0
- data/spec/dummy/{chili_template → template}/MIT-LICENSE +0 -0
- data/spec/dummy/{chili_template → template}/README.rdoc +0 -0
- data/spec/dummy/{main_app/log → template/app/assets/images/chili_template}/.gitkeep +0 -0
- data/spec/dummy/{chili_template → template}/app/assets/javascripts/chili_template/application.js +0 -0
- data/spec/dummy/{main_app/app/assets/stylesheets → template/app/assets/stylesheets/chili_template}/application.css +0 -0
- data/spec/dummy/{chili_template → template}/app/overrides/layouts/application/example.html.erb.deface +1 -1
- data/spec/dummy/{chili_template → template}/chili_template.gemspec +3 -3
- data/spec/dummy/{chili_template → template}/config/routes.rb +0 -0
- data/spec/dummy/{chili_template → template}/lib/chili_template.rb +0 -0
- data/spec/dummy/{chili_template → template}/lib/chili_template/engine.rb +0 -0
- data/spec/dummy/{chili_template → template}/lib/chili_template/version.rb +0 -0
- data/spec/dummy/{chili_template → template}/lib/tasks/chili_template_tasks.rake +0 -0
- data/spec/dummy/{chili_template → template}/script/rails +0 -0
- data/spec/spec_helper.rb +1 -1
- metadata +189 -228
- data/spec/dummy/chili_template/Rakefile +0 -6
- data/spec/dummy/chili_template/spec/spec_helper.rb +0 -11
@@ -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 }
|