niceogiri 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module Niceogiri
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
@@ -134,11 +134,7 @@ module Niceogiri
134
134
  def inherit(node)
135
135
  set_namespace node.namespace if node.namespace
136
136
  inherit_attrs node.attributes
137
- node.children.each do |c|
138
- self << (n = c.dup)
139
- ns = n.namespace_definitions.find { |ns| ns.prefix == c.namespace.prefix }
140
- n.namespace = ns if ns
141
- end
137
+ node.children.each { |c| self << c.dup }
142
138
  self
143
139
  end
144
140
 
data/niceogiri.gemspec CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |s|
19
19
  s.rdoc_options = %w{--charset=UTF-8}
20
20
  s.extra_rdoc_files = %w{LICENSE README.md}
21
21
 
22
- s.add_dependency "nokogiri", ["~> 1.4.6"]
22
+ s.add_dependency "nokogiri", ["~> 1.4"]
23
23
 
24
24
  s.add_development_dependency "rspec", [">= 2.7.0"]
25
25
  s.add_development_dependency "bundler", [">= 1.0.0"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: niceogiri
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,22 +10,22 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-03-13 00:00:00.000000000 Z
13
+ date: 2012-03-31 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: nokogiri
17
- requirement: &2157507880 !ruby/object:Gem::Requirement
17
+ requirement: &2165547740 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ~>
21
21
  - !ruby/object:Gem::Version
22
- version: 1.4.6
22
+ version: '1.4'
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *2157507880
25
+ version_requirements: *2165547740
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: rspec
28
- requirement: &2157506860 !ruby/object:Gem::Requirement
28
+ requirement: &2165547040 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ! '>='
@@ -33,10 +33,10 @@ dependencies:
33
33
  version: 2.7.0
34
34
  type: :development
35
35
  prerelease: false
36
- version_requirements: *2157506860
36
+ version_requirements: *2165547040
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: bundler
39
- requirement: &2157505960 !ruby/object:Gem::Requirement
39
+ requirement: &2165546540 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ! '>='
@@ -44,10 +44,10 @@ dependencies:
44
44
  version: 1.0.0
45
45
  type: :development
46
46
  prerelease: false
47
- version_requirements: *2157505960
47
+ version_requirements: *2165546540
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: yard
50
- requirement: &2157471400 !ruby/object:Gem::Requirement
50
+ requirement: &2165546000 !ruby/object:Gem::Requirement
51
51
  none: false
52
52
  requirements:
53
53
  - - ! '>='
@@ -55,10 +55,10 @@ dependencies:
55
55
  version: 0.6.1
56
56
  type: :development
57
57
  prerelease: false
58
- version_requirements: *2157471400
58
+ version_requirements: *2165546000
59
59
  - !ruby/object:Gem::Dependency
60
60
  name: rake
61
- requirement: &2157470900 !ruby/object:Gem::Requirement
61
+ requirement: &2165545600 !ruby/object:Gem::Requirement
62
62
  none: false
63
63
  requirements:
64
64
  - - ! '>='
@@ -66,10 +66,10 @@ dependencies:
66
66
  version: '0'
67
67
  type: :development
68
68
  prerelease: false
69
- version_requirements: *2157470900
69
+ version_requirements: *2165545600
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: guard-rspec
72
- requirement: &2157470200 !ruby/object:Gem::Requirement
72
+ requirement: &2165544980 !ruby/object:Gem::Requirement
73
73
  none: false
74
74
  requirements:
75
75
  - - ! '>='
@@ -77,7 +77,7 @@ dependencies:
77
77
  version: '0'
78
78
  type: :development
79
79
  prerelease: false
80
- version_requirements: *2157470200
80
+ version_requirements: *2165544980
81
81
  description: Make dealing with XML less painful
82
82
  email:
83
83
  - ben@langfeld.me
@@ -118,7 +118,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
118
118
  version: '0'
119
119
  segments:
120
120
  - 0
121
- hash: -1063614366718519719
121
+ hash: -1076126536062088480
122
122
  required_rubygems_version: !ruby/object:Gem::Requirement
123
123
  none: false
124
124
  requirements:
@@ -127,7 +127,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
127
127
  version: '0'
128
128
  segments:
129
129
  - 0
130
- hash: -1063614366718519719
130
+ hash: -1076126536062088480
131
131
  requirements: []
132
132
  rubyforge_project:
133
133
  rubygems_version: 1.8.10