noodall-components-general-content 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,12 +1,12 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- noodall-components-general-content (0.0.1)
4
+ noodall-components-general-content (0.0.2)
5
5
 
6
6
  PATH
7
7
  remote: /Users/steve/Gems/noodall-ui
8
8
  specs:
9
- noodall-ui (0.0.2)
9
+ noodall-ui (0.0.5)
10
10
  dynamic_form
11
11
  noodall-core
12
12
  thoughtbot-sortable_table (= 0.0.6)
@@ -99,6 +99,8 @@ GEM
99
99
  mime-types (~> 1.16)
100
100
  treetop (~> 1.4.8)
101
101
  mime-types (1.16)
102
+ mm-multi-parameter-attributes (0.1.1)
103
+ mongo_mapper
102
104
  mongo (1.1.1)
103
105
  bson (>= 1.1.1)
104
106
  mongo_mapper (0.8.6)
@@ -106,10 +108,11 @@ GEM
106
108
  jnunemaker-validatable (~> 1.8.4)
107
109
  plucky (~> 0.3.6)
108
110
  nokogiri (1.4.3.1)
109
- noodall-core (0.1.2)
111
+ noodall-core (0.3.2)
110
112
  canable (= 0.1.1)
113
+ mm-multi-parameter-attributes (~> 0.1.1)
111
114
  mongo_mapper (~> 0.8.6)
112
- ramdiv-mongo_mapper_acts_as_tree (= 0.1.1)
115
+ ramdiv-mongo_mapper_acts_as_tree (~> 0.1.1)
113
116
  ruby-stemmer
114
117
  plucky (0.3.6)
115
118
  mongo (~> 1.1)
@@ -133,7 +136,7 @@ GEM
133
136
  rake (>= 0.8.4)
134
137
  thor (~> 0.14.0)
135
138
  rake (0.8.7)
136
- ramdiv-mongo_mapper_acts_as_tree (0.1.1)
139
+ ramdiv-mongo_mapper_acts_as_tree (0.1.2)
137
140
  mongo_mapper (>= 0.6.8)
138
141
  rmagick (2.13.1)
139
142
  rspec (2.0.1)
@@ -161,7 +164,7 @@ GEM
161
164
  json_pure
162
165
  rubyzip
163
166
  term-ansicolor (1.0.5)
164
- thor (0.14.3)
167
+ thor (0.14.4)
165
168
  thoughtbot-sortable_table (0.0.6)
166
169
  treetop (1.4.8)
167
170
  polyglot (>= 0.3.1)
@@ -1,6 +1,6 @@
1
1
  <div id="<%= slot_code %>" class="component general-content <%= 'double' if expand %> <%= additional_classes %>">
2
2
  <h2><%= component.title %></h2>
3
3
  <%= link_to(image_tag(component.asset.url('200x108#', :jpg)), component.link) unless component.asset.nil? %>
4
- <div><%= component.content %></div>
5
- <%= link_to component.link_label, component.link, :class => "more" %>
4
+ <div><%= component.content.html_safe %></div>
5
+ <%= link_to component.link_label, component.link, :class => "more" unless component.link.blank? %>
6
6
  </div>
@@ -1,7 +1,7 @@
1
1
  module Noodall
2
2
  module Components
3
3
  module GeneralContent
4
- VERSION = "0.0.1"
4
+ VERSION = "0.0.2"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: noodall-components-general-content
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 1
10
- version: 0.0.1
9
+ - 2
10
+ version: 0.0.2
11
11
  platform: ruby
12
12
  authors: []
13
13
 
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-11-02 00:00:00 +00:00
18
+ date: 2010-11-04 00:00:00 +00:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -106,7 +106,7 @@ files:
106
106
  - spec/factories/node.rb
107
107
  - spec/files/beef.png
108
108
  - spec/integration/navigation_spec.rb
109
- - spec/noodall_component_gallery_spec.rb
109
+ - spec/noodall_component_general_content_spec.rb
110
110
  - spec/spec_helper.rb
111
111
  has_rdoc: true
112
112
  homepage: http://rubygems.org/gems/noodall-components-general-content