radiant-templates-extension 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.2
1
+ 1.0.3
@@ -15,10 +15,11 @@
15
15
  - content_for :page_css do
16
16
  :sass
17
17
  .template_chooser
18
- float: left
18
+ position: absolute
19
+ left: 150px
19
20
  background: #7E7E7E
20
21
  table.index
21
- margin: -2px 0 0 60px
22
+ margin: -2px 0 0 0px
22
23
  border: none
23
24
  tr, td.label, td.actions
24
25
  border: none
@@ -27,10 +27,10 @@ module Templates::Helper
27
27
 
28
28
  case template_part.part_type.field_type
29
29
  when "text_area"
30
- field_html << text_area_tag(field_name, h(part_content), options)
30
+ field_html << text_area_tag(field_name, part_content, options)
31
31
 
32
32
  when "text_field"
33
- field_html << text_field_tag(field_name, h(part_content), options)
33
+ field_html << text_field_tag(field_name, part_content, options)
34
34
 
35
35
  when "radio_button"
36
36
  options[:style] = "display:inline;margin-left:1em;"
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{radiant-templates-extension}
8
- s.version = "1.0.2"
8
+ s.version = "1.0.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Andrew vonderLuft", "Sean Cribbs"]
12
- s.date = %q{2011-04-22}
12
+ s.date = %q{2011-05-25}
13
13
  s.description = %q{Imposes structure on pages via content templates.}
14
14
  s.email = %q{avonderluft@avlux.net}
15
15
  s.extra_rdoc_files = [
@@ -69,8 +69,6 @@ Gem::Specification.new do |s|
69
69
  "lib/templates/helper.rb",
70
70
  "lib/templates/page_extensions.rb",
71
71
  "lib/templates/tags.rb",
72
- "pkg/radiant-templates-extension-1.0.0.gem",
73
- "pkg/radiant-templates-extension-1.0.1.gem",
74
72
  "public/images/admin/menu_arrow.png",
75
73
  "public/images/admin/move_higher.png",
76
74
  "public/images/admin/move_lower.png",
@@ -146,7 +144,7 @@ Gem::Specification.new do |s|
146
144
  ]
147
145
  s.homepage = %q{https://github.com/avonderluft/radiant-templates-extension}
148
146
  s.require_paths = ["lib"]
149
- s.rubygems_version = %q{1.6.2}
147
+ s.rubygems_version = %q{1.5.2}
150
148
  s.summary = %q{Templates Extension for Radiant CMS}
151
149
  s.test_files = [
152
150
  "spec/controllers/admin_page_controller_extensions_spec.rb",
@@ -43,7 +43,7 @@ class TemplatesExtension < Radiant::Extension
43
43
  end
44
44
 
45
45
  def load_default_template_regions
46
- returning OpenStruct.new do |template|
46
+ OpenStruct.new.tap do |template|
47
47
  template.edit = Radiant::AdminUI::RegionSet.new do |edit|
48
48
  edit.main.concat %w{edit_header edit_form}
49
49
  edit.form.concat %w{edit_title edit_content}
@@ -62,7 +62,7 @@ class TemplatesExtension < Radiant::Extension
62
62
  end
63
63
 
64
64
  def load_default_part_type_regions
65
- returning OpenStruct.new do |part_type|
65
+ OpenStruct.new.tap do |part_type|
66
66
  part_type.edit = Radiant::AdminUI::RegionSet.new do |edit|
67
67
  edit.main.concat %w{edit_header edit_form}
68
68
  edit.form.concat %w{edit_title edit_content}
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: radiant-templates-extension
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 2
10
- version: 1.0.2
9
+ - 3
10
+ version: 1.0.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Andrew vonderLuft
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2011-04-22 00:00:00 -07:00
19
+ date: 2011-05-25 00:00:00 -07:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency
@@ -97,8 +97,6 @@ files:
97
97
  - lib/templates/helper.rb
98
98
  - lib/templates/page_extensions.rb
99
99
  - lib/templates/tags.rb
100
- - pkg/radiant-templates-extension-1.0.0.gem
101
- - pkg/radiant-templates-extension-1.0.1.gem
102
100
  - public/images/admin/menu_arrow.png
103
101
  - public/images/admin/move_higher.png
104
102
  - public/images/admin/move_lower.png
@@ -201,7 +199,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
201
199
  requirements: []
202
200
 
203
201
  rubyforge_project:
204
- rubygems_version: 1.6.2
202
+ rubygems_version: 1.5.2
205
203
  signing_key:
206
204
  specification_version: 3
207
205
  summary: Templates Extension for Radiant CMS