refinerycms 0.9.1.2 → 0.9.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -61,7 +61,7 @@ eval("#{(defined? Refinery::Initializer) ? Refinery::Initializer : Rails::Initia
61
61
  config.gem "rake", :version => ">= 0.8.3", :lib => "rake"
62
62
  config.gem "friendly_id", :version => ">= 2.1.4", :lib => "friendly_id"
63
63
  config.gem "mislav-will_paginate", :version => ">= 2.3.11", :lib => "will_paginate", :source => "http://gems.github.com"
64
- config.gem "rails", :version => ">= 2.3.2", :lib => "rails"
64
+ config.gem "rails", :version => ">= 2.3.4", :lib => "rails"
65
65
  config.gem "rubyist-aasm", :version => ">= 2.1.1", :lib => "aasm", :source => "http://gems.github.com"
66
66
  config.gem "unicode", :version => ">= 0.1", :lib => "unicode"
67
67
  end
@@ -10,6 +10,13 @@ module Refinery
10
10
  # this will stop us running rake gems:install which we don't really want so just trap this error.
11
11
  end
12
12
  end
13
+
14
+ # Stub has_friendly_id unless it is already included.
15
+ # The config will still complain that the gem is missing but this allows it to do so.
16
+ ActiveRecord::Base.class_eval do
17
+ def self.has_friendly_id(column, options = {}, &block)
18
+ end
19
+ end unless ActiveRecord::Base.instance_methods.include? 'has_friendly_id'
13
20
  end
14
21
 
15
22
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: refinerycms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1.2
4
+ version: 0.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Resolve Digital
@@ -11,7 +11,7 @@ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
13
 
14
- date: 2009-10-06 00:00:00 +13:00
14
+ date: 2009-10-09 00:00:00 +13:00
15
15
  default_executable:
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
@@ -42,7 +42,7 @@ dependencies:
42
42
  requirements:
43
43
  - - ">="
44
44
  - !ruby/object:Gem::Version
45
- version: 2.3.2
45
+ version: 2.3.4
46
46
  version:
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: mislav-will_paginate