jahuty 3.2.0 → 3.2.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/.rubocop.yml +8 -0
- data/CHANGELOG.md +5 -0
- data/README.md +1 -1
- data/lib/jahuty/api/client.rb +2 -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: fd60e0f72d6931901570d8d0112c23013233b95553dc1e0bfccdf54dc1dfb74c
|
4
|
+
data.tar.gz: 124d15d9a8f8dfd8939326ed2c49067fb59c90b2e1b254cac7d53f432090f66c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c80df676479909e5ba76bfe714943fa8b8803a51fac8cdae911d8ff0e5899aff3af5db1bf04ec6ee4001dd4eb8e27a6a988b7be2d4615bac020dc704cc0e7239
|
7
|
+
data.tar.gz: 6ff131d938e8b209bdc524f3dbb87de1a735951e476bb95ba8e5dcce558a2bc7c8be66fc22eb39390f00490631f1dfac251fe3664f5344b3bdb5f918ad874291
|
data/.rubocop.yml
CHANGED
@@ -4,6 +4,8 @@ require:
|
|
4
4
|
AllCops:
|
5
5
|
TargetRubyVersion: 2.6
|
6
6
|
NewCops: enable
|
7
|
+
Exclude:
|
8
|
+
- vendor/bundle/**/*
|
7
9
|
Metrics/BlockLength:
|
8
10
|
Exclude:
|
9
11
|
- 'jahuty.gemspec'
|
@@ -13,3 +15,9 @@ Metrics/BlockLength:
|
|
13
15
|
Metrics/ModuleLength:
|
14
16
|
Exclude:
|
15
17
|
- 'spec/**/*.rb'
|
18
|
+
RSpec/ExampleLength:
|
19
|
+
Exclude:
|
20
|
+
- 'spec/jahuty/system_spec.rb'
|
21
|
+
RSpec/MultipleExpectations:
|
22
|
+
Exclude:
|
23
|
+
- 'spec/jahuty/system_spec.rb'
|
data/CHANGELOG.md
CHANGED
@@ -5,6 +5,11 @@ 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
|
+
## 3.2.1 - 2020-03-16
|
9
|
+
|
10
|
+
* Fix issue with double-enveloping the `params` query string parameter.
|
11
|
+
* Add system tests for params, caching, problems, and collections.
|
12
|
+
|
8
13
|
## 3.2.0 - 2020-03-08
|
9
14
|
|
10
15
|
* Added collections to the library with `all_renders` method. This was a rather large change and required adding new objects like `Action::Show`, refactoring old ones like `Resource::Factory`, and removing some objects like `Cache::Manager` and `Service::Factory` which added unnecessary complexity.
|
data/README.md
CHANGED
data/lib/jahuty/api/client.rb
CHANGED
@@ -20,10 +20,11 @@ module Jahuty
|
|
20
20
|
def send(request)
|
21
21
|
@client ||= Faraday.new(url: ::Jahuty::BASE_URI, headers: headers)
|
22
22
|
|
23
|
+
# Cnvert the action's string method to Faraday's verb-based methods.
|
23
24
|
@client.send(
|
24
25
|
request.method.to_sym,
|
25
26
|
request.path,
|
26
|
-
|
27
|
+
request.params
|
27
28
|
)
|
28
29
|
end
|
29
30
|
|
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: 3.2.
|
4
|
+
version: 3.2.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: 2021-03-
|
11
|
+
date: 2021-03-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|