aitch 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/aitch/response.rb +1 -0
- data/lib/aitch/version.rb +1 -1
- data/spec/aitch/response_spec.rb +2 -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: 9fe92f9a37fda506090a65c10f58d0f1c404de82
|
4
|
+
data.tar.gz: e4802e77177c7b5da355d90861648c457af07baf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8a30b1ca7591ba25d71ee744500f8aee14bb53b518b3f00011eed86fec098b5f3d10d79992a692cc777233e787acc5b599b0d5050bcd640e2262309eb5032d97
|
7
|
+
data.tar.gz: 86f02583bf0a48e299115d5c4724e8f098074e4244c6ff0693cf56cbdcfbc8e3f88398b3a8f71e54bc20636a1925de7db399aed5d2266ccc6c926dd18952cff9
|
data/Gemfile.lock
CHANGED
data/lib/aitch/response.rb
CHANGED
data/lib/aitch/version.rb
CHANGED
data/spec/aitch/response_spec.rb
CHANGED
@@ -82,7 +82,9 @@ describe Aitch::Response do
|
|
82
82
|
it "detects as successful response" do
|
83
83
|
FakeWeb.register_uri(:get, "http://example.org/", status: 301)
|
84
84
|
response = Aitch.get("http://example.org/")
|
85
|
+
|
85
86
|
expect(response).to be_success
|
87
|
+
expect(response).to be_ok
|
86
88
|
end
|
87
89
|
|
88
90
|
it "detects as redirect" do
|
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: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nando Vieira
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-07-
|
11
|
+
date: 2013-07-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|