dina 1.0.4.0 → 1.0.5.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
  SHA256:
3
- metadata.gz: 57c88f1f527bde4e8469af79f11ec31ab1543db6c93723bc7ab7e9531d6726c7
4
- data.tar.gz: d692c4c5656320ccf40fa72803c4e71a3845f902e87d5617e6ff7c1919a19b26
3
+ metadata.gz: 10033aac8fdba85dfece138bc0cf7d3f0222c28243662450bcea96cf252e0349
4
+ data.tar.gz: 19fa33f568f68a4d5c58b96392f7caf9ab8a0ad6c8f6e44628896f750348ca27
5
5
  SHA512:
6
- metadata.gz: 4a15916469accd7a5a4bfd47a7040c3ae0f88579abeb0af354010d23f29097f5bf4ed7f64bf88bcc18fa27bd0f9e212494b9092eb1df162df755e74045242eea
7
- data.tar.gz: 6869a4ee58ce7979604aed313504afe6bda3b65247ca1a12b3e472c9c3fea7f6221d1507c8dae9ec3396238cee4109d600c33c711e1e62d7027d4f3bdd55623f
6
+ metadata.gz: 96660a7183d1f2e306839efe507684cbf4fae60e227b97eb4e03ebdd5b5ae8f799f74dff0199483799149398d9242c1b7c468e9933671cc51812237120530245
7
+ data.tar.gz: 11e67e926a6bab182860685cd5c5935aa8c2495000d1e6c68a3c56e92e80f3901072f1f07a32f6c706a74d50069cff643e5dd1c586d076a83ce9a340eacf9efe
@@ -74,6 +74,7 @@ module Dina
74
74
  )
75
75
  json = JSON.parse(response, symbolize_names: true)
76
76
  self.id = json[:uuid]
77
+ json.each{ |k,v| define_singleton_method(k.to_sym) { v } }
77
78
  json
78
79
  end
79
80
 
data/lib/dina/version.rb CHANGED
@@ -3,7 +3,7 @@ module Dina
3
3
 
4
4
  MAJOR = 1
5
5
  MINOR = 0
6
- PATCH = 4
6
+ PATCH = 5
7
7
  BUILD = 0
8
8
 
9
9
  def self.version
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dina
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4.0
4
+ version: 1.0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - David P. Shorthouse
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-16 00:00:00.000000000 Z
11
+ date: 2023-06-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json_api_client