chili 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (81) hide show
  1. data/.gitignore +5 -3
  2. data/Gemfile +1 -0
  3. data/README.md +37 -45
  4. data/chili.gemspec +7 -0
  5. data/lib/chili/template.rb +19 -5
  6. data/lib/chili/version.rb +1 -1
  7. data/spec/dummy/chili_likes/app/assets/images/chili_likes/.gitkeep +0 -0
  8. data/spec/dummy/chili_likes/app/assets/javascripts/chili_likes/application.js +15 -0
  9. data/spec/dummy/chili_likes/app/assets/stylesheets/chili_likes/application.css.scss +7 -0
  10. data/spec/dummy/chili_likes/app/controllers/chili_likes/likes_controller.rb +14 -0
  11. data/spec/dummy/chili_likes/app/models/chili_likes/like.rb +7 -0
  12. data/spec/dummy/chili_likes/app/models/chili_likes/post.rb +9 -0
  13. data/spec/dummy/chili_likes/app/models/chili_likes/user.rb +5 -0
  14. data/spec/dummy/chili_likes/app/overrides/layouts/application/chili_likes.html.erb.deface +2 -0
  15. data/spec/dummy/chili_likes/app/overrides/posts/_post/chili_likes.html.erb.deface +6 -0
  16. data/spec/dummy/chili_likes/app/overrides/posts/index/chili_likes.html.erb.deface +2 -0
  17. data/spec/dummy/chili_likes/app/views/chili_likes/likes/index.html.erb +9 -0
  18. data/spec/dummy/chili_likes/config/routes.rb +4 -0
  19. data/spec/dummy/chili_likes/db/migrate/20120513031021_create_chili_likes_likes.rb +10 -0
  20. data/spec/dummy/chili_likes/lib/chili_likes.rb +7 -0
  21. data/spec/dummy/chili_likes/lib/chili_likes/engine.rb +10 -0
  22. data/spec/dummy/main_app/README.rdoc +261 -0
  23. data/spec/dummy/main_app/Rakefile +7 -0
  24. data/spec/dummy/main_app/app/assets/javascripts/application.js +2 -0
  25. data/spec/dummy/main_app/app/assets/stylesheets/application.css +13 -0
  26. data/spec/dummy/main_app/app/assets/stylesheets/posts.css +4 -0
  27. data/spec/dummy/main_app/app/assets/stylesheets/scaffold.css +56 -0
  28. data/spec/dummy/main_app/app/assets/stylesheets/users.css +4 -0
  29. data/spec/dummy/main_app/app/controllers/application_controller.rb +11 -0
  30. data/spec/dummy/main_app/app/controllers/posts_controller.rb +83 -0
  31. data/spec/dummy/main_app/app/controllers/users_controller.rb +83 -0
  32. data/spec/dummy/main_app/app/helpers/application_helper.rb +2 -0
  33. data/spec/dummy/main_app/app/helpers/posts_helper.rb +2 -0
  34. data/spec/dummy/main_app/app/helpers/users_helper.rb +2 -0
  35. data/spec/dummy/main_app/app/mailers/.gitkeep +0 -0
  36. data/spec/dummy/main_app/app/models/.gitkeep +0 -0
  37. data/spec/dummy/main_app/app/models/post.rb +3 -0
  38. data/spec/dummy/main_app/app/models/user.rb +3 -0
  39. data/spec/dummy/main_app/app/views/layouts/application.html.erb +14 -0
  40. data/spec/dummy/main_app/app/views/posts/_form.html.erb +21 -0
  41. data/spec/dummy/main_app/app/views/posts/_post.html.erb +3 -0
  42. data/spec/dummy/main_app/app/views/posts/edit.html.erb +6 -0
  43. data/spec/dummy/main_app/app/views/posts/index.html.erb +16 -0
  44. data/spec/dummy/main_app/app/views/posts/new.html.erb +5 -0
  45. data/spec/dummy/main_app/app/views/posts/show.html.erb +10 -0
  46. data/spec/dummy/main_app/app/views/users/_form.html.erb +21 -0
  47. data/spec/dummy/main_app/app/views/users/edit.html.erb +6 -0
  48. data/spec/dummy/main_app/app/views/users/index.html.erb +23 -0
  49. data/spec/dummy/main_app/app/views/users/new.html.erb +5 -0
  50. data/spec/dummy/main_app/app/views/users/show.html.erb +10 -0
  51. data/spec/dummy/main_app/config.ru +4 -0
  52. data/spec/dummy/main_app/config/application.rb +57 -0
  53. data/spec/dummy/main_app/config/boot.rb +11 -0
  54. data/spec/dummy/main_app/config/database.yml +25 -0
  55. data/spec/dummy/main_app/config/environment.rb +5 -0
  56. data/spec/dummy/main_app/config/environments/development.rb +37 -0
  57. data/spec/dummy/main_app/config/environments/production.rb +67 -0
  58. data/spec/dummy/main_app/config/environments/test.rb +37 -0
  59. data/spec/dummy/main_app/config/initializers/backtrace_silencers.rb +7 -0
  60. data/spec/dummy/main_app/config/initializers/inflections.rb +15 -0
  61. data/spec/dummy/main_app/config/initializers/mime_types.rb +5 -0
  62. data/spec/dummy/main_app/config/initializers/secret_token.rb +7 -0
  63. data/spec/dummy/main_app/config/initializers/session_store.rb +8 -0
  64. data/spec/dummy/main_app/config/initializers/wrap_parameters.rb +14 -0
  65. data/spec/dummy/main_app/config/locales/en.yml +5 -0
  66. data/spec/dummy/main_app/config/routes.rb +6 -0
  67. data/spec/dummy/main_app/db/migrate/20120513023816_create_posts.rb +9 -0
  68. data/spec/dummy/main_app/db/migrate/20120513023840_create_users.rb +9 -0
  69. data/spec/dummy/main_app/db/migrate/20120513032032_create_chili_likes_likes.chili_likes.rb +11 -0
  70. data/spec/dummy/main_app/db/schema.rb +36 -0
  71. data/spec/dummy/main_app/lib/assets/.gitkeep +0 -0
  72. data/spec/dummy/main_app/log/.gitkeep +0 -0
  73. data/spec/dummy/main_app/public/404.html +26 -0
  74. data/spec/dummy/main_app/public/422.html +26 -0
  75. data/spec/dummy/main_app/public/500.html +25 -0
  76. data/spec/dummy/main_app/public/favicon.ico +0 -0
  77. data/spec/dummy/main_app/script/rails +6 -0
  78. data/spec/lib/chili/activatable_spec.rb +21 -0
  79. data/spec/requests/chili_likes_spec.rb +28 -0
  80. data/spec/spec_helper.rb +27 -0
  81. metadata +255 -5
@@ -0,0 +1,26 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The change you wanted was rejected (422)</title>
5
+ <style type="text/css">
6
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
+ div.dialog {
8
+ width: 25em;
9
+ padding: 0 4em;
10
+ margin: 4em auto 0 auto;
11
+ border: 1px solid #ccc;
12
+ border-right-color: #999;
13
+ border-bottom-color: #999;
14
+ }
15
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
+ </style>
17
+ </head>
18
+
19
+ <body>
20
+ <!-- This file lives in public/422.html -->
21
+ <div class="dialog">
22
+ <h1>The change you wanted was rejected.</h1>
23
+ <p>Maybe you tried to change something you didn't have access to.</p>
24
+ </div>
25
+ </body>
26
+ </html>
@@ -0,0 +1,25 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>We're sorry, but something went wrong (500)</title>
5
+ <style type="text/css">
6
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
+ div.dialog {
8
+ width: 25em;
9
+ padding: 0 4em;
10
+ margin: 4em auto 0 auto;
11
+ border: 1px solid #ccc;
12
+ border-right-color: #999;
13
+ border-bottom-color: #999;
14
+ }
15
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
+ </style>
17
+ </head>
18
+
19
+ <body>
20
+ <!-- This file lives in public/500.html -->
21
+ <div class="dialog">
22
+ <h1>We're sorry, but something went wrong.</h1>
23
+ </div>
24
+ </body>
25
+ </html>
File without changes
@@ -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,21 @@
1
+ require 'spec_helper'
2
+
3
+ module Engine
4
+ extend Chili::Activatable
5
+ end
6
+
7
+ class DummyController
8
+ def logged_in? ; true end
9
+ def admin? ; false end
10
+ end
11
+
12
+ describe Chili::Activatable do
13
+ describe '#active_if & #active?' do
14
+ it "evaluates the active_if block within the context of the instance" do
15
+ Engine.active_if { logged_in? }
16
+ Engine.active?(DummyController.new).should be_true
17
+ Engine.active_if { logged_in? && admin? }
18
+ Engine.active?(DummyController.new).should be_false
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,28 @@
1
+ require 'spec_helper'
2
+
3
+ feature 'View overrides' do
4
+ scenario 'when user is not admin active_if toggles overrides off' do
5
+ User.create!
6
+ visit('/posts')
7
+ page.should_not have_content('See Your Likes')
8
+ end
9
+
10
+ scenario 'when admin active_if toggles overrides on' do
11
+ User.create!(admin: true)
12
+ visit('/posts')
13
+ page.should have_content('See Your Likes')
14
+ end
15
+ end
16
+
17
+ feature 'Togglable controllers' do
18
+ scenario 'when user is not admin active_if hides engine controller' do
19
+ User.create!
20
+ expect { visit('/chili_likes/likes') }.to raise_error(ActionController::RoutingError)
21
+ end
22
+
23
+ scenario 'when admin active_if toggles overrides on' do
24
+ User.create!(admin: true)
25
+ visit('/chili_likes/likes')
26
+ page.should have_content('Your Likes')
27
+ end
28
+ end
@@ -0,0 +1,27 @@
1
+ # This file is copied to spec/ when you run 'rails generate rspec:install'
2
+ ENV["RAILS_ENV"] ||= 'test'
3
+ require File.expand_path("../dummy/main_app/config/environment", __FILE__)
4
+ require 'rspec/rails'
5
+
6
+ # Requires supporting ruby files with custom matchers and macros, etc,
7
+ # in spec/support/ and its subdirectories.
8
+ Dir[Rails.root.join("spec/support/**/*.rb")].each {|f| require f}
9
+
10
+ RSpec.configure do |config|
11
+ # == Mock Framework
12
+ #
13
+ # If you prefer to use mocha, flexmock or RR, uncomment the appropriate line:
14
+ #
15
+ # config.mock_with :mocha
16
+ # config.mock_with :flexmock
17
+ # config.mock_with :rr
18
+ config.mock_with :rspec
19
+
20
+ # Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
21
+ config.fixture_path = "#{::Rails.root}/spec/fixtures"
22
+
23
+ # If you're not using ActiveRecord, or you'd prefer not to run each of your
24
+ # examples within a transaction, remove the following line or assign false
25
+ # instead of true.
26
+ # config.use_transactional_fixtures = true
27
+ 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: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,8 +9,104 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-05-11 00:00:00.000000000 Z
13
- dependencies: []
12
+ date: 2012-05-19 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rails
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: 3.2.3
22
+ type: :runtime
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.3
30
+ - !ruby/object:Gem::Dependency
31
+ name: rspec
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - '='
36
+ - !ruby/object:Gem::Version
37
+ version: 2.9.0
38
+ type: :development
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - '='
44
+ - !ruby/object:Gem::Version
45
+ version: 2.9.0
46
+ - !ruby/object:Gem::Dependency
47
+ name: rspec-rails
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - '='
52
+ - !ruby/object:Gem::Version
53
+ version: 2.9.0
54
+ type: :development
55
+ 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
62
+ - !ruby/object:Gem::Dependency
63
+ name: jquery-rails
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ type: :development
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
78
+ - !ruby/object:Gem::Dependency
79
+ name: capybara
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ! '>='
84
+ - !ruby/object:Gem::Version
85
+ version: '0'
86
+ type: :development
87
+ prerelease: false
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
94
+ - !ruby/object:Gem::Dependency
95
+ name: sqlite3
96
+ requirement: !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - ! '>='
100
+ - !ruby/object:Gem::Version
101
+ version: '0'
102
+ type: :development
103
+ prerelease: false
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
14
110
  description: The spicy extension framework (work in progress)
15
111
  email:
16
112
  - jens@balvig.com
@@ -37,6 +133,80 @@ files:
37
133
  - lib/chili/version.rb
38
134
  - lib/generators/rails/chili_generator.rb
39
135
  - lib/generators/rails/templates/controller.rb
136
+ - spec/dummy/chili_likes/app/assets/images/chili_likes/.gitkeep
137
+ - spec/dummy/chili_likes/app/assets/javascripts/chili_likes/application.js
138
+ - spec/dummy/chili_likes/app/assets/stylesheets/chili_likes/application.css.scss
139
+ - spec/dummy/chili_likes/app/controllers/chili_likes/likes_controller.rb
140
+ - spec/dummy/chili_likes/app/models/chili_likes/like.rb
141
+ - spec/dummy/chili_likes/app/models/chili_likes/post.rb
142
+ - spec/dummy/chili_likes/app/models/chili_likes/user.rb
143
+ - spec/dummy/chili_likes/app/overrides/layouts/application/chili_likes.html.erb.deface
144
+ - spec/dummy/chili_likes/app/overrides/posts/_post/chili_likes.html.erb.deface
145
+ - spec/dummy/chili_likes/app/overrides/posts/index/chili_likes.html.erb.deface
146
+ - spec/dummy/chili_likes/app/views/chili_likes/likes/index.html.erb
147
+ - spec/dummy/chili_likes/config/routes.rb
148
+ - spec/dummy/chili_likes/db/migrate/20120513031021_create_chili_likes_likes.rb
149
+ - spec/dummy/chili_likes/lib/chili_likes.rb
150
+ - spec/dummy/chili_likes/lib/chili_likes/engine.rb
151
+ - spec/dummy/main_app/README.rdoc
152
+ - spec/dummy/main_app/Rakefile
153
+ - spec/dummy/main_app/app/assets/javascripts/application.js
154
+ - spec/dummy/main_app/app/assets/stylesheets/application.css
155
+ - spec/dummy/main_app/app/assets/stylesheets/posts.css
156
+ - spec/dummy/main_app/app/assets/stylesheets/scaffold.css
157
+ - spec/dummy/main_app/app/assets/stylesheets/users.css
158
+ - spec/dummy/main_app/app/controllers/application_controller.rb
159
+ - spec/dummy/main_app/app/controllers/posts_controller.rb
160
+ - spec/dummy/main_app/app/controllers/users_controller.rb
161
+ - spec/dummy/main_app/app/helpers/application_helper.rb
162
+ - spec/dummy/main_app/app/helpers/posts_helper.rb
163
+ - spec/dummy/main_app/app/helpers/users_helper.rb
164
+ - spec/dummy/main_app/app/mailers/.gitkeep
165
+ - spec/dummy/main_app/app/models/.gitkeep
166
+ - spec/dummy/main_app/app/models/post.rb
167
+ - spec/dummy/main_app/app/models/user.rb
168
+ - spec/dummy/main_app/app/views/layouts/application.html.erb
169
+ - spec/dummy/main_app/app/views/posts/_form.html.erb
170
+ - spec/dummy/main_app/app/views/posts/_post.html.erb
171
+ - spec/dummy/main_app/app/views/posts/edit.html.erb
172
+ - spec/dummy/main_app/app/views/posts/index.html.erb
173
+ - spec/dummy/main_app/app/views/posts/new.html.erb
174
+ - spec/dummy/main_app/app/views/posts/show.html.erb
175
+ - spec/dummy/main_app/app/views/users/_form.html.erb
176
+ - spec/dummy/main_app/app/views/users/edit.html.erb
177
+ - spec/dummy/main_app/app/views/users/index.html.erb
178
+ - spec/dummy/main_app/app/views/users/new.html.erb
179
+ - spec/dummy/main_app/app/views/users/show.html.erb
180
+ - spec/dummy/main_app/config.ru
181
+ - spec/dummy/main_app/config/application.rb
182
+ - spec/dummy/main_app/config/boot.rb
183
+ - spec/dummy/main_app/config/database.yml
184
+ - spec/dummy/main_app/config/environment.rb
185
+ - spec/dummy/main_app/config/environments/development.rb
186
+ - spec/dummy/main_app/config/environments/production.rb
187
+ - spec/dummy/main_app/config/environments/test.rb
188
+ - spec/dummy/main_app/config/initializers/backtrace_silencers.rb
189
+ - spec/dummy/main_app/config/initializers/inflections.rb
190
+ - spec/dummy/main_app/config/initializers/mime_types.rb
191
+ - spec/dummy/main_app/config/initializers/secret_token.rb
192
+ - spec/dummy/main_app/config/initializers/session_store.rb
193
+ - spec/dummy/main_app/config/initializers/wrap_parameters.rb
194
+ - spec/dummy/main_app/config/locales/en.yml
195
+ - spec/dummy/main_app/config/routes.rb
196
+ - spec/dummy/main_app/db/migrate/20120513023816_create_posts.rb
197
+ - spec/dummy/main_app/db/migrate/20120513023840_create_users.rb
198
+ - spec/dummy/main_app/db/migrate/20120513032032_create_chili_likes_likes.chili_likes.rb
199
+ - spec/dummy/main_app/db/schema.rb
200
+ - spec/dummy/main_app/lib/assets/.gitkeep
201
+ - spec/dummy/main_app/log/.gitkeep
202
+ - spec/dummy/main_app/public/404.html
203
+ - spec/dummy/main_app/public/422.html
204
+ - spec/dummy/main_app/public/500.html
205
+ - spec/dummy/main_app/public/favicon.ico
206
+ - spec/dummy/main_app/script/rails
207
+ - spec/lib/chili/activatable_spec.rb
208
+ - spec/requests/chili_likes_spec.rb
209
+ - spec/spec_helper.rb
40
210
  homepage: https://github.com/balvig/chili
41
211
  licenses: []
42
212
  post_install_message:
@@ -49,16 +219,96 @@ required_ruby_version: !ruby/object:Gem::Requirement
49
219
  - - ! '>='
50
220
  - !ruby/object:Gem::Version
51
221
  version: '0'
222
+ segments:
223
+ - 0
224
+ hash: 2356386984872247831
52
225
  required_rubygems_version: !ruby/object:Gem::Requirement
53
226
  none: false
54
227
  requirements:
55
228
  - - ! '>='
56
229
  - !ruby/object:Gem::Version
57
230
  version: '0'
231
+ segments:
232
+ - 0
233
+ hash: 2356386984872247831
58
234
  requirements: []
59
235
  rubyforge_project:
60
- rubygems_version: 1.8.11
236
+ rubygems_version: 1.8.23
61
237
  signing_key:
62
238
  specification_version: 3
63
239
  summary: The spicy extension framework (work in progress)
64
- test_files: []
240
+ test_files:
241
+ - spec/dummy/chili_likes/app/assets/images/chili_likes/.gitkeep
242
+ - spec/dummy/chili_likes/app/assets/javascripts/chili_likes/application.js
243
+ - spec/dummy/chili_likes/app/assets/stylesheets/chili_likes/application.css.scss
244
+ - spec/dummy/chili_likes/app/controllers/chili_likes/likes_controller.rb
245
+ - spec/dummy/chili_likes/app/models/chili_likes/like.rb
246
+ - spec/dummy/chili_likes/app/models/chili_likes/post.rb
247
+ - spec/dummy/chili_likes/app/models/chili_likes/user.rb
248
+ - spec/dummy/chili_likes/app/overrides/layouts/application/chili_likes.html.erb.deface
249
+ - spec/dummy/chili_likes/app/overrides/posts/_post/chili_likes.html.erb.deface
250
+ - spec/dummy/chili_likes/app/overrides/posts/index/chili_likes.html.erb.deface
251
+ - spec/dummy/chili_likes/app/views/chili_likes/likes/index.html.erb
252
+ - spec/dummy/chili_likes/config/routes.rb
253
+ - spec/dummy/chili_likes/db/migrate/20120513031021_create_chili_likes_likes.rb
254
+ - spec/dummy/chili_likes/lib/chili_likes.rb
255
+ - spec/dummy/chili_likes/lib/chili_likes/engine.rb
256
+ - spec/dummy/main_app/README.rdoc
257
+ - spec/dummy/main_app/Rakefile
258
+ - spec/dummy/main_app/app/assets/javascripts/application.js
259
+ - spec/dummy/main_app/app/assets/stylesheets/application.css
260
+ - spec/dummy/main_app/app/assets/stylesheets/posts.css
261
+ - spec/dummy/main_app/app/assets/stylesheets/scaffold.css
262
+ - spec/dummy/main_app/app/assets/stylesheets/users.css
263
+ - spec/dummy/main_app/app/controllers/application_controller.rb
264
+ - spec/dummy/main_app/app/controllers/posts_controller.rb
265
+ - spec/dummy/main_app/app/controllers/users_controller.rb
266
+ - spec/dummy/main_app/app/helpers/application_helper.rb
267
+ - spec/dummy/main_app/app/helpers/posts_helper.rb
268
+ - spec/dummy/main_app/app/helpers/users_helper.rb
269
+ - spec/dummy/main_app/app/mailers/.gitkeep
270
+ - spec/dummy/main_app/app/models/.gitkeep
271
+ - spec/dummy/main_app/app/models/post.rb
272
+ - spec/dummy/main_app/app/models/user.rb
273
+ - spec/dummy/main_app/app/views/layouts/application.html.erb
274
+ - spec/dummy/main_app/app/views/posts/_form.html.erb
275
+ - spec/dummy/main_app/app/views/posts/_post.html.erb
276
+ - spec/dummy/main_app/app/views/posts/edit.html.erb
277
+ - spec/dummy/main_app/app/views/posts/index.html.erb
278
+ - spec/dummy/main_app/app/views/posts/new.html.erb
279
+ - spec/dummy/main_app/app/views/posts/show.html.erb
280
+ - spec/dummy/main_app/app/views/users/_form.html.erb
281
+ - spec/dummy/main_app/app/views/users/edit.html.erb
282
+ - spec/dummy/main_app/app/views/users/index.html.erb
283
+ - spec/dummy/main_app/app/views/users/new.html.erb
284
+ - spec/dummy/main_app/app/views/users/show.html.erb
285
+ - spec/dummy/main_app/config.ru
286
+ - spec/dummy/main_app/config/application.rb
287
+ - spec/dummy/main_app/config/boot.rb
288
+ - spec/dummy/main_app/config/database.yml
289
+ - spec/dummy/main_app/config/environment.rb
290
+ - spec/dummy/main_app/config/environments/development.rb
291
+ - spec/dummy/main_app/config/environments/production.rb
292
+ - spec/dummy/main_app/config/environments/test.rb
293
+ - spec/dummy/main_app/config/initializers/backtrace_silencers.rb
294
+ - spec/dummy/main_app/config/initializers/inflections.rb
295
+ - spec/dummy/main_app/config/initializers/mime_types.rb
296
+ - spec/dummy/main_app/config/initializers/secret_token.rb
297
+ - spec/dummy/main_app/config/initializers/session_store.rb
298
+ - spec/dummy/main_app/config/initializers/wrap_parameters.rb
299
+ - spec/dummy/main_app/config/locales/en.yml
300
+ - spec/dummy/main_app/config/routes.rb
301
+ - spec/dummy/main_app/db/migrate/20120513023816_create_posts.rb
302
+ - spec/dummy/main_app/db/migrate/20120513023840_create_users.rb
303
+ - spec/dummy/main_app/db/migrate/20120513032032_create_chili_likes_likes.chili_likes.rb
304
+ - spec/dummy/main_app/db/schema.rb
305
+ - spec/dummy/main_app/lib/assets/.gitkeep
306
+ - spec/dummy/main_app/log/.gitkeep
307
+ - spec/dummy/main_app/public/404.html
308
+ - spec/dummy/main_app/public/422.html
309
+ - spec/dummy/main_app/public/500.html
310
+ - spec/dummy/main_app/public/favicon.ico
311
+ - spec/dummy/main_app/script/rails
312
+ - spec/lib/chili/activatable_spec.rb
313
+ - spec/requests/chili_likes_spec.rb
314
+ - spec/spec_helper.rb