rpdoc 0.1.10 → 0.1.11

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: 16b0cdb642076fcefec76d09ec66960bf55bb49afd7e2bee3b55f8770c8a6cbb
4
- data.tar.gz: de44ec4dbddaef841f969b29807f2b8c315219e9b45f8331da07f9104c456183
3
+ metadata.gz: 243ceb4a0adab54f8a06f34e661c43ad7b33c910366f900707274930d1d54840
4
+ data.tar.gz: 0d7f8060ff75dd7ad59f33fdb2c75b1442d824c2c6581098a08be68a2758d303
5
5
  SHA512:
6
- metadata.gz: 79850b0d3657c277641209887d1bc72beab36a350b528064e45bdc0533e102bbbd04db1dbc2f3e2fbbabf530aaebe7c8f952c0bc3701498fee99cc9b84349539
7
- data.tar.gz: f2fa4f29d8844eec8dde825c7766975b4af1aa0e16a4b4811d35a3ee4252ddb2c9c8d696279d5314fbac43959e86268c3c56d8f09cf3fafae2f392ee7b299748
6
+ metadata.gz: 233f675ee16f351fa6a36da68f8a7d099d0a333d6e8b4c9672b4d208e4515da4285fad63fdb372c23f6cf8406eb9824cf07f527aade8890f78df7d5f77368b21
7
+ data.tar.gz: 54f1f4fe0c839b37938115fb25271e39d9b41910d29bad38641e0645ba3b294d69f1b91453426a198e9139cc100b3fa9af0a6f5a9ca4e2a37131b24bc6b634ed
data/.gitlab-ci.yml CHANGED
@@ -24,4 +24,4 @@ to_gem:
24
24
  - gem build rpdoc.gemspec
25
25
  - gem push $GEM_NAME
26
26
  only:
27
- - master
27
+ - /release-\d+\.\d+\.\d+(\.\d+)?/
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## [0.1.11] - 2022-08-09
2
+ - Check encoding names using instance (PR#1)
3
+
1
4
  ## [0.1.10] - 2022-07-14
2
5
  - Enable form-data request body
3
6
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rpdoc (0.1.10)
4
+ rpdoc (0.1.11)
5
5
  json_requester (~> 1.0)
6
6
 
7
7
  GEM
data/VERSION.md CHANGED
@@ -1 +1 @@
1
- 0.1.10
1
+ 0.1.11
@@ -52,7 +52,7 @@ module Rpdoc
52
52
  data[:body] = JSON.pretty_generate(JSON.parse(@rspec_response.body)) rescue nil
53
53
  else
54
54
  body = @rspec_response.body
55
- data[:body] = body.encoding.to_s == 'ASCII-8BIT' ? body.force_encoding("ISO-8859-1").encode("UTF-8") : body
55
+ data[:body] = body.encoding == Encoding::BINARY ? body.force_encoding(Encoding::ISO_8859_1).encode(Encoding::UTF_8) : body
56
56
  end
57
57
  data
58
58
  end
data/lib/rpdoc/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Rpdoc
4
- VERSION = "0.1.10"
4
+ VERSION = "0.1.11"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rpdoc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.10
4
+ version: 0.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - yuntai
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-07-19 00:00:00.000000000 Z
11
+ date: 2022-08-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json_requester