kanrisuru 0.19.1 → 0.19.2

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
  SHA256:
3
- metadata.gz: a2f4308d14c64ac5f78a9f459623671d0d91901b679570ab72466c5176c22035
4
- data.tar.gz: 734a54c6d1d147bf4e2ae67be7b3569331849cf9cb2df458d15dbe3effcc9292
3
+ metadata.gz: 750858fb5bf17a34ad853a052cf6f0c13f3226acb7d92a0c26537740b6cf44e2
4
+ data.tar.gz: f15b5d63e3687b3d605ccc24c3b929d3e16cdaa0ed5e871964716e6f6529b1d1
5
5
  SHA512:
6
- metadata.gz: bb982b8fa4cb1c313ec4111770498ee9ff2bd75676bc2a5c57da71b3ef5f3dc01a9c016848939ef92bb0b84ed990f64684d7825bc93febd4a7d5e8def44ec5a8
7
- data.tar.gz: b97a3b67ef2b3be719d967adf2e3bf54ac583da368d96a95ea18d415961f46a5368768f022f160a4de3f7de6f9d2787f5c68b66e547e2c4c7ee1b931b2f3d9ec
6
+ metadata.gz: f8cf821cfe1260da1f87e7001093cbbca2571087076b8bdb478f58b128399dddd05448648a9c4b15c07346c010cc01bf58a63b94d030179a141d6afbe97f8598
7
+ data.tar.gz: da6b7c1337dc893dd131329670594277f3e4da5fbb5b4502a9a7b5c7434cf8e32666397fadbfb3fb570b6196e10d6775d12c9cd3e8cedab9c8e58020f50f11bc
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## Kanrisuru 0.19.2 (February 02, 2022) ##
2
+ * Add `to_h` to result class.
3
+
1
4
  ## Kanrisuru 0.19.1 (February 02, 2022) ##
2
5
  * Fix `load_env` command with parsing output, use `to_a` for cleaner newline parsing.
3
6
 
@@ -35,6 +35,10 @@ module Kanrisuru
35
35
  @data.to_s
36
36
  end
37
37
 
38
+ def to_h
39
+ @data.to_h
40
+ end
41
+
38
42
  def to_a
39
43
  @data.instance_of?(Array) ? @data : [@data]
40
44
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Kanrisuru
4
- VERSION = '0.19.1'
4
+ VERSION = '0.19.2'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kanrisuru
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.1
4
+ version: 0.19.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Mammina