buttercms-ruby 1.7 → 1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -0
- data/lib/buttercms-ruby.rb +2 -1
- data/lib/buttercms/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2a4629771fdc42b53b03a97bb2488e52cebcaa99e08812927fdb3e9a51ab9bd4
|
4
|
+
data.tar.gz: 9b7044c488d00e7a800233f36b167cb880f48931d27abfac68c8c699174cf314
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3018b0ab7b461986646e43733bf769ff3fd06a868fe7eef970b623c6558f8d689903bf144889572cf6c8a6bd23a3d6f63dba6135947c54d09ab1650eba43b865
|
7
|
+
data.tar.gz: aee9e833f1f9422e5609b8b16f273fd5db5b6d188b25b3502e8831e8a572c438a1ad03445103138d77907bcad98f4e51da3cd92dae6dec178cbad39b4656c43e
|
data/README.md
CHANGED
data/lib/buttercms-ruby.rb
CHANGED
@@ -30,6 +30,7 @@ module ButterCMS
|
|
30
30
|
attr_accessor :write_api_token
|
31
31
|
attr_accessor :test_mode
|
32
32
|
attr_accessor :read_timeout
|
33
|
+
attr_accessor :open_timeout
|
33
34
|
attr_reader :data_store
|
34
35
|
attr_writer :logger
|
35
36
|
end
|
@@ -172,7 +173,7 @@ module ButterCMS
|
|
172
173
|
|
173
174
|
def self.http_options
|
174
175
|
{
|
175
|
-
open_timeout: 2.0,
|
176
|
+
open_timeout: open_timeout || 2.0,
|
176
177
|
read_timeout: read_timeout || 5.0,
|
177
178
|
ssl_timeout: 2.0,
|
178
179
|
use_ssl: @api_url.scheme == "https",
|
data/lib/buttercms/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: buttercms-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '1.
|
4
|
+
version: '1.8'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ButterCMS
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-07-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|