auth-lh 0.15.0 → 0.16.0

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: c4f70e2d3b5acde9440fd6ec5877b24f4ea6ebd1
4
- data.tar.gz: a54eb62f058b2083818c375b0bd3daeaba54ea3a
3
+ metadata.gz: 84a2280a0034c71315f3616b03000ff512f082f6
4
+ data.tar.gz: 24725f8dfcf521e5c9191f2aebb63c9eff6ea529
5
5
  SHA512:
6
- metadata.gz: 804ed1b5332a73ae10945d3b076ad954ad48c9ae9073a6c882a90ad6952da743418589248d7b025db61a44e3a17884917a76e8847d3b8747ff148b08f60c1be7
7
- data.tar.gz: 9248ebbd6832a89da5ee4aaee076ce095b05901cf4b48a000a32a6ffcc5a196410b0d87236fda9e4024822c515548dd7b02055c1721a04dad602806e4b31332e
6
+ metadata.gz: d2337990e8448a7d311f5af6f963037ade570c2dc56fb510719c40ba6cfc663add883da38210ffab9e99e40c52285ecc97d2161ac9add7c478408736c6a4b0ab
7
+ data.tar.gz: f6fae7842d2ff09b7f7d60fdb4f19ccffd357219a2950a78b124273068537819d544db8bde4ba0c2520bbcc2c1f47ea5f95180d2b1668b0280fe6f3d628fb41d
data/CHANGELOG.md CHANGED
@@ -189,3 +189,7 @@
189
189
  ## v0.15
190
190
 
191
191
  * Fixed escaping on user methods.
192
+
193
+ ## v0.16.0
194
+
195
+ * Bugfix getting current shop.
@@ -1,5 +1,5 @@
1
1
  module Auth
2
2
  module Lh
3
- VERSION = "0.15.0"
3
+ VERSION = "0.16.0"
4
4
  end
5
5
  end
data/lib/auth_lh/shop.rb CHANGED
@@ -1,10 +1,10 @@
1
1
  module AuthLh
2
2
  class Shop
3
- attr_accessor :id, :code, :name, :stock_description
3
+ attr_accessor :id, :code, :name, :enabled, :stock_description
4
4
 
5
5
  def initialize(attributes={})
6
6
  attributes.each do |k,v|
7
- self.send("#{k}=", v)
7
+ self.send("#{k}=", v) if self.respond_to?(k)
8
8
  end
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: auth-lh
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.16.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matias Hick
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-13 00:00:00.000000000 Z
11
+ date: 2016-10-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -94,7 +94,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
94
94
  version: '0'
95
95
  requirements: []
96
96
  rubyforge_project:
97
- rubygems_version: 2.2.5
97
+ rubygems_version: 2.4.5.1
98
98
  signing_key:
99
99
  specification_version: 4
100
100
  summary: Authentication with auth lh api