securetrading 0.3.1 → 0.3.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e492a8204ba370b3a1cb5ad2557d393b7c89ab57
4
- data.tar.gz: 9f4cac8333e5a1d241b50c4948cf062f70265656
3
+ metadata.gz: b970bad76fbb9da1e4118576b2afac998b1842fa
4
+ data.tar.gz: 5f49fa59a0f03981da3a95984b0dfaa300dbc590
5
5
  SHA512:
6
- metadata.gz: 8f8cb1924e2736aab95decd6f42ad5df06fe58ab9df48065af300706d3de7dffa81dd8f759ab772394481a37a3228f90c3bdf059a32fe1a38eef41552b23940c
7
- data.tar.gz: bda56c6357a89945c27c20c8f158ea91838dac242d0b0aae3167413185a40e985082ab662fc6d3342992b3387b7ee0609ffe1fd592e7e3425ed71247552533a0
6
+ metadata.gz: 0d15ca99623960737276ae2858941a6fb80551509d4be53bf16c27a17a5275397fa198a4e3adb7e2209cef7250e2976351a894f60e2947a75cceec01d7d04b79
7
+ data.tar.gz: afcef8ea5b271bc84e1ca724f1d41cb2d60f62d062824afe217dac632fb7dadf094feddc5703d65634843057501bb8226201f11a376966784f47e6930b315ccc
data/CHANGELOG.md CHANGED
@@ -10,6 +10,11 @@
10
10
 
11
11
  * [Fixed]
12
12
 
13
+ ## 0.3.2 / 2015-09-07
14
+
15
+ * [Fixed]
16
+ * make attributes_hash public
17
+
13
18
  ## 0.3.1 / 2015-08-28
14
19
 
15
20
  * [Fixed]
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Securetrading
2
- VERSION = '0.3.1'
2
+ VERSION = '0.3.2'
3
3
  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.1
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-08-28 00:00:00.000000000 Z
11
+ date: 2015-09-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty