refinerycms-pages 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/db/seeds/pages.rb +9 -0
- data/refinerycms-pages.gemspec +3 -3
- metadata +8 -8
data/db/seeds/pages.rb
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
::Page.reset_column_information
|
2
|
+
# Check whether all columns are applied yet by seo_meta.
|
3
|
+
unless !defined?(::SeoMeta) || ::SeoMeta.attributes.keys.all? { |k|
|
4
|
+
::Page.translation_class.instance_methods.include?(k)
|
5
|
+
}
|
6
|
+
# Make pages model seo_meta because not all columns are accessible.
|
7
|
+
::Page.translation_class.send :is_seo_meta
|
8
|
+
end
|
9
|
+
|
1
10
|
page_position = -1
|
2
11
|
|
3
12
|
home_page = Page.create(:title => "Home",
|
data/refinerycms-pages.gemspec
CHANGED
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = %q{refinerycms-pages}
|
6
|
-
s.version = %q{1.0.
|
6
|
+
s.version = %q{1.0.4}
|
7
7
|
s.summary = %q{Pages engine for Refinery CMS}
|
8
8
|
s.description = %q{The default content engine of Refinery CMS. This engine handles the administration and display of user-editable pages.}
|
9
|
-
s.date = %q{2011-
|
9
|
+
s.date = %q{2011-08-11}
|
10
10
|
s.email = %q{info@refinerycms.com}
|
11
11
|
s.homepage = %q{http://refinerycms.com}
|
12
12
|
s.rubyforge_project = %q{refinerycms}
|
@@ -120,7 +120,7 @@ Gem::Specification.new do |s|
|
|
120
120
|
'spec/models/page_spec.rb'
|
121
121
|
]
|
122
122
|
|
123
|
-
s.add_dependency 'refinerycms-core', '= 1.0.
|
123
|
+
s.add_dependency 'refinerycms-core', '= 1.0.4'
|
124
124
|
s.add_dependency 'friendly_id_globalize3', '~> 3.2.1'
|
125
125
|
s.add_dependency 'globalize3', '~> 0.1'
|
126
126
|
s.add_dependency 'awesome_nested_set', '~> 2.0'
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: refinerycms-pages
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 31
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
9
|
+
- 4
|
10
|
+
version: 1.0.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Resolve Digital
|
@@ -19,7 +19,7 @@ autorequire:
|
|
19
19
|
bindir: bin
|
20
20
|
cert_chain: []
|
21
21
|
|
22
|
-
date: 2011-
|
22
|
+
date: 2011-08-11 00:00:00 Z
|
23
23
|
dependencies:
|
24
24
|
- !ruby/object:Gem::Dependency
|
25
25
|
name: refinerycms-core
|
@@ -29,12 +29,12 @@ dependencies:
|
|
29
29
|
requirements:
|
30
30
|
- - "="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
hash:
|
32
|
+
hash: 31
|
33
33
|
segments:
|
34
34
|
- 1
|
35
35
|
- 0
|
36
|
-
-
|
37
|
-
version: 1.0.
|
36
|
+
- 4
|
37
|
+
version: 1.0.4
|
38
38
|
type: :runtime
|
39
39
|
version_requirements: *id001
|
40
40
|
- !ruby/object:Gem::Dependency
|
@@ -211,7 +211,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
211
211
|
requirements: []
|
212
212
|
|
213
213
|
rubyforge_project: refinerycms
|
214
|
-
rubygems_version: 1.8.
|
214
|
+
rubygems_version: 1.8.6
|
215
215
|
signing_key:
|
216
216
|
specification_version: 3
|
217
217
|
summary: Pages engine for Refinery CMS
|