acdc 0.7.6 → 0.7.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -11,7 +11,7 @@ class Boolean; end
11
11
  module AcDc
12
12
 
13
13
  DEFAULT_NAMESPACE = "acdc"
14
- VERSION = [0,7,6]
14
+ VERSION = [0,7,7]
15
15
 
16
16
  def self.parseable_constants
17
17
  @parseables ||= []
@@ -35,7 +35,7 @@ module AcDc
35
35
  body.tag! elem.tag if elem.renderable?
36
36
  end
37
37
  end
38
- if is_a?(AcDc::Body) and value
38
+ if self.class.elements.empty? and is_a?(AcDc::Body) and value
39
39
  body << value
40
40
  end
41
41
  }
@@ -37,7 +37,7 @@ module AcDc
37
37
  end
38
38
  end
39
39
 
40
- if obj.is_a?(AcDc::Body)
40
+ if obj.is_a?(AcDc::Body) && klass.elements.size <= 0
41
41
  obj.value = node.respond_to?(:content) ? node.content : node.to_s
42
42
  end
43
43
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: acdc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.6
4
+ version: 0.7.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Clint Hill
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-01-29 00:00:00 -07:00
12
+ date: 2010-01-31 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -78,6 +78,6 @@ rubyforge_project:
78
78
  rubygems_version: 1.3.5
79
79
  signing_key:
80
80
  specification_version: 3
81
- summary: acdc 0.7.6
81
+ summary: acdc 0.7.7
82
82
  test_files: []
83
83