xml-to-hash 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: aebfab7d10ef775111cbb0eb73249b1b494bb6af
4
- data.tar.gz: a1f63b1b11bcf1afb5bddcbaa0e5c4ac25febc58
3
+ metadata.gz: 4af0fbe218b2e26d594c555d13030dd2f59957a0
4
+ data.tar.gz: 159c2e84b0a9e0fc104e5384b4a2f132b05b7de1
5
5
  SHA512:
6
- metadata.gz: d1549313fd3704bb8955de5165c46b8ccc9e325083bc9b943cf4568ec9faea583cdd090946a9e024bc936f291b568f7b239b6f58815bd0a72d32cc809675f7ed
7
- data.tar.gz: 0a18467e1eb9f8fee9b49c7d3a174f509596c44fd388af736b8d33e9b6f593769398b4cfdd5df4e3c06e38a31b31c34e474a9825ef3bc965471651690cfdda51
6
+ metadata.gz: 6e3f4fd26cf3fb44278df0121aec415e3387ba360909b67e4facda2439c3536627343fcebab560afaae7d2cb84c67871f624ce6448b3cac8af775773fd04d8aa
7
+ data.tar.gz: 5e3ca0953517794a2b468c392d21aaf248e939f403de6483d4894428f4b9b377c2abc32f298030a71359d7346da97f57ba2133a6a40cbdd62324a96d0ce4e81e
data/README.md CHANGED
@@ -209,7 +209,7 @@ produces
209
209
 
210
210
  After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
211
211
 
212
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
212
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `xml/to/hash.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
213
213
 
214
214
  ## Contributing
215
215
 
@@ -4,7 +4,7 @@ module Xml
4
4
  # noinspection RubyClassModuleNamingConvention
5
5
  module To
6
6
  module Hash
7
- VERSION = '1.0.2'
7
+ VERSION = '1.0.3'
8
8
 
9
9
  def add_children!(node, hash, blacklist=[])
10
10
  unless node.respond_to? :node_type and blacklist.include? node.node_type
@@ -9,8 +9,10 @@ Gem::Specification.new do |spec|
9
9
  spec.authors = ['Maarten Trompper']
10
10
  spec.email = ['maartentrompper@gmail.com']
11
11
 
12
- spec.summary = %q{Transparently convert XML documents to Ruby hashes (and JSON, and beyond)}
13
- spec.description = %q{This gem add a `to_hash` method to Nokogiri XML nodes into a Ruby hash. In the resulting hash, all keys are constants.
12
+ spec.required_ruby_version = '>= 1.9.2'
13
+
14
+ spec.summary = %q{Transparently transform XML documents to Ruby hashes (and JSON, and beyond)}
15
+ spec.description = %q{This gem adds a `to_hash` method to Nokogiri XML nodes into a Ruby hash. In the resulting hash, all keys are constants.
14
16
 
15
17
  This gem also picks up attributes, processing instructions and doctype declarations. The resulting Hash is wordy, but complete.
16
18
 
@@ -31,6 +33,7 @@ As an added bonus, we include line numbers where possible.}
31
33
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
32
34
  spec.require_paths = ['lib']
33
35
 
36
+
34
37
  spec.add_development_dependency 'bundler', '~> 1.10'
35
38
  spec.add_development_dependency 'rake', '~> 10.0'
36
39
  spec.add_development_dependency 'rspec', '~> 2.4'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xml-to-hash
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maarten Trompper
@@ -73,7 +73,7 @@ dependencies:
73
73
  - !ruby/object:Gem::Version
74
74
  version: '1.6'
75
75
  description: |-
76
- This gem add a `to_hash` method to Nokogiri XML nodes into a Ruby hash. In the resulting hash, all keys are constants.
76
+ This gem adds a `to_hash` method to Nokogiri XML nodes into a Ruby hash. In the resulting hash, all keys are constants.
77
77
 
78
78
  This gem also picks up attributes, processing instructions and doctype declarations. The resulting Hash is wordy, but complete.
79
79
 
@@ -108,7 +108,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
108
108
  requirements:
109
109
  - - ">="
110
110
  - !ruby/object:Gem::Version
111
- version: '0'
111
+ version: 1.9.2
112
112
  required_rubygems_version: !ruby/object:Gem::Requirement
113
113
  requirements:
114
114
  - - ">="
@@ -119,5 +119,5 @@ rubyforge_project:
119
119
  rubygems_version: 2.4.7
120
120
  signing_key:
121
121
  specification_version: 4
122
- summary: Transparently convert XML documents to Ruby hashes (and JSON, and beyond)
122
+ summary: Transparently transform XML documents to Ruby hashes (and JSON, and beyond)
123
123
  test_files: []