elos 1.0.18 → 1.0.19

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
  SHA1:
3
- metadata.gz: 4bc65b892710a497c2832a735f4198f46c6d77dd
4
- data.tar.gz: c5d2d2453cfbce3ec57a17637b33ece2a1537d26
3
+ metadata.gz: d9b373a13fdfe5d02948902ad71a061cabb28833
4
+ data.tar.gz: 9e4b4a47b1c2aee9f406d1096b5cd5e460fc33ee
5
5
  SHA512:
6
- metadata.gz: b9127b72daf50e43618cfb897720b5e3e8f9ce7c55d45ea9fec25587d979231235185b8568bbd2986ce8b2c95a055a69cdd6e6bf0a1a5bb59f88ca602737fcd8
7
- data.tar.gz: be399465fe93c08a24f368440f32a7be739cc73e3253ebcd5f906dac3eeed9a82981db53907e12c536d06ddb942528c396600b2cef0fe274aa7a3f46e7b41041
6
+ metadata.gz: 1e06ab2c2c884a8bcf0777660a4712ed640fe86a3cf5e09956ee2d6db2f213973a80aedc3c78207a1924d8e8eba20651aa156b5646ecbeae3b9e98bc47447322
7
+ data.tar.gz: 22aee1d56d123d92b9f8a919ecff12206a02541f60567c50121ee68668c6acfc983142b4d2f1a1ec6cf591ea3292feabf2744fcaba6d35ea135cbb2a4734ab47
@@ -7,9 +7,9 @@ class Elos::DataObject
7
7
  end
8
8
 
9
9
  def method_missing(method, *args, **hargs, &block)
10
- if object.respond_to?(method)
11
- object.send(method, *args)
12
- elsif method.to_s.end_with?('=')
10
+ if method.to_s.end_with?('=')
11
+ object.send(method, objectify(args[0]))
12
+ elsif object.respond_to?(method)
13
13
  object.send(method, *args)
14
14
  else
15
15
  super
@@ -7,7 +7,7 @@ module Elos::Index::Model::Initializable
7
7
 
8
8
  def initialize(attrs = {})
9
9
  @_data = Elos::DataObject.new
10
- @_attrs = attrs
10
+ @_attrs = attrs.merge(items: [{ hoge: 'hoge' }])
11
11
  run_callbacks :new
12
12
  end
13
13
  end
data/lib/elos/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  class Elos
2
- VERSION = '1.0.18'
2
+ VERSION = '1.0.19'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elos
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.18
4
+ version: 1.0.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tetsuri Moriya