refinerycms 1.0.8 → 1.0.9
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +8 -1
- data/Gemfile +15 -2
- data/Gemfile.lock +97 -76
- data/Guardfile +36 -0
- data/bin/refinerycms +6 -2
- data/changelog.md +9 -0
- data/refinerycms.gemspec +11 -10
- data/spec/spec_helper.rb +16 -3
- metadata +29 -28
data/.gitignore
CHANGED
@@ -11,6 +11,7 @@ doc/api
|
|
11
11
|
doc/app
|
12
12
|
.yardoc
|
13
13
|
.yardopts
|
14
|
+
coverage
|
14
15
|
|
15
16
|
# Public Uploads
|
16
17
|
public/system/*
|
@@ -49,6 +50,7 @@ nbproject
|
|
49
50
|
|
50
51
|
# Rubinius
|
51
52
|
*.rbc
|
53
|
+
*.rbx
|
52
54
|
|
53
55
|
# Vim
|
54
56
|
*.swp
|
@@ -74,6 +76,12 @@ capybara-*html
|
|
74
76
|
.rvmrc
|
75
77
|
.rvmrc.*
|
76
78
|
|
79
|
+
#Gemfile's lock file
|
80
|
+
Gemfile.lock
|
81
|
+
|
82
|
+
# Future Refinery
|
83
|
+
spec/dummy
|
84
|
+
|
77
85
|
# REFINERY CMS DEVELOPMENT ====================================================
|
78
86
|
# Always keep this section at the bottom.
|
79
87
|
|
@@ -81,7 +89,6 @@ config/database.yml
|
|
81
89
|
config/rackspace_cloudfiles.yml
|
82
90
|
your_*.*
|
83
91
|
db/schema.rb
|
84
|
-
coverage
|
85
92
|
public/refinery
|
86
93
|
config/ideal_load_path
|
87
94
|
|
data/Gemfile
CHANGED
@@ -23,15 +23,28 @@ gemspec
|
|
23
23
|
# REFINERY CMS ================================================================
|
24
24
|
# Anything you put in here will be overridden when the app gets updated.
|
25
25
|
|
26
|
-
# gem 'refinerycms', '~> 1.0.
|
26
|
+
# gem 'refinerycms', '~> 1.0.9'
|
27
27
|
|
28
|
+
=begin #testing
|
28
29
|
group :development, :test do
|
29
30
|
# To use refinerycms-testing, uncomment it (if it's commented out) and run 'bundle install'
|
30
31
|
# Then, run 'rails generate refinerycms_testing' which will copy its support files.
|
31
32
|
# Finally, run 'rake' to run the tests.
|
32
|
-
|
33
|
+
gem 'refinerycms-testing', '~> 1.0.9'
|
34
|
+
gem 'capybara-webkit'
|
35
|
+
|
36
|
+
if RbConfig::CONFIG['target_os'] =~ /darwin/i
|
37
|
+
gem 'growl'
|
38
|
+
end
|
39
|
+
|
40
|
+
gem 'spork', '~> 0.9.0.rc', :platforms => :ruby
|
41
|
+
gem 'guard-spork', :platforms => :ruby
|
42
|
+
gem 'guard-rspec', :platforms => :ruby
|
43
|
+
gem 'generator_spec'
|
33
44
|
end
|
34
45
|
|
46
|
+
=end #testing
|
47
|
+
|
35
48
|
# END REFINERY CMS ============================================================
|
36
49
|
|
37
50
|
# USER DEFINED
|
data/Gemfile.lock
CHANGED
@@ -1,57 +1,56 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
refinerycms (1.0.
|
4
|
+
refinerycms (1.0.9)
|
5
5
|
bundler (~> 1.0)
|
6
|
-
refinerycms-authentication (= 1.0.
|
7
|
-
refinerycms-base (= 1.0.
|
8
|
-
refinerycms-core (= 1.0.
|
9
|
-
refinerycms-dashboard (= 1.0.
|
10
|
-
refinerycms-images (= 1.0.
|
11
|
-
refinerycms-pages (= 1.0.
|
12
|
-
refinerycms-resources (= 1.0.
|
13
|
-
refinerycms-settings (= 1.0.
|
14
|
-
refinerycms-authentication (1.0.
|
6
|
+
refinerycms-authentication (= 1.0.9)
|
7
|
+
refinerycms-base (= 1.0.9)
|
8
|
+
refinerycms-core (= 1.0.9)
|
9
|
+
refinerycms-dashboard (= 1.0.9)
|
10
|
+
refinerycms-images (= 1.0.9)
|
11
|
+
refinerycms-pages (= 1.0.9)
|
12
|
+
refinerycms-resources (= 1.0.9)
|
13
|
+
refinerycms-settings (= 1.0.9)
|
14
|
+
refinerycms-authentication (1.0.9)
|
15
15
|
activerecord (~> 3.0.10)
|
16
16
|
devise (~> 1.4.3)
|
17
17
|
friendly_id_globalize3 (~> 3.2.1)
|
18
|
-
refinerycms-core (= 1.0.
|
19
|
-
refinerycms-base (1.0.
|
20
|
-
refinerycms-core (1.0.
|
18
|
+
refinerycms-core (= 1.0.9)
|
19
|
+
refinerycms-base (1.0.9)
|
20
|
+
refinerycms-core (1.0.9)
|
21
21
|
acts_as_indexed (~> 0.7)
|
22
22
|
awesome_nested_set (~> 2.0)
|
23
23
|
friendly_id_globalize3 (~> 3.2.1)
|
24
24
|
globalize3 (~> 0.1)
|
25
25
|
rails (~> 3.0.10)
|
26
|
-
refinerycms-base (= 1.0.
|
26
|
+
refinerycms-base (= 1.0.9)
|
27
27
|
refinerycms-generators (~> 1.0)
|
28
|
-
refinerycms-settings (= 1.0.
|
28
|
+
refinerycms-settings (= 1.0.9)
|
29
29
|
truncate_html (~> 0.5)
|
30
30
|
will_paginate (~> 3.0.0)
|
31
|
-
refinerycms-dashboard (1.0.
|
32
|
-
refinerycms-core (= 1.0.
|
33
|
-
refinerycms-images (1.0.
|
31
|
+
refinerycms-dashboard (1.0.9)
|
32
|
+
refinerycms-core (= 1.0.9)
|
33
|
+
refinerycms-images (1.0.9)
|
34
34
|
activerecord (~> 3.0.10)
|
35
35
|
dragonfly (~> 0.9.0)
|
36
36
|
rack-cache (>= 0.5.3)
|
37
|
-
refinerycms-core (= 1.0.
|
38
|
-
refinerycms-pages (1.0.
|
37
|
+
refinerycms-core (= 1.0.9)
|
38
|
+
refinerycms-pages (1.0.9)
|
39
39
|
activerecord (~> 3.0.10)
|
40
40
|
awesome_nested_set (~> 2.0)
|
41
41
|
friendly_id_globalize3 (~> 3.2.1)
|
42
42
|
globalize3 (~> 0.1)
|
43
|
-
refinerycms-core (= 1.0.
|
43
|
+
refinerycms-core (= 1.0.9)
|
44
44
|
seo_meta (~> 1.1)
|
45
|
-
refinerycms-resources (1.0.
|
45
|
+
refinerycms-resources (1.0.9)
|
46
46
|
activerecord (~> 3.0.10)
|
47
47
|
dragonfly (~> 0.9.0)
|
48
48
|
rack-cache (>= 0.5.3)
|
49
|
-
refinerycms-core (= 1.0.
|
50
|
-
refinerycms-settings (1.0.
|
49
|
+
refinerycms-core (= 1.0.9)
|
50
|
+
refinerycms-settings (1.0.9)
|
51
51
|
activerecord (~> 3.0.10)
|
52
|
-
refinerycms-base (= 1.0.
|
53
|
-
refinerycms-testing (1.0.
|
54
|
-
capybara (~> 1.0.0)
|
52
|
+
refinerycms-base (= 1.0.9)
|
53
|
+
refinerycms-testing (1.0.9)
|
55
54
|
cucumber-rails (~> 1.0.0)
|
56
55
|
database_cleaner
|
57
56
|
factory_girl
|
@@ -59,7 +58,7 @@ PATH
|
|
59
58
|
json_pure
|
60
59
|
launchy
|
61
60
|
rack-test (>= 0.5.6)
|
62
|
-
refinerycms-core (= 1.0.
|
61
|
+
refinerycms-core (= 1.0.9)
|
63
62
|
rspec-instafail
|
64
63
|
rspec-rails (~> 2.6)
|
65
64
|
|
@@ -93,60 +92,73 @@ GEM
|
|
93
92
|
activemodel (= 3.0.10)
|
94
93
|
activesupport (= 3.0.10)
|
95
94
|
activesupport (3.0.10)
|
96
|
-
acts_as_indexed (0.7.
|
95
|
+
acts_as_indexed (0.7.6)
|
97
96
|
addressable (2.2.6)
|
98
97
|
arel (2.0.10)
|
99
|
-
awesome_nested_set (2.0.
|
98
|
+
awesome_nested_set (2.0.2)
|
100
99
|
activerecord (>= 3.0.0)
|
101
100
|
babosa (0.3.5)
|
102
|
-
bcrypt-ruby (3.0.
|
101
|
+
bcrypt-ruby (3.0.1)
|
103
102
|
builder (2.1.2)
|
104
|
-
capybara (1.
|
103
|
+
capybara (1.1.1)
|
105
104
|
mime-types (>= 1.16)
|
106
105
|
nokogiri (>= 1.3.3)
|
107
106
|
rack (>= 1.0.0)
|
108
107
|
rack-test (>= 0.5.4)
|
109
108
|
selenium-webdriver (~> 2.0)
|
110
109
|
xpath (~> 0.1.4)
|
110
|
+
capybara-webkit (0.7.2)
|
111
|
+
capybara (>= 1.0.0, < 1.2)
|
111
112
|
childprocess (0.2.2)
|
112
113
|
ffi (~> 1.0.6)
|
113
|
-
cucumber (1.
|
114
|
+
cucumber (1.1.1)
|
114
115
|
builder (>= 2.1.2)
|
115
116
|
diff-lcs (>= 1.1.2)
|
116
|
-
gherkin (~> 2.
|
117
|
+
gherkin (~> 2.6.0)
|
117
118
|
json (>= 1.4.6)
|
118
|
-
term-ansicolor (>= 1.0.
|
119
|
-
cucumber-rails (1.0.
|
120
|
-
capybara (>= 1.
|
121
|
-
cucumber (
|
122
|
-
nokogiri (>= 1.
|
119
|
+
term-ansicolor (>= 1.0.6)
|
120
|
+
cucumber-rails (1.0.6)
|
121
|
+
capybara (>= 1.1.1)
|
122
|
+
cucumber (>= 1.0.6)
|
123
|
+
nokogiri (>= 1.5.0)
|
123
124
|
database_cleaner (0.6.7)
|
124
|
-
devise (1.4.
|
125
|
+
devise (1.4.9)
|
125
126
|
bcrypt-ruby (~> 3.0)
|
126
127
|
orm_adapter (~> 0.0.3)
|
127
128
|
warden (~> 1.0.3)
|
128
129
|
diff-lcs (1.1.3)
|
129
|
-
dragonfly (0.9.
|
130
|
+
dragonfly (0.9.8)
|
130
131
|
rack
|
131
132
|
erubis (2.6.6)
|
132
133
|
abstract (>= 1.0.0)
|
133
|
-
factory_girl (2.0
|
134
|
+
factory_girl (2.2.0)
|
135
|
+
activesupport
|
134
136
|
ffi (1.0.9)
|
135
|
-
friendly_id_globalize3 (3.2.1.
|
137
|
+
friendly_id_globalize3 (3.2.1.5)
|
136
138
|
babosa (~> 0.3.0)
|
137
139
|
fuubar (0.0.6)
|
138
140
|
rspec (~> 2.0)
|
139
141
|
rspec-instafail (~> 0.1.8)
|
140
142
|
ruby-progressbar (~> 0.0.10)
|
141
|
-
|
143
|
+
generator_spec (0.8.4)
|
144
|
+
rails (>= 3.0, < 4.0)
|
145
|
+
rspec-rails
|
146
|
+
gherkin (2.6.2)
|
142
147
|
json (>= 1.4.6)
|
143
148
|
globalize3 (0.1.0)
|
144
149
|
activemodel (>= 3.0.0)
|
145
150
|
activerecord (>= 3.0.0)
|
151
|
+
growl (1.0.3)
|
152
|
+
guard (0.8.8)
|
153
|
+
thor (~> 0.14.6)
|
154
|
+
guard-rspec (0.5.2)
|
155
|
+
guard (>= 0.8.4)
|
156
|
+
guard-spork (0.3.1)
|
157
|
+
guard (>= 0.8.4)
|
158
|
+
spork (>= 0.8.4)
|
146
159
|
i18n (0.5.0)
|
147
|
-
json (1.
|
148
|
-
json_pure (1.
|
149
|
-
spruz (~> 0.2.8)
|
160
|
+
json (1.6.1)
|
161
|
+
json_pure (1.6.1)
|
150
162
|
launchy (2.0.5)
|
151
163
|
addressable (~> 2.2.6)
|
152
164
|
mail (2.2.19)
|
@@ -154,13 +166,14 @@ GEM
|
|
154
166
|
i18n (>= 0.4.0)
|
155
167
|
mime-types (~> 1.16)
|
156
168
|
treetop (~> 1.4.8)
|
157
|
-
mime-types (1.
|
169
|
+
mime-types (1.17.2)
|
170
|
+
multi_json (1.0.3)
|
158
171
|
mysql2 (0.2.13)
|
159
172
|
nokogiri (1.5.0)
|
160
173
|
orm_adapter (0.0.5)
|
161
|
-
polyglot (0.3.
|
162
|
-
rack (1.2.
|
163
|
-
rack-cache (1.
|
174
|
+
polyglot (0.3.3)
|
175
|
+
rack (1.2.4)
|
176
|
+
rack-cache (1.1)
|
164
177
|
rack (>= 0.4)
|
165
178
|
rack-mount (0.6.14)
|
166
179
|
rack (>= 1.0.0)
|
@@ -180,53 +193,55 @@ GEM
|
|
180
193
|
rake (>= 0.8.7)
|
181
194
|
rdoc (~> 3.4)
|
182
195
|
thor (~> 0.14.4)
|
183
|
-
rake (0.9.2)
|
184
|
-
rcov (0.9.
|
185
|
-
rdoc (3.
|
186
|
-
|
196
|
+
rake (0.9.2.2)
|
197
|
+
rcov (0.9.11)
|
198
|
+
rdoc (3.11)
|
199
|
+
json (~> 1.4)
|
200
|
+
refinerycms-generators (1.0.4)
|
187
201
|
refinerycms-i18n (1.0.0)
|
188
202
|
refinerycms-core (>= 0.9.9.12)
|
189
203
|
routing-filter (>= 0.2.3)
|
190
204
|
routing-filter (0.2.4)
|
191
205
|
actionpack
|
192
|
-
rspec (2.
|
193
|
-
rspec-core (~> 2.
|
194
|
-
rspec-expectations (~> 2.
|
195
|
-
rspec-mocks (~> 2.
|
196
|
-
rspec-core (2.
|
197
|
-
rspec-expectations (2.
|
206
|
+
rspec (2.7.0)
|
207
|
+
rspec-core (~> 2.7.0)
|
208
|
+
rspec-expectations (~> 2.7.0)
|
209
|
+
rspec-mocks (~> 2.7.0)
|
210
|
+
rspec-core (2.7.1)
|
211
|
+
rspec-expectations (2.7.0)
|
198
212
|
diff-lcs (~> 1.1.2)
|
199
|
-
rspec-instafail (0.1.
|
200
|
-
rspec-mocks (2.
|
201
|
-
rspec-rails (2.
|
213
|
+
rspec-instafail (0.1.9)
|
214
|
+
rspec-mocks (2.7.0)
|
215
|
+
rspec-rails (2.7.0)
|
202
216
|
actionpack (~> 3.0)
|
203
217
|
activesupport (~> 3.0)
|
204
218
|
railties (~> 3.0)
|
205
|
-
rspec (~> 2.
|
219
|
+
rspec (~> 2.7.0)
|
206
220
|
ruby-progressbar (0.0.10)
|
207
221
|
rubyzip (0.9.4)
|
208
|
-
selenium-webdriver (2.
|
222
|
+
selenium-webdriver (2.10.0)
|
209
223
|
childprocess (>= 0.2.1)
|
210
|
-
ffi (
|
224
|
+
ffi (= 1.0.9)
|
211
225
|
json_pure
|
212
226
|
rubyzip
|
213
227
|
seo_meta (1.1.1)
|
214
228
|
refinerycms-generators (~> 1.0.1)
|
215
|
-
simplecov (0.4
|
216
|
-
|
217
|
-
|
218
|
-
|
229
|
+
simplecov (0.5.4)
|
230
|
+
multi_json (~> 1.0.3)
|
231
|
+
simplecov-html (~> 0.5.3)
|
232
|
+
simplecov-html (0.5.3)
|
233
|
+
spork (0.9.0.rc9)
|
219
234
|
sqlite3 (1.3.4)
|
220
|
-
term-ansicolor (1.0.
|
235
|
+
term-ansicolor (1.0.7)
|
221
236
|
thor (0.14.6)
|
222
237
|
treetop (1.4.10)
|
223
238
|
polyglot
|
224
239
|
polyglot (>= 0.3.1)
|
225
240
|
truncate_html (0.5.1)
|
226
|
-
tzinfo (0.3.
|
227
|
-
warden (1.0.
|
241
|
+
tzinfo (0.3.30)
|
242
|
+
warden (1.0.6)
|
228
243
|
rack (>= 1.0)
|
229
|
-
will_paginate (3.0.
|
244
|
+
will_paginate (3.0.2)
|
230
245
|
xpath (0.1.4)
|
231
246
|
nokogiri (~> 1.3)
|
232
247
|
|
@@ -234,10 +249,16 @@ PLATFORMS
|
|
234
249
|
ruby
|
235
250
|
|
236
251
|
DEPENDENCIES
|
252
|
+
capybara-webkit
|
253
|
+
generator_spec
|
254
|
+
growl
|
255
|
+
guard-rspec
|
256
|
+
guard-spork
|
237
257
|
mysql2 (~> 0.2.7)
|
238
258
|
rcov
|
239
259
|
refinerycms!
|
240
260
|
refinerycms-i18n (~> 1.0.0)
|
241
|
-
refinerycms-testing (~> 1.0.
|
261
|
+
refinerycms-testing (~> 1.0.9)
|
242
262
|
simplecov
|
263
|
+
spork (~> 0.9.0.rc)
|
243
264
|
sqlite3
|
data/Guardfile
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
engines = [
|
2
|
+
'authentication',
|
3
|
+
'core',
|
4
|
+
'images',
|
5
|
+
'pages',
|
6
|
+
'resources',
|
7
|
+
'settings'
|
8
|
+
]
|
9
|
+
|
10
|
+
guard 'spork', :wait => 60, :cucumber => false, :rspec_env => { 'RAILS_ENV' => 'test' } do
|
11
|
+
watch('config/application.rb')
|
12
|
+
watch('config/environment.rb')
|
13
|
+
watch(%r{^config/environments/.+\.rb$})
|
14
|
+
watch(%r{^config/initializers/.+\.rb$})
|
15
|
+
watch('spec/spec_helper.rb')
|
16
|
+
watch(%r{^spec/support/.+\.rb$})
|
17
|
+
|
18
|
+
engines.each do |engine|
|
19
|
+
watch(%r{^#{engine}/spec/support/.+\.rb$})
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
guard 'rspec', :version => 2, :spec_paths => ['authentication/spec', 'core/spec', 'images/spec', 'pages/spec', 'resources/spec', 'settings/spec'], :cli => "--format Fuubar --color --drb" do
|
24
|
+
engines.each do |engine|
|
25
|
+
watch(%r{^#{engine}/spec/.+_spec\.rb$})
|
26
|
+
watch(%r{^#{engine}/app/(.+)\.rb$}) { |m| "#{engine}/spec/#{m[1]}_spec.rb" }
|
27
|
+
watch(%r{^#{engine}/lib/(.+)\.rb$}) { |m| "#{engine}/spec/lib/#{m[1]}_spec.rb" }
|
28
|
+
watch(%r{^#{engine}/app/controllers/(.+)_(controller)\.rb$}) { |m| ["#{engine}/spec/routing/#{m[1]}_routing_spec.rb", "#{engine}/spec/#{m[2]}s/#{m[1]}_#{m[2]}_spec.rb", "#{engine}/spec/requests/#{m[1]}_spec.rb"] }
|
29
|
+
watch(%r{^#{engine}/spec/support/(.+)\.rb$}) { "#{engine}/spec" }
|
30
|
+
watch("#{engine}/spec/spec_helper.rb") { "#{engine}/spec" }
|
31
|
+
watch("#{engine}/config/routes.rb") { "#{engine}/spec/routing" }
|
32
|
+
watch("#{engine}/app/controllers/application_controller.rb") { "#{engine}/spec/controllers" }
|
33
|
+
# Capybara request specs
|
34
|
+
watch(%r{^#{engine}/app/views/(.+)/.*\.(erb|haml)$}) { |m| "#{engine}/spec/requests/#{m[1]}_spec.rb" }
|
35
|
+
end
|
36
|
+
end
|
data/bin/refinerycms
CHANGED
@@ -143,6 +143,9 @@ module Refinery
|
|
143
143
|
# Run any database migrations
|
144
144
|
migrate! unless @options[:database][:skip]
|
145
145
|
|
146
|
+
# Deploy to a hosting provider
|
147
|
+
deploy!
|
148
|
+
|
146
149
|
# Output helpful messages to user
|
147
150
|
output!
|
148
151
|
end
|
@@ -263,7 +266,7 @@ module Refinery
|
|
263
266
|
find_and_replace('config/database.yml', %r{password:}, '#password:')
|
264
267
|
else
|
265
268
|
find_and_replace('config/database.yml', %r{username:.*}, "username: #{@options[:database][:username]}")
|
266
|
-
find_and_replace('config/database.yml', %r{password:.*}, "password: #{@options[:database][:password]}")
|
269
|
+
find_and_replace('config/database.yml', %r{password:.*}, "password: \"#{@options[:database][:password]}\"")
|
267
270
|
end
|
268
271
|
|
269
272
|
puts "\n---------"
|
@@ -277,7 +280,8 @@ module Refinery
|
|
277
280
|
refinery_gems = refinery_gemfile_contents.match(/# REFINERY CMS =+.*# END REFINERY CMS =+/m)[0]
|
278
281
|
refinery_gems.gsub!("# gem 'refinerycms'", "gem 'refinerycms'") # Enable refinerycms
|
279
282
|
if @options[:testing] # Enable testing
|
280
|
-
refinery_gems.gsub!("#
|
283
|
+
refinery_gems.gsub!("\n=begin #testing", '')
|
284
|
+
refinery_gems.gsub!("\n=end #testing", '')
|
281
285
|
end
|
282
286
|
|
283
287
|
app_gemfile = @app_path.join('Gemfile')
|
data/changelog.md
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
## 1.0.9 [5 November 2011]
|
2
|
+
|
3
|
+
* `guard` testing strategy ported from edge for testing refinery from its own directory without a dummy app. [Jamie Winsor](https://github.com/resetexistence) & [Joe Sak](https://github.com/joemsak)
|
4
|
+
* WYMEditor bug fixes [Nic Haynes](https://github.com/nicinabox)
|
5
|
+
* Bulgarian translations added. [Miroslav Rachev](https://github.com/mirosr)
|
6
|
+
* Fixed --heroku command. [Garrett Heinlen](https://github.com/gogogarrett)
|
7
|
+
* Refactored plugins code to add Ruby 1.9.3 support. [Amanda Wagener](https://github.com/awagener)
|
8
|
+
* [See full list](https://github.com/resolve/refinerycms/compare/1.0.8...1.0.9)
|
9
|
+
|
1
10
|
## 1.0.8 [1 September 2011]
|
2
11
|
|
3
12
|
* `refinerycms-core` now depends on rails so that users of 1.0.x can be confident of the entire stack being present as before. [Philip Arndt](https://github.com/parndt)
|
data/refinerycms.gemspec
CHANGED
@@ -3,9 +3,9 @@
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = %q{refinerycms}
|
6
|
-
s.version = %q{1.0.
|
6
|
+
s.version = %q{1.0.9}
|
7
7
|
s.description = %q{A Ruby on Rails CMS that supports Rails 3. It's easy to extend and sticks to 'the Rails way' where possible.}
|
8
|
-
s.date = %q{2011-
|
8
|
+
s.date = %q{2011-11-05}
|
9
9
|
s.summary = %q{A Ruby on Rails CMS that supports Rails 3}
|
10
10
|
s.email = %q{info@refinerycms.com}
|
11
11
|
s.homepage = %q{http://refinerycms.com}
|
@@ -19,14 +19,14 @@ Gem::Specification.new do |s|
|
|
19
19
|
s.add_dependency 'bundler', '~> 1.0'
|
20
20
|
|
21
21
|
# Refinery CMS
|
22
|
-
s.add_dependency 'refinerycms-authentication', '= 1.0.
|
23
|
-
s.add_dependency 'refinerycms-base', '= 1.0.
|
24
|
-
s.add_dependency 'refinerycms-core', '= 1.0.
|
25
|
-
s.add_dependency 'refinerycms-dashboard', '= 1.0.
|
26
|
-
s.add_dependency 'refinerycms-images', '= 1.0.
|
27
|
-
s.add_dependency 'refinerycms-pages', '= 1.0.
|
28
|
-
s.add_dependency 'refinerycms-resources', '= 1.0.
|
29
|
-
s.add_dependency 'refinerycms-settings', '= 1.0.
|
22
|
+
s.add_dependency 'refinerycms-authentication', '= 1.0.9'
|
23
|
+
s.add_dependency 'refinerycms-base', '= 1.0.9'
|
24
|
+
s.add_dependency 'refinerycms-core', '= 1.0.9'
|
25
|
+
s.add_dependency 'refinerycms-dashboard', '= 1.0.9'
|
26
|
+
s.add_dependency 'refinerycms-images', '= 1.0.9'
|
27
|
+
s.add_dependency 'refinerycms-pages', '= 1.0.9'
|
28
|
+
s.add_dependency 'refinerycms-resources', '= 1.0.9'
|
29
|
+
s.add_dependency 'refinerycms-settings', '= 1.0.9'
|
30
30
|
|
31
31
|
s.files = [
|
32
32
|
'.gitignore',
|
@@ -35,6 +35,7 @@ Gem::Specification.new do |s|
|
|
35
35
|
'Gemfile',
|
36
36
|
'Gemfile',
|
37
37
|
'Gemfile.lock',
|
38
|
+
'Guardfile',
|
38
39
|
'Rakefile',
|
39
40
|
'app',
|
40
41
|
'app/views',
|
data/spec/spec_helper.rb
CHANGED
@@ -8,10 +8,20 @@ def setup_environment
|
|
8
8
|
ENV["RAILS_ENV"] ||= 'test'
|
9
9
|
require File.expand_path("../../config/environment", __FILE__)
|
10
10
|
require 'rspec/rails'
|
11
|
-
|
11
|
+
require 'capybara/rspec'
|
12
|
+
|
13
|
+
Capybara.javascript_driver = :webkit
|
12
14
|
# Requires supporting files with custom matchers and macros, etc,
|
13
15
|
# in ./support/ and its subdirectories.
|
14
16
|
Dir[File.expand_path('../support/**/*.rb', __FILE__)].each {|f| require f}
|
17
|
+
|
18
|
+
engines = [
|
19
|
+
'authentication',
|
20
|
+
'images',
|
21
|
+
]
|
22
|
+
engines.each do |engine|
|
23
|
+
require "#{Rails.root}/#{engine}/features/support/factories.rb"
|
24
|
+
end
|
15
25
|
|
16
26
|
RSpec.configure do |config|
|
17
27
|
# == Mock Framework
|
@@ -24,13 +34,16 @@ def setup_environment
|
|
24
34
|
config.mock_with :rspec
|
25
35
|
|
26
36
|
config.fixture_path = ::Rails.root.join('spec', 'fixtures').to_s
|
27
|
-
|
37
|
+
|
38
|
+
config.treat_symbols_as_metadata_keys_with_true_values = true
|
39
|
+
config.filter_run :focus => true
|
40
|
+
config.run_all_when_everything_filtered = true
|
28
41
|
# If you're not using ActiveRecord, or you'd prefer not to run each of your
|
29
42
|
# examples within a transaction, comment the following line or assign false
|
30
43
|
# instead of true.
|
31
44
|
config.use_transactional_fixtures = true
|
32
45
|
config.use_instantiated_fixtures = false
|
33
|
-
|
46
|
+
|
34
47
|
config.include ::Devise::TestHelpers, :type => :controller
|
35
48
|
config.extend ::Refinery::ControllerMacros, :type => :controller
|
36
49
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: refinerycms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 5
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
9
|
+
- 9
|
10
|
+
version: 1.0.9
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Resolve Digital
|
@@ -19,7 +19,7 @@ autorequire:
|
|
19
19
|
bindir: bin
|
20
20
|
cert_chain: []
|
21
21
|
|
22
|
-
date: 2011-
|
22
|
+
date: 2011-11-05 00:00:00 Z
|
23
23
|
dependencies:
|
24
24
|
- !ruby/object:Gem::Dependency
|
25
25
|
name: bundler
|
@@ -44,12 +44,12 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
hash:
|
47
|
+
hash: 5
|
48
48
|
segments:
|
49
49
|
- 1
|
50
50
|
- 0
|
51
|
-
-
|
52
|
-
version: 1.0.
|
51
|
+
- 9
|
52
|
+
version: 1.0.9
|
53
53
|
type: :runtime
|
54
54
|
version_requirements: *id002
|
55
55
|
- !ruby/object:Gem::Dependency
|
@@ -60,12 +60,12 @@ dependencies:
|
|
60
60
|
requirements:
|
61
61
|
- - "="
|
62
62
|
- !ruby/object:Gem::Version
|
63
|
-
hash:
|
63
|
+
hash: 5
|
64
64
|
segments:
|
65
65
|
- 1
|
66
66
|
- 0
|
67
|
-
-
|
68
|
-
version: 1.0.
|
67
|
+
- 9
|
68
|
+
version: 1.0.9
|
69
69
|
type: :runtime
|
70
70
|
version_requirements: *id003
|
71
71
|
- !ruby/object:Gem::Dependency
|
@@ -76,12 +76,12 @@ dependencies:
|
|
76
76
|
requirements:
|
77
77
|
- - "="
|
78
78
|
- !ruby/object:Gem::Version
|
79
|
-
hash:
|
79
|
+
hash: 5
|
80
80
|
segments:
|
81
81
|
- 1
|
82
82
|
- 0
|
83
|
-
-
|
84
|
-
version: 1.0.
|
83
|
+
- 9
|
84
|
+
version: 1.0.9
|
85
85
|
type: :runtime
|
86
86
|
version_requirements: *id004
|
87
87
|
- !ruby/object:Gem::Dependency
|
@@ -92,12 +92,12 @@ dependencies:
|
|
92
92
|
requirements:
|
93
93
|
- - "="
|
94
94
|
- !ruby/object:Gem::Version
|
95
|
-
hash:
|
95
|
+
hash: 5
|
96
96
|
segments:
|
97
97
|
- 1
|
98
98
|
- 0
|
99
|
-
-
|
100
|
-
version: 1.0.
|
99
|
+
- 9
|
100
|
+
version: 1.0.9
|
101
101
|
type: :runtime
|
102
102
|
version_requirements: *id005
|
103
103
|
- !ruby/object:Gem::Dependency
|
@@ -108,12 +108,12 @@ dependencies:
|
|
108
108
|
requirements:
|
109
109
|
- - "="
|
110
110
|
- !ruby/object:Gem::Version
|
111
|
-
hash:
|
111
|
+
hash: 5
|
112
112
|
segments:
|
113
113
|
- 1
|
114
114
|
- 0
|
115
|
-
-
|
116
|
-
version: 1.0.
|
115
|
+
- 9
|
116
|
+
version: 1.0.9
|
117
117
|
type: :runtime
|
118
118
|
version_requirements: *id006
|
119
119
|
- !ruby/object:Gem::Dependency
|
@@ -124,12 +124,12 @@ dependencies:
|
|
124
124
|
requirements:
|
125
125
|
- - "="
|
126
126
|
- !ruby/object:Gem::Version
|
127
|
-
hash:
|
127
|
+
hash: 5
|
128
128
|
segments:
|
129
129
|
- 1
|
130
130
|
- 0
|
131
|
-
-
|
132
|
-
version: 1.0.
|
131
|
+
- 9
|
132
|
+
version: 1.0.9
|
133
133
|
type: :runtime
|
134
134
|
version_requirements: *id007
|
135
135
|
- !ruby/object:Gem::Dependency
|
@@ -140,12 +140,12 @@ dependencies:
|
|
140
140
|
requirements:
|
141
141
|
- - "="
|
142
142
|
- !ruby/object:Gem::Version
|
143
|
-
hash:
|
143
|
+
hash: 5
|
144
144
|
segments:
|
145
145
|
- 1
|
146
146
|
- 0
|
147
|
-
-
|
148
|
-
version: 1.0.
|
147
|
+
- 9
|
148
|
+
version: 1.0.9
|
149
149
|
type: :runtime
|
150
150
|
version_requirements: *id008
|
151
151
|
- !ruby/object:Gem::Dependency
|
@@ -156,12 +156,12 @@ dependencies:
|
|
156
156
|
requirements:
|
157
157
|
- - "="
|
158
158
|
- !ruby/object:Gem::Version
|
159
|
-
hash:
|
159
|
+
hash: 5
|
160
160
|
segments:
|
161
161
|
- 1
|
162
162
|
- 0
|
163
|
-
-
|
164
|
-
version: 1.0.
|
163
|
+
- 9
|
164
|
+
version: 1.0.9
|
165
165
|
type: :runtime
|
166
166
|
version_requirements: *id009
|
167
167
|
description: A Ruby on Rails CMS that supports Rails 3. It's easy to extend and sticks to 'the Rails way' where possible.
|
@@ -178,6 +178,7 @@ files:
|
|
178
178
|
- .yardopts
|
179
179
|
- Gemfile
|
180
180
|
- Gemfile.lock
|
181
|
+
- Guardfile
|
181
182
|
- Rakefile
|
182
183
|
- app/views/sitemap/index.xml.builder
|
183
184
|
- autotest/autotest.rb
|