chili 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. data/.gitignore +1 -1
  2. data/Gemfile +1 -0
  3. data/README.md +15 -15
  4. data/lib/chili/engine.rb +4 -0
  5. data/lib/chili/version.rb +1 -1
  6. data/lib/generators/chili/USAGE +2 -2
  7. data/lib/generators/chili/extension_generator.rb +109 -0
  8. data/spec/dummy/{template_ext → blank_extension}/MIT-LICENSE +0 -0
  9. data/spec/dummy/blank_extension/README.rdoc +3 -0
  10. data/spec/dummy/{example/vendor/chili/social_ext/app/assets/images/social_ext → blank_extension/app/assets/images/blank_extension}/.gitkeep +0 -0
  11. data/spec/dummy/{template_ext/app/assets/javascripts/template_ext → blank_extension/app/assets/javascripts/blank_extension}/application.js +0 -0
  12. data/spec/dummy/{template_ext/app/assets/stylesheets/template_ext → blank_extension/app/assets/stylesheets/blank_extension}/application.css +0 -0
  13. data/spec/dummy/blank_extension/app/overrides/layouts/application/assets.html.erb.deface +3 -0
  14. data/spec/dummy/{template_ext → blank_extension}/app/overrides/layouts/application/example.html.erb.deface +2 -2
  15. data/spec/dummy/{template_ext/template_ext.gemspec → blank_extension/blank_extension.gemspec} +7 -7
  16. data/spec/dummy/blank_extension/config/routes.rb +3 -0
  17. data/spec/dummy/{template_ext/lib/template_ext.rb → blank_extension/lib/blank_extension.rb} +2 -2
  18. data/spec/dummy/{example/vendor/chili/social_ext/lib/social_ext → blank_extension/lib/blank_extension}/engine.rb +2 -2
  19. data/spec/dummy/{template_ext/lib/template_ext → blank_extension/lib/blank_extension}/version.rb +1 -1
  20. data/spec/dummy/{template_ext/lib/tasks/template_ext_tasks.rake → blank_extension/lib/tasks/blank_extension_tasks.rake} +1 -1
  21. data/spec/dummy/{template_ext → blank_extension}/script/rails +1 -1
  22. data/spec/dummy/example/config/application.rb +2 -1
  23. data/spec/dummy/example/config/boot.rb +2 -1
  24. data/spec/dummy/example/db/migrate/20120513032032_create_social_extension_likes.rb +11 -0
  25. data/spec/dummy/example/db/schema.rb +1 -1
  26. data/spec/dummy/example/vendor/chili/invites_extension/.gitignore +3 -0
  27. data/spec/dummy/{template_ext/app/assets/images/template_ext → example/vendor/chili/invites_extension/app/assets/images/invites_extension}/.gitkeep +0 -0
  28. data/spec/dummy/example/vendor/chili/invites_extension/app/assets/javascripts/invites_extension/application.js +13 -0
  29. data/spec/dummy/example/vendor/chili/invites_extension/app/assets/stylesheets/invites_extension/application.css +13 -0
  30. data/spec/dummy/example/vendor/chili/invites_extension/app/overrides/posts/index/disclaimer.html.erb.deface +2 -0
  31. data/spec/dummy/example/vendor/chili/invites_extension/config/routes.rb +3 -0
  32. data/spec/dummy/example/vendor/chili/invites_extension/lib/invites_extension.rb +7 -0
  33. data/spec/dummy/example/vendor/chili/invites_extension/lib/invites_extension/engine.rb +10 -0
  34. data/spec/dummy/example/vendor/chili/social_extension/app/assets/images/social_extension/.gitkeep +0 -0
  35. data/spec/dummy/example/vendor/chili/{social_ext/app/assets/javascripts/social_ext → social_extension/app/assets/javascripts/social_extension}/application.js +0 -0
  36. data/spec/dummy/example/vendor/chili/{social_ext/app/assets/stylesheets/social_ext → social_extension/app/assets/stylesheets/social_extension}/application.css.scss +0 -0
  37. data/spec/dummy/example/vendor/chili/social_extension/app/controllers/social_extension/likes_controller.rb +20 -0
  38. data/spec/dummy/example/vendor/chili/{social_ext/app/models/social_ext → social_extension/app/models/social_extension}/like.rb +1 -1
  39. data/spec/dummy/example/vendor/chili/{social_ext/app/models/social_ext → social_extension/app/models/social_extension}/post.rb +1 -1
  40. data/spec/dummy/example/vendor/chili/{social_ext/app/models/social_ext → social_extension/app/models/social_extension}/user.rb +1 -1
  41. data/spec/dummy/example/vendor/chili/{social_ext → social_extension}/app/overrides/posts/_post/like_actions.html.erb.deface +2 -2
  42. data/spec/dummy/example/vendor/chili/{social_ext → social_extension}/app/overrides/posts/index/disclaimer.html.erb.deface +0 -0
  43. data/spec/dummy/example/vendor/chili/social_extension/app/overrides/posts/index/like_links.html.erb.deface +2 -0
  44. data/spec/dummy/example/vendor/chili/{social_ext/app/views/social_ext → social_extension/app/views/social_extension}/likes/index.html.erb +0 -0
  45. data/spec/dummy/example/vendor/chili/social_extension/config/routes.rb +4 -0
  46. data/spec/dummy/example/vendor/chili/social_extension/db/migrate/20120513031021_create_likes_extension_likes.rb +10 -0
  47. data/spec/dummy/example/vendor/chili/{social_ext/lib/social_ext.rb → social_extension/lib/social_extension.rb} +2 -2
  48. data/spec/dummy/{template_ext/lib/template_ext → example/vendor/chili/social_extension/lib/social_extension}/engine.rb +2 -2
  49. data/spec/generators/chili/chili_generator_spec.rb +4 -4
  50. data/spec/requests/{social_ext_spec.rb → social_extension_spec.rb} +11 -2
  51. metadata +133 -86
  52. data/lib/generators/chili/chili_generator.rb +0 -104
  53. data/spec/dummy/example/db/migrate/20120513032032_create_social_ext_likes.rb +0 -11
  54. data/spec/dummy/example/vendor/chili/social_ext/app/controllers/social_ext/likes_controller.rb +0 -14
  55. data/spec/dummy/example/vendor/chili/social_ext/app/overrides/layouts/application/assets.html.erb.deface +0 -2
  56. data/spec/dummy/example/vendor/chili/social_ext/app/overrides/posts/index/like_links.html.erb.deface +0 -2
  57. data/spec/dummy/example/vendor/chili/social_ext/config/routes.rb +0 -4
  58. data/spec/dummy/example/vendor/chili/social_ext/db/migrate/20120513031021_create_likes_ext_likes.rb +0 -10
  59. data/spec/dummy/example/vendor/chili/social_ext/db/migrate/20120513031021_create_social_ext_likes.rb +0 -10
  60. data/spec/dummy/template_ext/README.rdoc +0 -3
  61. data/spec/dummy/template_ext/app/overrides/layouts/application/assets.html.erb.deface +0 -3
  62. data/spec/dummy/template_ext/config/routes.rb +0 -3
@@ -0,0 +1,7 @@
1
+ require "chili"
2
+ require "invites_extension/engine"
3
+
4
+ module InvitesExtension
5
+ extend Chili::Activatable
6
+ active_if { logged_in? }
7
+ end
@@ -0,0 +1,10 @@
1
+ module InvitesExtension
2
+ class Engine < ::Rails::Engine
3
+ isolate_namespace InvitesExtension
4
+ config.generators do |g|
5
+ g.scaffold_controller :chili
6
+ g.test_framework :rspec, view_specs: false, routing_specs: false, controller_specs: false
7
+ g.integration_tool :rspec
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,20 @@
1
+ module SocialExtension
2
+ class LikesController < Chili::ApplicationController
3
+
4
+ def index
5
+ @likes = current_user.likes
6
+ end
7
+
8
+ def create
9
+ @like = current_user.likes.create!(params[:like])
10
+ redirect_to :back, notice: 'Post liked!'
11
+ end
12
+
13
+ private
14
+
15
+ def current_user
16
+ super.becomes(SocialExtension::User)
17
+ end
18
+
19
+ end
20
+ end
@@ -1,4 +1,4 @@
1
- module SocialExt
1
+ module SocialExtension
2
2
  class Like < ActiveRecord::Base
3
3
  belongs_to :post
4
4
 
@@ -1,4 +1,4 @@
1
- module SocialExt
1
+ module SocialExtension
2
2
  class Post < ::Post
3
3
  has_many :likes
4
4
 
@@ -1,4 +1,4 @@
1
- module SocialExt
1
+ module SocialExtension
2
2
  class User < ::User
3
3
  has_many :likes
4
4
  end
@@ -1,6 +1,6 @@
1
1
  <!-- insert_bottom 'tr' -->
2
- <% post.becomes(SocialExt::Post).tap do |post| %>
3
- <td><%= link_to 'Like!', chili_social.likes_path(like: {post_id: post}), method: :post %></td>
2
+ <% post.becomes(SocialExtension::Post).tap do |post| %>
3
+ <td><%= link_to 'Like!', social_extension.likes_path(like: {post_id: post}), method: :post %></td>
4
4
  <td><%= pluralize post.likes.size, 'like' %></td>
5
5
  <td><%= post.well_liked? ? 'This post is well liked!' : 'This post is boring...' %></td>
6
6
  <% end %>
@@ -0,0 +1,2 @@
1
+ <!-- insert_before '#posts' -->
2
+ <%= link_to 'See Your Likes', social_extension.likes_path %>
@@ -0,0 +1,4 @@
1
+ SocialExtension::Engine.automount!
2
+ SocialExtension::Engine.routes.draw do
3
+ resources :likes
4
+ end
@@ -0,0 +1,10 @@
1
+ class CreateSocialExtensionLikes < ActiveRecord::Migration
2
+ def change
3
+ create_table :social_extension_likes do |t|
4
+ t.integer :post_id
5
+ t.integer :user_id
6
+
7
+ t.timestamps
8
+ end
9
+ end
10
+ end
@@ -1,7 +1,7 @@
1
1
  require "chili"
2
- require "social_ext/engine"
2
+ require "social_extension/engine"
3
3
 
4
- module SocialExt
4
+ module SocialExtension
5
5
  extend Chili::Activatable
6
6
  active_if { logged_in? && current_user.admin? }
7
7
  end
@@ -1,6 +1,6 @@
1
- module TemplateExt
1
+ module SocialExtension
2
2
  class Engine < ::Rails::Engine
3
- isolate_namespace TemplateExt
3
+ isolate_namespace SocialExtension
4
4
  config.generators do |g|
5
5
  g.scaffold_controller :chili
6
6
  g.test_framework :rspec, view_specs: false, routing_specs: false, controller_specs: false
@@ -3,19 +3,19 @@ require 'spec_helper'
3
3
  describe 'ChiliGenerator' do
4
4
  describe 'rails g chili EXTENSION_NAME' do
5
5
  let(:app_path) { File.expand_path("../../../dummy/example", __FILE__) }
6
- let(:template_path) { File.expand_path("../../../dummy/template_ext", __FILE__) }
6
+ let(:template_path) { File.expand_path("../../../dummy/blank_extension", __FILE__) }
7
7
 
8
8
  before do
9
- FileUtils.rm_rf File.join(app_path, 'vendor/chili/template_ext')
9
+ FileUtils.rm_rf File.join(app_path, 'vendor/chili/blank_extension')
10
10
  FileUtils.rm_rf File.join(app_path, 'Gemfile')
11
11
  FileUtils.touch File.join(app_path, 'Gemfile')
12
12
  end
13
13
 
14
14
  it 'creates a new extension with a correct file structure' do
15
- puts `cd #{app_path} && rails g chili template`
15
+ puts `cd #{app_path} && rails g chili:extension blank`
16
16
 
17
17
  Dir.glob(File.join(template_path, "**/*")).reject { |f| File.directory?(f) }.each do |template|
18
- result = File.join(app_path, 'vendor/chili/template_ext', template.sub(template_path, ''))
18
+ result = File.join(app_path, 'vendor/chili/blank_extension', template.sub(template_path, ''))
19
19
  result_text = File.open(result, 'rb').read
20
20
  template_text = File.open(template, 'rb').read
21
21
  template_text.sub!('GIT_AUTHOR',`git config user.name`.chomp) # Git author is different on each machine
@@ -18,12 +18,21 @@ end
18
18
  feature 'Togglable controllers' do
19
19
  scenario 'when user is not admin active_if hides engine controller' do
20
20
  User.create!
21
- expect { visit('/chili/social_ext/likes') }.to raise_error(ActionController::RoutingError)
21
+ expect { visit('/chili/social_extension/likes') }.to raise_error(ActionController::RoutingError)
22
22
  end
23
23
 
24
24
  scenario 'when admin active_if toggles overrides on' do
25
25
  User.create!(admin: true)
26
- visit('/chili/social_ext/likes')
26
+ visit('/chili/social_extension/likes')
27
27
  page.should have_content('Your Likes')
28
28
  end
29
29
  end
30
+
31
+ feature 'Multiple chili extensions' do
32
+ scenario 'multiple overrides do not redefine each other' do
33
+ User.create!(admin: true)
34
+ visit('/posts')
35
+ page.should have_content('Like functionality is in beta')
36
+ page.should have_content('Invite functionality is also in beta')
37
+ end
38
+ 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.3.1
4
+ version: 0.3.2
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-07-19 00:00:00.000000000 Z
12
+ date: 2012-09-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
- requirement: &70140538496960 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,15 @@ dependencies:
21
21
  version: '3.2'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70140538496960
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: '3.2'
25
30
  - !ruby/object:Gem::Dependency
26
31
  name: deface
27
- requirement: &70140538496460 !ruby/object:Gem::Requirement
32
+ requirement: !ruby/object:Gem::Requirement
28
33
  none: false
29
34
  requirements:
30
35
  - - ~>
@@ -32,10 +37,15 @@ dependencies:
32
37
  version: 0.9.1
33
38
  type: :runtime
34
39
  prerelease: false
35
- version_requirements: *70140538496460
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: 0.9.1
36
46
  - !ruby/object:Gem::Dependency
37
47
  name: rspec
38
- requirement: &70140538495960 !ruby/object:Gem::Requirement
48
+ requirement: !ruby/object:Gem::Requirement
39
49
  none: false
40
50
  requirements:
41
51
  - - ~>
@@ -43,10 +53,15 @@ dependencies:
43
53
  version: 2.9.0
44
54
  type: :development
45
55
  prerelease: false
46
- version_requirements: *70140538495960
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: 2.9.0
47
62
  - !ruby/object:Gem::Dependency
48
63
  name: rspec-rails
49
- requirement: &70140538495460 !ruby/object:Gem::Requirement
64
+ requirement: !ruby/object:Gem::Requirement
50
65
  none: false
51
66
  requirements:
52
67
  - - ~>
@@ -54,10 +69,15 @@ dependencies:
54
69
  version: 2.9.0
55
70
  type: :development
56
71
  prerelease: false
57
- version_requirements: *70140538495460
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ version: 2.9.0
58
78
  - !ruby/object:Gem::Dependency
59
79
  name: jquery-rails
60
- requirement: &70140538495060 !ruby/object:Gem::Requirement
80
+ requirement: !ruby/object:Gem::Requirement
61
81
  none: false
62
82
  requirements:
63
83
  - - ! '>='
@@ -65,10 +85,15 @@ dependencies:
65
85
  version: '0'
66
86
  type: :development
67
87
  prerelease: false
68
- version_requirements: *70140538495060
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
69
94
  - !ruby/object:Gem::Dependency
70
95
  name: capybara
71
- requirement: &70140538494580 !ruby/object:Gem::Requirement
96
+ requirement: !ruby/object:Gem::Requirement
72
97
  none: false
73
98
  requirements:
74
99
  - - ! '>='
@@ -76,10 +101,15 @@ dependencies:
76
101
  version: '0'
77
102
  type: :development
78
103
  prerelease: false
79
- version_requirements: *70140538494580
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
80
110
  - !ruby/object:Gem::Dependency
81
111
  name: sqlite3
82
- requirement: &70140538494120 !ruby/object:Gem::Requirement
112
+ requirement: !ruby/object:Gem::Requirement
83
113
  none: false
84
114
  requirements:
85
115
  - - ! '>='
@@ -87,7 +117,12 @@ dependencies:
87
117
  version: '0'
88
118
  type: :development
89
119
  prerelease: false
90
- version_requirements: *70140538494120
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
122
+ requirements:
123
+ - - ! '>='
124
+ - !ruby/object:Gem::Version
125
+ version: '0'
91
126
  description: The spicy extension framework
92
127
  email:
93
128
  - jens@balvig.com
@@ -110,9 +145,23 @@ files:
110
145
  - lib/chili/overrides.rb
111
146
  - lib/chili/version.rb
112
147
  - lib/generators/chili/USAGE
113
- - lib/generators/chili/chili_generator.rb
148
+ - lib/generators/chili/extension_generator.rb
114
149
  - lib/generators/rails/chili_generator.rb
115
150
  - lib/generators/rails/templates/controller.rb
151
+ - spec/dummy/blank_extension/MIT-LICENSE
152
+ - spec/dummy/blank_extension/README.rdoc
153
+ - spec/dummy/blank_extension/app/assets/images/blank_extension/.gitkeep
154
+ - spec/dummy/blank_extension/app/assets/javascripts/blank_extension/application.js
155
+ - spec/dummy/blank_extension/app/assets/stylesheets/blank_extension/application.css
156
+ - spec/dummy/blank_extension/app/overrides/layouts/application/assets.html.erb.deface
157
+ - spec/dummy/blank_extension/app/overrides/layouts/application/example.html.erb.deface
158
+ - spec/dummy/blank_extension/blank_extension.gemspec
159
+ - spec/dummy/blank_extension/config/routes.rb
160
+ - spec/dummy/blank_extension/lib/blank_extension.rb
161
+ - spec/dummy/blank_extension/lib/blank_extension/engine.rb
162
+ - spec/dummy/blank_extension/lib/blank_extension/version.rb
163
+ - spec/dummy/blank_extension/lib/tasks/blank_extension_tasks.rake
164
+ - spec/dummy/blank_extension/script/rails
116
165
  - spec/dummy/example/README.rdoc
117
166
  - spec/dummy/example/Rakefile
118
167
  - spec/dummy/example/app/assets/javascripts/application.js
@@ -160,7 +209,7 @@ files:
160
209
  - spec/dummy/example/config/routes.rb
161
210
  - spec/dummy/example/db/migrate/20120513023816_create_posts.rb
162
211
  - spec/dummy/example/db/migrate/20120513023840_create_users.rb
163
- - spec/dummy/example/db/migrate/20120513032032_create_social_ext_likes.rb
212
+ - spec/dummy/example/db/migrate/20120513032032_create_social_extension_likes.rb
164
213
  - spec/dummy/example/db/schema.rb
165
214
  - spec/dummy/example/lib/assets/.gitkeep
166
215
  - spec/dummy/example/log/.gitkeep
@@ -169,40 +218,32 @@ files:
169
218
  - spec/dummy/example/public/500.html
170
219
  - spec/dummy/example/public/favicon.ico
171
220
  - spec/dummy/example/script/rails
172
- - spec/dummy/example/vendor/chili/social_ext/app/assets/images/social_ext/.gitkeep
173
- - spec/dummy/example/vendor/chili/social_ext/app/assets/javascripts/social_ext/application.js
174
- - spec/dummy/example/vendor/chili/social_ext/app/assets/stylesheets/social_ext/application.css.scss
175
- - spec/dummy/example/vendor/chili/social_ext/app/controllers/social_ext/likes_controller.rb
176
- - spec/dummy/example/vendor/chili/social_ext/app/models/social_ext/like.rb
177
- - spec/dummy/example/vendor/chili/social_ext/app/models/social_ext/post.rb
178
- - spec/dummy/example/vendor/chili/social_ext/app/models/social_ext/user.rb
179
- - spec/dummy/example/vendor/chili/social_ext/app/overrides/layouts/application/assets.html.erb.deface
180
- - spec/dummy/example/vendor/chili/social_ext/app/overrides/posts/_post/like_actions.html.erb.deface
181
- - spec/dummy/example/vendor/chili/social_ext/app/overrides/posts/index/disclaimer.html.erb.deface
182
- - spec/dummy/example/vendor/chili/social_ext/app/overrides/posts/index/like_links.html.erb.deface
183
- - spec/dummy/example/vendor/chili/social_ext/app/views/social_ext/likes/index.html.erb
184
- - spec/dummy/example/vendor/chili/social_ext/config/routes.rb
185
- - spec/dummy/example/vendor/chili/social_ext/db/migrate/20120513031021_create_likes_ext_likes.rb
186
- - spec/dummy/example/vendor/chili/social_ext/db/migrate/20120513031021_create_social_ext_likes.rb
187
- - spec/dummy/example/vendor/chili/social_ext/lib/social_ext.rb
188
- - spec/dummy/example/vendor/chili/social_ext/lib/social_ext/engine.rb
189
- - spec/dummy/template_ext/MIT-LICENSE
190
- - spec/dummy/template_ext/README.rdoc
191
- - spec/dummy/template_ext/app/assets/images/template_ext/.gitkeep
192
- - spec/dummy/template_ext/app/assets/javascripts/template_ext/application.js
193
- - spec/dummy/template_ext/app/assets/stylesheets/template_ext/application.css
194
- - spec/dummy/template_ext/app/overrides/layouts/application/assets.html.erb.deface
195
- - spec/dummy/template_ext/app/overrides/layouts/application/example.html.erb.deface
196
- - spec/dummy/template_ext/config/routes.rb
197
- - spec/dummy/template_ext/lib/tasks/template_ext_tasks.rake
198
- - spec/dummy/template_ext/lib/template_ext.rb
199
- - spec/dummy/template_ext/lib/template_ext/engine.rb
200
- - spec/dummy/template_ext/lib/template_ext/version.rb
201
- - spec/dummy/template_ext/script/rails
202
- - spec/dummy/template_ext/template_ext.gemspec
221
+ - spec/dummy/example/vendor/chili/invites_extension/.gitignore
222
+ - spec/dummy/example/vendor/chili/invites_extension/app/assets/images/invites_extension/.gitkeep
223
+ - spec/dummy/example/vendor/chili/invites_extension/app/assets/javascripts/invites_extension/application.js
224
+ - spec/dummy/example/vendor/chili/invites_extension/app/assets/stylesheets/invites_extension/application.css
225
+ - spec/dummy/example/vendor/chili/invites_extension/app/overrides/posts/index/disclaimer.html.erb.deface
226
+ - spec/dummy/example/vendor/chili/invites_extension/config/routes.rb
227
+ - spec/dummy/example/vendor/chili/invites_extension/lib/invites_extension.rb
228
+ - spec/dummy/example/vendor/chili/invites_extension/lib/invites_extension/engine.rb
229
+ - spec/dummy/example/vendor/chili/social_extension/app/assets/images/social_extension/.gitkeep
230
+ - spec/dummy/example/vendor/chili/social_extension/app/assets/javascripts/social_extension/application.js
231
+ - spec/dummy/example/vendor/chili/social_extension/app/assets/stylesheets/social_extension/application.css.scss
232
+ - spec/dummy/example/vendor/chili/social_extension/app/controllers/social_extension/likes_controller.rb
233
+ - spec/dummy/example/vendor/chili/social_extension/app/models/social_extension/like.rb
234
+ - spec/dummy/example/vendor/chili/social_extension/app/models/social_extension/post.rb
235
+ - spec/dummy/example/vendor/chili/social_extension/app/models/social_extension/user.rb
236
+ - spec/dummy/example/vendor/chili/social_extension/app/overrides/posts/_post/like_actions.html.erb.deface
237
+ - spec/dummy/example/vendor/chili/social_extension/app/overrides/posts/index/disclaimer.html.erb.deface
238
+ - spec/dummy/example/vendor/chili/social_extension/app/overrides/posts/index/like_links.html.erb.deface
239
+ - spec/dummy/example/vendor/chili/social_extension/app/views/social_extension/likes/index.html.erb
240
+ - spec/dummy/example/vendor/chili/social_extension/config/routes.rb
241
+ - spec/dummy/example/vendor/chili/social_extension/db/migrate/20120513031021_create_likes_extension_likes.rb
242
+ - spec/dummy/example/vendor/chili/social_extension/lib/social_extension.rb
243
+ - spec/dummy/example/vendor/chili/social_extension/lib/social_extension/engine.rb
203
244
  - spec/generators/chili/chili_generator_spec.rb
204
245
  - spec/lib/chili/activatable_spec.rb
205
- - spec/requests/social_ext_spec.rb
246
+ - spec/requests/social_extension_spec.rb
206
247
  - spec/spec_helper.rb
207
248
  homepage: https://github.com/balvig/chili
208
249
  licenses: []
@@ -218,7 +259,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
218
259
  version: '0'
219
260
  segments:
220
261
  - 0
221
- hash: -2004242061848083253
262
+ hash: -1399549731139573438
222
263
  required_rubygems_version: !ruby/object:Gem::Requirement
223
264
  none: false
224
265
  requirements:
@@ -227,14 +268,28 @@ required_rubygems_version: !ruby/object:Gem::Requirement
227
268
  version: '0'
228
269
  segments:
229
270
  - 0
230
- hash: -2004242061848083253
271
+ hash: -1399549731139573438
231
272
  requirements: []
232
273
  rubyforge_project:
233
- rubygems_version: 1.8.11
274
+ rubygems_version: 1.8.23
234
275
  signing_key:
235
276
  specification_version: 3
236
277
  summary: The spicy extension framework
237
278
  test_files:
279
+ - spec/dummy/blank_extension/MIT-LICENSE
280
+ - spec/dummy/blank_extension/README.rdoc
281
+ - spec/dummy/blank_extension/app/assets/images/blank_extension/.gitkeep
282
+ - spec/dummy/blank_extension/app/assets/javascripts/blank_extension/application.js
283
+ - spec/dummy/blank_extension/app/assets/stylesheets/blank_extension/application.css
284
+ - spec/dummy/blank_extension/app/overrides/layouts/application/assets.html.erb.deface
285
+ - spec/dummy/blank_extension/app/overrides/layouts/application/example.html.erb.deface
286
+ - spec/dummy/blank_extension/blank_extension.gemspec
287
+ - spec/dummy/blank_extension/config/routes.rb
288
+ - spec/dummy/blank_extension/lib/blank_extension.rb
289
+ - spec/dummy/blank_extension/lib/blank_extension/engine.rb
290
+ - spec/dummy/blank_extension/lib/blank_extension/version.rb
291
+ - spec/dummy/blank_extension/lib/tasks/blank_extension_tasks.rake
292
+ - spec/dummy/blank_extension/script/rails
238
293
  - spec/dummy/example/README.rdoc
239
294
  - spec/dummy/example/Rakefile
240
295
  - spec/dummy/example/app/assets/javascripts/application.js
@@ -282,7 +337,7 @@ test_files:
282
337
  - spec/dummy/example/config/routes.rb
283
338
  - spec/dummy/example/db/migrate/20120513023816_create_posts.rb
284
339
  - spec/dummy/example/db/migrate/20120513023840_create_users.rb
285
- - spec/dummy/example/db/migrate/20120513032032_create_social_ext_likes.rb
340
+ - spec/dummy/example/db/migrate/20120513032032_create_social_extension_likes.rb
286
341
  - spec/dummy/example/db/schema.rb
287
342
  - spec/dummy/example/lib/assets/.gitkeep
288
343
  - spec/dummy/example/log/.gitkeep
@@ -291,38 +346,30 @@ test_files:
291
346
  - spec/dummy/example/public/500.html
292
347
  - spec/dummy/example/public/favicon.ico
293
348
  - spec/dummy/example/script/rails
294
- - spec/dummy/example/vendor/chili/social_ext/app/assets/images/social_ext/.gitkeep
295
- - spec/dummy/example/vendor/chili/social_ext/app/assets/javascripts/social_ext/application.js
296
- - spec/dummy/example/vendor/chili/social_ext/app/assets/stylesheets/social_ext/application.css.scss
297
- - spec/dummy/example/vendor/chili/social_ext/app/controllers/social_ext/likes_controller.rb
298
- - spec/dummy/example/vendor/chili/social_ext/app/models/social_ext/like.rb
299
- - spec/dummy/example/vendor/chili/social_ext/app/models/social_ext/post.rb
300
- - spec/dummy/example/vendor/chili/social_ext/app/models/social_ext/user.rb
301
- - spec/dummy/example/vendor/chili/social_ext/app/overrides/layouts/application/assets.html.erb.deface
302
- - spec/dummy/example/vendor/chili/social_ext/app/overrides/posts/_post/like_actions.html.erb.deface
303
- - spec/dummy/example/vendor/chili/social_ext/app/overrides/posts/index/disclaimer.html.erb.deface
304
- - spec/dummy/example/vendor/chili/social_ext/app/overrides/posts/index/like_links.html.erb.deface
305
- - spec/dummy/example/vendor/chili/social_ext/app/views/social_ext/likes/index.html.erb
306
- - spec/dummy/example/vendor/chili/social_ext/config/routes.rb
307
- - spec/dummy/example/vendor/chili/social_ext/db/migrate/20120513031021_create_likes_ext_likes.rb
308
- - spec/dummy/example/vendor/chili/social_ext/db/migrate/20120513031021_create_social_ext_likes.rb
309
- - spec/dummy/example/vendor/chili/social_ext/lib/social_ext.rb
310
- - spec/dummy/example/vendor/chili/social_ext/lib/social_ext/engine.rb
311
- - spec/dummy/template_ext/MIT-LICENSE
312
- - spec/dummy/template_ext/README.rdoc
313
- - spec/dummy/template_ext/app/assets/images/template_ext/.gitkeep
314
- - spec/dummy/template_ext/app/assets/javascripts/template_ext/application.js
315
- - spec/dummy/template_ext/app/assets/stylesheets/template_ext/application.css
316
- - spec/dummy/template_ext/app/overrides/layouts/application/assets.html.erb.deface
317
- - spec/dummy/template_ext/app/overrides/layouts/application/example.html.erb.deface
318
- - spec/dummy/template_ext/config/routes.rb
319
- - spec/dummy/template_ext/lib/tasks/template_ext_tasks.rake
320
- - spec/dummy/template_ext/lib/template_ext.rb
321
- - spec/dummy/template_ext/lib/template_ext/engine.rb
322
- - spec/dummy/template_ext/lib/template_ext/version.rb
323
- - spec/dummy/template_ext/script/rails
324
- - spec/dummy/template_ext/template_ext.gemspec
349
+ - spec/dummy/example/vendor/chili/invites_extension/.gitignore
350
+ - spec/dummy/example/vendor/chili/invites_extension/app/assets/images/invites_extension/.gitkeep
351
+ - spec/dummy/example/vendor/chili/invites_extension/app/assets/javascripts/invites_extension/application.js
352
+ - spec/dummy/example/vendor/chili/invites_extension/app/assets/stylesheets/invites_extension/application.css
353
+ - spec/dummy/example/vendor/chili/invites_extension/app/overrides/posts/index/disclaimer.html.erb.deface
354
+ - spec/dummy/example/vendor/chili/invites_extension/config/routes.rb
355
+ - spec/dummy/example/vendor/chili/invites_extension/lib/invites_extension.rb
356
+ - spec/dummy/example/vendor/chili/invites_extension/lib/invites_extension/engine.rb
357
+ - spec/dummy/example/vendor/chili/social_extension/app/assets/images/social_extension/.gitkeep
358
+ - spec/dummy/example/vendor/chili/social_extension/app/assets/javascripts/social_extension/application.js
359
+ - spec/dummy/example/vendor/chili/social_extension/app/assets/stylesheets/social_extension/application.css.scss
360
+ - spec/dummy/example/vendor/chili/social_extension/app/controllers/social_extension/likes_controller.rb
361
+ - spec/dummy/example/vendor/chili/social_extension/app/models/social_extension/like.rb
362
+ - spec/dummy/example/vendor/chili/social_extension/app/models/social_extension/post.rb
363
+ - spec/dummy/example/vendor/chili/social_extension/app/models/social_extension/user.rb
364
+ - spec/dummy/example/vendor/chili/social_extension/app/overrides/posts/_post/like_actions.html.erb.deface
365
+ - spec/dummy/example/vendor/chili/social_extension/app/overrides/posts/index/disclaimer.html.erb.deface
366
+ - spec/dummy/example/vendor/chili/social_extension/app/overrides/posts/index/like_links.html.erb.deface
367
+ - spec/dummy/example/vendor/chili/social_extension/app/views/social_extension/likes/index.html.erb
368
+ - spec/dummy/example/vendor/chili/social_extension/config/routes.rb
369
+ - spec/dummy/example/vendor/chili/social_extension/db/migrate/20120513031021_create_likes_extension_likes.rb
370
+ - spec/dummy/example/vendor/chili/social_extension/lib/social_extension.rb
371
+ - spec/dummy/example/vendor/chili/social_extension/lib/social_extension/engine.rb
325
372
  - spec/generators/chili/chili_generator_spec.rb
326
373
  - spec/lib/chili/activatable_spec.rb
327
- - spec/requests/social_ext_spec.rb
374
+ - spec/requests/social_extension_spec.rb
328
375
  - spec/spec_helper.rb