binky-builder 0.5.4 → 0.5.5

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
  SHA256:
3
- metadata.gz: dd2cefe06fb5e423de23a6d2376a3a3e4cb4862018f947c92db6464a2cf2e209
4
- data.tar.gz: 2bedcb0714fa9d66c00cc732e7f6d33698a05dba98d513075442df24c5c6053c
3
+ metadata.gz: cd46736a4c1d5f8dacefaeadff3dddb580330c5652de701cc75492af18effa42
4
+ data.tar.gz: 1339c67246e034ce9732f1ac14481dcff7f2f13ff9badb0807c2133c31e9e9f8
5
5
  SHA512:
6
- metadata.gz: 0f70aa041590d893b634eea622f64ed4891fad4fc7219f2d485f6684fbafbf8c3c09ef661c0b7e1bc90a32458b0c486e985dbebb8dc4fc6adb54f73f5a8700a5
7
- data.tar.gz: 53cdb61a0b3a1e417facbf55b7074fdcc75ab26282e371428b8911c7cc0949f2bec957e540ee225a2776a66af965e84320cf4344e4cc0456c364720cccb40c51
6
+ metadata.gz: 7c124ff2c81181314e543d1356fd314b0bd0ba9302cf0a847645a78807a7924bd07b5f8d609ccddee626b52a406622c2025dc660da1fd6a4f18cf5738ed9c3bf
7
+ data.tar.gz: a1fd702d90ebf6db395df1205a81c1dc21abdbbd027be75d58d87ed00424b2b685e97a7641ab70b36a6eb244c7e5ee1da3f967f434877c4592430c8cb1aee66e
data/.gitignore CHANGED
@@ -7,5 +7,5 @@
7
7
  /spec/reports/
8
8
  /tmp/
9
9
  /.idea/*
10
- /.idea
11
- Gemfile.lock
10
+ Gemfile.lock
11
+ /.idea/
data/README.md CHANGED
@@ -25,10 +25,9 @@ Once initialized just use the accessors as any other instance.
25
25
  ```ruby
26
26
  class Issue
27
27
  include Binky::Struct
28
- alias :super_initialize :initialize
29
28
 
30
29
  def initialize(json = nil)
31
- super_initialize json
30
+ super json
32
31
  end
33
32
  end
34
33
 
@@ -51,8 +51,9 @@ module Binky
51
51
  end
52
52
  end
53
53
 
54
+
54
55
  def method_missing(name,*args)
55
- accessor_builder name.to_s.chop, args[0]
56
+ accessor_builder(name.to_s.gsub(/=$/,''), args[0]) if name.to_s =~ /=$/
56
57
  end
57
58
 
58
59
  def attribute_from_inner_key(elem, attr, in_key = nil)
@@ -1,5 +1,5 @@
1
1
  module Binky
2
2
  module Builder
3
- VERSION = "0.5.4"
3
+ VERSION = "0.5.5"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: binky-builder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.4
4
+ version: 0.5.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eduard Garcia Castello
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-08-06 00:00:00.000000000 Z
11
+ date: 2020-11-07 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: