niceogiri 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 398621ec42e3e01c3c99d7d89ad7ddbaead1b5c5
4
+ data.tar.gz: c0e3f5ffeac49898a12dcb4b6f7e839afcb84d2a
5
+ SHA512:
6
+ metadata.gz: d9ebfdba0dbc6810ebc9004cff13a1e6343a8db2d0f2d5f19b45b1d79223122e7513aca37f5b48e94d01a78f014ad1c4f3945cbae0e6a649a382cc913606f6dc
7
+ data.tar.gz: 32f58acc93cad0cca673767db415bc9ed939e9fe8a4965b86309d032fd24a26be91ab860cc65c08141b4db03019c70026f44b88bb7253c127cf466f79666f9ee
data/Gemfile CHANGED
@@ -1,3 +1,3 @@
1
- source :rubygems
1
+ source "https://rubygems.org"
2
2
 
3
3
  gemspec
data/Guardfile CHANGED
@@ -1,4 +1,4 @@
1
- guard 'rspec', :version => 2, :cli => '--format documentation' do
1
+ guard 'rspec', :cli => '--format documentation' do
2
2
  watch(%r{^spec/.+_spec\.rb$})
3
3
  watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
4
4
  watch('spec/spec_helper.rb') { "spec/" }
@@ -1,3 +1,3 @@
1
1
  module Niceogiri
2
- VERSION = "1.1.1"
2
+ VERSION = "1.1.2"
3
3
  end
@@ -152,7 +152,7 @@ module Niceogiri
152
152
  # @return [self]
153
153
  def inherit_attrs(attrs)
154
154
  attrs.each do |name, value|
155
- attr_name = value.namespace ? [value.namespace.prefix, name].join(':') : name
155
+ attr_name = value.namespace && value.namespace.prefix ? [value.namespace.prefix, name].join(':') : name
156
156
  self.write_attr attr_name, value
157
157
  end
158
158
  self
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: niceogiri
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
5
- prerelease:
4
+ version: 1.1.2
6
5
  platform: ruby
7
6
  authors:
8
7
  - Ben Langfeld
@@ -10,12 +9,11 @@ authors:
10
9
  autorequire:
11
10
  bindir: bin
12
11
  cert_chain: []
13
- date: 2012-11-18 00:00:00.000000000 Z
12
+ date: 2013-05-01 00:00:00.000000000 Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
15
  name: nokogiri
17
16
  requirement: !ruby/object:Gem::Requirement
18
- none: false
19
17
  requirements:
20
18
  - - ~>
21
19
  - !ruby/object:Gem::Version
@@ -23,7 +21,6 @@ dependencies:
23
21
  type: :runtime
24
22
  prerelease: false
25
23
  version_requirements: !ruby/object:Gem::Requirement
26
- none: false
27
24
  requirements:
28
25
  - - ~>
29
26
  - !ruby/object:Gem::Version
@@ -31,7 +28,6 @@ dependencies:
31
28
  - !ruby/object:Gem::Dependency
32
29
  name: rspec
33
30
  requirement: !ruby/object:Gem::Requirement
34
- none: false
35
31
  requirements:
36
32
  - - ~>
37
33
  - !ruby/object:Gem::Version
@@ -39,7 +35,6 @@ dependencies:
39
35
  type: :development
40
36
  prerelease: false
41
37
  version_requirements: !ruby/object:Gem::Requirement
42
- none: false
43
38
  requirements:
44
39
  - - ~>
45
40
  - !ruby/object:Gem::Version
@@ -47,7 +42,6 @@ dependencies:
47
42
  - !ruby/object:Gem::Dependency
48
43
  name: bundler
49
44
  requirement: !ruby/object:Gem::Requirement
50
- none: false
51
45
  requirements:
52
46
  - - ~>
53
47
  - !ruby/object:Gem::Version
@@ -55,7 +49,6 @@ dependencies:
55
49
  type: :development
56
50
  prerelease: false
57
51
  version_requirements: !ruby/object:Gem::Requirement
58
- none: false
59
52
  requirements:
60
53
  - - ~>
61
54
  - !ruby/object:Gem::Version
@@ -63,7 +56,6 @@ dependencies:
63
56
  - !ruby/object:Gem::Dependency
64
57
  name: yard
65
58
  requirement: !ruby/object:Gem::Requirement
66
- none: false
67
59
  requirements:
68
60
  - - ~>
69
61
  - !ruby/object:Gem::Version
@@ -71,7 +63,6 @@ dependencies:
71
63
  type: :development
72
64
  prerelease: false
73
65
  version_requirements: !ruby/object:Gem::Requirement
74
- none: false
75
66
  requirements:
76
67
  - - ~>
77
68
  - !ruby/object:Gem::Version
@@ -79,33 +70,29 @@ dependencies:
79
70
  - !ruby/object:Gem::Dependency
80
71
  name: rake
81
72
  requirement: !ruby/object:Gem::Requirement
82
- none: false
83
73
  requirements:
84
- - - ! '>='
74
+ - - '>='
85
75
  - !ruby/object:Gem::Version
86
76
  version: '0'
87
77
  type: :development
88
78
  prerelease: false
89
79
  version_requirements: !ruby/object:Gem::Requirement
90
- none: false
91
80
  requirements:
92
- - - ! '>='
81
+ - - '>='
93
82
  - !ruby/object:Gem::Version
94
83
  version: '0'
95
84
  - !ruby/object:Gem::Dependency
96
85
  name: guard-rspec
97
86
  requirement: !ruby/object:Gem::Requirement
98
- none: false
99
87
  requirements:
100
- - - ! '>='
88
+ - - '>='
101
89
  - !ruby/object:Gem::Version
102
90
  version: '0'
103
91
  type: :development
104
92
  prerelease: false
105
93
  version_requirements: !ruby/object:Gem::Requirement
106
- none: false
107
94
  requirements:
108
- - - ! '>='
95
+ - - '>='
109
96
  - !ruby/object:Gem::Version
110
97
  version: '0'
111
98
  description: Make dealing with XML less painful
@@ -136,34 +123,27 @@ files:
136
123
  - spec/spec_helper.rb
137
124
  homepage: https://github.com/benlangfeld/Niceogiri
138
125
  licenses: []
126
+ metadata: {}
139
127
  post_install_message:
140
128
  rdoc_options:
141
129
  - --charset=UTF-8
142
130
  require_paths:
143
131
  - lib
144
132
  required_ruby_version: !ruby/object:Gem::Requirement
145
- none: false
146
133
  requirements:
147
- - - ! '>='
134
+ - - '>='
148
135
  - !ruby/object:Gem::Version
149
136
  version: '0'
150
- segments:
151
- - 0
152
- hash: -1530677168278840494
153
137
  required_rubygems_version: !ruby/object:Gem::Requirement
154
- none: false
155
138
  requirements:
156
- - - ! '>='
139
+ - - '>='
157
140
  - !ruby/object:Gem::Version
158
141
  version: '0'
159
- segments:
160
- - 0
161
- hash: -1530677168278840494
162
142
  requirements: []
163
143
  rubyforge_project:
164
- rubygems_version: 1.8.24
144
+ rubygems_version: 2.0.0
165
145
  signing_key:
166
- specification_version: 3
146
+ specification_version: 4
167
147
  summary: Some additional niceties atop Nokogiri
168
148
  test_files:
169
149
  - spec/niceogiri/core_ext/nokogiri_spec.rb