refinerycms 0.9.1.2 → 0.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/config/environment.rb +1 -1
- data/vendor/plugins/refinery/lib/refinery.rb +7 -0
- metadata +3 -3
data/config/environment.rb
CHANGED
@@ -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.
|
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.
|
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-
|
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.
|
45
|
+
version: 2.3.4
|
46
46
|
version:
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: mislav-will_paginate
|