aitch 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/lib/aitch.rb +1 -0
- data/lib/aitch/engines/json.rb +13 -0
- data/lib/aitch/response_parser/json_parser.rb +1 -1
- data/lib/aitch/version.rb +1 -1
- data/test/aitch/request_test.rb +1 -2
- data/test/aitch/response_parser/json_parser_test.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 12767d163caa4e9cc79b97ff3f8e2cea1c48a494
|
4
|
+
data.tar.gz: 38ef91d2cb1d478d890ee7215317e8b6205b2c47
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f61de59c13b8716f6deb85fdeb9b9aaa281afc98a9a27dac34c3dc8dd71f5a8390ac7d9c43e11ded32433b25e1f1a50e5ddef36d6588cb088c7ccd2f1233cf7
|
7
|
+
data.tar.gz: dfb08e263ebca21387c417d52bcaabb2316bc15dfc29b64fd94401e8c47bee8496e811b7384e01c1812283b1350f71af24bc0398b946aee01983c30e173343e5
|
data/Gemfile
CHANGED
data/lib/aitch.rb
CHANGED
data/lib/aitch/version.rb
CHANGED
data/test/aitch/request_test.rb
CHANGED
@@ -132,7 +132,6 @@ class RequestTest < Minitest::Test
|
|
132
132
|
assert_equal :post, last_request.method
|
133
133
|
assert_equal "a=1&b=2", last_request.body
|
134
134
|
assert_equal "0.1", last_request.headers["Rendering"]
|
135
|
-
assert_equal "user", last_request.
|
136
|
-
assert_equal "pass", last_request.uri.password
|
135
|
+
assert_equal "user:pass", Base64.decode64(last_request.headers["Authorization"].split(" ").last)
|
137
136
|
end
|
138
137
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aitch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nando Vieira
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-08-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|
@@ -126,6 +126,7 @@ files:
|
|
126
126
|
- lib/aitch.rb
|
127
127
|
- lib/aitch/configuration.rb
|
128
128
|
- lib/aitch/dsl.rb
|
129
|
+
- lib/aitch/engines/json.rb
|
129
130
|
- lib/aitch/errors.rb
|
130
131
|
- lib/aitch/ext/to_query.rb
|
131
132
|
- lib/aitch/location.rb
|