trade-o-matic 0.5.5 → 0.5.6

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: 3c8e57cc6c5822197a3b218e068d87d2d1ba55df
4
- data.tar.gz: 0594847f9a29e7a4564128086fb43f3b6dd1e91c
3
+ metadata.gz: 8456dede1b422d4c20965a17755b97edbf07c70c
4
+ data.tar.gz: 27307fa137c0f62e9eecb745a21cf6be03d9d18e
5
5
  SHA512:
6
- metadata.gz: 38466835f0e006294b427e223ee4ab54c3915804037e66cc754043669f048a6b94a005f7a9649b4815c52191bb4044fe4d61e8719736db7d46ee0e1a0d0c1714
7
- data.tar.gz: a1c6761fb607e23a291eecbb6e1e089d43d03b90fc115881800711e156157f84222b9dff831daa3cd086c46db60de93a517b0e061e82eb105403ab01d34c71e5
6
+ metadata.gz: 3f69540a225cc44955859d156d5dcfc75596c45188c2f7aa40223511065486ffd9d371c75e7488fc0b19ec0f2fed69342c837e331df438f1362935f9e04cf4af
7
+ data.tar.gz: 6c987df306700297bab6dfed9848bcf5816aae6baf1d9fa15641aa71fd5fb790f172ebb15e5007fbd82904655e14b620373e3dc70fe0430239b674aefdfcd1ce
@@ -1,25 +1,27 @@
1
- module Command
2
- def self.new(*_attributes)
3
- attr_names = []
4
- attr_defaults = {}
1
+ module Trader
2
+ module Command
3
+ def self.new(*_attributes)
4
+ attr_names = []
5
+ attr_defaults = {}
5
6
 
6
- _attributes.each do |att|
7
- if att.is_a? Hash
8
- attr_defaults.merge att
9
- attr_names += att.keys
10
- else
11
- attr_names << att
7
+ _attributes.each do |att|
8
+ if att.is_a? Hash
9
+ attr_defaults.merge att
10
+ attr_names += att.keys
11
+ else
12
+ attr_names << att
13
+ end
12
14
  end
13
- end
14
15
 
15
- Struct.new(*attr_names) do
16
- define_method(:initialize) do |kwargs={}|
17
- kwargs = attr_defaults.merge kwargs
18
- attr_values = attr_names.map { |a| kwargs[a] }
19
- super(*attr_values)
20
- end
16
+ Struct.new(*attr_names) do
17
+ define_method(:initialize) do |kwargs={}|
18
+ kwargs = attr_defaults.merge kwargs
19
+ attr_values = attr_names.map { |a| kwargs[a] }
20
+ super(*attr_values)
21
+ end
21
22
 
22
- define_method(:perform) {}
23
+ define_method(:perform) {}
24
+ end
23
25
  end
24
26
  end
25
- end
27
+ end
@@ -1,3 +1,3 @@
1
1
  module Trader
2
- VERSION = "0.5.5"
2
+ VERSION = "0.5.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trade-o-matic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.5
4
+ version: 0.5.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ignacio Baixas
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-17 00:00:00.000000000 Z
11
+ date: 2016-05-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client