Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
  • 10 commits
  • 27 files changed
  • 0 comments
  • 2 contributors

Showing 27 changed files with 125 additions and 98 deletions. Show diff stats Hide diff stats

  1. 62  Gemfile.lock
  2. 6  authentication/refinerycms-authentication.gemspec
  3. 2  base/db/migrate/20100913234706_create_refinerycms_core_schema.rb
  4. 2  base/lib/refinery/version.rb
  5. 4  base/refinerycms-base.gemspec
  6. 20  bin/refinerycms
  7. 11  changelog.md
  8. 4  core/lib/generators/refinerycms_generator.rb
  9. 6  core/lib/refinery/plugins.rb
  10. 4  core/lib/tasks/refinery.rake
  11. 2  core/public/javascripts/refinery/submenu.js
  12. 8  core/refinerycms-core.gemspec
  13. 2  dashboard/config/locales/de.yml
  14. 6  dashboard/refinerycms-dashboard.gemspec
  15. 2  db/migrate/20100913234706_create_refinerycms_core_schema.rb
  16. 1  db/migrate/20100913234708_create_refinerycms_pages_schema.rb
  17. 6  db/migrate/20101216194133_remove_cached_slug_from_pages.rb
  18. 1  images/lib/gemspec.rb
  19. 7  images/refinerycms-images.gemspec
  20. 1  pages/db/migrate/20100913234708_create_refinerycms_pages_schema.rb
  21. 6  pages/db/migrate/20101216194133_remove_cached_slug_from_pages.rb
  22. 6  pages/refinerycms-pages.gemspec
  23. 34  refinerycms.gemspec
  24. 1  resources/lib/gemspec.rb
  25. 7  resources/refinerycms-resources.gemspec
  26. 6  settings/refinerycms-settings.gemspec
  27. 6  testing/refinerycms-testing.gemspec
62  Gemfile.lock
... ...
@@ -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)
6  authentication/refinerycms-authentication.gemspec
@@ -2,10 +2,10 @@
2 2
 
3 3
 Gem::Specification.new do |s|
4 4
   s.name              = %q{refinerycms-authentication}
5  
-  s.version           = %q{0.9.9.1}
  5
+  s.version           = %q{0.9.9.2}
6 6
   s.summary           = %q{Authentication engine for Refinery CMS}
7 7
   s.description       = %q{The default authentication engine for Refinery CMS}
8  
-  s.date              = %q{2011-02-15}
  8
+  s.date              = %q{2011-02-17}
9 9
   s.email             = %q{info@refinerycms.com}
10 10
   s.homepage          = %q{http://refinerycms.com}
11 11
   s.rubyforge_project = %q{refinerycms}
@@ -14,7 +14,7 @@ Gem::Specification.new do |s|
14 14
   s.require_paths     = %w(lib)
15 15
   s.executables       = %w()
16 16
 
17  
-  s.add_dependency 'refinerycms-core', '~> 0.9.9.1'
  17
+  s.add_dependency 'refinerycms-core', '~> 0.9.9.2'
18 18
   s.add_dependency 'devise',           '~> 1.1'
19 19
 
20 20
   s.files             = [
2  base/db/migrate/20100913234706_create_refinerycms_core_schema.rb
@@ -9,7 +9,7 @@ def self.up
9 9
       t.datetime "created_at"
10 10
     end
11 11
 
12  
-    add_index ::Slug.table_name, ["name", "sluggable_type", "scope", "sequence"], :name => "index_#{::Slug.table_name}_on_name_sluggable_type_scope_and_sequence", :unique => true
  12
+    add_index ::Slug.table_name, ["name", "sluggable_type", "scope", "sequence"], :name => "index_#{::Slug.table_name}_on_n_s_s_and_s", :unique => true
13 13
     add_index ::Slug.table_name, ["sluggable_id"], :name => "index_#{::Slug.table_name}_on_sluggable_id"
14 14
   end
15 15
 
2  base/lib/refinery/version.rb
@@ -3,7 +3,7 @@ class Version
3 3
     @major = 0
4 4
     @minor = 9
5 5
     @tiny  = 9
6  
-    @build = 1
  6
+    @build = 2
7 7
 
8 8
     class << self
9 9
       attr_reader :major, :minor, :tiny, :build
4  base/refinerycms-base.gemspec
@@ -2,10 +2,10 @@
2 2
 
3 3
 Gem::Specification.new do |s|
4 4
   s.name              = %q{refinerycms-base}
5  
-  s.version           = %q{0.9.9.1}
  5
+  s.version           = %q{0.9.9.2}
6 6
   s.summary           = %q{Base engine for Refinery CMS}
7 7
   s.description       = %q{The basic base for Refinery CMS Refinery CMS}
8  
-  s.date              = %q{2011-02-15}
  8
+  s.date              = %q{2011-02-17}
9 9
   s.email             = %q{info@refinerycms.com}
10 10
   s.homepage          = %q{http://refinerycms.com}
11 11
   s.rubyforge_project = %q{refinerycms}
20  bin/refinerycms
@@ -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]}")
11  changelog.md
Source Rendered
... ...
@@ -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)
4  core/lib/generators/refinerycms_generator.rb
@@ -36,7 +36,7 @@ def generate
36 36
         Refinery.roots('core').join('public', 'stylesheets', ss)
37 37
       }.reject{|ss| !ss.file?}.each do |stylesheet|
38 38
         copy_file stylesheet,
39  
-                  Rails.root.join('public', 'stylesheets', stylesheet.split.last),
  39
+                  Rails.root.join('public', 'stylesheets', stylesheet.basename),
40 40
                   :verbose => true
41 41
       end
42 42
       copy_file Refinery.roots('core').join('public', 'javascripts', 'admin.js'),
@@ -91,7 +91,7 @@ def generate
91 91
     self.options = force_options
92 92
     # Seeds and migrations now need to be copied from their various engines.
93 93
     existing_source_root = self.class.source_root
94  
-    ::Refinery::Plugins.registered.pathnames.reject{|p| !p.join('db').directory?}.sort.each do |pathname|
  94
+    ::Refinery::Plugins.registered.pathnames.reject{|p| !p.join('db').directory?}.each do |pathname|
95 95
       self.class.source_root pathname
96 96
       super
97 97
     end
6  core/lib/refinery/plugins.rb
@@ -30,15 +30,15 @@ def in_menu
30 30
     end
31 31
 
32 32
     def names
33  
-      self.collect { |p| p.name }
  33
+      self.map(&:name)
34 34
     end
35 35
 
36 36
     def pathnames
37  
-      self.collect { |p| p.pathname }.compact.uniq
  37
+      self.map(&:pathname).compact.uniq
38 38
     end
39 39
 
40 40
     def titles
41  
-      self.collect { |p| p.title }
  41
+      self.map(&:title)
42 42
     end
43 43
 
44 44
     class << self
4  core/lib/tasks/refinery.rake
@@ -187,7 +187,7 @@ namespace :refinery do
187 187
     Rails.root.join("db", "migrate").mkpath
188 188
     migrations = Pathname.glob(Refinery.roots.map{|r| r.join("db", "migrate", "*.rb")}).reject{|m|
189 189
       m.to_s =~ %r{\d+_create_refinerycms_.+?_schema\.rb} or
190  
-      Dir[Rails.root.join('db', 'migrate', "*#{m.split.last.to_s.split(/\d+_/).last}")].any?
  190
+      Dir[Rails.root.join('db', 'migrate', "*#{m.basename.to_s.split(/\d+_/).last}")].any?
191 191
     }
192 192
     FileUtils::cp migrations,
193 193
                   Rails.root.join('db', 'migrate').cleanpath.to_s,
@@ -195,7 +195,7 @@ namespace :refinery do
195 195
 
196 196
     Rails.root.join("db", "seeds").mkpath
197 197
     Pathname.glob(Refinery.roots.map{|r| r.join('db', 'seeds', '*.rb')}).each do |seed|
198  
-      unless (destination = Rails.root.join('db', 'seeds', seed.split.last)).exist?
  198
+      unless (destination = Rails.root.join('db', 'seeds', seed.basename)).exist?
199 199
         FileUtils::cp seed, destination.to_s, :verbose => verbose
200 200
       end
201 201
     end
2  core/public/javascripts/refinery/submenu.js
... ...
@@ -1,5 +1,5 @@
1 1
 $(document).ready(function(){
2  
-  $('nav#actions.multilist > ul:not(.search_list) li a[href$=' + window.location.pathname + ']').not('.not_a_link a').parent().addClass('selected');
  2
+  $('nav#actions.multilist > ul:not(.search_list) li a[href$="' + window.location.pathname + '"]').not('.not_a_link a').parent().addClass('selected');
3 3
   if($('nav#actions.multilist > ul:not(.search_list) li.selected').length === 0) {
4 4
     $('nav#actions.multilist > ul:not(.search_list) li a:nth(1)').parent().addClass('selected');
5 5
   }
8  core/refinerycms-core.gemspec
@@ -2,10 +2,10 @@
2 2
 
3 3
 Gem::Specification.new do |s|
4 4
   s.name              = %q{refinerycms-core}
5  
-  s.version           = %q{0.9.9.1}
  5
+  s.version           = %q{0.9.9.2}
6 6
   s.summary           = %q{Core engine for Refinery CMS}
7 7
   s.description       = %q{The core of Refinery CMS. This handles the common functionality and is required by most engines}
8  
-  s.date              = %q{2011-02-15}
  8
+  s.date              = %q{2011-02-17}
9 9
   s.email             = %q{info@refinerycms.com}
10 10
   s.homepage          = %q{http://refinerycms.com}
11 11
   s.rubyforge_project = %q{refinerycms}
@@ -14,8 +14,8 @@ Gem::Specification.new do |s|
14 14
   s.require_paths     = %w(lib)
15 15
   s.executables       = %w()
16 16
 
17  
-  s.add_dependency 'refinerycms-base',            '~> 0.9.9.1'
18  
-  s.add_dependency 'refinerycms-settings',        '~> 0.9.9.1'
  17
+  s.add_dependency 'refinerycms-base',            '~> 0.9.9.2'
  18
+  s.add_dependency 'refinerycms-settings',        '~> 0.9.9.2'
19 19
   s.add_dependency 'refinerycms-generators',      '~> 0.9.9.3'
20 20
   s.add_dependency 'acts_as_indexed',             '~> 0.7'
21 21
   s.add_dependency 'friendly_id_globalize3',      '~> 3.2.0'
2  dashboard/config/locales/de.yml
... ...
@@ -1,7 +1,7 @@
1 1
 de:
2 2
   plugins:
3 3
     refinery_dashboard:
4  
-      title: Armaturenbrett
  4
+      title: Übersicht
5 5
       description: Gibt eine Übersicht über Aktivitäten in Refinery
6 6
   admin:
7 7
     dashboard:
6  dashboard/refinerycms-dashboard.gemspec
@@ -2,10 +2,10 @@
2 2
 
3 3
 Gem::Specification.new do |s|
4 4
   s.name              = %q{refinerycms-dashboard}
5  
-  s.version           = %q{0.9.9.1}
  5
+  s.version           = %q{0.9.9.2}
6 6
   s.summary           = %q{Dashboard engine for Refinery CMS}
7 7
   s.description       = %q{The dashboard is usually the first engine the user sees in the backend of Refinery CMS. It displays useful information and contains links to common functionality.}
8  
-  s.date              = %q{2011-02-15}
  8
+  s.date              = %q{2011-02-17}
9 9
   s.email             = %q{info@refinerycms.com}
10 10
   s.homepage          = %q{http://refinerycms.com}
11 11
   s.rubyforge_project = %q{refinerycms}
@@ -68,5 +68,5 @@ Gem::Specification.new do |s|
68 68
     'refinerycms-dashboard.gemspec'
69 69
   ]
70 70
 
71  
-  s.add_dependency 'refinerycms-core', '~> 0.9.9.1'
  71
+  s.add_dependency 'refinerycms-core', '~> 0.9.9.2'
72 72
 end
2  db/migrate/20100913234706_create_refinerycms_core_schema.rb
@@ -10,7 +10,7 @@ def self.up
10 10
         t.datetime "created_at"
11 11
       end
12 12
 
13  
-      add_index ::Slug.table_name, ["name", "sluggable_type", "scope", "sequence"], :name => "index_#{::Slug.table_name}_on_name_sluggable_type_scope_and_sequence", :unique => true
  13
+      add_index ::Slug.table_name, ["name", "sluggable_type", "scope", "sequence"], :name => "index_#{::Slug.table_name}_on_n_s_s_and_s", :unique => true
14 14
       add_index ::Slug.table_name, ["sluggable_id"], :name => "index_#{::Slug.table_name}_on_sluggable_id"
15 15
     end
16 16
   end
1  db/migrate/20100913234708_create_refinerycms_pages_schema.rb
@@ -36,7 +36,6 @@ def self.up
36 36
         t.integer  "lft"
37 37
         t.integer  "rgt"
38 38
         t.integer  "depth"
39  
-        t.string   "cached_slug"
40 39
       end
41 40
 
42 41
       add_index ::Page.table_name, ["depth"], :name => "index_#{::Page.table_name}_on_depth"
6  db/migrate/20101216194133_remove_cached_slug_from_pages.rb
... ...
@@ -1,9 +1,11 @@
1 1
 class RemoveCachedSlugFromPages < ActiveRecord::Migration
2 2
   def self.up
3  
-    remove_column :pages, :cached_slug
  3
+    if ::Page.column_names.map(&:to_s).include?('cached_slug')
  4
+      remove_column ::Page.table_name, :cached_slug
  5
+    end
4 6
   end
5 7
 
6 8
   def self.down
7  
-    add_column :pages, :cached_slug, :string
  9
+    # Don't add this column back, it breaks stuff.
8 10
   end
9 11
 end
1  images/lib/gemspec.rb
@@ -27,7 +27,6 @@
27 27
 
28 28
   s.add_dependency 'refinerycms-core', '~> #{::Refinery::Version}'
29 29
   s.add_dependency 'dragonfly',        '~> 0.8.2'
30  
-  s.add_dependency 'rack-cache',       '~> 0.5.2'
31 30
 end
32 31
 EOF
33 32
 
7  images/refinerycms-images.gemspec
@@ -2,10 +2,10 @@
2 2
 
3 3
 Gem::Specification.new do |s|
4 4
   s.name              = %q{refinerycms-images}
5  
-  s.version           = %q{0.9.9.1}
  5
+  s.version           = %q{0.9.9.2}
6 6
   s.summary           = %q{Images engine for Refinery CMS}
7 7
   s.description       = %q{Handles all image upload and processing functionality in Refinery CMS.}
8  
-  s.date              = %q{2011-02-15}
  8
+  s.date              = %q{2011-02-17}
9 9
   s.email             = %q{info@refinerycms.com}
10 10
   s.homepage          = %q{http://refinerycms.com}
11 11
   s.rubyforge_project = %q{refinerycms}
@@ -91,7 +91,6 @@ Gem::Specification.new do |s|
91 91
     'spec/uploads/beach.jpeg'
92 92
   ]
93 93
 
94  
-  s.add_dependency 'refinerycms-core', '~> 0.9.9.1'
  94
+  s.add_dependency 'refinerycms-core', '~> 0.9.9.2'
95 95
   s.add_dependency 'dragonfly',        '~> 0.8.2'
96  
-  s.add_dependency 'rack-cache',       '~> 0.5.2'
97 96
 end
1  pages/db/migrate/20100913234708_create_refinerycms_pages_schema.rb
@@ -33,7 +33,6 @@ def self.up
33 33
       t.integer  "lft"
34 34
       t.integer  "rgt"
35 35
       t.integer  "depth"
36  
-      t.string   "cached_slug"
37 36
     end
38 37
 
39 38
     add_index ::Page.table_name, ["depth"], :name => "index_#{::Page.table_name}_on_depth"
6  pages/db/migrate/20101216194133_remove_cached_slug_from_pages.rb
... ...
@@ -1,9 +1,11 @@
1 1
 class RemoveCachedSlugFromPages < ActiveRecord::Migration
2 2
   def self.up
3  
-    remove_column :pages, :cached_slug
  3
+    if ::Page.column_names.map(&:to_s).include?('cached_slug')
  4
+      remove_column ::Page.table_name, :cached_slug
  5
+    end
4 6
   end
5 7
 
6 8
   def self.down
7  
-    add_column :pages, :cached_slug, :string
  9
+    # Don't add this column back, it breaks stuff.
8 10
   end
9 11
 end
6  pages/refinerycms-pages.gemspec
@@ -2,10 +2,10 @@
2 2
 
3 3
 Gem::Specification.new do |s|
4 4
   s.name              = %q{refinerycms-pages}
5  
-  s.version           = %q{0.9.9.1}
  5
+  s.version           = %q{0.9.9.2}
6 6
   s.summary           = %q{Pages engine for Refinery CMS}
7 7
   s.description       = %q{The default content engine of Refinery CMS. This engine handles the administration and display of user-editable pages.}
8  
-  s.date              = %q{2011-02-15}
  8
+  s.date              = %q{2011-02-17}
9 9
   s.email             = %q{info@refinerycms.com}
10 10
   s.homepage          = %q{http://refinerycms.com}
11 11
   s.rubyforge_project = %q{refinerycms}
@@ -106,5 +106,5 @@ Gem::Specification.new do |s|
106 106
     'spec/models/page_spec.rb'
107 107
   ]
108 108
 
109  
-  s.add_dependency 'refinerycms-core', '~> 0.9.9.1'
  109
+  s.add_dependency 'refinerycms-core', '~> 0.9.9.2'
110 110
 end
34  refinerycms.gemspec
@@ -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',
1  resources/lib/gemspec.rb
@@ -27,7 +27,6 @@
27 27
 
28 28
   s.add_dependency 'refinerycms-core', '~> #{::Refinery::Version}'
29 29
   s.add_dependency 'dragonfly',        '~> 0.8.2'
30  
-  s.add_dependency 'rack-cache',       '~> 0.5.2'
31 30
 end
32 31
 EOF
33 32
 
7  resources/refinerycms-resources.gemspec
@@ -2,10 +2,10 @@
2 2
 
3 3
 Gem::Specification.new do |s|
4 4
   s.name              = %q{refinerycms-resources}
5  
-  s.version           = %q{0.9.9.1}
  5
+  s.version           = %q{0.9.9.2}
6 6
   s.summary           = %q{Resources engine for Refinery CMS}
7 7
   s.description       = %q{Handles all file upload and processing functionality in Refinery CMS.}
8  
-  s.date              = %q{2011-02-15}
  8
+  s.date              = %q{2011-02-17}
9 9
   s.email             = %q{info@refinerycms.com}
10 10
   s.homepage          = %q{http://refinerycms.com}
11 11
   s.rubyforge_project = %q{refinerycms}
@@ -84,7 +84,6 @@ Gem::Specification.new do |s|
84 84
     'spec/uploads/refinery_is_awesome.txt'
85 85
   ]
86 86
 
87  
-  s.add_dependency 'refinerycms-core', '~> 0.9.9.1'
  87
+  s.add_dependency 'refinerycms-core', '~> 0.9.9.2'
88 88
   s.add_dependency 'dragonfly',        '~> 0.8.2'
89  
-  s.add_dependency 'rack-cache',       '~> 0.5.2'
90 89
 end
6  settings/refinerycms-settings.gemspec
@@ -2,10 +2,10 @@
2 2
 
3 3
 Gem::Specification.new do |s|
4 4
   s.name              = %q{refinerycms-settings}
5  
-  s.version           = %q{0.9.9.1}
  5
+  s.version           = %q{0.9.9.2}
6 6
   s.summary           = %q{Settings engine for Refinery CMS}
7 7
   s.description       = %q{The default settings engine that is required by Refinery CMS core. Adds programmer creatable, user editable settings for each engine.}
8  
-  s.date              = %q{2011-02-15}
  8
+  s.date              = %q{2011-02-17}
9 9
   s.email             = %q{info@refinerycms.com}
10 10
   s.homepage          = %q{http://refinerycms.com}
11 11
   s.rubyforge_project = %q{refinerycms}
@@ -80,5 +80,5 @@ Gem::Specification.new do |s|
80 80
     'spec/models/refinery_setting_spec.rb'
81 81
   ]
82 82
 
83  
-  s.add_dependency 'refinerycms-base', '~> 0.9.9.1'
  83
+  s.add_dependency 'refinerycms-base', '~> 0.9.9.2'
84 84
 end
6  testing/refinerycms-testing.gemspec
@@ -2,10 +2,10 @@
2 2
 
3 3
 Gem::Specification.new do |s|
4 4
   s.name              = %q{refinerycms-testing}
5  
-  s.version           = %q{0.9.9.1}
  5
+  s.version           = %q{0.9.9.2}
6 6
   s.summary           = %q{Testing plugin for Refinery CMS}
7 7
   s.description       = %q{This plugin adds the ability to run cucumber and rspec against the RefineryCMS gem while inside a RefineryCMS project}
8  
-  s.date              = %q{2011-02-15}
  8
+  s.date              = %q{2011-02-17}
9 9
   s.email             = %q{info@refinerycms.com}
10 10
   s.homepage          = %q{http://refinerycms.com}
11 11
   s.rubyforge_project = %q{refinerycms}
@@ -14,7 +14,7 @@ Gem::Specification.new do |s|
14 14
   s.require_paths     = %w(lib)
15 15
   s.executables       = %w()
16 16
 
17  
-  s.add_dependency 'refinerycms-core', '~> 0.9.9.1'
  17
+  s.add_dependency 'refinerycms-core', '~> 0.9.9.2'
18 18
   # RSpec
19 19
   s.add_dependency 'rspec-rails',       '~> 2.5'
20 20
 

No commit comments for this range

Something went wrong with that request. Please try again.