blumquist 0.10.0 → 0.10.1

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: d916de12dccf999a0a3a93ed8b1fb321230c7c29
4
- data.tar.gz: bbb8e9662f65bd8ec435fc9c07632d79d7945ca4
3
+ metadata.gz: abd99e97259e95253efbeebf445c62c31e8cb61d
4
+ data.tar.gz: c81e39ed8de69c8c1dc3b3524843f9775d2940e3
5
5
  SHA512:
6
- metadata.gz: d96097e7eb7bfc8915cf59d66e1ee8f5cdc1a6a917c9caf06661b9f8b9abcd877bdd880716d9e9a0234d1d8971a1167a59f18e1dfb84b21c8c5b124b32be9cc8
7
- data.tar.gz: a029e3cbb688916ed4d18fe0c255a282829de0a7415f89afdcf5db6b21c9f2b095dd398b361b57092e7d44f9eb61946a02edc6bee3ffca823440629f3aabd42d
6
+ metadata.gz: 500124e8f2a7d645adc15731656aa69b4fdb8247d4f3205b5c80bb5b0a657fb5d5a41253c7ac90193eea8bdb3feee4be75a837d0b4bb42dc5e966fb82961398a
7
+ data.tar.gz: 86cdee45b80ba5a9e98558e88753ba720adc8bda6cd6f694ea745f05c8a27728763f236c4e9f9ef506f6c6bc0e2ff39fc444dbcab68f7489e1b0d31463b03ca0
@@ -1,4 +1,8 @@
1
- # [0.10.0] - 2017-09-05
1
+ # [0.10.1] - 2017-09-05 Alfonso Mancilla (#23)
2
+ ## Changed
3
+ - Inheritance: Allow subsclasses to overwrite methods.
4
+
5
+ # [0.10.0] - 2017-09-05 Alfonso Mancilla (#22)
2
6
  ## Added
3
7
  - References ($ref):
4
8
  Support for more JSON pointers formats:
@@ -112,7 +112,12 @@ class Blumquist
112
112
  end
113
113
 
114
114
  def define_getter(property)
115
- self.class.class_eval do
115
+ #
116
+ # Inheritance:
117
+ # Define methods under the Blumquist namespace
118
+ # to allow subclasses to overwrite methods.
119
+ #
120
+ Blumquist.class_eval do
116
121
  define_method(property) do
117
122
  @data[property]
118
123
  end
@@ -1,3 +1,3 @@
1
1
  class Blumquist
2
- VERSION = '0.10.0'.freeze
2
+ VERSION = '0.10.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blumquist
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jannis Hermanns
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-05 00:00:00.000000000 Z
11
+ date: 2017-09-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport