menilite 0.5.11 → 0.5.12

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: 47339900e04f1019ed434ea278ebc48b38d2ce9785f1868f0018a62afaa2a093
4
- data.tar.gz: 6b9bfb27033203984fdab50522b0c609de529476f831c5381da09e47400c9479
3
+ metadata.gz: a0e0c703e8f5f819575f002659c83e97dd4b42cbef09f407377e425e76f70e8b
4
+ data.tar.gz: 8bca98226bcf4a8eca8a912b0ccfe87ad745072951fb5c0668f375732c6cdbf0
5
5
  SHA512:
6
- metadata.gz: 4a20ede2d16c037561adb0ede662bb1ec14125947251c87400f6c6a8877b69cabf212f876f6beb89b53656bd16e76c9bee57b31c866196a71014496226a8d127
7
- data.tar.gz: 2a8fc4bfbb0bdd9054d01b451ffd4197a79cd8569560ecd28de10ad6aac5b1a801889c092595e2c9131236136fee146f4d6d4ae6dfac79bcdf42fc4ef8dc0070
6
+ metadata.gz: 0a2d84f832dc8543055ca62b49806d6b6ecd8f4a0bccb6bb3d0e12a865f828b7ec73296715d8447e08805a7a61ee0cdec007c25a86bb7f000dc8ee0bef797870
7
+ data.tar.gz: d52dac3e193e8c72e4bcb63487be862e76fccb7572fbbde053568d9135fe7712c6a187d2657f85c2d05d4b7be6e59c21dda51b416049016099e3e0688b2cb907
@@ -99,8 +99,15 @@ module Menilite
99
99
  if json.last
100
100
  model = model_class.new(json.last)
101
101
  yield model.fields[field_name]
102
+ else
103
+ yield nil
102
104
  end
103
105
  end
106
+
107
+ on :failure do |res|
108
+ puts ">> Error: #{res.error}"
109
+ puts ">>>> delete: #{model.inspect}"
110
+ end
104
111
  end
105
112
  end
106
113
  end
@@ -1,3 +1,3 @@
1
1
  module Menilite
2
- VERSION = "0.5.11"
2
+ VERSION = "0.5.12"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: menilite
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.11
4
+ version: 0.5.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - youchan
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-07-28 00:00:00.000000000 Z
11
+ date: 2022-04-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -127,7 +127,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
127
127
  - !ruby/object:Gem::Version
128
128
  version: '0'
129
129
  requirements: []
130
- rubygems_version: 3.0.1
130
+ rubygems_version: 3.1.2
131
131
  signing_key:
132
132
  specification_version: 4
133
133
  summary: Isomorphic models between client side opal and server side ruby.