dino_utils 0.1.11 → 0.1.12
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 +4 -4
- data/lib/dino_utils/version.rb +1 -1
- data/lib/tn/http.rb +7 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 26957271463f283a6d0d47e533e2d0f1a43581da
|
|
4
|
+
data.tar.gz: 04ef1eaaaa527c7fa2237449c78f273724ea04db
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 42f8815e9500c5fa5f3bfb93d3ad2d75b4937c97cb8c396842012f2c1f4ee88818a105a496f4eb762a5e487cc911fc7c865163b6e73033f2577bb1d215101cde
|
|
7
|
+
data.tar.gz: a0284a045460542a43e61175730b751102d92c674978fb3ad8fe08d46046cc09a70d40253a83d6b8647f30a84d42d908422b24adff5883b29713943b7d5ac0c6
|
data/lib/dino_utils/version.rb
CHANGED
data/lib/tn/http.rb
CHANGED
|
@@ -22,6 +22,13 @@ module TN
|
|
|
22
22
|
end
|
|
23
23
|
end
|
|
24
24
|
|
|
25
|
+
def self.form_connection
|
|
26
|
+
default_connection do |conn|
|
|
27
|
+
conn.request :url_encoded
|
|
28
|
+
yield conn if block_given?
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
|
|
25
32
|
def self.default_json_connection
|
|
26
33
|
default_connection do |conn|
|
|
27
34
|
conn.response :mashify
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dino_utils
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.12
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Joe Van Dyk
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-05-
|
|
11
|
+
date: 2016-05-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|