chupa-text 1.2.2 → 1.2.3

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: f6d2f05926206d3da67e157161c9e4c35f036af80e80e5177fbc4edf9006e039
4
- data.tar.gz: 5ed29a55f62d7a44cbbdbfc690b39005d35b354c2ba65629436b90d1ef32cef1
3
+ metadata.gz: 839061bf629d05b631507911b412794c552d4560ff320dd56454a4dfc39bf5b1
4
+ data.tar.gz: 39c50264cecd725d94acdcf5f52d3d9b280db86d4bc5fd75dcdb0f1c0cae7482
5
5
  SHA512:
6
- metadata.gz: cd5e2b4b04d2572bb90ec832b618bc855e5c038d0a46f84a970f8e1ae1011609356387c30a71c6d476362fb27391094a25d0759d62bd56772a630914f543e644
7
- data.tar.gz: c1c22bb010320fe5f48eb0c8b500e54b4557ca0f24461b832c3ae278c8dd9b0c6dc93f5682cf9b52d15b05673cd013c5546543e2f46e095b72fe46d64deb0aba
6
+ metadata.gz: c6c393e06bcdff3ebe9bffdf125acb0fc95bf2e8d80cd3b9dd9698e066111d3b693c1df64582115c12ea6ce2efe1d89c8d99a57fde09a9d0e575680d804ef6c8
7
+ data.tar.gz: 1e7106e1c2a869e75b7e008ba877a0eaa57ad3745f836fb23654b3e09283e01d52dbf4e6da5613c3b79101e5182db0da9f381fbd27f1eac7106d715a1bf83926
data/doc/text/news.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # News
2
2
 
3
+ ## 1.2.3: 2019-03-28
4
+
5
+ ### Fixes
6
+
7
+ * Added support for Ruby 2.5 or earlier again.
8
+
3
9
  ## 1.2.2: 2019-03-28
4
10
 
5
11
  ### Improvements
@@ -64,7 +64,9 @@ module ChupaText
64
64
  if data.timeout.is_a?(Numeric)
65
65
  http.open_timeout = data.timeout * 1.5
66
66
  http.read_timeout = data.timeout * 1.5
67
- http.write_timeout = data.timeout * 1.5
67
+ if http.respond_to?(:write_timeout=)
68
+ http.write_timeout = data.timeout * 1.5
69
+ end
68
70
  end
69
71
  begin
70
72
  http.start do
@@ -15,5 +15,5 @@
15
15
  # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
16
 
17
17
  module ChupaText
18
- VERSION = "1.2.2"
18
+ VERSION = "1.2.3"
19
19
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chupa-text
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.2
4
+ version: 1.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kouhei Sutou