vindata 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/vindata/configuration.rb +10 -9
- data/lib/vindata/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dfee21a980a744aa50cceb071d6f2065a8e74a32
|
4
|
+
data.tar.gz: 8cfc6e189a61a215784a312d2427d863847ecee4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4272759f755c0e170b95c8ef14e010a8f60427354166378ac774e7fb911239c3f8b8062756fb1d558181a087b049d4209765569a85ae25e857f33a598eac8680
|
7
|
+
data.tar.gz: dc98baf83f960e0f1197ad43b4ff6307fa403476f02e13af272846b61ec18dc421a9963116f2a1979d9cf5da4024cde180d50dd53cd75e24797efd7277a0f322
|
@@ -33,11 +33,12 @@ module VinData
|
|
33
33
|
end
|
34
34
|
|
35
35
|
def configure(options)
|
36
|
-
@data.
|
36
|
+
@data.merge!(options)
|
37
37
|
end
|
38
38
|
|
39
39
|
def initialize # :nodoc
|
40
|
-
@data = VinData::ConfigurationHash.new
|
40
|
+
# @data = VinData::ConfigurationHash.new
|
41
|
+
@data = {}
|
41
42
|
set_defaults
|
42
43
|
end
|
43
44
|
|
@@ -64,11 +65,11 @@ module VinData
|
|
64
65
|
|
65
66
|
end
|
66
67
|
|
67
|
-
class ConfigurationHash < Hash
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
end
|
68
|
+
# class ConfigurationHash < Hash
|
69
|
+
# include HashRecursiveMerge
|
70
|
+
#
|
71
|
+
# def method_missing(meth, *args, &block)
|
72
|
+
# has_key?(meth) ? self[meth] : super
|
73
|
+
# end
|
74
|
+
# end
|
74
75
|
end
|
data/lib/vindata/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vindata
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Roupen Mouradian
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-07-
|
11
|
+
date: 2015-07-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|