xmlhash 1.3.0 → 1.3.1
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/.travis.yml +14 -0
- data/Gemfile +6 -0
- data/History.txt +5 -0
- data/Manifest.txt +2 -1
- data/lib/xmlhash.rb +6 -1
- metadata +4 -3
- data/lib/xmlhash/xmlhash.so +0 -0
data/.travis.yml
ADDED
data/Gemfile
ADDED
data/History.txt
CHANGED
data/Manifest.txt
CHANGED
data/lib/xmlhash.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
require 'xmlhash/xmlhash'
|
2
2
|
|
3
3
|
module Xmlhash
|
4
|
-
VERSION = '1.3.
|
4
|
+
VERSION = '1.3.1'
|
5
5
|
|
6
6
|
class XMLHash < Hash
|
7
7
|
|
@@ -53,6 +53,11 @@ module Xmlhash
|
|
53
53
|
return sub
|
54
54
|
end
|
55
55
|
|
56
|
+
# Initialize with a hash
|
57
|
+
def initialize(opts = nil)
|
58
|
+
self.replace(opts) if opts
|
59
|
+
end
|
60
|
+
|
56
61
|
def inspect
|
57
62
|
"X(#{super})"
|
58
63
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xmlhash
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-10-
|
12
|
+
date: 2012-10-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: pkg-config
|
@@ -89,6 +89,8 @@ extra_rdoc_files:
|
|
89
89
|
- README.txt
|
90
90
|
files:
|
91
91
|
- .autotest
|
92
|
+
- .travis.yml
|
93
|
+
- Gemfile
|
92
94
|
- History.txt
|
93
95
|
- Manifest.txt
|
94
96
|
- README.txt
|
@@ -96,7 +98,6 @@ files:
|
|
96
98
|
- ext/xmlhash/extconf.rb
|
97
99
|
- ext/xmlhash/xmlhash.c
|
98
100
|
- lib/xmlhash.rb
|
99
|
-
- lib/xmlhash/xmlhash.so
|
100
101
|
- test/test_xmlhash.rb
|
101
102
|
- .gemtest
|
102
103
|
homepage: https://github.com/coolo/xmlhash
|
data/lib/xmlhash/xmlhash.so
DELETED
Binary file
|