xmlhash 1.2.1 → 1.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/.gemtest ADDED
File without changes
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ === 1.2.2 / 2012-06-20
2
+
3
+ * use pkg-config for libxml
4
+
1
5
  === 1.2.1 / 2012-03-24
2
6
 
3
7
  * mark even more variables for ruby
data/Rakefile CHANGED
@@ -9,6 +9,7 @@ Hoe.spec 'xmlhash' do
9
9
  self.readme_file = 'README.txt'
10
10
  self.spec_extras = { :extensions => ["ext/xmlhash/extconf.rb"] }
11
11
  self.extra_dev_deps << ['rake-compiler', '>= 0']
12
+ self.extra_deps << ['pkg-config']
12
13
  Rake::ExtensionTask.new('xmlhash', spec) do |ext|
13
14
  ext.lib_dir = File.join('lib', 'xmlhash')
14
15
  end
@@ -1,5 +1,7 @@
1
1
  require 'mkmf'
2
+ require 'pkg-config'
2
3
  unless find_library('xml2', 'xmlAddID')
3
4
  abort "xml2 is missing. please install libxml2"
4
5
  end
6
+ $CFLAGS << ' ' + PackageConfig.new('libxml-2.0').cflags
5
7
  create_makefile('xmlhash/xmlhash')
Binary file
data/lib/xmlhash.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  require 'xmlhash/xmlhash'
2
2
 
3
3
  module Xmlhash
4
- VERSION = '1.2.1'
4
+ VERSION = '1.2.2'
5
5
  end
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xmlhash
3
3
  version: !ruby/object:Gem::Version
4
- version: !binary |-
5
- MS4yLjE=
4
+ version: 1.2.2
6
5
  prerelease:
7
6
  platform: ruby
8
7
  authors:
@@ -10,22 +9,43 @@ authors:
10
9
  autorequire:
11
10
  bindir: bin
12
11
  cert_chain: []
13
- date: 2012-03-24 00:00:00.000000000 Z
12
+ date: 2012-06-20 00:00:00.000000000 Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
- name: rubyforge
17
- requirement: &6853540 !ruby/object:Gem::Requirement
15
+ name: pkg-config
16
+ requirement: !ruby/object:Gem::Requirement
18
17
  none: false
19
18
  requirements:
20
19
  - - ! '>='
21
20
  - !ruby/object:Gem::Version
22
- version: 2.0.4
21
+ version: '0'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
30
+ - !ruby/object:Gem::Dependency
31
+ name: rdoc
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ~>
36
+ - !ruby/object:Gem::Version
37
+ version: '3.10'
23
38
  type: :development
24
39
  prerelease: false
25
- version_requirements: *6853540
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: '3.10'
26
46
  - !ruby/object:Gem::Dependency
27
47
  name: rake-compiler
28
- requirement: &6868560 !ruby/object:Gem::Requirement
48
+ requirement: !ruby/object:Gem::Requirement
29
49
  none: false
30
50
  requirements:
31
51
  - - ! '>='
@@ -33,56 +53,53 @@ dependencies:
33
53
  version: '0'
34
54
  type: :development
35
55
  prerelease: false
36
- version_requirements: *6868560
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
37
62
  - !ruby/object:Gem::Dependency
38
63
  name: hoe
39
- requirement: &6864360 !ruby/object:Gem::Requirement
64
+ requirement: !ruby/object:Gem::Requirement
40
65
  none: false
41
66
  requirements:
42
- - - ! '>='
67
+ - - ~>
43
68
  - !ruby/object:Gem::Version
44
- version: 2.6.1
69
+ version: '3.0'
45
70
  type: :development
46
71
  prerelease: false
47
- version_requirements: *6864360
48
- description: !binary |-
49
- QSBzbWFsbCBDIG1vZHVsZSB0aGF0IHdyYXBzIGxpYnhtbDIncyB4bWxyZWFk
50
- ZXIgdG8gcGFyc2UgYSBYTUwKc3RyaW5nIGludG8gYSBydWJ5IGhhc2g=
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ version: '3.0'
78
+ description: ! 'A small C module that wraps libxml2''s xmlreader to parse a XML
79
+
80
+ string into a ruby hash'
51
81
  email:
52
82
  - coolo@suse.com
53
83
  executables: []
54
84
  extensions:
55
85
  - ext/xmlhash/extconf.rb
56
86
  extra_rdoc_files:
57
- - !binary |-
58
- SGlzdG9yeS50eHQ=
59
- - !binary |-
60
- TWFuaWZlc3QudHh0
61
- - !binary |-
62
- UkVBRE1FLnR4dA==
87
+ - History.txt
88
+ - Manifest.txt
89
+ - README.txt
63
90
  files:
64
- - !binary |-
65
- LmF1dG90ZXN0
66
- - !binary |-
67
- SGlzdG9yeS50eHQ=
68
- - !binary |-
69
- TWFuaWZlc3QudHh0
70
- - !binary |-
71
- UkVBRE1FLnR4dA==
72
- - !binary |-
73
- UmFrZWZpbGU=
74
- - !binary |-
75
- ZXh0L3htbGhhc2gvZXh0Y29uZi5yYg==
76
- - !binary |-
77
- ZXh0L3htbGhhc2gveG1saGFzaC5j
78
- - !binary |-
79
- bGliL3htbGhhc2gucmI=
80
- - !binary |-
81
- bGliL3htbGhhc2gveG1saGFzaC5zbw==
82
- - !binary |-
83
- dGVzdC90ZXN0X3htbGhhc2gucmI=
84
- homepage: !binary |-
85
- aHR0cHM6Ly9naXRodWIuY29tL2Nvb2xvL3htbGhhc2g=
91
+ - .autotest
92
+ - History.txt
93
+ - Manifest.txt
94
+ - README.txt
95
+ - Rakefile
96
+ - ext/xmlhash/extconf.rb
97
+ - ext/xmlhash/xmlhash.c
98
+ - lib/xmlhash.rb
99
+ - lib/xmlhash/xmlhash.so
100
+ - test/test_xmlhash.rb
101
+ - .gemtest
102
+ homepage: https://github.com/coolo/xmlhash
86
103
  licenses: []
87
104
  post_install_message:
88
105
  rdoc_options:
@@ -104,11 +121,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
104
121
  version: '0'
105
122
  requirements: []
106
123
  rubyforge_project: xmlhash
107
- rubygems_version: 1.8.11
124
+ rubygems_version: 1.8.23
108
125
  signing_key:
109
126
  specification_version: 3
110
- summary: !binary |-
111
- QSBzbWFsbCBDIG1vZHVsZSB0aGF0IHdyYXBzIGxpYnhtbDIncyB4bWxyZWFk
112
- ZXIgdG8gcGFyc2UgYSBYTUwgc3RyaW5nIGludG8gYSBydWJ5IGhhc2g=
127
+ summary: A small C module that wraps libxml2's xmlreader to parse a XML string into
128
+ a ruby hash
113
129
  test_files:
114
130
  - test/test_xmlhash.rb