crowdblog 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +4 -1
- data/app/controllers/crowdblog/controller.rb +5 -2
- data/app/models/crowdblog/user.rb +0 -2
- data/app/views/layouts/crowdblog/crowdblog.html.slim +1 -1
- data/config/routes.rb +0 -2
- data/crowdblog.gemspec +3 -2
- data/features/support/env.rb +3 -14
- data/lib/crowdblog/version.rb +1 -1
- data/spec/dummy/app/controllers/admin_controller.rb +0 -0
- data/spec/dummy/app/controllers/application_controller.rb +17 -0
- data/spec/dummy/app/controllers/home_controller.rb +4 -0
- data/spec/dummy/app/controllers/sessions_controller.rb +2 -0
- data/spec/dummy/app/models/user.rb +4 -0
- data/spec/dummy/app/views/home/show.html.slim +4 -0
- data/spec/dummy/config/initializers/crowdblog.rb +6 -20
- data/spec/dummy/config/routes.rb +5 -1
- metadata +73 -53
- data/app/controllers/crowdblog/sessions_controller.rb +0 -5
data/Gemfile.lock
CHANGED
@@ -9,7 +9,7 @@ GIT
|
|
9
9
|
PATH
|
10
10
|
remote: .
|
11
11
|
specs:
|
12
|
-
crowdblog (0.0.
|
12
|
+
crowdblog (0.0.4)
|
13
13
|
backbone-rails
|
14
14
|
carrierwave
|
15
15
|
devise
|
@@ -87,6 +87,8 @@ GEM
|
|
87
87
|
gherkin (~> 2.9.0)
|
88
88
|
json (>= 1.4.6)
|
89
89
|
term-ansicolor (>= 1.0.6)
|
90
|
+
cucumber-ajaxer (0.0.4)
|
91
|
+
cucumber
|
90
92
|
cucumber-rails (1.3.0)
|
91
93
|
capybara (>= 1.1.2)
|
92
94
|
cucumber (>= 1.1.8)
|
@@ -248,6 +250,7 @@ DEPENDENCIES
|
|
248
250
|
carrierwave
|
249
251
|
coffee-rails
|
250
252
|
crowdblog!
|
253
|
+
cucumber-ajaxer
|
251
254
|
cucumber-rails
|
252
255
|
database_cleaner
|
253
256
|
devise
|
@@ -1,7 +1,10 @@
|
|
1
1
|
module Crowdblog
|
2
2
|
class Controller < ActionController::Base
|
3
|
-
include Crowdblog::Devise::Auth
|
4
3
|
layout 'crowdblog/crowdblog'
|
5
|
-
before_filter :
|
4
|
+
before_filter :authorize!
|
5
|
+
|
6
|
+
def authorize!
|
7
|
+
redirect_to main_app.new_user_session_url unless current_user
|
8
|
+
end
|
6
9
|
end
|
7
10
|
end
|
@@ -6,8 +6,6 @@ module Crowdblog
|
|
6
6
|
has_many :authored_posts, inverse_of: :author, foreign_key: 'author_id', class_name: 'Post'
|
7
7
|
has_one :last_post, class_name: 'Post', foreign_key: :author_id, conditions: ['state = ?', 'published'], order: 'published_at DESC, created_at DESC, id DESC'
|
8
8
|
|
9
|
-
devise :database_authenticatable, :token_authenticatable
|
10
|
-
|
11
9
|
gravtastic :gravatar_email
|
12
10
|
|
13
11
|
|
data/config/routes.rb
CHANGED
data/crowdblog.gemspec
CHANGED
@@ -7,8 +7,8 @@ require 'crowdblog/version'
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = 'crowdblog'
|
9
9
|
s.version = Crowdblog::VERSION
|
10
|
-
s.authors = ['Crowd Interactive', 'David Padilla','Chalo Fernandez']
|
11
|
-
s.email = %w(opensource@crowdint.com david@crowdint.com chalofa@crowdint.com)
|
10
|
+
s.authors = ['Crowd Interactive', 'David Padilla', 'Chalo Fernandez', 'Ignacio Galindo']
|
11
|
+
s.email = %w(opensource@crowdint.com david@crowdint.com chalofa@crowdint.com ignacio@crowdint.com)
|
12
12
|
s.homepage = 'http://github.com/crowdint/crowdblog'
|
13
13
|
s.summary = 'CrowdBlog base functionality and backend'
|
14
14
|
s.description = 'This mountable engine has the basic functionality to manage Posts'
|
@@ -35,6 +35,7 @@ Gem::Specification.new do |s|
|
|
35
35
|
s.add_dependency 'state_machine'
|
36
36
|
|
37
37
|
s.add_development_dependency 'capybara-webkit'
|
38
|
+
s.add_development_dependency 'cucumber-ajaxer'
|
38
39
|
s.add_development_dependency 'cucumber-rails'
|
39
40
|
s.add_development_dependency 'database_cleaner'
|
40
41
|
s.add_development_dependency 'fabrication'
|
data/features/support/env.rb
CHANGED
@@ -11,6 +11,9 @@ ENV["RAILS_ROOT"] ||= File.dirname(__FILE__) + "../../../spec/dummy"
|
|
11
11
|
|
12
12
|
require 'cucumber/rails'
|
13
13
|
|
14
|
+
# Wait for AJAX calls in Scenarios with JS
|
15
|
+
require 'cucumber/ajaxer'
|
16
|
+
|
14
17
|
# Headless tests: http://bit.ly/xve9YJ
|
15
18
|
require 'capybara/webkit'
|
16
19
|
Capybara.javascript_driver = ENV['DEBUG'] ? :selenium : :webkit
|
@@ -71,17 +74,3 @@ module EngineRoutesHelper
|
|
71
74
|
include Crowdblog::Engine.routes.url_helpers
|
72
75
|
end
|
73
76
|
World(EngineRoutesHelper)
|
74
|
-
|
75
|
-
# Wait for AJAX requests when using @javascript tags: http://bit.ly/zige8p
|
76
|
-
AfterStep('@javascript') do
|
77
|
-
begin
|
78
|
-
unless page.evaluate_script('typeof(jQuery)') == 'undefined' # only when JQuery is loaded
|
79
|
-
start_time = Time.now
|
80
|
-
until page.evaluate_script('jQuery.isReady&&jQuery.active==0') or (start_time + 5.seconds) < Time.now
|
81
|
-
page.evaluate_script('jQuery.isReady&&jQuery.active==0').class.should_not eql(String)
|
82
|
-
sleep 1
|
83
|
-
end
|
84
|
-
end
|
85
|
-
rescue
|
86
|
-
end
|
87
|
-
end
|
data/lib/crowdblog/version.rb
CHANGED
File without changes
|
@@ -1,3 +1,20 @@
|
|
1
1
|
class ApplicationController < ActionController::Base
|
2
2
|
protect_from_forgery
|
3
|
+
|
4
|
+
# Overwriting the sign_out redirect path method
|
5
|
+
def after_sign_in_path_for(resource_or_scope)
|
6
|
+
crowdblog_url
|
7
|
+
end
|
8
|
+
|
9
|
+
def authenticate!
|
10
|
+
# sign out the user if trying to sign another user
|
11
|
+
sign_out current_user if params['auth_token'] && current_user
|
12
|
+
|
13
|
+
# if no one signed in, use the default user
|
14
|
+
unless user_signed_in?
|
15
|
+
user = Crowdblog::User.find_by_email('foo@crowdint.com') || Crowdblog::User.create!(email: 'foo@crowdint.com', is_publisher: true)
|
16
|
+
sign_in user
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
3
20
|
end
|
@@ -1,24 +1,10 @@
|
|
1
1
|
module Crowdblog::Devise
|
2
2
|
|
3
|
-
module Sessions
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
end
|
9
|
-
|
10
|
-
module Auth
|
11
|
-
def authenticate!
|
12
|
-
# sign out the user if trying to sign another user
|
13
|
-
sign_out current_user if params['auth_token'] && current_user
|
14
|
-
|
15
|
-
# if no one signed in, use the default user
|
16
|
-
unless user_signed_in?
|
17
|
-
user = Crowdblog::User.find_by_email('foo@crowdint.com') || Crowdblog::User.create!(email: 'foo@crowdint.com', is_publisher: true)
|
18
|
-
sign_in user
|
19
|
-
end
|
20
|
-
|
21
|
-
end
|
22
|
-
end
|
3
|
+
#module Sessions
|
4
|
+
# def destroy
|
5
|
+
# sign_out current_user
|
6
|
+
# redirect_to root_url
|
7
|
+
# end
|
8
|
+
#end
|
23
9
|
|
24
10
|
end
|
data/spec/dummy/config/routes.rb
CHANGED
metadata
CHANGED
@@ -1,21 +1,22 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: crowdblog
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Crowd Interactive
|
9
9
|
- David Padilla
|
10
10
|
- Chalo Fernandez
|
11
|
+
- Ignacio Galindo
|
11
12
|
autorequire:
|
12
13
|
bindir: bin
|
13
14
|
cert_chain: []
|
14
|
-
date: 2012-02
|
15
|
+
date: 2012-03-02 00:00:00.000000000 Z
|
15
16
|
dependencies:
|
16
17
|
- !ruby/object:Gem::Dependency
|
17
18
|
name: rails
|
18
|
-
requirement: &
|
19
|
+
requirement: &70203556776320 !ruby/object:Gem::Requirement
|
19
20
|
none: false
|
20
21
|
requirements:
|
21
22
|
- - ~>
|
@@ -23,10 +24,10 @@ dependencies:
|
|
23
24
|
version: '3.2'
|
24
25
|
type: :runtime
|
25
26
|
prerelease: false
|
26
|
-
version_requirements: *
|
27
|
+
version_requirements: *70203556776320
|
27
28
|
- !ruby/object:Gem::Dependency
|
28
29
|
name: jquery-rails
|
29
|
-
requirement: &
|
30
|
+
requirement: &70203556775900 !ruby/object:Gem::Requirement
|
30
31
|
none: false
|
31
32
|
requirements:
|
32
33
|
- - ! '>='
|
@@ -34,10 +35,10 @@ dependencies:
|
|
34
35
|
version: '0'
|
35
36
|
type: :runtime
|
36
37
|
prerelease: false
|
37
|
-
version_requirements: *
|
38
|
+
version_requirements: *70203556775900
|
38
39
|
- !ruby/object:Gem::Dependency
|
39
40
|
name: backbone-rails
|
40
|
-
requirement: &
|
41
|
+
requirement: &70203556775440 !ruby/object:Gem::Requirement
|
41
42
|
none: false
|
42
43
|
requirements:
|
43
44
|
- - ! '>='
|
@@ -45,10 +46,10 @@ dependencies:
|
|
45
46
|
version: '0'
|
46
47
|
type: :runtime
|
47
48
|
prerelease: false
|
48
|
-
version_requirements: *
|
49
|
+
version_requirements: *70203556775440
|
49
50
|
- !ruby/object:Gem::Dependency
|
50
51
|
name: carrierwave
|
51
|
-
requirement: &
|
52
|
+
requirement: &70203556775020 !ruby/object:Gem::Requirement
|
52
53
|
none: false
|
53
54
|
requirements:
|
54
55
|
- - ! '>='
|
@@ -56,10 +57,10 @@ dependencies:
|
|
56
57
|
version: '0'
|
57
58
|
type: :runtime
|
58
59
|
prerelease: false
|
59
|
-
version_requirements: *
|
60
|
+
version_requirements: *70203556775020
|
60
61
|
- !ruby/object:Gem::Dependency
|
61
62
|
name: devise
|
62
|
-
requirement: &
|
63
|
+
requirement: &70203556774600 !ruby/object:Gem::Requirement
|
63
64
|
none: false
|
64
65
|
requirements:
|
65
66
|
- - ! '>='
|
@@ -67,10 +68,10 @@ dependencies:
|
|
67
68
|
version: '0'
|
68
69
|
type: :runtime
|
69
70
|
prerelease: false
|
70
|
-
version_requirements: *
|
71
|
+
version_requirements: *70203556774600
|
71
72
|
- !ruby/object:Gem::Dependency
|
72
73
|
name: eco
|
73
|
-
requirement: &
|
74
|
+
requirement: &70203556774180 !ruby/object:Gem::Requirement
|
74
75
|
none: false
|
75
76
|
requirements:
|
76
77
|
- - ! '>='
|
@@ -78,10 +79,10 @@ dependencies:
|
|
78
79
|
version: '0'
|
79
80
|
type: :runtime
|
80
81
|
prerelease: false
|
81
|
-
version_requirements: *
|
82
|
+
version_requirements: *70203556774180
|
82
83
|
- !ruby/object:Gem::Dependency
|
83
84
|
name: gravtastic
|
84
|
-
requirement: &
|
85
|
+
requirement: &70203556773760 !ruby/object:Gem::Requirement
|
85
86
|
none: false
|
86
87
|
requirements:
|
87
88
|
- - ! '>='
|
@@ -89,10 +90,10 @@ dependencies:
|
|
89
90
|
version: '0'
|
90
91
|
type: :runtime
|
91
92
|
prerelease: false
|
92
|
-
version_requirements: *
|
93
|
+
version_requirements: *70203556773760
|
93
94
|
- !ruby/object:Gem::Dependency
|
94
95
|
name: less-rails-bootstrap
|
95
|
-
requirement: &
|
96
|
+
requirement: &70203556773340 !ruby/object:Gem::Requirement
|
96
97
|
none: false
|
97
98
|
requirements:
|
98
99
|
- - ! '>='
|
@@ -100,10 +101,10 @@ dependencies:
|
|
100
101
|
version: '0'
|
101
102
|
type: :runtime
|
102
103
|
prerelease: false
|
103
|
-
version_requirements: *
|
104
|
+
version_requirements: *70203556773340
|
104
105
|
- !ruby/object:Gem::Dependency
|
105
106
|
name: redcarpet
|
106
|
-
requirement: &
|
107
|
+
requirement: &70203556772920 !ruby/object:Gem::Requirement
|
107
108
|
none: false
|
108
109
|
requirements:
|
109
110
|
- - ! '>='
|
@@ -111,10 +112,10 @@ dependencies:
|
|
111
112
|
version: '0'
|
112
113
|
type: :runtime
|
113
114
|
prerelease: false
|
114
|
-
version_requirements: *
|
115
|
+
version_requirements: *70203556772920
|
115
116
|
- !ruby/object:Gem::Dependency
|
116
117
|
name: slim_assets
|
117
|
-
requirement: &
|
118
|
+
requirement: &70203556772500 !ruby/object:Gem::Requirement
|
118
119
|
none: false
|
119
120
|
requirements:
|
120
121
|
- - ! '>='
|
@@ -122,10 +123,10 @@ dependencies:
|
|
122
123
|
version: '0'
|
123
124
|
type: :runtime
|
124
125
|
prerelease: false
|
125
|
-
version_requirements: *
|
126
|
+
version_requirements: *70203556772500
|
126
127
|
- !ruby/object:Gem::Dependency
|
127
128
|
name: slim-rails
|
128
|
-
requirement: &
|
129
|
+
requirement: &70203556772080 !ruby/object:Gem::Requirement
|
129
130
|
none: false
|
130
131
|
requirements:
|
131
132
|
- - ! '>='
|
@@ -133,10 +134,10 @@ dependencies:
|
|
133
134
|
version: '0'
|
134
135
|
type: :runtime
|
135
136
|
prerelease: false
|
136
|
-
version_requirements: *
|
137
|
+
version_requirements: *70203556772080
|
137
138
|
- !ruby/object:Gem::Dependency
|
138
139
|
name: state_machine
|
139
|
-
requirement: &
|
140
|
+
requirement: &70203556771660 !ruby/object:Gem::Requirement
|
140
141
|
none: false
|
141
142
|
requirements:
|
142
143
|
- - ! '>='
|
@@ -144,10 +145,10 @@ dependencies:
|
|
144
145
|
version: '0'
|
145
146
|
type: :runtime
|
146
147
|
prerelease: false
|
147
|
-
version_requirements: *
|
148
|
+
version_requirements: *70203556771660
|
148
149
|
- !ruby/object:Gem::Dependency
|
149
150
|
name: capybara-webkit
|
150
|
-
requirement: &
|
151
|
+
requirement: &70203556771220 !ruby/object:Gem::Requirement
|
151
152
|
none: false
|
152
153
|
requirements:
|
153
154
|
- - ! '>='
|
@@ -155,10 +156,21 @@ dependencies:
|
|
155
156
|
version: '0'
|
156
157
|
type: :development
|
157
158
|
prerelease: false
|
158
|
-
version_requirements: *
|
159
|
+
version_requirements: *70203556771220
|
160
|
+
- !ruby/object:Gem::Dependency
|
161
|
+
name: cucumber-ajaxer
|
162
|
+
requirement: &70203556770800 !ruby/object:Gem::Requirement
|
163
|
+
none: false
|
164
|
+
requirements:
|
165
|
+
- - ! '>='
|
166
|
+
- !ruby/object:Gem::Version
|
167
|
+
version: '0'
|
168
|
+
type: :development
|
169
|
+
prerelease: false
|
170
|
+
version_requirements: *70203556770800
|
159
171
|
- !ruby/object:Gem::Dependency
|
160
172
|
name: cucumber-rails
|
161
|
-
requirement: &
|
173
|
+
requirement: &70203556770380 !ruby/object:Gem::Requirement
|
162
174
|
none: false
|
163
175
|
requirements:
|
164
176
|
- - ! '>='
|
@@ -166,10 +178,10 @@ dependencies:
|
|
166
178
|
version: '0'
|
167
179
|
type: :development
|
168
180
|
prerelease: false
|
169
|
-
version_requirements: *
|
181
|
+
version_requirements: *70203556770380
|
170
182
|
- !ruby/object:Gem::Dependency
|
171
183
|
name: database_cleaner
|
172
|
-
requirement: &
|
184
|
+
requirement: &70203556769960 !ruby/object:Gem::Requirement
|
173
185
|
none: false
|
174
186
|
requirements:
|
175
187
|
- - ! '>='
|
@@ -177,10 +189,10 @@ dependencies:
|
|
177
189
|
version: '0'
|
178
190
|
type: :development
|
179
191
|
prerelease: false
|
180
|
-
version_requirements: *
|
192
|
+
version_requirements: *70203556769960
|
181
193
|
- !ruby/object:Gem::Dependency
|
182
194
|
name: fabrication
|
183
|
-
requirement: &
|
195
|
+
requirement: &70203556769540 !ruby/object:Gem::Requirement
|
184
196
|
none: false
|
185
197
|
requirements:
|
186
198
|
- - ! '>='
|
@@ -188,10 +200,10 @@ dependencies:
|
|
188
200
|
version: '0'
|
189
201
|
type: :development
|
190
202
|
prerelease: false
|
191
|
-
version_requirements: *
|
203
|
+
version_requirements: *70203556769540
|
192
204
|
- !ruby/object:Gem::Dependency
|
193
205
|
name: faker
|
194
|
-
requirement: &
|
206
|
+
requirement: &70203556769120 !ruby/object:Gem::Requirement
|
195
207
|
none: false
|
196
208
|
requirements:
|
197
209
|
- - ! '>='
|
@@ -199,10 +211,10 @@ dependencies:
|
|
199
211
|
version: '0'
|
200
212
|
type: :development
|
201
213
|
prerelease: false
|
202
|
-
version_requirements: *
|
214
|
+
version_requirements: *70203556769120
|
203
215
|
- !ruby/object:Gem::Dependency
|
204
216
|
name: fuubar
|
205
|
-
requirement: &
|
217
|
+
requirement: &70203556768700 !ruby/object:Gem::Requirement
|
206
218
|
none: false
|
207
219
|
requirements:
|
208
220
|
- - ! '>='
|
@@ -210,10 +222,10 @@ dependencies:
|
|
210
222
|
version: '0'
|
211
223
|
type: :development
|
212
224
|
prerelease: false
|
213
|
-
version_requirements: *
|
225
|
+
version_requirements: *70203556768700
|
214
226
|
- !ruby/object:Gem::Dependency
|
215
227
|
name: fuubar-cucumber
|
216
|
-
requirement: &
|
228
|
+
requirement: &70203556768280 !ruby/object:Gem::Requirement
|
217
229
|
none: false
|
218
230
|
requirements:
|
219
231
|
- - ! '>='
|
@@ -221,10 +233,10 @@ dependencies:
|
|
221
233
|
version: '0'
|
222
234
|
type: :development
|
223
235
|
prerelease: false
|
224
|
-
version_requirements: *
|
236
|
+
version_requirements: *70203556768280
|
225
237
|
- !ruby/object:Gem::Dependency
|
226
238
|
name: headless
|
227
|
-
requirement: &
|
239
|
+
requirement: &70203556767860 !ruby/object:Gem::Requirement
|
228
240
|
none: false
|
229
241
|
requirements:
|
230
242
|
- - ! '>='
|
@@ -232,10 +244,10 @@ dependencies:
|
|
232
244
|
version: '0'
|
233
245
|
type: :development
|
234
246
|
prerelease: false
|
235
|
-
version_requirements: *
|
247
|
+
version_requirements: *70203556767860
|
236
248
|
- !ruby/object:Gem::Dependency
|
237
249
|
name: rspec-rails
|
238
|
-
requirement: &
|
250
|
+
requirement: &70203556767440 !ruby/object:Gem::Requirement
|
239
251
|
none: false
|
240
252
|
requirements:
|
241
253
|
- - ! '>='
|
@@ -243,10 +255,10 @@ dependencies:
|
|
243
255
|
version: '0'
|
244
256
|
type: :development
|
245
257
|
prerelease: false
|
246
|
-
version_requirements: *
|
258
|
+
version_requirements: *70203556767440
|
247
259
|
- !ruby/object:Gem::Dependency
|
248
260
|
name: simplecov
|
249
|
-
requirement: &
|
261
|
+
requirement: &70203556767020 !ruby/object:Gem::Requirement
|
250
262
|
none: false
|
251
263
|
requirements:
|
252
264
|
- - ! '>='
|
@@ -254,10 +266,10 @@ dependencies:
|
|
254
266
|
version: '0'
|
255
267
|
type: :development
|
256
268
|
prerelease: false
|
257
|
-
version_requirements: *
|
269
|
+
version_requirements: *70203556767020
|
258
270
|
- !ruby/object:Gem::Dependency
|
259
271
|
name: simplecov-rcov-text
|
260
|
-
requirement: &
|
272
|
+
requirement: &70203556766600 !ruby/object:Gem::Requirement
|
261
273
|
none: false
|
262
274
|
requirements:
|
263
275
|
- - ! '>='
|
@@ -265,10 +277,10 @@ dependencies:
|
|
265
277
|
version: '0'
|
266
278
|
type: :development
|
267
279
|
prerelease: false
|
268
|
-
version_requirements: *
|
280
|
+
version_requirements: *70203556766600
|
269
281
|
- !ruby/object:Gem::Dependency
|
270
282
|
name: sqlite3
|
271
|
-
requirement: &
|
283
|
+
requirement: &70203556766180 !ruby/object:Gem::Requirement
|
272
284
|
none: false
|
273
285
|
requirements:
|
274
286
|
- - ! '>='
|
@@ -276,12 +288,13 @@ dependencies:
|
|
276
288
|
version: '0'
|
277
289
|
type: :development
|
278
290
|
prerelease: false
|
279
|
-
version_requirements: *
|
291
|
+
version_requirements: *70203556766180
|
280
292
|
description: This mountable engine has the basic functionality to manage Posts
|
281
293
|
email:
|
282
294
|
- opensource@crowdint.com
|
283
295
|
- david@crowdint.com
|
284
296
|
- chalofa@crowdint.com
|
297
|
+
- ignacio@crowdint.com
|
285
298
|
executables: []
|
286
299
|
extensions: []
|
287
300
|
extra_rdoc_files: []
|
@@ -316,7 +329,6 @@ files:
|
|
316
329
|
- app/controllers/crowdblog/authors_controller.rb
|
317
330
|
- app/controllers/crowdblog/controller.rb
|
318
331
|
- app/controllers/crowdblog/posts_controller.rb
|
319
|
-
- app/controllers/crowdblog/sessions_controller.rb
|
320
332
|
- app/helpers/crowdblog/application_helper.rb
|
321
333
|
- app/models/crowdblog/asset.rb
|
322
334
|
- app/models/crowdblog/post.rb
|
@@ -356,11 +368,15 @@ files:
|
|
356
368
|
- spec/dummy/Rakefile
|
357
369
|
- spec/dummy/app/assets/javascripts/application.js
|
358
370
|
- spec/dummy/app/assets/stylesheets/application.css
|
371
|
+
- spec/dummy/app/controllers/admin_controller.rb
|
359
372
|
- spec/dummy/app/controllers/application_controller.rb
|
373
|
+
- spec/dummy/app/controllers/home_controller.rb
|
374
|
+
- spec/dummy/app/controllers/sessions_controller.rb
|
360
375
|
- spec/dummy/app/helpers/application_helper.rb
|
361
376
|
- spec/dummy/app/mailers/.gitkeep
|
362
377
|
- spec/dummy/app/models/.gitkeep
|
363
378
|
- spec/dummy/app/models/user.rb
|
379
|
+
- spec/dummy/app/views/home/show.html.slim
|
364
380
|
- spec/dummy/app/views/layouts/application.html.erb
|
365
381
|
- spec/dummy/config.ru
|
366
382
|
- spec/dummy/config/application.rb
|
@@ -413,7 +429,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
413
429
|
version: '0'
|
414
430
|
segments:
|
415
431
|
- 0
|
416
|
-
hash:
|
432
|
+
hash: 1045675916197906458
|
417
433
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
418
434
|
none: false
|
419
435
|
requirements:
|
@@ -422,7 +438,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
422
438
|
version: '0'
|
423
439
|
segments:
|
424
440
|
- 0
|
425
|
-
hash:
|
441
|
+
hash: 1045675916197906458
|
426
442
|
requirements: []
|
427
443
|
rubyforge_project:
|
428
444
|
rubygems_version: 1.8.10
|
@@ -442,11 +458,15 @@ test_files:
|
|
442
458
|
- spec/dummy/Rakefile
|
443
459
|
- spec/dummy/app/assets/javascripts/application.js
|
444
460
|
- spec/dummy/app/assets/stylesheets/application.css
|
461
|
+
- spec/dummy/app/controllers/admin_controller.rb
|
445
462
|
- spec/dummy/app/controllers/application_controller.rb
|
463
|
+
- spec/dummy/app/controllers/home_controller.rb
|
464
|
+
- spec/dummy/app/controllers/sessions_controller.rb
|
446
465
|
- spec/dummy/app/helpers/application_helper.rb
|
447
466
|
- spec/dummy/app/mailers/.gitkeep
|
448
467
|
- spec/dummy/app/models/.gitkeep
|
449
468
|
- spec/dummy/app/models/user.rb
|
469
|
+
- spec/dummy/app/views/home/show.html.slim
|
450
470
|
- spec/dummy/app/views/layouts/application.html.erb
|
451
471
|
- spec/dummy/config.ru
|
452
472
|
- spec/dummy/config/application.rb
|