jahuty 3.2.0 → 3.2.1

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: 42d427523be1564e07087d282367b7c13b9e80ac7219522a26a86a04f6fd23e7
4
- data.tar.gz: 5f164380a18fda536c08c918dbfaaba6aaffc02183cfb2e74c6944b3e0bc42c3
3
+ metadata.gz: fd60e0f72d6931901570d8d0112c23013233b95553dc1e0bfccdf54dc1dfb74c
4
+ data.tar.gz: 124d15d9a8f8dfd8939326ed2c49067fb59c90b2e1b254cac7d53f432090f66c
5
5
  SHA512:
6
- metadata.gz: f5b8c35c587b3f26a7fce8830963c98c859307e444edf5a0b058695e954fc5ce1dd0220b25f99d874ed983f1c72474546b51a2294f718bbea0358198d01ce6f6
7
- data.tar.gz: 6f037d7ee49936532c2bd2ed5ed6f91942352f95082da4af28bd390afd3bc0d0dfdcda847f2c4e4ad742e4b1702562c9c6cba6c0fd5df4c923756c4113aa3d6a
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
@@ -13,7 +13,7 @@ It is multi-platform, and we strive to make it run equally well on Windows, Linu
13
13
  To install, add this line to your application's `Gemfile` and run `bundle install`:
14
14
 
15
15
  ```ruby
16
- gem 'jahuty', '~> 3.1'
16
+ gem 'jahuty', '~> 3.2'
17
17
  ```
18
18
 
19
19
  ## Usage
@@ -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
- { params: request.params }
27
+ request.params
27
28
  )
28
29
  end
29
30
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Jahuty
4
- VERSION = '3.2.0'
4
+ VERSION = '3.2.1'
5
5
  end
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.0
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-09 00:00:00.000000000 Z
11
+ date: 2021-03-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday