Skip to content
Browse files

Upgraded to refinery 1.0.4

  • Loading branch information...
1 parent 14003ba commit ec5a040a3f2da5fb52eae7c3c0b66b6de62ec645 @andersjanmyr committed Aug 14, 2011
Showing with 45 additions and 32 deletions.
  1. +1 −1 Gemfile
  2. +29 −29 Gemfile.lock
  3. +3 −1 config/environments/development.rb
  4. +3 −1 config/environments/test.rb
  5. +9 −0 db/seeds/pages.rb
View
2 Gemfile
@@ -13,7 +13,7 @@ gem 'fog'
# REFINERY CMS ================================================================
# Anything you put in here will be overridden when the app gets updated.
-gem 'refinerycms', '= 1.0.0'
+gem 'refinerycms', '= 1.0.4'
group :development, :test do
# To use refinerycms-testing, uncomment it (if it's commented out) and run 'bundle install'
View
58 Gemfile.lock
@@ -108,54 +108,54 @@ GEM
thor (~> 0.14.4)
rake (0.9.2)
rdoc (3.9.2)
- refinerycms (1.0.0)
+ refinerycms (1.0.4)
bundler (~> 1.0)
- refinerycms-authentication (= 1.0.0)
- refinerycms-base (= 1.0.0)
- refinerycms-core (= 1.0.0)
- refinerycms-dashboard (= 1.0.0)
- refinerycms-images (= 1.0.0)
- refinerycms-pages (= 1.0.0)
- refinerycms-resources (= 1.0.0)
- refinerycms-settings (= 1.0.0)
- refinerycms-authentication (1.0.0)
+ refinerycms-authentication (= 1.0.4)
+ refinerycms-base (= 1.0.4)
+ refinerycms-core (= 1.0.4)
+ refinerycms-dashboard (= 1.0.4)
+ refinerycms-images (= 1.0.4)
+ refinerycms-pages (= 1.0.4)
+ refinerycms-resources (= 1.0.4)
+ refinerycms-settings (= 1.0.4)
+ refinerycms-authentication (1.0.4)
devise (~> 1.3.0)
friendly_id_globalize3 (~> 3.2.1)
- refinerycms-core (= 1.0.0)
- refinerycms-base (1.0.0)
- refinerycms-core (1.0.0)
+ refinerycms-core (= 1.0.4)
+ refinerycms-base (1.0.4)
+ refinerycms-core (1.0.4)
acts_as_indexed (~> 0.7)
awesome_nested_set (~> 2.0)
friendly_id_globalize3 (~> 3.2.1)
globalize3 (~> 0.1)
- rails (~> 3.0.7)
- refinerycms-base (= 1.0.0)
+ rails (~> 3.0.9)
+ refinerycms-base (= 1.0.4)
refinerycms-generators (~> 1.0)
- refinerycms-settings (= 1.0.0)
+ refinerycms-settings (= 1.0.4)
truncate_html (~> 0.5)
- will_paginate (~> 3.0.pre)
- refinerycms-dashboard (1.0.0)
- refinerycms-core (= 1.0.0)
+ will_paginate (= 3.0.pre2)
+ refinerycms-dashboard (1.0.4)
+ refinerycms-core (= 1.0.4)
refinerycms-generators (1.0.3)
refinerycms-i18n (1.0.0)
refinerycms-core (>= 0.9.9.12)
routing-filter (>= 0.2.3)
- refinerycms-images (1.0.0)
+ refinerycms-images (1.0.4)
dragonfly (~> 0.9.0)
rack-cache (>= 0.5.3)
- refinerycms-core (= 1.0.0)
- refinerycms-pages (1.0.0)
+ refinerycms-core (= 1.0.4)
+ refinerycms-pages (1.0.4)
awesome_nested_set (~> 2.0)
friendly_id_globalize3 (~> 3.2.1)
globalize3 (~> 0.1)
- refinerycms-core (= 1.0.0)
+ refinerycms-core (= 1.0.4)
seo_meta (~> 1.1)
- refinerycms-resources (1.0.0)
+ refinerycms-resources (1.0.4)
dragonfly (~> 0.9.0)
rack-cache (>= 0.5.3)
- refinerycms-core (= 1.0.0)
- refinerycms-settings (1.0.0)
- refinerycms-base (= 1.0.0)
+ refinerycms-core (= 1.0.4)
+ refinerycms-settings (1.0.4)
+ refinerycms-base (= 1.0.4)
rest-client (1.6.3)
mime-types (>= 1.16)
routing-filter (0.2.4)
@@ -174,7 +174,7 @@ GEM
tzinfo (0.3.29)
warden (1.0.5)
rack (>= 1.0)
- will_paginate (3.0.0)
+ will_paginate (3.0.pre2)
PLATFORMS
ruby
@@ -185,7 +185,7 @@ DEPENDENCIES
heroku
hoptoad_notifier
rails (= 3.0.9)
- refinerycms (= 1.0.0)
+ refinerycms (= 1.0.4)
refinerycms-i18n (~> 1.0.0)
sass
sqlite3
View
4 config/environments/development.rb
@@ -24,4 +24,6 @@
config.action_dispatch.best_standards_support = :builtin
end
-Refinery.rescue_not_found = false
+Refinery.rescue_not_found = false# When true will use Amazon's Simple Storage Service on your production machine
+# instead of the default file system for resources and images
+Refinery.s3_backend = !(ENV['S3_KEY'].nil? || ENV['S3_SECRET'].nil?)
View
4 config/environments/test.rb
@@ -33,4 +33,6 @@
# Print deprecation notices to the stderr
config.active_support.deprecation = :stderr
end
-Refinery.rescue_not_found = false
+Refinery.rescue_not_found = false# When true will use Amazon's Simple Storage Service on your production machine
+# instead of the default file system for resources and images
+Refinery.s3_backend = !(ENV['S3_KEY'].nil? || ENV['S3_SECRET'].nil?)
View
9 db/seeds/pages.rb
@@ -1,3 +1,12 @@
+::Page.reset_column_information
+# Check whether all columns are applied yet by seo_meta.
+unless !defined?(::SeoMeta) || ::SeoMeta.attributes.keys.all? { |k|
+ ::Page.translation_class.instance_methods.include?(k)
+}
+ # Make pages model seo_meta because not all columns are accessible.
+ ::Page.translation_class.send :is_seo_meta
+end
+
page_position = -1
home_page = Page.create(:title => "Home",

0 comments on commit ec5a040

Please sign in to comment.
Something went wrong with that request. Please try again.