chuckle 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/chuckle/curl.rb +1 -1
- data/lib/chuckle/options.rb +5 -0
- data/lib/chuckle/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 370d11531835cb5e2c6a06e947f0e7270195c2d2
|
4
|
+
data.tar.gz: 49457ddedf721927e9cdce13c96b6ab311356a60
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9ba2f917cde22f73987f312c98ddc619eade4e2d265cfe10dda2a1a184519d36eafe1b21d7c150cd850108330df2bc7786a7661661d80c905653efba7009c45d
|
7
|
+
data.tar.gz: 40b4f8ad2c3d918fd5fbaee7ec31a494d394dd2c4118ce51e35f787f6dc7d8f822e152b719228ba0e95868dd191fc5cc26a61910ccaa29465914ce65c11fcf01
|
data/README.md
CHANGED
data/lib/chuckle/curl.rb
CHANGED
data/lib/chuckle/options.rb
CHANGED
@@ -5,6 +5,7 @@ module Chuckle
|
|
5
5
|
cache_errors: true,
|
6
6
|
cacert: nil,
|
7
7
|
capath: nil,
|
8
|
+
content_type: "application/x-www-form-urlencoded",
|
8
9
|
cookies: false,
|
9
10
|
expires_in: :never,
|
10
11
|
insecure: false,
|
@@ -46,6 +47,10 @@ module Chuckle
|
|
46
47
|
options[:capath]
|
47
48
|
end
|
48
49
|
|
50
|
+
def content_type
|
51
|
+
options[:content_type]
|
52
|
+
end
|
53
|
+
|
49
54
|
# are cookies enabled?
|
50
55
|
def cookies?
|
51
56
|
options[:cookies]
|
data/lib/chuckle/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chuckle
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Doppelt
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-01-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: trollop
|
@@ -145,7 +145,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
145
145
|
version: '0'
|
146
146
|
requirements: []
|
147
147
|
rubyforge_project: chuckle
|
148
|
-
rubygems_version: 2.
|
148
|
+
rubygems_version: 2.4.1
|
149
149
|
signing_key:
|
150
150
|
specification_version: 4
|
151
151
|
summary: Chuckle - an http client that caches on disk.
|