http-test 0.1.3 → 0.1.4
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/http-test.rb +10 -3
- data/lib/http-test/version.rb +1 -1
- 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: 6818df8129bdf0d2b2ae32850eb55e8cacc199bd
|
4
|
+
data.tar.gz: a267865a28aec4912e8e029efae210957302a5b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa097b67cd58b6aff8009209ebafd4cd20be08584594e00543f6e0227834e4872c25694214e89ec4e23ef11661dcca6a5101291c23892deb23c9de804d36f2e4
|
7
|
+
data.tar.gz: d9c94d5fcef35a5fef7f5a2c0dd530cb1034dec1fc84a7d3b3e8b20c27a8324bd07f8d493771a7aa8e32d29a1b3f7e5bdfb8333d82532b9635d3060b00d29aa2
|
data/lib/http-test.rb
CHANGED
@@ -15,10 +15,17 @@ module HttpTest
|
|
15
15
|
return @session.url_base if @session
|
16
16
|
|
17
17
|
STDERR.puts <<-MSG
|
18
|
-
|
19
|
-
|
18
|
+
http-test: I was unable to find a API endpoint.
|
19
|
+
|
20
|
+
Either:
|
21
|
+
|
22
|
+
- define a API endpoint via `url_base <url>`, if the test server is not controlled by this script, or
|
23
|
+
- define a command to start a test_server via `test_server "command"`
|
24
|
+
|
25
|
+
MSG
|
26
|
+
|
20
27
|
#STDERR.puts "called from\n\t#{caller[0,6].join("\n\t")}"
|
21
|
-
raise "Missing session
|
28
|
+
raise "Missing HttpTest session, you must run HttpTest.start_session first!"
|
22
29
|
end
|
23
30
|
|
24
31
|
# ---------------------------------------------------------------------------
|
data/lib/http-test/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: http-test
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- eno
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-02-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|