securetrading 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/securetrading/base_model.rb +2 -2
- data/lib/securetrading/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: b970bad76fbb9da1e4118576b2afac998b1842fa
|
4
|
+
data.tar.gz: 5f49fa59a0f03981da3a95984b0dfaa300dbc590
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d15ca99623960737276ae2858941a6fb80551509d4be53bf16c27a17a5275397fa198a4e3adb7e2209cef7250e2976351a894f60e2947a75cceec01d7d04b79
|
7
|
+
data.tar.gz: afcef8ea5b271bc84e1ca724f1d41cb2d60f62d062824afe217dac632fb7dadf094feddc5703d65634843057501bb8226201f11a376966784f47e6930b315ccc
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
module Securetrading
|
2
2
|
class BaseModel
|
3
|
+
attr_reader :attributes_hash
|
4
|
+
|
3
5
|
def initialize(attrs_hash = {})
|
4
6
|
@attributes_hash = attrs_hash.presence &&
|
5
7
|
attrs_hash.transform_keys! { |k| k.to_s.tr('__', '') }
|
@@ -45,7 +47,5 @@ module Securetrading
|
|
45
47
|
def sub_classes
|
46
48
|
[]
|
47
49
|
end
|
48
|
-
|
49
|
-
attr_reader :attributes_hash
|
50
50
|
end
|
51
51
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: securetrading
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bitgamelabs
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-09-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|