rpdoc 0.1.5 → 0.1.9

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: 92d9f7ee29c14d29e2ff89e295a3366c04cd36d1446cb03d6e5c42ec3a5847de
4
- data.tar.gz: 5fa8e4abf8883bfa3889cdebf52c9095879d4334b83135ab635c4e23a8297c87
3
+ metadata.gz: d38555025c1b436ea3d194ed8a19cde8dbf15ea5cc88a56c60f4ad5251ab8677
4
+ data.tar.gz: c3dab44f8ce28e9ed61a6ddfe18c3ce269be12b14455e903c0bf74be7a68f4da
5
5
  SHA512:
6
- metadata.gz: f171a6883f585f0576c9a8522fdc392e2a17f859b7d43b62e473f4c09196c86291b2dfb80c421ec8635348f26ac649da0abb5d578b5229b8e4fe407d137113ee
7
- data.tar.gz: 763c279f4da96585db0960eddc5181a88b14afb3d01867913018e4319c065ac812a7e85b848c186459b68dff4b2f77d230356bf7a03df2eec043b3eeb09425ac
6
+ metadata.gz: 891ef2d38410d4f0fbd8f6d189a35408534fb8586589346af08557bc61382ede5dfd856b17ee67a77124bbf996eb3f8e9f0b39d613ee5573ab294aa555853986
7
+ data.tar.gz: 0bbdd35bd8ab65d597a8bca5adca8a2d93519b34680a558766ff9c067564cf3c57beb5088fdc8d6f016e9a7ab72567ba0b161d8576aaf12da11ef74ccaba83f1
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## [0.1.7, 0.1.8, 0.1.9] - 2022-02-14
2
+ - Fix rspec parse zip response bug
3
+ ## [0.1.6] - 2022-02-14
4
+ - Update licnese
5
+
1
6
  ## [0.1.4, 0.1.5] - 2021-12-22
2
7
  - Fix rspec parsing bugs
3
8
 
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2021 yuntai
3
+ Copyright (c) 2021 Kdan Mobile Software Ltd
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -12,7 +12,7 @@
12
12
  Add `rpdoc` to your application's `Gemfile`:
13
13
 
14
14
  ```ruby
15
- gem 'rpdoc', '~> 0.1.2'
15
+ gem 'rpdoc'
16
16
  ```
17
17
 
18
18
  And then install the gem:
data/VERSION.md CHANGED
@@ -1 +1 @@
1
- 0.1.5
1
+ 0.1.9
@@ -51,7 +51,8 @@ module Rpdoc
51
51
  if @rspec_response.headers['Content-Type'].include?('application/json')
52
52
  data[:body] = JSON.pretty_generate(JSON.parse(@rspec_response.body)) rescue nil
53
53
  else
54
- data[:body] = @rspec_response.body
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
56
  end
56
57
  data
57
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.5"
4
+ VERSION = "0.1.9"
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.5
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - yuntai
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-12-23 00:00:00.000000000 Z
11
+ date: 2022-02-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json_requester
@@ -94,7 +94,7 @@ files:
94
94
  - CHANGELOG.md
95
95
  - Gemfile
96
96
  - Gemfile.lock
97
- - LICENSE.txt
97
+ - LICENSE
98
98
  - README.md
99
99
  - Rakefile
100
100
  - VERSION.md