tanita-api-client 0.3.0 → 0.3.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
  SHA256:
3
- metadata.gz: 91859c1415a0fc78e01c01c1e615acdca193ce8ec887abaa19ce5d3e1353285f
4
- data.tar.gz: 4b875b46afb595f6ccb84fb6776da2f4527ab9b099274131251b0a65c2ceaba9
3
+ metadata.gz: ca338c9b56ddf6a7fd487ee1148471b01540fbc0da7d81202df83e5e93ee4d20
4
+ data.tar.gz: 22713062f5aff83b763ab8d7540645b226ea46309d9beb43df3737252b0a1f28
5
5
  SHA512:
6
- metadata.gz: bcd9de5af29bcf2c760a501dab1f4165c6a9102960d64ca23c10d3fbbbeadccc96ccdafd92da4bf776b2778f4d65a1f5dd9976c952317b835a8bc8ec934986ad
7
- data.tar.gz: 1193a310b0014f32f16cf6b5819960b6326a8ef486582007d0a4a179c9ce8fc0788dea6d0a2c67dbefd61c600a9ed731621d4044e22b955aaef54512c00240f2
6
+ metadata.gz: ca237d1f2d54b36fdaae5423fdd8c625e642b18fd1ca6ba027833c2571b7b2769730827788c1e31760f4b88f53fe0064689d0d52f87dbdde193e8e69f9e4f939
7
+ data.tar.gz: 26d5af8bbdfad1fbf12c0b63a4356d98d41e76706b3ce89579915e39407ef204d4c0be139b469b8a4595615a9cc3d1a45eed6718e42fd6794c5edf0ea55aab0f
@@ -5,7 +5,6 @@ module Tanita
5
5
  module Client
6
6
  class BaseEntity
7
7
  def initialize(property_values = {})
8
- @properties = []
9
8
  @cached_property_values = {}
10
9
  @cached_property_values.merge!(property_values)
11
10
  end
@@ -27,10 +27,10 @@ module Tanita
27
27
  klass = Tanita::Api::Client.const_set(class_name, super_klass)
28
28
  define_properties_reader(klass)
29
29
  property_names.each do |property_name|
30
- klass.properties << property_name if klass.respond_to?(:properties)
30
+ klass.properties << property_name
31
31
  define_getter_and_setter(klass, property_name)
32
32
  end
33
- klass.properties.freeze if klass.respond_to?(:properties)
33
+ klass.properties.freeze
34
34
  end
35
35
  private_class_method :create_class
36
36
 
@@ -3,7 +3,7 @@
3
3
  module Tanita
4
4
  module Api
5
5
  module Client
6
- VERSION = '0.3.0'
6
+ VERSION = '0.3.1'
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tanita-api-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kenji Koshikawa
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-02-13 00:00:00.000000000 Z
11
+ date: 2020-02-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler