chili 1.0.1 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (144) hide show
  1. data/.gitignore +7 -7
  2. data/README.md +33 -28
  3. data/Rakefile +1 -1
  4. data/app/controllers/chili/application_controller.rb +3 -3
  5. data/chili.gemspec +3 -3
  6. data/lib/chili.rb +5 -3
  7. data/lib/chili/feature.rb +15 -0
  8. data/lib/chili/version.rb +1 -1
  9. data/lib/generators/chili/feature/USAGE +8 -0
  10. data/lib/generators/chili/{extension_generator.rb → feature/feature_generator.rb} +36 -37
  11. data/lib/generators/chili/generator_proxy.rb +20 -0
  12. data/spec/dummy/app/app/controllers/application_controller.rb +3 -0
  13. data/spec/dummy/app/config/application.rb +14 -0
  14. data/spec/dummy/{example_app → app}/config/boot.rb +1 -2
  15. data/spec/dummy/{example_app → app}/config/database.yml +0 -0
  16. data/spec/dummy/{example_app → app}/config/environment.rb +0 -0
  17. data/spec/dummy/{example_app → app}/config/environments/development.rb +0 -0
  18. data/spec/dummy/{example_app → app}/config/environments/test.rb +0 -0
  19. data/spec/dummy/{example_app → app}/script/rails +0 -0
  20. data/spec/dummy/{blank_extension → blank_feature}/MIT-LICENSE +0 -0
  21. data/spec/dummy/blank_feature/README.rdoc +3 -0
  22. data/spec/dummy/{blank_extension/app/assets/images/blank_extension → blank_feature/app/assets/images/blank_feature}/.gitkeep +0 -0
  23. data/spec/dummy/{blank_extension/app/assets/javascripts/blank_extension → blank_feature/app/assets/javascripts/blank_feature}/application.js +0 -0
  24. data/spec/dummy/{blank_extension/app/assets/stylesheets/blank_extension → blank_feature/app/assets/stylesheets/blank_feature}/application.css +0 -0
  25. data/spec/dummy/blank_feature/app/controllers/blank_feature/application_controller.rb +4 -0
  26. data/spec/dummy/blank_feature/app/overrides/layouts/application/assets.html.erb.deface +3 -0
  27. data/spec/dummy/{blank_extension → blank_feature}/app/overrides/layouts/application/example.html.erb.deface +2 -2
  28. data/spec/dummy/{blank_extension/blank_extension.gemspec → blank_feature/blank_feature.gemspec} +6 -6
  29. data/spec/dummy/blank_feature/config/routes.rb +3 -0
  30. data/spec/dummy/blank_feature/lib/blank_feature.rb +7 -0
  31. data/spec/dummy/blank_feature/lib/blank_feature/engine.rb +5 -0
  32. data/spec/dummy/{blank_extension/lib/blank_extension → blank_feature/lib/blank_feature}/version.rb +1 -1
  33. data/spec/dummy/blank_feature/lib/generators/blank_feature_generator.rb +3 -0
  34. data/spec/dummy/{blank_extension/lib/tasks/blank_extension_tasks.rake → blank_feature/lib/tasks/blank_feature_tasks.rake} +1 -1
  35. data/spec/{dummy/example_app → example_app}/README.rdoc +0 -0
  36. data/spec/{dummy/example_app → example_app}/Rakefile +0 -0
  37. data/spec/{dummy/example_app → example_app}/app/assets/javascripts/application.js +0 -0
  38. data/spec/{dummy/example_app → example_app}/app/assets/stylesheets/application.css +0 -0
  39. data/spec/{dummy/example_app → example_app}/app/assets/stylesheets/posts.css +0 -0
  40. data/spec/{dummy/example_app → example_app}/app/assets/stylesheets/scaffold.css +0 -0
  41. data/spec/{dummy/example_app → example_app}/app/assets/stylesheets/users.css +0 -0
  42. data/spec/{dummy/example_app → example_app}/app/controllers/application_controller.rb +0 -0
  43. data/spec/{dummy/example_app → example_app}/app/controllers/posts_controller.rb +0 -0
  44. data/spec/{dummy/example_app → example_app}/app/controllers/sessions_controller.rb +0 -0
  45. data/spec/{dummy/example_app → example_app}/app/controllers/users_controller.rb +0 -0
  46. data/spec/{dummy/example_app → example_app}/app/helpers/application_helper.rb +0 -0
  47. data/spec/{dummy/example_app → example_app}/app/helpers/posts_helper.rb +0 -0
  48. data/spec/{dummy/example_app → example_app}/app/helpers/users_helper.rb +0 -0
  49. data/spec/{dummy/example_app → example_app}/app/mailers/.gitkeep +0 -0
  50. data/spec/{dummy/example_app → example_app}/app/models/.gitkeep +0 -0
  51. data/spec/{dummy/example_app → example_app}/app/models/post.rb +0 -0
  52. data/spec/{dummy/example_app → example_app}/app/models/user.rb +0 -0
  53. data/spec/{dummy/example_app → example_app}/app/views/layouts/application.html.erb +0 -0
  54. data/spec/{dummy/example_app → example_app}/app/views/posts/_form.html.erb +0 -0
  55. data/spec/{dummy/example_app → example_app}/app/views/posts/_post.html.erb +0 -0
  56. data/spec/{dummy/example_app → example_app}/app/views/posts/edit.html.erb +0 -0
  57. data/spec/{dummy/example_app → example_app}/app/views/posts/index.html.erb +0 -0
  58. data/spec/{dummy/example_app → example_app}/app/views/posts/new.html.erb +0 -0
  59. data/spec/{dummy/example_app → example_app}/app/views/posts/show.html.erb +0 -0
  60. data/spec/{dummy/example_app → example_app}/app/views/sessions/new.html.erb +0 -0
  61. data/spec/{dummy/example_app → example_app}/app/views/users/_form.html.erb +0 -0
  62. data/spec/{dummy/example_app → example_app}/app/views/users/edit.html.erb +0 -0
  63. data/spec/{dummy/example_app → example_app}/app/views/users/index.html.erb +0 -0
  64. data/spec/{dummy/example_app → example_app}/app/views/users/new.html.erb +0 -0
  65. data/spec/{dummy/example_app → example_app}/app/views/users/show.html.erb +0 -0
  66. data/spec/{dummy/example_app → example_app}/config.ru +0 -0
  67. data/spec/{dummy/example_app → example_app}/config/application.rb +2 -2
  68. data/spec/example_app/config/boot.rb +12 -0
  69. data/spec/example_app/config/database.yml +25 -0
  70. data/spec/example_app/config/environment.rb +5 -0
  71. data/spec/example_app/config/environments/development.rb +37 -0
  72. data/spec/{dummy/example_app → example_app}/config/environments/production.rb +0 -0
  73. data/spec/example_app/config/environments/test.rb +37 -0
  74. data/spec/{dummy/example_app → example_app}/config/initializers/backtrace_silencers.rb +0 -0
  75. data/spec/{dummy/example_app → example_app}/config/initializers/inflections.rb +0 -0
  76. data/spec/{dummy/example_app → example_app}/config/initializers/mime_types.rb +0 -0
  77. data/spec/{dummy/example_app → example_app}/config/initializers/secret_token.rb +0 -0
  78. data/spec/{dummy/example_app → example_app}/config/initializers/session_store.rb +0 -0
  79. data/spec/{dummy/example_app → example_app}/config/initializers/wrap_parameters.rb +0 -0
  80. data/spec/{dummy/example_app → example_app}/config/locales/en.yml +0 -0
  81. data/spec/{dummy/example_app → example_app}/config/routes.rb +0 -0
  82. data/spec/{dummy/example_app → example_app}/db/migrate/20120513023816_create_posts.rb +0 -0
  83. data/spec/{dummy/example_app → example_app}/db/migrate/20120513023840_create_users.rb +0 -0
  84. data/spec/example_app/db/migrate/20120513032032_create_social_feature_likes.rb +11 -0
  85. data/spec/{dummy/example_app → example_app}/db/schema.rb +1 -1
  86. data/spec/{dummy/example_app → example_app}/lib/assets/.gitkeep +0 -0
  87. data/spec/{dummy/example_app/vendor/chili/invites_extension → example_app/lib/chili/invites_feature}/.gitignore +0 -0
  88. data/spec/{dummy/example_app/log → example_app/lib/chili/invites_feature/app/assets/images/invites_feature}/.gitkeep +0 -0
  89. data/spec/{dummy/example_app/vendor/chili/invites_extension/app/assets/javascripts/invites_extension → example_app/lib/chili/invites_feature/app/assets/javascripts/invites_feature}/application.js +0 -0
  90. data/spec/{dummy/example_app/vendor/chili/invites_extension/app/assets/stylesheets/invites_extension → example_app/lib/chili/invites_feature/app/assets/stylesheets/invites_feature}/application.css +0 -0
  91. data/spec/example_app/lib/chili/invites_feature/app/controllers/invites_feature/application_controller.rb +4 -0
  92. data/spec/{dummy/example_app/vendor/chili/invites_extension → example_app/lib/chili/invites_feature}/app/overrides/posts/index/disclaimer.html.erb.deface +0 -0
  93. data/spec/example_app/lib/chili/invites_feature/config/routes.rb +3 -0
  94. data/spec/example_app/lib/chili/invites_feature/lib/generators/invites_feature_generator.rb +3 -0
  95. data/spec/{dummy/example_app/vendor/chili/invites_extension/lib/invites_extension.rb → example_app/lib/chili/invites_feature/lib/invites_feature.rb} +2 -2
  96. data/spec/example_app/lib/chili/invites_feature/lib/invites_feature/engine.rb +5 -0
  97. data/spec/{dummy/example_app/vendor/chili/invites_extension/app/assets/images/invites_extension → example_app/lib/chili/social_feature/app/assets/images/social_feature}/.gitkeep +0 -0
  98. data/spec/{dummy/example_app/vendor/chili/social_extension/app/assets/javascripts/social_extension → example_app/lib/chili/social_feature/app/assets/javascripts/social_feature}/application.js +0 -0
  99. data/spec/{dummy/example_app/vendor/chili/social_extension/app/assets/stylesheets/social_extension → example_app/lib/chili/social_feature/app/assets/stylesheets/social_feature}/application.css.scss +0 -0
  100. data/spec/example_app/lib/chili/social_feature/app/controllers/social_feature/application_controller.rb +4 -0
  101. data/spec/{dummy/example_app/vendor/chili/social_extension/app/controllers/social_extension → example_app/lib/chili/social_feature/app/controllers/social_feature}/likes_controller.rb +3 -3
  102. data/spec/{dummy/example_app/vendor/chili/social_extension/app/models/social_extension → example_app/lib/chili/social_feature/app/models/social_feature}/like.rb +1 -1
  103. data/spec/{dummy/example_app/vendor/chili/social_extension/app/models/social_extension → example_app/lib/chili/social_feature/app/models/social_feature}/post.rb +1 -1
  104. data/spec/{dummy/example_app/vendor/chili/social_extension/app/models/social_extension → example_app/lib/chili/social_feature/app/models/social_feature}/user.rb +1 -1
  105. data/spec/example_app/lib/chili/social_feature/app/overrides/layouts/application/likes_link.html.erb.deface +2 -0
  106. data/spec/{dummy/example_app/vendor/chili/social_extension → example_app/lib/chili/social_feature}/app/overrides/posts/_post/like_actions.html.erb.deface +2 -2
  107. data/spec/{dummy/example_app/vendor/chili/social_extension → example_app/lib/chili/social_feature}/app/overrides/posts/index/disclaimer.html.erb.deface +0 -0
  108. data/spec/{dummy/example_app/vendor/chili/social_extension → example_app/lib/chili/social_feature}/app/overrides/posts/index/table_headers.html.erb.deface +0 -0
  109. data/spec/{dummy/example_app/vendor/chili/social_extension/app/views/social_extension → example_app/lib/chili/social_feature/app/views/social_feature}/likes/index.html.erb +0 -0
  110. data/spec/example_app/lib/chili/social_feature/config/routes.rb +4 -0
  111. data/spec/example_app/lib/chili/social_feature/db/migrate/20120513031021_create_social_feature_likes.rb +10 -0
  112. data/spec/example_app/lib/chili/social_feature/lib/generators/social_feature_generator.rb +3 -0
  113. data/spec/{dummy/example_app/vendor/chili/social_extension/lib/social_extension.rb → example_app/lib/chili/social_feature/lib/social_feature.rb} +2 -2
  114. data/spec/example_app/lib/chili/social_feature/lib/social_feature/engine.rb +5 -0
  115. data/spec/{dummy/example_app/vendor/chili/social_extension/app/assets/images/social_extension → example_app/log}/.gitkeep +0 -0
  116. data/spec/{dummy/example_app → example_app}/public/404.html +0 -0
  117. data/spec/{dummy/example_app → example_app}/public/422.html +0 -0
  118. data/spec/{dummy/example_app → example_app}/public/500.html +0 -0
  119. data/spec/{dummy/example_app → example_app}/public/favicon.ico +0 -0
  120. data/spec/example_app/script/rails +6 -0
  121. data/spec/{dummy/example_app → example_app}/spec/support/user_macros.rb +0 -0
  122. data/spec/generators/chili/feature_generator_spec.rb +40 -0
  123. data/spec/generators/chili/generator_proxy_spec.rb +28 -0
  124. data/spec/requests/social_extension_spec.rb +5 -5
  125. data/spec/spec_helper.rb +2 -1
  126. data/spec/support/dummy_app.rb +21 -0
  127. metadata +251 -256
  128. data/lib/generators/chili/USAGE +0 -8
  129. data/lib/generators/rails/chili_generator.rb +0 -11
  130. data/lib/generators/rails/templates/controller.rb +0 -73
  131. data/spec/dummy/blank_extension/README.rdoc +0 -3
  132. data/spec/dummy/blank_extension/app/overrides/layouts/application/assets.html.erb.deface +0 -3
  133. data/spec/dummy/blank_extension/config/routes.rb +0 -3
  134. data/spec/dummy/blank_extension/lib/blank_extension.rb +0 -7
  135. data/spec/dummy/blank_extension/lib/blank_extension/engine.rb +0 -10
  136. data/spec/dummy/blank_extension/script/rails +0 -8
  137. data/spec/dummy/example_app/db/migrate/20120513032032_create_social_extension_likes.rb +0 -11
  138. data/spec/dummy/example_app/vendor/chili/invites_extension/config/routes.rb +0 -3
  139. data/spec/dummy/example_app/vendor/chili/invites_extension/lib/invites_extension/engine.rb +0 -10
  140. data/spec/dummy/example_app/vendor/chili/social_extension/app/overrides/layouts/application/likes_link.html.erb.deface +0 -2
  141. data/spec/dummy/example_app/vendor/chili/social_extension/config/routes.rb +0 -4
  142. data/spec/dummy/example_app/vendor/chili/social_extension/db/migrate/20120513031021_create_likes_extension_likes.rb +0 -10
  143. data/spec/dummy/example_app/vendor/chili/social_extension/lib/social_extension/engine.rb +0 -10
  144. data/spec/generators/chili/chili_generator_spec.rb +0 -53
@@ -0,0 +1,4 @@
1
+ SocialFeature::Engine.automount!
2
+ SocialFeature::Engine.routes.draw do
3
+ resources :likes
4
+ end
@@ -0,0 +1,10 @@
1
+ class CreateSocialFeatureLikes < ActiveRecord::Migration
2
+ def change
3
+ create_table :social_feature_likes do |t|
4
+ t.integer :post_id
5
+ t.integer :user_id
6
+
7
+ t.timestamps
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,3 @@
1
+ class SocialFeatureGenerator < Rails::Generators::Base
2
+ include Chili::GeneratorProxy
3
+ end
@@ -1,7 +1,7 @@
1
1
  require "chili"
2
- require "social_extension/engine"
2
+ require "social_feature/engine"
3
3
 
4
- module SocialExtension
4
+ module SocialFeature
5
5
  extend Chili::Activatable
6
6
  active_if { logged_in? && current_user.admin? }
7
7
  end
@@ -0,0 +1,5 @@
1
+ module SocialFeature
2
+ class Engine < ::Rails::Engine
3
+ isolate_namespace SocialFeature
4
+ end
5
+ end
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
3
+
4
+ APP_PATH = File.expand_path('../../config/application', __FILE__)
5
+ require File.expand_path('../../config/boot', __FILE__)
6
+ require 'rails/commands'
@@ -0,0 +1,40 @@
1
+ require 'spec_helper'
2
+
3
+ describe 'FeatureGenerator' do
4
+ describe 'rails g chili:feature NAME' do
5
+ let(:app) { DummyApp.new }
6
+ let(:template_path) { File.expand_path("../../../dummy/blank_feature", __FILE__) }
7
+
8
+ before { app.setup! }
9
+
10
+ it 'creates a new feature with a correct file structure and appends it to the gemfile' do
11
+ puts `cd #{app.path} && rails g chili:feature blank`
12
+
13
+ Dir.glob(File.join(template_path, "**/*")).reject { |f| File.directory?(f) }.each do |template|
14
+ result = File.join(app.path, 'lib/chili/blank_feature', template.sub(template_path, ''))
15
+ result_text = File.open(result, 'rb').read
16
+ template_text = File.open(template, 'rb').read
17
+ template_text.sub!('GIT_AUTHOR',`git config user.name`.chomp) # Git author is different on each machine
18
+ template_text.sub!('GIT_EMAIL',`git config user.email`.chomp) # Git email is different on each machine
19
+ result_text.should == template_text
20
+ end
21
+ end
22
+
23
+ it "appends new features to the chili group within the gemfile" do
24
+ puts `cd #{app.path} && rails g chili:feature blank`
25
+ File.open(app.gemfile, 'rb').read.should include <<-RUBY.chomp
26
+ group :chili do
27
+ gem 'blank_feature', path: 'lib/chili/blank_feature'
28
+ end
29
+ RUBY
30
+
31
+ puts `cd #{app.path} && rails g chili:feature another_blank`
32
+ File.open(app.gemfile, 'rb').read.should include <<-RUBY.chomp
33
+ group :chili do
34
+ gem 'another_blank_feature', path: 'lib/chili/another_blank_feature'
35
+ gem 'blank_feature', path: 'lib/chili/blank_feature'
36
+ end
37
+ RUBY
38
+ end
39
+ end
40
+ end
@@ -0,0 +1,28 @@
1
+ require 'spec_helper'
2
+
3
+ describe Chili::GeneratorProxy do
4
+ let(:app) { DummyApp.new }
5
+
6
+ before do
7
+ app.setup!
8
+ puts `cd #{app.path} && rails g chili:feature blank`
9
+ end
10
+
11
+
12
+ context 'running generator from a newly created feature' do
13
+ it "generates resources properly" do
14
+ puts `cd #{app.path} && rails g blank_feature scaffold post`
15
+ File.exist?(File.join(app.path, 'lib/chili/blank_feature/app/controllers/blank_feature/posts_controller.rb')).should be_true
16
+ File.exist?(File.join(app.path, 'lib/chili/blank_feature/app/assets/stylesheets/blank_feature/posts.css')).should be_true
17
+ end
18
+ end
19
+
20
+ context 'passing in options' do
21
+ it "passes options on to rails generator" do
22
+ puts `cd #{app.path} && rails g blank_feature scaffold post --stylesheets=false`
23
+ File.exist?(File.join(app.path, 'lib/chili/blank_feature/app/controllers/blank_feature/posts_controller.rb')).should be_true
24
+ File.exist?(File.join(app.path, 'lib/chili/blank_feature/app/assets/stylesheets/blank_feature/posts.css')).should be_false
25
+ end
26
+ end
27
+
28
+ end
@@ -16,19 +16,19 @@ feature 'View overrides' do
16
16
  end
17
17
 
18
18
  feature 'Togglable controllers' do
19
- scenario 'when user is not admin active_if hides extension controller' do
19
+ scenario 'when user is not admin active_if hides controllers in feature' do
20
20
  login User.create!
21
- expect { visit('/chili/social_extension/likes') }.to raise_error(ActionController::RoutingError)
21
+ expect { visit('/chili/social_feature/likes') }.to raise_error(ActionController::RoutingError)
22
22
  end
23
23
 
24
- scenario 'when admin active_if makes extension controller available' do
24
+ scenario 'when admin active_if makes controllers available' do
25
25
  login User.create!(admin: true)
26
- visit('/chili/social_extension/likes')
26
+ visit('/chili/social_feature/likes')
27
27
  page.should have_content('Your Likes')
28
28
  end
29
29
  end
30
30
 
31
- feature 'Multiple chili extensions' do
31
+ feature 'Multiple chili features' do
32
32
  scenario 'multiple overrides do not redefine each other' do
33
33
  login User.create!(admin: true)
34
34
  visit('/posts')
@@ -1,11 +1,12 @@
1
1
  # This file is copied to spec/ when you run 'rails generate rspec:install'
2
2
  ENV["RAILS_ENV"] ||= 'test'
3
- require File.expand_path("../dummy/example_app/config/environment", __FILE__)
3
+ require File.expand_path("../example_app/config/environment", __FILE__)
4
4
  require 'rspec/rails'
5
5
 
6
6
  # Requires supporting ruby files with custom matchers and macros, etc,
7
7
  # in spec/support/ and its subdirectories.
8
8
  Dir[Rails.root.join("spec/support/**/*.rb")].each {|f| require f}
9
+ Dir[File.join(File.dirname(__FILE__),'support', '**', '*.rb')].each {|f| require f}
9
10
 
10
11
  RSpec.configure do |config|
11
12
  # == Mock Framework
@@ -0,0 +1,21 @@
1
+ class DummyApp
2
+ def path
3
+ File.expand_path("../../dummy/app", __FILE__)
4
+ end
5
+
6
+ def gemfile
7
+ File.join(path, 'Gemfile')
8
+ end
9
+
10
+ def setup!
11
+ FileUtils.rm_rf File.join(path, 'lib')
12
+ FileUtils.rm_rf gemfile
13
+ File.open(gemfile, 'w') do |f|
14
+ f.write <<-RUBY
15
+ group :development do
16
+ gem 'somegem'
17
+ end
18
+ RUBY
19
+ end
20
+ end
21
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chili
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 2.0.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-10-11 00:00:00.000000000 Z
12
+ date: 2012-10-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
- requirement: !ruby/object:Gem::Requirement
16
+ requirement: &70351175824640 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,15 +21,10 @@ dependencies:
21
21
  version: '3.2'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - ~>
28
- - !ruby/object:Gem::Version
29
- version: '3.2'
24
+ version_requirements: *70351175824640
30
25
  - !ruby/object:Gem::Dependency
31
26
  name: deface
32
- requirement: !ruby/object:Gem::Requirement
27
+ requirement: &70351175823440 !ruby/object:Gem::Requirement
33
28
  none: false
34
29
  requirements:
35
30
  - - ~>
@@ -37,15 +32,10 @@ dependencies:
37
32
  version: 1.0.0.rc1
38
33
  type: :runtime
39
34
  prerelease: false
40
- version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
43
- - - ~>
44
- - !ruby/object:Gem::Version
45
- version: 1.0.0.rc1
35
+ version_requirements: *70351175823440
46
36
  - !ruby/object:Gem::Dependency
47
37
  name: rspec
48
- requirement: !ruby/object:Gem::Requirement
38
+ requirement: &70351175822340 !ruby/object:Gem::Requirement
49
39
  none: false
50
40
  requirements:
51
41
  - - ~>
@@ -53,15 +43,10 @@ dependencies:
53
43
  version: 2.9.0
54
44
  type: :development
55
45
  prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
- requirements:
59
- - - ~>
60
- - !ruby/object:Gem::Version
61
- version: 2.9.0
46
+ version_requirements: *70351175822340
62
47
  - !ruby/object:Gem::Dependency
63
48
  name: rspec-rails
64
- requirement: !ruby/object:Gem::Requirement
49
+ requirement: &70351175821180 !ruby/object:Gem::Requirement
65
50
  none: false
66
51
  requirements:
67
52
  - - ~>
@@ -69,15 +54,10 @@ dependencies:
69
54
  version: 2.9.0
70
55
  type: :development
71
56
  prerelease: false
72
- version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
- requirements:
75
- - - ~>
76
- - !ruby/object:Gem::Version
77
- version: 2.9.0
57
+ version_requirements: *70351175821180
78
58
  - !ruby/object:Gem::Dependency
79
59
  name: jquery-rails
80
- requirement: !ruby/object:Gem::Requirement
60
+ requirement: &70351175820000 !ruby/object:Gem::Requirement
81
61
  none: false
82
62
  requirements:
83
63
  - - ! '>='
@@ -85,15 +65,10 @@ dependencies:
85
65
  version: '0'
86
66
  type: :development
87
67
  prerelease: false
88
- version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
- requirements:
91
- - - ! '>='
92
- - !ruby/object:Gem::Version
93
- version: '0'
68
+ version_requirements: *70351175820000
94
69
  - !ruby/object:Gem::Dependency
95
70
  name: capybara
96
- requirement: !ruby/object:Gem::Requirement
71
+ requirement: &70351175819000 !ruby/object:Gem::Requirement
97
72
  none: false
98
73
  requirements:
99
74
  - - ! '>='
@@ -101,15 +76,10 @@ dependencies:
101
76
  version: '0'
102
77
  type: :development
103
78
  prerelease: false
104
- version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
- requirements:
107
- - - ! '>='
108
- - !ruby/object:Gem::Version
109
- version: '0'
79
+ version_requirements: *70351175819000
110
80
  - !ruby/object:Gem::Dependency
111
81
  name: sqlite3
112
- requirement: !ruby/object:Gem::Requirement
82
+ requirement: &70351175817500 !ruby/object:Gem::Requirement
113
83
  none: false
114
84
  requirements:
115
85
  - - ! '>='
@@ -117,13 +87,8 @@ dependencies:
117
87
  version: '0'
118
88
  type: :development
119
89
  prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
- requirements:
123
- - - ! '>='
124
- - !ruby/object:Gem::Version
125
- version: '0'
126
- description: The spicy extension framework
90
+ version_requirements: *70351175817500
91
+ description: The spicy feature toggle framework
127
92
  email:
128
93
  - jens@balvig.com
129
94
  executables: []
@@ -143,113 +108,128 @@ files:
143
108
  - lib/chili/bundler.rb
144
109
  - lib/chili/engine.rb
145
110
  - lib/chili/extensions/rails/engine.rb
111
+ - lib/chili/feature.rb
146
112
  - lib/chili/overrides.rb
147
113
  - lib/chili/version.rb
148
- - lib/generators/chili/USAGE
149
- - lib/generators/chili/extension_generator.rb
150
- - lib/generators/rails/chili_generator.rb
151
- - lib/generators/rails/templates/controller.rb
152
- - spec/dummy/blank_extension/MIT-LICENSE
153
- - spec/dummy/blank_extension/README.rdoc
154
- - spec/dummy/blank_extension/app/assets/images/blank_extension/.gitkeep
155
- - spec/dummy/blank_extension/app/assets/javascripts/blank_extension/application.js
156
- - spec/dummy/blank_extension/app/assets/stylesheets/blank_extension/application.css
157
- - spec/dummy/blank_extension/app/overrides/layouts/application/assets.html.erb.deface
158
- - spec/dummy/blank_extension/app/overrides/layouts/application/example.html.erb.deface
159
- - spec/dummy/blank_extension/blank_extension.gemspec
160
- - spec/dummy/blank_extension/config/routes.rb
161
- - spec/dummy/blank_extension/lib/blank_extension.rb
162
- - spec/dummy/blank_extension/lib/blank_extension/engine.rb
163
- - spec/dummy/blank_extension/lib/blank_extension/version.rb
164
- - spec/dummy/blank_extension/lib/tasks/blank_extension_tasks.rake
165
- - spec/dummy/blank_extension/script/rails
166
- - spec/dummy/example_app/README.rdoc
167
- - spec/dummy/example_app/Rakefile
168
- - spec/dummy/example_app/app/assets/javascripts/application.js
169
- - spec/dummy/example_app/app/assets/stylesheets/application.css
170
- - spec/dummy/example_app/app/assets/stylesheets/posts.css
171
- - spec/dummy/example_app/app/assets/stylesheets/scaffold.css
172
- - spec/dummy/example_app/app/assets/stylesheets/users.css
173
- - spec/dummy/example_app/app/controllers/application_controller.rb
174
- - spec/dummy/example_app/app/controllers/posts_controller.rb
175
- - spec/dummy/example_app/app/controllers/sessions_controller.rb
176
- - spec/dummy/example_app/app/controllers/users_controller.rb
177
- - spec/dummy/example_app/app/helpers/application_helper.rb
178
- - spec/dummy/example_app/app/helpers/posts_helper.rb
179
- - spec/dummy/example_app/app/helpers/users_helper.rb
180
- - spec/dummy/example_app/app/mailers/.gitkeep
181
- - spec/dummy/example_app/app/models/.gitkeep
182
- - spec/dummy/example_app/app/models/post.rb
183
- - spec/dummy/example_app/app/models/user.rb
184
- - spec/dummy/example_app/app/views/layouts/application.html.erb
185
- - spec/dummy/example_app/app/views/posts/_form.html.erb
186
- - spec/dummy/example_app/app/views/posts/_post.html.erb
187
- - spec/dummy/example_app/app/views/posts/edit.html.erb
188
- - spec/dummy/example_app/app/views/posts/index.html.erb
189
- - spec/dummy/example_app/app/views/posts/new.html.erb
190
- - spec/dummy/example_app/app/views/posts/show.html.erb
191
- - spec/dummy/example_app/app/views/sessions/new.html.erb
192
- - spec/dummy/example_app/app/views/users/_form.html.erb
193
- - spec/dummy/example_app/app/views/users/edit.html.erb
194
- - spec/dummy/example_app/app/views/users/index.html.erb
195
- - spec/dummy/example_app/app/views/users/new.html.erb
196
- - spec/dummy/example_app/app/views/users/show.html.erb
197
- - spec/dummy/example_app/config.ru
198
- - spec/dummy/example_app/config/application.rb
199
- - spec/dummy/example_app/config/boot.rb
200
- - spec/dummy/example_app/config/database.yml
201
- - spec/dummy/example_app/config/environment.rb
202
- - spec/dummy/example_app/config/environments/development.rb
203
- - spec/dummy/example_app/config/environments/production.rb
204
- - spec/dummy/example_app/config/environments/test.rb
205
- - spec/dummy/example_app/config/initializers/backtrace_silencers.rb
206
- - spec/dummy/example_app/config/initializers/inflections.rb
207
- - spec/dummy/example_app/config/initializers/mime_types.rb
208
- - spec/dummy/example_app/config/initializers/secret_token.rb
209
- - spec/dummy/example_app/config/initializers/session_store.rb
210
- - spec/dummy/example_app/config/initializers/wrap_parameters.rb
211
- - spec/dummy/example_app/config/locales/en.yml
212
- - spec/dummy/example_app/config/routes.rb
213
- - spec/dummy/example_app/db/migrate/20120513023816_create_posts.rb
214
- - spec/dummy/example_app/db/migrate/20120513023840_create_users.rb
215
- - spec/dummy/example_app/db/migrate/20120513032032_create_social_extension_likes.rb
216
- - spec/dummy/example_app/db/schema.rb
217
- - spec/dummy/example_app/lib/assets/.gitkeep
218
- - spec/dummy/example_app/log/.gitkeep
219
- - spec/dummy/example_app/public/404.html
220
- - spec/dummy/example_app/public/422.html
221
- - spec/dummy/example_app/public/500.html
222
- - spec/dummy/example_app/public/favicon.ico
223
- - spec/dummy/example_app/script/rails
224
- - spec/dummy/example_app/spec/support/user_macros.rb
225
- - spec/dummy/example_app/vendor/chili/invites_extension/.gitignore
226
- - spec/dummy/example_app/vendor/chili/invites_extension/app/assets/images/invites_extension/.gitkeep
227
- - spec/dummy/example_app/vendor/chili/invites_extension/app/assets/javascripts/invites_extension/application.js
228
- - spec/dummy/example_app/vendor/chili/invites_extension/app/assets/stylesheets/invites_extension/application.css
229
- - spec/dummy/example_app/vendor/chili/invites_extension/app/overrides/posts/index/disclaimer.html.erb.deface
230
- - spec/dummy/example_app/vendor/chili/invites_extension/config/routes.rb
231
- - spec/dummy/example_app/vendor/chili/invites_extension/lib/invites_extension.rb
232
- - spec/dummy/example_app/vendor/chili/invites_extension/lib/invites_extension/engine.rb
233
- - spec/dummy/example_app/vendor/chili/social_extension/app/assets/images/social_extension/.gitkeep
234
- - spec/dummy/example_app/vendor/chili/social_extension/app/assets/javascripts/social_extension/application.js
235
- - spec/dummy/example_app/vendor/chili/social_extension/app/assets/stylesheets/social_extension/application.css.scss
236
- - spec/dummy/example_app/vendor/chili/social_extension/app/controllers/social_extension/likes_controller.rb
237
- - spec/dummy/example_app/vendor/chili/social_extension/app/models/social_extension/like.rb
238
- - spec/dummy/example_app/vendor/chili/social_extension/app/models/social_extension/post.rb
239
- - spec/dummy/example_app/vendor/chili/social_extension/app/models/social_extension/user.rb
240
- - spec/dummy/example_app/vendor/chili/social_extension/app/overrides/layouts/application/likes_link.html.erb.deface
241
- - spec/dummy/example_app/vendor/chili/social_extension/app/overrides/posts/_post/like_actions.html.erb.deface
242
- - spec/dummy/example_app/vendor/chili/social_extension/app/overrides/posts/index/disclaimer.html.erb.deface
243
- - spec/dummy/example_app/vendor/chili/social_extension/app/overrides/posts/index/table_headers.html.erb.deface
244
- - spec/dummy/example_app/vendor/chili/social_extension/app/views/social_extension/likes/index.html.erb
245
- - spec/dummy/example_app/vendor/chili/social_extension/config/routes.rb
246
- - spec/dummy/example_app/vendor/chili/social_extension/db/migrate/20120513031021_create_likes_extension_likes.rb
247
- - spec/dummy/example_app/vendor/chili/social_extension/lib/social_extension.rb
248
- - spec/dummy/example_app/vendor/chili/social_extension/lib/social_extension/engine.rb
249
- - spec/generators/chili/chili_generator_spec.rb
114
+ - lib/generators/chili/feature/USAGE
115
+ - lib/generators/chili/feature/feature_generator.rb
116
+ - lib/generators/chili/generator_proxy.rb
117
+ - spec/dummy/app/app/controllers/application_controller.rb
118
+ - spec/dummy/app/config/application.rb
119
+ - spec/dummy/app/config/boot.rb
120
+ - spec/dummy/app/config/database.yml
121
+ - spec/dummy/app/config/environment.rb
122
+ - spec/dummy/app/config/environments/development.rb
123
+ - spec/dummy/app/config/environments/test.rb
124
+ - spec/dummy/app/script/rails
125
+ - spec/dummy/blank_feature/MIT-LICENSE
126
+ - spec/dummy/blank_feature/README.rdoc
127
+ - spec/dummy/blank_feature/app/assets/images/blank_feature/.gitkeep
128
+ - spec/dummy/blank_feature/app/assets/javascripts/blank_feature/application.js
129
+ - spec/dummy/blank_feature/app/assets/stylesheets/blank_feature/application.css
130
+ - spec/dummy/blank_feature/app/controllers/blank_feature/application_controller.rb
131
+ - spec/dummy/blank_feature/app/overrides/layouts/application/assets.html.erb.deface
132
+ - spec/dummy/blank_feature/app/overrides/layouts/application/example.html.erb.deface
133
+ - spec/dummy/blank_feature/blank_feature.gemspec
134
+ - spec/dummy/blank_feature/config/routes.rb
135
+ - spec/dummy/blank_feature/lib/blank_feature.rb
136
+ - spec/dummy/blank_feature/lib/blank_feature/engine.rb
137
+ - spec/dummy/blank_feature/lib/blank_feature/version.rb
138
+ - spec/dummy/blank_feature/lib/generators/blank_feature_generator.rb
139
+ - spec/dummy/blank_feature/lib/tasks/blank_feature_tasks.rake
140
+ - spec/example_app/README.rdoc
141
+ - spec/example_app/Rakefile
142
+ - spec/example_app/app/assets/javascripts/application.js
143
+ - spec/example_app/app/assets/stylesheets/application.css
144
+ - spec/example_app/app/assets/stylesheets/posts.css
145
+ - spec/example_app/app/assets/stylesheets/scaffold.css
146
+ - spec/example_app/app/assets/stylesheets/users.css
147
+ - spec/example_app/app/controllers/application_controller.rb
148
+ - spec/example_app/app/controllers/posts_controller.rb
149
+ - spec/example_app/app/controllers/sessions_controller.rb
150
+ - spec/example_app/app/controllers/users_controller.rb
151
+ - spec/example_app/app/helpers/application_helper.rb
152
+ - spec/example_app/app/helpers/posts_helper.rb
153
+ - spec/example_app/app/helpers/users_helper.rb
154
+ - spec/example_app/app/mailers/.gitkeep
155
+ - spec/example_app/app/models/.gitkeep
156
+ - spec/example_app/app/models/post.rb
157
+ - spec/example_app/app/models/user.rb
158
+ - spec/example_app/app/views/layouts/application.html.erb
159
+ - spec/example_app/app/views/posts/_form.html.erb
160
+ - spec/example_app/app/views/posts/_post.html.erb
161
+ - spec/example_app/app/views/posts/edit.html.erb
162
+ - spec/example_app/app/views/posts/index.html.erb
163
+ - spec/example_app/app/views/posts/new.html.erb
164
+ - spec/example_app/app/views/posts/show.html.erb
165
+ - spec/example_app/app/views/sessions/new.html.erb
166
+ - spec/example_app/app/views/users/_form.html.erb
167
+ - spec/example_app/app/views/users/edit.html.erb
168
+ - spec/example_app/app/views/users/index.html.erb
169
+ - spec/example_app/app/views/users/new.html.erb
170
+ - spec/example_app/app/views/users/show.html.erb
171
+ - spec/example_app/config.ru
172
+ - spec/example_app/config/application.rb
173
+ - spec/example_app/config/boot.rb
174
+ - spec/example_app/config/database.yml
175
+ - spec/example_app/config/environment.rb
176
+ - spec/example_app/config/environments/development.rb
177
+ - spec/example_app/config/environments/production.rb
178
+ - spec/example_app/config/environments/test.rb
179
+ - spec/example_app/config/initializers/backtrace_silencers.rb
180
+ - spec/example_app/config/initializers/inflections.rb
181
+ - spec/example_app/config/initializers/mime_types.rb
182
+ - spec/example_app/config/initializers/secret_token.rb
183
+ - spec/example_app/config/initializers/session_store.rb
184
+ - spec/example_app/config/initializers/wrap_parameters.rb
185
+ - spec/example_app/config/locales/en.yml
186
+ - spec/example_app/config/routes.rb
187
+ - spec/example_app/db/migrate/20120513023816_create_posts.rb
188
+ - spec/example_app/db/migrate/20120513023840_create_users.rb
189
+ - spec/example_app/db/migrate/20120513032032_create_social_feature_likes.rb
190
+ - spec/example_app/db/schema.rb
191
+ - spec/example_app/lib/assets/.gitkeep
192
+ - spec/example_app/lib/chili/invites_feature/.gitignore
193
+ - spec/example_app/lib/chili/invites_feature/app/assets/images/invites_feature/.gitkeep
194
+ - spec/example_app/lib/chili/invites_feature/app/assets/javascripts/invites_feature/application.js
195
+ - spec/example_app/lib/chili/invites_feature/app/assets/stylesheets/invites_feature/application.css
196
+ - spec/example_app/lib/chili/invites_feature/app/controllers/invites_feature/application_controller.rb
197
+ - spec/example_app/lib/chili/invites_feature/app/overrides/posts/index/disclaimer.html.erb.deface
198
+ - spec/example_app/lib/chili/invites_feature/config/routes.rb
199
+ - spec/example_app/lib/chili/invites_feature/lib/generators/invites_feature_generator.rb
200
+ - spec/example_app/lib/chili/invites_feature/lib/invites_feature.rb
201
+ - spec/example_app/lib/chili/invites_feature/lib/invites_feature/engine.rb
202
+ - spec/example_app/lib/chili/social_feature/app/assets/images/social_feature/.gitkeep
203
+ - spec/example_app/lib/chili/social_feature/app/assets/javascripts/social_feature/application.js
204
+ - spec/example_app/lib/chili/social_feature/app/assets/stylesheets/social_feature/application.css.scss
205
+ - spec/example_app/lib/chili/social_feature/app/controllers/social_feature/application_controller.rb
206
+ - spec/example_app/lib/chili/social_feature/app/controllers/social_feature/likes_controller.rb
207
+ - spec/example_app/lib/chili/social_feature/app/models/social_feature/like.rb
208
+ - spec/example_app/lib/chili/social_feature/app/models/social_feature/post.rb
209
+ - spec/example_app/lib/chili/social_feature/app/models/social_feature/user.rb
210
+ - spec/example_app/lib/chili/social_feature/app/overrides/layouts/application/likes_link.html.erb.deface
211
+ - spec/example_app/lib/chili/social_feature/app/overrides/posts/_post/like_actions.html.erb.deface
212
+ - spec/example_app/lib/chili/social_feature/app/overrides/posts/index/disclaimer.html.erb.deface
213
+ - spec/example_app/lib/chili/social_feature/app/overrides/posts/index/table_headers.html.erb.deface
214
+ - spec/example_app/lib/chili/social_feature/app/views/social_feature/likes/index.html.erb
215
+ - spec/example_app/lib/chili/social_feature/config/routes.rb
216
+ - spec/example_app/lib/chili/social_feature/db/migrate/20120513031021_create_social_feature_likes.rb
217
+ - spec/example_app/lib/chili/social_feature/lib/generators/social_feature_generator.rb
218
+ - spec/example_app/lib/chili/social_feature/lib/social_feature.rb
219
+ - spec/example_app/lib/chili/social_feature/lib/social_feature/engine.rb
220
+ - spec/example_app/log/.gitkeep
221
+ - spec/example_app/public/404.html
222
+ - spec/example_app/public/422.html
223
+ - spec/example_app/public/500.html
224
+ - spec/example_app/public/favicon.ico
225
+ - spec/example_app/script/rails
226
+ - spec/example_app/spec/support/user_macros.rb
227
+ - spec/generators/chili/feature_generator_spec.rb
228
+ - spec/generators/chili/generator_proxy_spec.rb
250
229
  - spec/lib/chili/activatable_spec.rb
251
230
  - spec/requests/social_extension_spec.rb
252
231
  - spec/spec_helper.rb
232
+ - spec/support/dummy_app.rb
253
233
  homepage: http://balvig.github.com/chili/
254
234
  licenses: []
255
235
  post_install_message:
@@ -264,7 +244,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
264
244
  version: '0'
265
245
  segments:
266
246
  - 0
267
- hash: 2264611987361066959
247
+ hash: -1560481303332894281
268
248
  required_rubygems_version: !ruby/object:Gem::Requirement
269
249
  none: false
270
250
  requirements:
@@ -273,112 +253,127 @@ required_rubygems_version: !ruby/object:Gem::Requirement
273
253
  version: '0'
274
254
  segments:
275
255
  - 0
276
- hash: 2264611987361066959
256
+ hash: -1560481303332894281
277
257
  requirements: []
278
258
  rubyforge_project:
279
- rubygems_version: 1.8.23
259
+ rubygems_version: 1.8.11
280
260
  signing_key:
281
261
  specification_version: 3
282
- summary: The spicy extension framework
262
+ summary: The spicy feature toggle framework
283
263
  test_files:
284
- - spec/dummy/blank_extension/MIT-LICENSE
285
- - spec/dummy/blank_extension/README.rdoc
286
- - spec/dummy/blank_extension/app/assets/images/blank_extension/.gitkeep
287
- - spec/dummy/blank_extension/app/assets/javascripts/blank_extension/application.js
288
- - spec/dummy/blank_extension/app/assets/stylesheets/blank_extension/application.css
289
- - spec/dummy/blank_extension/app/overrides/layouts/application/assets.html.erb.deface
290
- - spec/dummy/blank_extension/app/overrides/layouts/application/example.html.erb.deface
291
- - spec/dummy/blank_extension/blank_extension.gemspec
292
- - spec/dummy/blank_extension/config/routes.rb
293
- - spec/dummy/blank_extension/lib/blank_extension.rb
294
- - spec/dummy/blank_extension/lib/blank_extension/engine.rb
295
- - spec/dummy/blank_extension/lib/blank_extension/version.rb
296
- - spec/dummy/blank_extension/lib/tasks/blank_extension_tasks.rake
297
- - spec/dummy/blank_extension/script/rails
298
- - spec/dummy/example_app/README.rdoc
299
- - spec/dummy/example_app/Rakefile
300
- - spec/dummy/example_app/app/assets/javascripts/application.js
301
- - spec/dummy/example_app/app/assets/stylesheets/application.css
302
- - spec/dummy/example_app/app/assets/stylesheets/posts.css
303
- - spec/dummy/example_app/app/assets/stylesheets/scaffold.css
304
- - spec/dummy/example_app/app/assets/stylesheets/users.css
305
- - spec/dummy/example_app/app/controllers/application_controller.rb
306
- - spec/dummy/example_app/app/controllers/posts_controller.rb
307
- - spec/dummy/example_app/app/controllers/sessions_controller.rb
308
- - spec/dummy/example_app/app/controllers/users_controller.rb
309
- - spec/dummy/example_app/app/helpers/application_helper.rb
310
- - spec/dummy/example_app/app/helpers/posts_helper.rb
311
- - spec/dummy/example_app/app/helpers/users_helper.rb
312
- - spec/dummy/example_app/app/mailers/.gitkeep
313
- - spec/dummy/example_app/app/models/.gitkeep
314
- - spec/dummy/example_app/app/models/post.rb
315
- - spec/dummy/example_app/app/models/user.rb
316
- - spec/dummy/example_app/app/views/layouts/application.html.erb
317
- - spec/dummy/example_app/app/views/posts/_form.html.erb
318
- - spec/dummy/example_app/app/views/posts/_post.html.erb
319
- - spec/dummy/example_app/app/views/posts/edit.html.erb
320
- - spec/dummy/example_app/app/views/posts/index.html.erb
321
- - spec/dummy/example_app/app/views/posts/new.html.erb
322
- - spec/dummy/example_app/app/views/posts/show.html.erb
323
- - spec/dummy/example_app/app/views/sessions/new.html.erb
324
- - spec/dummy/example_app/app/views/users/_form.html.erb
325
- - spec/dummy/example_app/app/views/users/edit.html.erb
326
- - spec/dummy/example_app/app/views/users/index.html.erb
327
- - spec/dummy/example_app/app/views/users/new.html.erb
328
- - spec/dummy/example_app/app/views/users/show.html.erb
329
- - spec/dummy/example_app/config.ru
330
- - spec/dummy/example_app/config/application.rb
331
- - spec/dummy/example_app/config/boot.rb
332
- - spec/dummy/example_app/config/database.yml
333
- - spec/dummy/example_app/config/environment.rb
334
- - spec/dummy/example_app/config/environments/development.rb
335
- - spec/dummy/example_app/config/environments/production.rb
336
- - spec/dummy/example_app/config/environments/test.rb
337
- - spec/dummy/example_app/config/initializers/backtrace_silencers.rb
338
- - spec/dummy/example_app/config/initializers/inflections.rb
339
- - spec/dummy/example_app/config/initializers/mime_types.rb
340
- - spec/dummy/example_app/config/initializers/secret_token.rb
341
- - spec/dummy/example_app/config/initializers/session_store.rb
342
- - spec/dummy/example_app/config/initializers/wrap_parameters.rb
343
- - spec/dummy/example_app/config/locales/en.yml
344
- - spec/dummy/example_app/config/routes.rb
345
- - spec/dummy/example_app/db/migrate/20120513023816_create_posts.rb
346
- - spec/dummy/example_app/db/migrate/20120513023840_create_users.rb
347
- - spec/dummy/example_app/db/migrate/20120513032032_create_social_extension_likes.rb
348
- - spec/dummy/example_app/db/schema.rb
349
- - spec/dummy/example_app/lib/assets/.gitkeep
350
- - spec/dummy/example_app/log/.gitkeep
351
- - spec/dummy/example_app/public/404.html
352
- - spec/dummy/example_app/public/422.html
353
- - spec/dummy/example_app/public/500.html
354
- - spec/dummy/example_app/public/favicon.ico
355
- - spec/dummy/example_app/script/rails
356
- - spec/dummy/example_app/spec/support/user_macros.rb
357
- - spec/dummy/example_app/vendor/chili/invites_extension/.gitignore
358
- - spec/dummy/example_app/vendor/chili/invites_extension/app/assets/images/invites_extension/.gitkeep
359
- - spec/dummy/example_app/vendor/chili/invites_extension/app/assets/javascripts/invites_extension/application.js
360
- - spec/dummy/example_app/vendor/chili/invites_extension/app/assets/stylesheets/invites_extension/application.css
361
- - spec/dummy/example_app/vendor/chili/invites_extension/app/overrides/posts/index/disclaimer.html.erb.deface
362
- - spec/dummy/example_app/vendor/chili/invites_extension/config/routes.rb
363
- - spec/dummy/example_app/vendor/chili/invites_extension/lib/invites_extension.rb
364
- - spec/dummy/example_app/vendor/chili/invites_extension/lib/invites_extension/engine.rb
365
- - spec/dummy/example_app/vendor/chili/social_extension/app/assets/images/social_extension/.gitkeep
366
- - spec/dummy/example_app/vendor/chili/social_extension/app/assets/javascripts/social_extension/application.js
367
- - spec/dummy/example_app/vendor/chili/social_extension/app/assets/stylesheets/social_extension/application.css.scss
368
- - spec/dummy/example_app/vendor/chili/social_extension/app/controllers/social_extension/likes_controller.rb
369
- - spec/dummy/example_app/vendor/chili/social_extension/app/models/social_extension/like.rb
370
- - spec/dummy/example_app/vendor/chili/social_extension/app/models/social_extension/post.rb
371
- - spec/dummy/example_app/vendor/chili/social_extension/app/models/social_extension/user.rb
372
- - spec/dummy/example_app/vendor/chili/social_extension/app/overrides/layouts/application/likes_link.html.erb.deface
373
- - spec/dummy/example_app/vendor/chili/social_extension/app/overrides/posts/_post/like_actions.html.erb.deface
374
- - spec/dummy/example_app/vendor/chili/social_extension/app/overrides/posts/index/disclaimer.html.erb.deface
375
- - spec/dummy/example_app/vendor/chili/social_extension/app/overrides/posts/index/table_headers.html.erb.deface
376
- - spec/dummy/example_app/vendor/chili/social_extension/app/views/social_extension/likes/index.html.erb
377
- - spec/dummy/example_app/vendor/chili/social_extension/config/routes.rb
378
- - spec/dummy/example_app/vendor/chili/social_extension/db/migrate/20120513031021_create_likes_extension_likes.rb
379
- - spec/dummy/example_app/vendor/chili/social_extension/lib/social_extension.rb
380
- - spec/dummy/example_app/vendor/chili/social_extension/lib/social_extension/engine.rb
381
- - spec/generators/chili/chili_generator_spec.rb
264
+ - spec/dummy/app/app/controllers/application_controller.rb
265
+ - spec/dummy/app/config/application.rb
266
+ - spec/dummy/app/config/boot.rb
267
+ - spec/dummy/app/config/database.yml
268
+ - spec/dummy/app/config/environment.rb
269
+ - spec/dummy/app/config/environments/development.rb
270
+ - spec/dummy/app/config/environments/test.rb
271
+ - spec/dummy/app/script/rails
272
+ - spec/dummy/blank_feature/MIT-LICENSE
273
+ - spec/dummy/blank_feature/README.rdoc
274
+ - spec/dummy/blank_feature/app/assets/images/blank_feature/.gitkeep
275
+ - spec/dummy/blank_feature/app/assets/javascripts/blank_feature/application.js
276
+ - spec/dummy/blank_feature/app/assets/stylesheets/blank_feature/application.css
277
+ - spec/dummy/blank_feature/app/controllers/blank_feature/application_controller.rb
278
+ - spec/dummy/blank_feature/app/overrides/layouts/application/assets.html.erb.deface
279
+ - spec/dummy/blank_feature/app/overrides/layouts/application/example.html.erb.deface
280
+ - spec/dummy/blank_feature/blank_feature.gemspec
281
+ - spec/dummy/blank_feature/config/routes.rb
282
+ - spec/dummy/blank_feature/lib/blank_feature.rb
283
+ - spec/dummy/blank_feature/lib/blank_feature/engine.rb
284
+ - spec/dummy/blank_feature/lib/blank_feature/version.rb
285
+ - spec/dummy/blank_feature/lib/generators/blank_feature_generator.rb
286
+ - spec/dummy/blank_feature/lib/tasks/blank_feature_tasks.rake
287
+ - spec/example_app/README.rdoc
288
+ - spec/example_app/Rakefile
289
+ - spec/example_app/app/assets/javascripts/application.js
290
+ - spec/example_app/app/assets/stylesheets/application.css
291
+ - spec/example_app/app/assets/stylesheets/posts.css
292
+ - spec/example_app/app/assets/stylesheets/scaffold.css
293
+ - spec/example_app/app/assets/stylesheets/users.css
294
+ - spec/example_app/app/controllers/application_controller.rb
295
+ - spec/example_app/app/controllers/posts_controller.rb
296
+ - spec/example_app/app/controllers/sessions_controller.rb
297
+ - spec/example_app/app/controllers/users_controller.rb
298
+ - spec/example_app/app/helpers/application_helper.rb
299
+ - spec/example_app/app/helpers/posts_helper.rb
300
+ - spec/example_app/app/helpers/users_helper.rb
301
+ - spec/example_app/app/mailers/.gitkeep
302
+ - spec/example_app/app/models/.gitkeep
303
+ - spec/example_app/app/models/post.rb
304
+ - spec/example_app/app/models/user.rb
305
+ - spec/example_app/app/views/layouts/application.html.erb
306
+ - spec/example_app/app/views/posts/_form.html.erb
307
+ - spec/example_app/app/views/posts/_post.html.erb
308
+ - spec/example_app/app/views/posts/edit.html.erb
309
+ - spec/example_app/app/views/posts/index.html.erb
310
+ - spec/example_app/app/views/posts/new.html.erb
311
+ - spec/example_app/app/views/posts/show.html.erb
312
+ - spec/example_app/app/views/sessions/new.html.erb
313
+ - spec/example_app/app/views/users/_form.html.erb
314
+ - spec/example_app/app/views/users/edit.html.erb
315
+ - spec/example_app/app/views/users/index.html.erb
316
+ - spec/example_app/app/views/users/new.html.erb
317
+ - spec/example_app/app/views/users/show.html.erb
318
+ - spec/example_app/config.ru
319
+ - spec/example_app/config/application.rb
320
+ - spec/example_app/config/boot.rb
321
+ - spec/example_app/config/database.yml
322
+ - spec/example_app/config/environment.rb
323
+ - spec/example_app/config/environments/development.rb
324
+ - spec/example_app/config/environments/production.rb
325
+ - spec/example_app/config/environments/test.rb
326
+ - spec/example_app/config/initializers/backtrace_silencers.rb
327
+ - spec/example_app/config/initializers/inflections.rb
328
+ - spec/example_app/config/initializers/mime_types.rb
329
+ - spec/example_app/config/initializers/secret_token.rb
330
+ - spec/example_app/config/initializers/session_store.rb
331
+ - spec/example_app/config/initializers/wrap_parameters.rb
332
+ - spec/example_app/config/locales/en.yml
333
+ - spec/example_app/config/routes.rb
334
+ - spec/example_app/db/migrate/20120513023816_create_posts.rb
335
+ - spec/example_app/db/migrate/20120513023840_create_users.rb
336
+ - spec/example_app/db/migrate/20120513032032_create_social_feature_likes.rb
337
+ - spec/example_app/db/schema.rb
338
+ - spec/example_app/lib/assets/.gitkeep
339
+ - spec/example_app/lib/chili/invites_feature/.gitignore
340
+ - spec/example_app/lib/chili/invites_feature/app/assets/images/invites_feature/.gitkeep
341
+ - spec/example_app/lib/chili/invites_feature/app/assets/javascripts/invites_feature/application.js
342
+ - spec/example_app/lib/chili/invites_feature/app/assets/stylesheets/invites_feature/application.css
343
+ - spec/example_app/lib/chili/invites_feature/app/controllers/invites_feature/application_controller.rb
344
+ - spec/example_app/lib/chili/invites_feature/app/overrides/posts/index/disclaimer.html.erb.deface
345
+ - spec/example_app/lib/chili/invites_feature/config/routes.rb
346
+ - spec/example_app/lib/chili/invites_feature/lib/generators/invites_feature_generator.rb
347
+ - spec/example_app/lib/chili/invites_feature/lib/invites_feature.rb
348
+ - spec/example_app/lib/chili/invites_feature/lib/invites_feature/engine.rb
349
+ - spec/example_app/lib/chili/social_feature/app/assets/images/social_feature/.gitkeep
350
+ - spec/example_app/lib/chili/social_feature/app/assets/javascripts/social_feature/application.js
351
+ - spec/example_app/lib/chili/social_feature/app/assets/stylesheets/social_feature/application.css.scss
352
+ - spec/example_app/lib/chili/social_feature/app/controllers/social_feature/application_controller.rb
353
+ - spec/example_app/lib/chili/social_feature/app/controllers/social_feature/likes_controller.rb
354
+ - spec/example_app/lib/chili/social_feature/app/models/social_feature/like.rb
355
+ - spec/example_app/lib/chili/social_feature/app/models/social_feature/post.rb
356
+ - spec/example_app/lib/chili/social_feature/app/models/social_feature/user.rb
357
+ - spec/example_app/lib/chili/social_feature/app/overrides/layouts/application/likes_link.html.erb.deface
358
+ - spec/example_app/lib/chili/social_feature/app/overrides/posts/_post/like_actions.html.erb.deface
359
+ - spec/example_app/lib/chili/social_feature/app/overrides/posts/index/disclaimer.html.erb.deface
360
+ - spec/example_app/lib/chili/social_feature/app/overrides/posts/index/table_headers.html.erb.deface
361
+ - spec/example_app/lib/chili/social_feature/app/views/social_feature/likes/index.html.erb
362
+ - spec/example_app/lib/chili/social_feature/config/routes.rb
363
+ - spec/example_app/lib/chili/social_feature/db/migrate/20120513031021_create_social_feature_likes.rb
364
+ - spec/example_app/lib/chili/social_feature/lib/generators/social_feature_generator.rb
365
+ - spec/example_app/lib/chili/social_feature/lib/social_feature.rb
366
+ - spec/example_app/lib/chili/social_feature/lib/social_feature/engine.rb
367
+ - spec/example_app/log/.gitkeep
368
+ - spec/example_app/public/404.html
369
+ - spec/example_app/public/422.html
370
+ - spec/example_app/public/500.html
371
+ - spec/example_app/public/favicon.ico
372
+ - spec/example_app/script/rails
373
+ - spec/example_app/spec/support/user_macros.rb
374
+ - spec/generators/chili/feature_generator_spec.rb
375
+ - spec/generators/chili/generator_proxy_spec.rb
382
376
  - spec/lib/chili/activatable_spec.rb
383
377
  - spec/requests/social_extension_spec.rb
384
378
  - spec/spec_helper.rb
379
+ - spec/support/dummy_app.rb