hobby-test 0.0.2 → 0.0.3
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.
- checksums.yaml +4 -4
- data/hobby-test.gemspec +1 -1
- data/lib/hobby/test.rb +10 -2
- data/spec/auto_spec.rb +1 -1
- data/spec/tcp_spec.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: 41d3a46cd1003417175fef9910b7983f1d755b4f
|
4
|
+
data.tar.gz: a93d9a3cf7e609d21c3f65b78e18b14bb96245a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e695d0c7f351339dc0a1038653e5b1d72e6b239a378f1daa4d9e5c44821dddb18acf65a05ecbca5b97c42ec5e4867046384ef6ee227409f7607321d98290124
|
7
|
+
data.tar.gz: 51b35c5e433319f648a4fdaa45c27b0962a2064a442527f313e133dc6322b3c43a5454f5b3e5913a7ba80279d74825909576bd53d732d59e013d19d84b664f39
|
data/hobby-test.gemspec
CHANGED
data/lib/hobby/test.rb
CHANGED
@@ -11,8 +11,16 @@ require 'hobby/test/report'
|
|
11
11
|
|
12
12
|
module Hobby
|
13
13
|
class Test
|
14
|
-
def
|
15
|
-
|
14
|
+
def self.from_file string
|
15
|
+
new YAML.load_file string
|
16
|
+
end
|
17
|
+
|
18
|
+
def self.from_string string
|
19
|
+
new YAML.load string
|
20
|
+
end
|
21
|
+
|
22
|
+
def initialize array_of_hashes
|
23
|
+
@exchanges = array_of_hashes.map &Exchange
|
16
24
|
end
|
17
25
|
|
18
26
|
def [] address
|
data/spec/auto_spec.rb
CHANGED
data/spec/tcp_spec.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hobby-test
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Anatoly Chernow
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-12-
|
11
|
+
date: 2016-12-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: excon
|