refinerycms 0.9.9.1 → 0.9.9.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/Gemfile.lock +29 -33
  2. data/bin/refinerycms +14 -6
  3. data/changelog.md +11 -0
  4. data/refinerycms.gemspec +24 -10
  5. metadata +21 -10
@@ -1,47 +1,45 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- refinerycms (0.9.9.1)
4
+ refinerycms (0.9.9.2)
5
5
  bundler (~> 1.0.10)
6
- refinerycms-authentication (~> 0.9.9.1)
7
- refinerycms-base (~> 0.9.9.1)
8
- refinerycms-core (~> 0.9.9.1)
9
- refinerycms-dashboard (~> 0.9.9.1)
10
- refinerycms-images (~> 0.9.9.1)
11
- refinerycms-pages (~> 0.9.9.1)
12
- refinerycms-resources (~> 0.9.9.1)
13
- refinerycms-settings (~> 0.9.9.1)
14
- refinerycms-authentication (0.9.9.1)
6
+ refinerycms-authentication (~> 0.9.9.2)
7
+ refinerycms-base (~> 0.9.9.2)
8
+ refinerycms-core (~> 0.9.9.2)
9
+ refinerycms-dashboard (~> 0.9.9.2)
10
+ refinerycms-images (~> 0.9.9.2)
11
+ refinerycms-pages (~> 0.9.9.2)
12
+ refinerycms-resources (~> 0.9.9.2)
13
+ refinerycms-settings (~> 0.9.9.2)
14
+ refinerycms-authentication (0.9.9.2)
15
15
  devise (~> 1.1)
16
- refinerycms-core (~> 0.9.9.1)
17
- refinerycms-base (0.9.9.1)
18
- refinerycms-core (0.9.9.1)
16
+ refinerycms-core (~> 0.9.9.2)
17
+ refinerycms-base (0.9.9.2)
18
+ refinerycms-core (0.9.9.2)
19
19
  acts_as_indexed (~> 0.7)
20
20
  friendly_id_globalize3 (~> 3.2.0)
21
21
  globalize3 (>= 0.1.0.beta)
22
22
  moretea-awesome_nested_set (= 1.4.3.1)
23
23
  rails (~> 3.0.3)
24
24
  rdoc (>= 2.5.11)
25
- refinerycms-base (~> 0.9.9.1)
25
+ refinerycms-base (~> 0.9.9.2)
26
26
  refinerycms-generators (~> 0.9.9.3)
27
- refinerycms-settings (~> 0.9.9.1)
27
+ refinerycms-settings (~> 0.9.9.2)
28
28
  truncate_html (~> 0.5)
29
29
  will_paginate (~> 3.0.pre)
30
- refinerycms-dashboard (0.9.9.1)
31
- refinerycms-core (~> 0.9.9.1)
32
- refinerycms-images (0.9.9.1)
30
+ refinerycms-dashboard (0.9.9.2)
31
+ refinerycms-core (~> 0.9.9.2)
32
+ refinerycms-images (0.9.9.2)
33
33
  dragonfly (~> 0.8.2)
34
- rack-cache (~> 0.5.2)
35
- refinerycms-core (~> 0.9.9.1)
36
- refinerycms-pages (0.9.9.1)
37
- refinerycms-core (~> 0.9.9.1)
38
- refinerycms-resources (0.9.9.1)
34
+ refinerycms-core (~> 0.9.9.2)
35
+ refinerycms-pages (0.9.9.2)
36
+ refinerycms-core (~> 0.9.9.2)
37
+ refinerycms-resources (0.9.9.2)
39
38
  dragonfly (~> 0.8.2)
40
- rack-cache (~> 0.5.2)
41
- refinerycms-core (~> 0.9.9.1)
42
- refinerycms-settings (0.9.9.1)
43
- refinerycms-base (~> 0.9.9.1)
44
- refinerycms-testing (0.9.9.1)
39
+ refinerycms-core (~> 0.9.9.2)
40
+ refinerycms-settings (0.9.9.2)
41
+ refinerycms-base (~> 0.9.9.2)
42
+ refinerycms-testing (0.9.9.2)
45
43
  autotest
46
44
  autotest-notification
47
45
  autotest-rails
@@ -54,7 +52,7 @@ PATH
54
52
  json_pure
55
53
  launchy
56
54
  rack-test (~> 0.5.6)
57
- refinerycms-core (~> 0.9.9.1)
55
+ refinerycms-core (~> 0.9.9.2)
58
56
  rspec-rails (~> 2.5)
59
57
 
60
58
  GEM
@@ -108,7 +106,7 @@ GEM
108
106
  rack-test (>= 0.5.4)
109
107
  selenium-webdriver (>= 0.0.27)
110
108
  xpath (~> 0.1.3)
111
- celerity (0.8.7)
109
+ celerity (0.8.8)
112
110
  childprocess (0.1.7)
113
111
  ffi (~> 0.6.3)
114
112
  configuration (1.2.0)
@@ -122,7 +120,7 @@ GEM
122
120
  cucumber (>= 0.8.0)
123
121
  culerity (0.2.15)
124
122
  database_cleaner (0.6.3)
125
- devise (1.1.5)
123
+ devise (1.1.7)
126
124
  bcrypt-ruby (~> 2.1.2)
127
125
  warden (~> 1.0.2)
128
126
  diff-lcs (1.1.2)
@@ -157,8 +155,6 @@ GEM
157
155
  nokogiri (1.4.4)
158
156
  polyglot (0.3.1)
159
157
  rack (1.2.1)
160
- rack-cache (0.5.3)
161
- rack (>= 0.4)
162
158
  rack-mount (0.6.13)
163
159
  rack (>= 1.0.0)
164
160
  rack-test (0.5.7)
@@ -18,7 +18,6 @@ require Pathname.new(File.expand_path(File.dirname(__FILE__) << "/..")).join('li
18
18
  require 'pathname'
19
19
  require 'fileutils'
20
20
  require 'optparse'
21
- require 'active_support'
22
21
 
23
22
  module Refinery
24
23
  class AppGenerator
@@ -117,7 +116,14 @@ module Refinery
117
116
  bundle!
118
117
 
119
118
  # Ensure the database exists so that queries like .table_exists? don't fail.
120
- run_command("rake -f \"#{@app_path.join('Rakefile')}\" db:create")
119
+ puts "\nCreating a new database.."
120
+ # Warn about incorrect username or password.
121
+ unless @options[:database][:adapter] == 'sqlite3'
122
+ note = "NOTE: if your database username is not '#{@options[:database][:username]}'"
123
+ note << " or your password is not '#{@options[:database][:password]}' then the installer will stop working here.\n\n"
124
+ puts note
125
+ end
126
+ run_command("rake -f \"#{@app_path.join('Rakefile')}\" db:create", {:fail => "Unable to create the application's database"})
121
127
  else
122
128
  # Update the current application.
123
129
  update!
@@ -230,7 +236,7 @@ module Refinery
230
236
  end
231
237
 
232
238
  def generate!(rails_command = nil)
233
- if rails_command.blank?
239
+ if rails_command.to_s.length == 0
234
240
  # Generate a rails application
235
241
  rails_command = "rails new \"#{@app_path}\""
236
242
  rails_command << " --database #{@options[:database][:adapter]}"
@@ -240,11 +246,13 @@ module Refinery
240
246
  end
241
247
  rails_output = run_command(rails_command, {:cd => false})
242
248
  # Detect non-success or a blank rails output or starting with "Can't initialize" or "Error"
243
- if !$?.success? or rails_output.blank? or rails_output =~ /^(Can't\ initialize|Error)/
249
+ if !$?.success? or rails_output.to_s.length == 0 or rails_output =~ /^(Can't\ initialize|Error)/
244
250
  puts "Generating Rails application failed. Exiting..."
245
251
  exit(1)
246
- elsif defined? JRUBY_VERSION
247
- find_and_replace(@app_path.join('Gemfile'), /['|"]sqlite3['|"]/, "'activerecord-jdbcsqlite3-adapter'")
252
+ else
253
+ if defined? JRUBY_VERSION
254
+ find_and_replace(@app_path.join('Gemfile'), /['|"]sqlite3['|"]/, "'activerecord-jdbcsqlite3-adapter'")
255
+ end
248
256
 
249
257
  # Override username and password
250
258
  find_and_replace('config/database.yml', %r{username:.*}, "username: #{@options[:database][:username]}")
@@ -1,3 +1,12 @@
1
+ ## 0.9.9.2 [17 February 2011]
2
+
3
+ * Removed ``activesupport`` requirement from ``bin/refinerycms``. [Philip Arndt](https://github.com/parndt)
4
+ * Fixed an issue in some browsers with a particular jQuery selector. [Philip Arndt](https://github.com/parndt)
5
+ * Modified some existing migrations to behave better when creating new applications. [Philip Arndt](https://github.com/parndt)
6
+ * Fixed ``-u`` and ``-p`` support for ``bin/refinerycms``. [Philip Arndt](https://github.com/parndt)
7
+
8
+ * [See full list](https://github.com/resolve/refinerycms/compare/0.9.9.1...0.9.9.2)
9
+
1
10
  ## 0.9.9.1 [15 February 2011]
2
11
 
3
12
  * Fixed Firefox issue with WYMeditor. [Amanda Wagener](https:/github.com/awagener)
@@ -9,6 +18,8 @@
9
18
  * New Vietnamese translation files added. [Alex Nguyen](https://github.com/tiendung) and Stefan N and Mario Nguyen
10
19
  * Improved JRuby support as well as the way that commands run in any ruby implementation. [Hiro Asari](https://github.com/BanzaiMan)
11
20
 
21
+ * [See full list](https://github.com/resolve/refinerycms/compare/0.9.9...0.9.9.1)
22
+
12
23
  ## 0.9.9 [27 January 2011]
13
24
 
14
25
  * Better, more semantic HTML5. [Joe Sak](https://github.com/joemsak)
@@ -2,9 +2,9 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{refinerycms}
5
- s.version = %q{0.9.9.1}
5
+ s.version = %q{0.9.9.2}
6
6
  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.}
7
- s.date = %q{2011-02-15}
7
+ s.date = %q{2011-02-17}
8
8
  s.summary = %q{A Ruby on Rails CMS that supports Rails 3}
9
9
  s.email = %q{info@refinerycms.com}
10
10
  s.homepage = %q{http://refinerycms.com}
@@ -18,14 +18,14 @@ Gem::Specification.new do |s|
18
18
  s.add_dependency 'bundler', '~> 1.0.10'
19
19
 
20
20
  # Refinery CMS
21
- s.add_dependency 'refinerycms-authentication', '~> 0.9.9.1'
22
- s.add_dependency 'refinerycms-base', '~> 0.9.9.1'
23
- s.add_dependency 'refinerycms-core', '~> 0.9.9.1'
24
- s.add_dependency 'refinerycms-dashboard', '~> 0.9.9.1'
25
- s.add_dependency 'refinerycms-images', '~> 0.9.9.1'
26
- s.add_dependency 'refinerycms-pages', '~> 0.9.9.1'
27
- s.add_dependency 'refinerycms-resources', '~> 0.9.9.1'
28
- s.add_dependency 'refinerycms-settings', '~> 0.9.9.1'
21
+ s.add_dependency 'refinerycms-authentication', '~> 0.9.9.2'
22
+ s.add_dependency 'refinerycms-base', '~> 0.9.9.2'
23
+ s.add_dependency 'refinerycms-core', '~> 0.9.9.2'
24
+ s.add_dependency 'refinerycms-dashboard', '~> 0.9.9.2'
25
+ s.add_dependency 'refinerycms-images', '~> 0.9.9.2'
26
+ s.add_dependency 'refinerycms-pages', '~> 0.9.9.2'
27
+ s.add_dependency 'refinerycms-resources', '~> 0.9.9.2'
28
+ s.add_dependency 'refinerycms-settings', '~> 0.9.9.2'
29
29
 
30
30
  s.files = [
31
31
  '.gitignore',
@@ -57,6 +57,20 @@ Gem::Specification.new do |s|
57
57
  'config/environments/test.rb',
58
58
  'config/settings.rb',
59
59
  'config.ru',
60
+ 'index',
61
+ 'index/development',
62
+ 'index/development/Page',
63
+ 'index/development/Page/102_111_117',
64
+ 'index/development/Page/104_111_109',
65
+ 'index/development/Page/110_111_116',
66
+ 'index/development/Page/112_111_108',
67
+ 'index/development/Page/112_114_105',
68
+ 'index/development/Page/112_97_103',
69
+ 'index/development/Page/116_104_97',
70
+ 'index/development/Page/121_111_117',
71
+ 'index/development/Page/97_98_111',
72
+ 'index/development/Page/99_111_110',
73
+ 'index/development/Page/size',
60
74
  'lib',
61
75
  'lib/refinery.rb',
62
76
  'lib/refinerycms.rb',
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: refinerycms
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.9.9.1
5
+ version: 0.9.9.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Resolve Digital
@@ -13,7 +13,7 @@ autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
15
 
16
- date: 2011-02-15 00:00:00 +13:00
16
+ date: 2011-02-17 00:00:00 +13:00
17
17
  default_executable:
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
@@ -35,7 +35,7 @@ dependencies:
35
35
  requirements:
36
36
  - - ~>
37
37
  - !ruby/object:Gem::Version
38
- version: 0.9.9.1
38
+ version: 0.9.9.2
39
39
  type: :runtime
40
40
  version_requirements: *id002
41
41
  - !ruby/object:Gem::Dependency
@@ -46,7 +46,7 @@ dependencies:
46
46
  requirements:
47
47
  - - ~>
48
48
  - !ruby/object:Gem::Version
49
- version: 0.9.9.1
49
+ version: 0.9.9.2
50
50
  type: :runtime
51
51
  version_requirements: *id003
52
52
  - !ruby/object:Gem::Dependency
@@ -57,7 +57,7 @@ dependencies:
57
57
  requirements:
58
58
  - - ~>
59
59
  - !ruby/object:Gem::Version
60
- version: 0.9.9.1
60
+ version: 0.9.9.2
61
61
  type: :runtime
62
62
  version_requirements: *id004
63
63
  - !ruby/object:Gem::Dependency
@@ -68,7 +68,7 @@ dependencies:
68
68
  requirements:
69
69
  - - ~>
70
70
  - !ruby/object:Gem::Version
71
- version: 0.9.9.1
71
+ version: 0.9.9.2
72
72
  type: :runtime
73
73
  version_requirements: *id005
74
74
  - !ruby/object:Gem::Dependency
@@ -79,7 +79,7 @@ dependencies:
79
79
  requirements:
80
80
  - - ~>
81
81
  - !ruby/object:Gem::Version
82
- version: 0.9.9.1
82
+ version: 0.9.9.2
83
83
  type: :runtime
84
84
  version_requirements: *id006
85
85
  - !ruby/object:Gem::Dependency
@@ -90,7 +90,7 @@ dependencies:
90
90
  requirements:
91
91
  - - ~>
92
92
  - !ruby/object:Gem::Version
93
- version: 0.9.9.1
93
+ version: 0.9.9.2
94
94
  type: :runtime
95
95
  version_requirements: *id007
96
96
  - !ruby/object:Gem::Dependency
@@ -101,7 +101,7 @@ dependencies:
101
101
  requirements:
102
102
  - - ~>
103
103
  - !ruby/object:Gem::Version
104
- version: 0.9.9.1
104
+ version: 0.9.9.2
105
105
  type: :runtime
106
106
  version_requirements: *id008
107
107
  - !ruby/object:Gem::Dependency
@@ -112,7 +112,7 @@ dependencies:
112
112
  requirements:
113
113
  - - ~>
114
114
  - !ruby/object:Gem::Version
115
- version: 0.9.9.1
115
+ version: 0.9.9.2
116
116
  type: :runtime
117
117
  version_requirements: *id009
118
118
  description: A Ruby on Rails CMS that supports Rails 3. It's easy to extend and sticks to 'the Rails way' where possible.
@@ -144,6 +144,17 @@ files:
144
144
  - config/environments/test.rb
145
145
  - config/settings.rb
146
146
  - config.ru
147
+ - index/development/Page/102_111_117
148
+ - index/development/Page/104_111_109
149
+ - index/development/Page/110_111_116
150
+ - index/development/Page/112_111_108
151
+ - index/development/Page/112_114_105
152
+ - index/development/Page/112_97_103
153
+ - index/development/Page/116_104_97
154
+ - index/development/Page/121_111_117
155
+ - index/development/Page/97_98_111
156
+ - index/development/Page/99_111_110
157
+ - index/development/Page/size
147
158
  - lib/refinery.rb
148
159
  - lib/refinerycms.rb
149
160
  - license.md