jekyll-http-request 0.0.1 → 0.0.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: dcc0217a1a595b3cc6ded1be8b2a59cfdadb8d2422b65895a5f8d81c1038a382
4
- data.tar.gz: a04000988e6ea9df5295beccc1465cb5034717e7cabcf742c00db702b05cbbcb
3
+ metadata.gz: 7419baac4dfcd2257e528a1695516193eb33aa6a8072e1976851d8b6187855e2
4
+ data.tar.gz: 90882c19edf53ecdf4b19dbd788b43afbb289ddfa8c60ba4e3b7026dd51a9e2c
5
5
  SHA512:
6
- metadata.gz: 9372e742ed0edfa32995de03f5e5293605e8f690cfcb0b6093a5b33f7a9597ba539291051c945a29fc32cb2b2a9b91bee23d21dc9106fe822ff676c1773ffa3b
7
- data.tar.gz: 526b7dac5c2e46335efcd428cd9fb7abe48b0c003594e674cf8a3d35e80a3f3d63da262d8a397a8cba56cfba77439a6d530d53c9e3adec593646c51bd302dc8e
6
+ metadata.gz: eeb68449780f9a6a8d1249f01f205253fb7470d07d1a9b9d37953169a9d0460dec2321e915be5e4e765535e6bf1c8f235d3363863b4569859a45d9aa1dd8e9fc
7
+ data.tar.gz: 90fc7a1753e14081f000b6582bae3b170174de4f45ccb7cdaf99166af5df81a70f4d00a9e4afcadb20f43227d518b0906208f9ecb046f697405bf24184aebcb7
@@ -42,8 +42,8 @@ module JekyllHTTPRequest
42
42
  http.request(req)
43
43
  }
44
44
 
45
- # return response body
46
- res.body
45
+ # return response body and force encoding UTF-8
46
+ res.body.force_encoding("UTF-8")
47
47
  end
48
48
  end
49
49
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module JekyllHTTPRequest
4
- VERSION = "0.0.1"
4
+ VERSION = "0.0.2"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-http-request
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jirawat Boonkumnerd
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-02 00:00:00.000000000 Z
11
+ date: 2024-04-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll