rest-client-jogger 1.2.1 → 1.2.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: 54a2bbb72f1fcf21c0ee5e7c794652024046f8dbe70cbcf1844c70e9c220bf2a
4
- data.tar.gz: a2285dc8314842bfa8cad693938adad92be24d8b3495faeba3a6619c9a6fad88
3
+ metadata.gz: 8e4edb81a85281c1b4c9c61c4669472bd0f55e64aea4047b47070c4d643b35c2
4
+ data.tar.gz: e05c73234bd1207aab4876fae3f7c0fb35b2e71048d10a318b022d07a6fef44e
5
5
  SHA512:
6
- metadata.gz: 4b6fa9e69bd932d23e4fa9c49cbedc1d36cfd958b120d3152c78f211611624c2f6f9a9a0c656d9ae7da86c06571314bccfb072287d83c286e06f7f1ca467f700
7
- data.tar.gz: b0a48bbe7a96834690ba6def31e1f0bd4878154d8982c3cd5df0088fa2c621aa959fb4a1df9c44e8d401435ce4967be864444215f8fb0f11b5512a8a742e5b49
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),
@@ -2,6 +2,6 @@
2
2
 
3
3
  module RestClient
4
4
  module Jogger
5
- VERSION = '1.2.1'.freeze
5
+ VERSION = '1.2.2'
6
6
  end
7
7
  end
@@ -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", "~> 1.12"
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.1
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: 2020-04-16 00:00:00.000000000 Z
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: '1.12'
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: '1.12'
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: []
@@ -1,13 +0,0 @@
1
- sudo: false
2
- language: ruby
3
- rvm:
4
- - 2.2.0
5
- - 2.2.1
6
- - 2.2.2
7
- - 2.2.3
8
- - 2.3.0
9
- - 2.5.1
10
- - 2.6.3
11
- before_install: gem install bundler -v '1.17.3'
12
- install: bundle _1.17.3_ install
13
- script: bundle _1.17.3_ exec rake