haku 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/Gemfile.lock +1 -1
- data/lib/haku/result.rb +6 -2
- data/lib/haku/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b979c27207c602a94817468a4fee308998a346d45bd283329254e1d1e3939cdc
|
4
|
+
data.tar.gz: e93c17d806c17d9609f9baed6c7d45a1e8bd6ee54d4fd0ea8cae0403864a588b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c9053105cd3b54068ac71ef00a79af0d6a0f002043c2297cdd2e78979f16953a0574f97b8b95550cf058f02cbaba2332d08a5d4b126869313e4ae3f26709727
|
7
|
+
data.tar.gz: 31088c71ca7f7b5be9d7339996e0a007a745780784bbfb59cc5f12b5453a147b1bb1ea21574dd2bb61d2c6b3a47e1e3a6286e1530bc02c73b498b9bf3421c093
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/lib/haku/result.rb
CHANGED
@@ -10,8 +10,12 @@ module Haku
|
|
10
10
|
|
11
11
|
return unless @payload.respond_to?(:to_h)
|
12
12
|
|
13
|
-
|
14
|
-
|
13
|
+
begin
|
14
|
+
@payload.to_h.each_key do |key|
|
15
|
+
define_singleton_method(key) { @payload[key] }
|
16
|
+
end
|
17
|
+
rescue StandardError
|
18
|
+
# no create accessors
|
15
19
|
end
|
16
20
|
end
|
17
21
|
|
data/lib/haku/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: haku
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Javier Aranda
|
@@ -68,8 +68,8 @@ licenses:
|
|
68
68
|
- MIT
|
69
69
|
metadata:
|
70
70
|
homepage_uri: https://github.com/javierav/haku
|
71
|
-
source_code_uri: https://github.com/javierav/haku/tree/v1.2.
|
72
|
-
changelog_uri: https://github.com/javierav/haku/blob/v1.2.
|
71
|
+
source_code_uri: https://github.com/javierav/haku/tree/v1.2.1
|
72
|
+
changelog_uri: https://github.com/javierav/haku/blob/v1.2.1/CHANGELOG.md
|
73
73
|
rubygems_mfa_required: 'true'
|
74
74
|
post_install_message:
|
75
75
|
rdoc_options:
|