rest-client-jogger 1.2.1 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +31 -0
- data/lib/rest_client/jogger/response.rb +1 -1
- data/lib/rest_client/jogger/version.rb +1 -1
- data/rest-client-jogger.gemspec +1 -1
- metadata +10 -10
- data/.travis.yml +0 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8e4edb81a85281c1b4c9c61c4669472bd0f55e64aea4047b47070c4d643b35c2
|
4
|
+
data.tar.gz: e05c73234bd1207aab4876fae3f7c0fb35b2e71048d10a318b022d07a6fef44e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b13b42d35fd1a5905e68ded7b6e05b83bfecf96cf6759e96a7b892fb55ad734ca7abf77b4726316fd541accd53ffc98e8c96c98bdba3aa9d96d729494d29a753
|
7
|
+
data.tar.gz: a0fb29e19867dd25c53d1fe184783c4ebadeb1e12718d327b3378ffc184c3ca8b3880a2640daa3a4fd44bb70511537c08e9f91eed20de96af394d5b783ab7857
|
@@ -0,0 +1,31 @@
|
|
1
|
+
name: CI
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches:
|
6
|
+
- master
|
7
|
+
pull_request:
|
8
|
+
branches:
|
9
|
+
- master
|
10
|
+
|
11
|
+
jobs:
|
12
|
+
build:
|
13
|
+
runs-on: ubuntu-latest
|
14
|
+
strategy:
|
15
|
+
matrix:
|
16
|
+
ruby:
|
17
|
+
- '2.5'
|
18
|
+
- '2.6'
|
19
|
+
- '2.7'
|
20
|
+
steps:
|
21
|
+
- uses: actions/checkout@v2
|
22
|
+
- name: Set up Ruby
|
23
|
+
uses: actions/setup-ruby@v1
|
24
|
+
with:
|
25
|
+
ruby-version: ${{ matrix.ruby }}
|
26
|
+
- name: Build and test with Rake
|
27
|
+
run: |
|
28
|
+
gem install bundler
|
29
|
+
echo 'bundle install'
|
30
|
+
bundle install --jobs 4 --retry 3
|
31
|
+
bundle exec rake
|
@@ -14,7 +14,7 @@ module RestClient
|
|
14
14
|
|
15
15
|
def response_params(opts = {})
|
16
16
|
response_headers = opts[:response].try(:headers) || {}
|
17
|
-
response_body = opts[:response].try(:body).to_s.force_encoding('UTF-8')
|
17
|
+
response_body = opts[:response].try(:body).to_s.dup.force_encoding('UTF-8')
|
18
18
|
{
|
19
19
|
exception: opts[:exception],
|
20
20
|
response_headers: filtered_headers(response_headers),
|
data/rest-client-jogger.gemspec
CHANGED
@@ -34,7 +34,7 @@ Gem::Specification.new do |spec|
|
|
34
34
|
spec.add_dependency 'tilt'
|
35
35
|
spec.add_dependency 'tilt-jbuilder'
|
36
36
|
|
37
|
-
spec.add_development_dependency "bundler"
|
37
|
+
spec.add_development_dependency "bundler"
|
38
38
|
spec.add_development_dependency "rake", "~> 12.2"
|
39
39
|
spec.add_development_dependency "rspec", "~> 3.0"
|
40
40
|
spec.add_development_dependency "rspec-json_expectations"
|
metadata
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rest-client-jogger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jordan Babe
|
8
8
|
- Jesse Doyle
|
9
9
|
- Michael van den Beuken
|
10
|
-
autorequire:
|
10
|
+
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2021-01-19 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activesupport
|
@@ -114,16 +114,16 @@ dependencies:
|
|
114
114
|
name: bundler
|
115
115
|
requirement: !ruby/object:Gem::Requirement
|
116
116
|
requirements:
|
117
|
-
- - "
|
117
|
+
- - ">="
|
118
118
|
- !ruby/object:Gem::Version
|
119
|
-
version: '
|
119
|
+
version: '0'
|
120
120
|
type: :development
|
121
121
|
prerelease: false
|
122
122
|
version_requirements: !ruby/object:Gem::Requirement
|
123
123
|
requirements:
|
124
|
-
- - "
|
124
|
+
- - ">="
|
125
125
|
- !ruby/object:Gem::Version
|
126
|
-
version: '
|
126
|
+
version: '0'
|
127
127
|
- !ruby/object:Gem::Dependency
|
128
128
|
name: rake
|
129
129
|
requirement: !ruby/object:Gem::Requirement
|
@@ -245,10 +245,10 @@ executables: []
|
|
245
245
|
extensions: []
|
246
246
|
extra_rdoc_files: []
|
247
247
|
files:
|
248
|
+
- ".github/workflows/ci.yml"
|
248
249
|
- ".gitignore"
|
249
250
|
- ".rspec"
|
250
251
|
- ".simplecov"
|
251
|
-
- ".travis.yml"
|
252
252
|
- Gemfile
|
253
253
|
- LICENSE
|
254
254
|
- README.md
|
@@ -277,7 +277,7 @@ homepage: https://github.com/amaabca/rest-client-jogger
|
|
277
277
|
licenses:
|
278
278
|
- MIT
|
279
279
|
metadata: {}
|
280
|
-
post_install_message:
|
280
|
+
post_install_message:
|
281
281
|
rdoc_options: []
|
282
282
|
require_paths:
|
283
283
|
- lib
|
@@ -293,7 +293,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
293
293
|
version: '0'
|
294
294
|
requirements: []
|
295
295
|
rubygems_version: 3.1.2
|
296
|
-
signing_key:
|
296
|
+
signing_key:
|
297
297
|
specification_version: 4
|
298
298
|
summary: Logs RestClient requests in a JSON format
|
299
299
|
test_files: []
|
data/.travis.yml
DELETED