refinerycms 1.0.7 → 1.0.8

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -23,13 +23,13 @@ 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.6'
26
+ # gem 'refinerycms', '~> 1.0.8'
27
27
 
28
28
  group :development, :test do
29
29
  # To use refinerycms-testing, uncomment it (if it's commented out) and run 'bundle install'
30
30
  # Then, run 'rails generate refinerycms_testing' which will copy its support files.
31
31
  # Finally, run 'rake' to run the tests.
32
- # gem 'refinerycms-testing', '~> 1.0.6'
32
+ # gem 'refinerycms-testing', '~> 1.0.8'
33
33
  end
34
34
 
35
35
  # END REFINERY CMS ============================================================
@@ -1,60 +1,56 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- refinerycms (1.0.7)
4
+ refinerycms (1.0.8)
5
5
  bundler (~> 1.0)
6
- refinerycms-authentication (= 1.0.7)
7
- refinerycms-base (= 1.0.7)
8
- refinerycms-core (= 1.0.7)
9
- refinerycms-dashboard (= 1.0.7)
10
- refinerycms-images (= 1.0.7)
11
- refinerycms-pages (= 1.0.7)
12
- refinerycms-resources (= 1.0.7)
13
- refinerycms-settings (= 1.0.7)
14
- refinerycms-authentication (1.0.7)
6
+ refinerycms-authentication (= 1.0.8)
7
+ refinerycms-base (= 1.0.8)
8
+ refinerycms-core (= 1.0.8)
9
+ refinerycms-dashboard (= 1.0.8)
10
+ refinerycms-images (= 1.0.8)
11
+ refinerycms-pages (= 1.0.8)
12
+ refinerycms-resources (= 1.0.8)
13
+ refinerycms-settings (= 1.0.8)
14
+ refinerycms-authentication (1.0.8)
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.7)
19
- refinerycms-base (1.0.7)
20
- refinerycms-core (1.0.7)
21
- actionmailer (~> 3.0.10)
18
+ refinerycms-core (= 1.0.8)
19
+ refinerycms-base (1.0.8)
20
+ refinerycms-core (1.0.8)
22
21
  acts_as_indexed (~> 0.7)
23
22
  awesome_nested_set (~> 2.0)
24
23
  friendly_id_globalize3 (~> 3.2.1)
25
24
  globalize3 (~> 0.1)
26
- railties (~> 3.0.10)
27
- refinerycms-base (= 1.0.7)
25
+ rails (~> 3.0.10)
26
+ refinerycms-base (= 1.0.8)
28
27
  refinerycms-generators (~> 1.0)
29
- refinerycms-settings (= 1.0.7)
28
+ refinerycms-settings (= 1.0.8)
30
29
  truncate_html (~> 0.5)
31
30
  will_paginate (~> 3.0.0)
32
- refinerycms-dashboard (1.0.7)
33
- refinerycms-core (= 1.0.7)
34
- refinerycms-images (1.0.7)
31
+ refinerycms-dashboard (1.0.8)
32
+ refinerycms-core (= 1.0.8)
33
+ refinerycms-images (1.0.8)
35
34
  activerecord (~> 3.0.10)
36
35
  dragonfly (~> 0.9.0)
37
36
  rack-cache (>= 0.5.3)
38
- refinerycms-core (= 1.0.7)
39
- refinerycms-pages (1.0.7)
37
+ refinerycms-core (= 1.0.8)
38
+ refinerycms-pages (1.0.8)
40
39
  activerecord (~> 3.0.10)
41
40
  awesome_nested_set (~> 2.0)
42
41
  friendly_id_globalize3 (~> 3.2.1)
43
42
  globalize3 (~> 0.1)
44
- refinerycms-core (= 1.0.7)
43
+ refinerycms-core (= 1.0.8)
45
44
  seo_meta (~> 1.1)
46
- refinerycms-resources (1.0.7)
45
+ refinerycms-resources (1.0.8)
47
46
  activerecord (~> 3.0.10)
48
47
  dragonfly (~> 0.9.0)
49
48
  rack-cache (>= 0.5.3)
50
- refinerycms-core (= 1.0.7)
51
- refinerycms-settings (1.0.7)
49
+ refinerycms-core (= 1.0.8)
50
+ refinerycms-settings (1.0.8)
52
51
  activerecord (~> 3.0.10)
53
- refinerycms-base (= 1.0.7)
54
- refinerycms-testing (1.0.7)
55
- autotest
56
- autotest-notification
57
- autotest-rails
52
+ refinerycms-base (= 1.0.8)
53
+ refinerycms-testing (1.0.8)
58
54
  capybara (~> 1.0.0)
59
55
  cucumber-rails (~> 1.0.0)
60
56
  database_cleaner
@@ -63,14 +59,13 @@ PATH
63
59
  json_pure
64
60
  launchy
65
61
  rack-test (>= 0.5.6)
66
- refinerycms-core (= 1.0.7)
62
+ refinerycms-core (= 1.0.8)
67
63
  rspec-instafail
68
64
  rspec-rails (~> 2.6)
69
65
 
70
66
  GEM
71
67
  remote: http://rubygems.org/
72
68
  specs:
73
- ZenTest (4.6.2)
74
69
  abstract (1.0.0)
75
70
  actionmailer (3.0.10)
76
71
  actionpack (= 3.0.10)
@@ -94,17 +89,13 @@ GEM
94
89
  activesupport (= 3.0.10)
95
90
  arel (~> 2.0.10)
96
91
  tzinfo (~> 0.3.23)
92
+ activeresource (3.0.10)
93
+ activemodel (= 3.0.10)
94
+ activesupport (= 3.0.10)
97
95
  activesupport (3.0.10)
98
96
  acts_as_indexed (0.7.3)
99
97
  addressable (2.2.6)
100
98
  arel (2.0.10)
101
- autotest (4.4.6)
102
- ZenTest (>= 4.4.1)
103
- autotest-notification (2.3.3)
104
- autotest-standalone (~> 4.5)
105
- autotest-rails (4.1.0)
106
- ZenTest
107
- autotest-standalone (4.5.6)
108
99
  awesome_nested_set (2.0.1)
109
100
  activerecord (>= 3.0.0)
110
101
  babosa (0.3.5)
@@ -175,6 +166,14 @@ GEM
175
166
  rack (>= 1.0.0)
176
167
  rack-test (0.5.7)
177
168
  rack (>= 1.0)
169
+ rails (3.0.10)
170
+ actionmailer (= 3.0.10)
171
+ actionpack (= 3.0.10)
172
+ activerecord (= 3.0.10)
173
+ activeresource (= 3.0.10)
174
+ activesupport (= 3.0.10)
175
+ bundler (~> 1.0)
176
+ railties (= 3.0.10)
178
177
  railties (3.0.10)
179
178
  actionpack (= 3.0.10)
180
179
  activesupport (= 3.0.10)
@@ -239,6 +238,6 @@ DEPENDENCIES
239
238
  rcov
240
239
  refinerycms!
241
240
  refinerycms-i18n (~> 1.0.0)
242
- refinerycms-testing (~> 1.0.6)
241
+ refinerycms-testing (~> 1.0.8)
243
242
  simplecov
244
243
  sqlite3
@@ -166,19 +166,21 @@ module Refinery
166
166
  exit(1)
167
167
  end
168
168
 
169
+ # Get the name and path of the new application
170
+ @app_path = Pathname.new(File.expand_path(@input.first))
171
+ @app_name = @app_path.to_s.split(File::SEPARATOR).last
172
+
169
173
  rails_version_in_path = run_command('rails --version', {:cd => false, :bundler => false, :puts => false}).to_s.gsub(/(Rails |\n)/, '')
170
174
  @rails_version_to_use = @options[:rails][:version] || rails_version_in_path
171
175
  if @rails_version_to_use !~ %r{\b#{RAILS_MINOR_VERSION}}
172
176
  puts "\nRails #{@rails_version_to_use} is not supported by Refinery #{::Refinery.version}, " \
173
177
  "please use Rails #{RAILS_MINOR_VERSION}.x instead."
178
+ puts "\nYou can tell Refinery CMS an installed and compatible rails version to use like so:\n"
179
+ puts "\nrefinerycms #{@app_name} --rails-version #{RAILS_MINOR_VERSION}"
174
180
  puts "\n"
175
181
  exit(1)
176
182
  end
177
183
 
178
- # Get the name and path of the new application
179
- @app_path = Pathname.new(File.expand_path(@input.first))
180
- @app_name = @app_path.to_s.split(File::SEPARATOR).last
181
-
182
184
  # Get the refinery path based on this file
183
185
  @refinery_path = Pathname.new(File.expand_path('../../', __FILE__))
184
186
 
@@ -236,6 +238,9 @@ module Refinery
236
238
  # Detect non-success or a blank rails output or starting with "Can't initialize" or "Error"
237
239
  if !$?.success? or rails_output.to_s.length == 0 or rails_output =~ /^(Can't\ initialize|Error)/
238
240
  puts "\nGenerating Rails application failed. Exiting..."
241
+ if run_command('gem list rails', {:cd => false, :puts => false, :ruby => false}) !~ %r{[( ]#{@rails_version_to_use}(.0)*[,\)]}
242
+ puts "\nDo you have Rails #{@rails_version_to_use} installed?"
243
+ end
239
244
  puts "\n"
240
245
  exit(1)
241
246
  else
@@ -1,3 +1,10 @@
1
+ ## 1.0.8 [1 September 2011]
2
+
3
+ * `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)
4
+ * No longer requiring autotest as a dependency of `refinerycms-testing`. [Philip Arndt](https://github.com/parndt)
5
+ * Improved 'wrong rails version' error message on install with a more helpful guide on how to specify a rails version. [Philip Arndt](https://github.com/parndt)
6
+ * [See full list](https://github.com/resolve/refinerycms/compare/1.0.7...1.0.8)
7
+
1
8
  ## 1.0.7 [31 August 2011]
2
9
 
3
10
  * No change, just fixing corruption in the 1.0.6 gem caused by Syck. [Philip Arndt](https://github.com/parndt)
@@ -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.7}
6
+ s.version = %q{1.0.8}
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-08-31}
8
+ s.date = %q{2011-09-01}
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.7'
23
- s.add_dependency 'refinerycms-base', '= 1.0.7'
24
- s.add_dependency 'refinerycms-core', '= 1.0.7'
25
- s.add_dependency 'refinerycms-dashboard', '= 1.0.7'
26
- s.add_dependency 'refinerycms-images', '= 1.0.7'
27
- s.add_dependency 'refinerycms-pages', '= 1.0.7'
28
- s.add_dependency 'refinerycms-resources', '= 1.0.7'
29
- s.add_dependency 'refinerycms-settings', '= 1.0.7'
22
+ s.add_dependency 'refinerycms-authentication', '= 1.0.8'
23
+ s.add_dependency 'refinerycms-base', '= 1.0.8'
24
+ s.add_dependency 'refinerycms-core', '= 1.0.8'
25
+ s.add_dependency 'refinerycms-dashboard', '= 1.0.8'
26
+ s.add_dependency 'refinerycms-images', '= 1.0.8'
27
+ s.add_dependency 'refinerycms-pages', '= 1.0.8'
28
+ s.add_dependency 'refinerycms-resources', '= 1.0.8'
29
+ s.add_dependency 'refinerycms-settings', '= 1.0.8'
30
30
 
31
31
  s.files = [
32
32
  '.gitignore',
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: 25
4
+ hash: 7
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 7
10
- version: 1.0.7
9
+ - 8
10
+ version: 1.0.8
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-08-31 00:00:00 Z
22
+ date: 2011-09-01 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: 25
47
+ hash: 7
48
48
  segments:
49
49
  - 1
50
50
  - 0
51
- - 7
52
- version: 1.0.7
51
+ - 8
52
+ version: 1.0.8
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: 25
63
+ hash: 7
64
64
  segments:
65
65
  - 1
66
66
  - 0
67
- - 7
68
- version: 1.0.7
67
+ - 8
68
+ version: 1.0.8
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: 25
79
+ hash: 7
80
80
  segments:
81
81
  - 1
82
82
  - 0
83
- - 7
84
- version: 1.0.7
83
+ - 8
84
+ version: 1.0.8
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: 25
95
+ hash: 7
96
96
  segments:
97
97
  - 1
98
98
  - 0
99
- - 7
100
- version: 1.0.7
99
+ - 8
100
+ version: 1.0.8
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: 25
111
+ hash: 7
112
112
  segments:
113
113
  - 1
114
114
  - 0
115
- - 7
116
- version: 1.0.7
115
+ - 8
116
+ version: 1.0.8
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: 25
127
+ hash: 7
128
128
  segments:
129
129
  - 1
130
130
  - 0
131
- - 7
132
- version: 1.0.7
131
+ - 8
132
+ version: 1.0.8
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: 25
143
+ hash: 7
144
144
  segments:
145
145
  - 1
146
146
  - 0
147
- - 7
148
- version: 1.0.7
147
+ - 8
148
+ version: 1.0.8
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: 25
159
+ hash: 7
160
160
  segments:
161
161
  - 1
162
162
  - 0
163
- - 7
164
- version: 1.0.7
163
+ - 8
164
+ version: 1.0.8
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.