radiant-children_config-extension 1.0.4 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -21,6 +21,9 @@ module ChildrenConfig::PageExtensions
21
21
  end
22
22
  page.parts << PagePart.new(options)
23
23
  end
24
+ if config.select{|c| c.has_key? "class_name"}.size > 0
25
+ page.class_name = config.select{|c| c.has_key? "class_name"}.first["class_name"].camelize
26
+ end
24
27
  page
25
28
  end
26
29
  else
@@ -31,7 +34,6 @@ module ChildrenConfig::PageExtensions
31
34
  end
32
35
  end
33
36
 
34
-
35
37
  end
36
38
  end
37
39
 
@@ -1,3 +1,3 @@
1
1
  module RadiantChildrenConfigExtension
2
- VERSION = '1.0.4'
2
+ VERSION = '1.0.5'
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: radiant-children_config-extension
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 29
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 4
10
- version: 1.0.4
9
+ - 5
10
+ version: 1.0.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Your Name
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-07-24 00:00:00 Z
18
+ date: 2011-07-27 00:00:00 Z
19
19
  dependencies: []
20
20
 
21
21
  description: Makes Radiant better by adding children_config!
@@ -45,6 +45,7 @@ files:
45
45
  - radiant-children_config-extension-1.0.1.gem
46
46
  - radiant-children_config-extension-1.0.2.gem
47
47
  - radiant-children_config-extension-1.0.3.gem
48
+ - radiant-children_config-extension-1.0.4.gem
48
49
  - radiant-children_config-extension.gemspec
49
50
  - Rakefile
50
51
  - README.md
@@ -55,7 +56,7 @@ files:
55
56
  homepage: http://yourwebsite.com/children_config
56
57
  licenses: []
57
58
 
58
- post_install_message: "\n Add this to your radiant project with:\n config.gem 'radiant-children_config-extension', :version => '~>1.0.4'\n "
59
+ post_install_message: "\n Add this to your radiant project with:\n config.gem 'radiant-children_config-extension', :version => '~>1.0.5'\n "
59
60
  rdoc_options: []
60
61
 
61
62
  require_paths: