jahuty 1.1.0 → 1.1.1
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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/jahuty/service/get.rb +3 -1
- data/lib/jahuty/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ff13faee32c61d478e8fabba2b5dd1167580ecac2eb1a422fadae594ccd08658
|
4
|
+
data.tar.gz: d2c91dce7f2bf07882d7630165369442fc069e2e3bb642e7efb61100e3ac23a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 368bbb9bada206a90887549a7757449ff8d8ac4371ba3004d483f87bfcb088c7cd27ed2597ab09e90250dafdd8ac7e5174d7021f79b03efd305c00bd154d5e79
|
7
|
+
data.tar.gz: 8ceda7e751c0c5c6f3fce92e9274545ae02d55afd3f71f8d752ccac440056ed6cdcf7c9129d89cf46015eccb633a6ac28d08c9c9fd2975e306d4075517139024
|
data/CHANGELOG.md
CHANGED
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
7
7
|
|
8
|
+
## 1.1.1 - 2020-03-15
|
9
|
+
|
10
|
+
- Change snippet parameters to JSON query string parameter (e.g., `params={"foo":"bar"}`) from serialized query string parameter (e.g.,`params[foo]=bar`).
|
11
|
+
|
8
12
|
## 1.1.0 - 2020-03-14
|
9
13
|
|
10
14
|
- Add snippet parameters.
|
data/lib/jahuty/service/get.rb
CHANGED
@@ -9,7 +9,9 @@ module Jahuty
|
|
9
9
|
end
|
10
10
|
|
11
11
|
def call(id, params = {})
|
12
|
-
|
12
|
+
options = { params: params.to_json } if !params.empty?
|
13
|
+
|
14
|
+
response = @connection.get("snippets/#{id}", options || {})
|
13
15
|
|
14
16
|
payload = JSON.parse(response.body, symbolize_names: true)
|
15
17
|
|
data/lib/jahuty/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jahuty
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jack Clayton
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-03-
|
11
|
+
date: 2020-03-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|