http-test 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a894dbd04b66b955ed66885d66221bf4f25e41ef
4
- data.tar.gz: 6b47947900d717ec2266ce90fa00dc6eb6494f3f
3
+ metadata.gz: 6818df8129bdf0d2b2ae32850eb55e8cacc199bd
4
+ data.tar.gz: a267865a28aec4912e8e029efae210957302a5b3
5
5
  SHA512:
6
- metadata.gz: 3f9a8524eda02b85753718eb1ddb000f14ff0132e5b07baba19996e414809c6360693d5f633a3665130ce6ba52878a31d1f2693a2f071de0139cf21570245779
7
- data.tar.gz: 68930788ecf1a02bd35ca79ebb62430f5e9e63d2be3bea06881bddad5a120f64fc0a62eaf91aa256ccf5b73ec82264e97a517868ebbf5f0ef11672b03ffad529
6
+ metadata.gz: aa097b67cd58b6aff8009209ebafd4cd20be08584594e00543f6e0227834e4872c25694214e89ec4e23ef11661dcca6a5101291c23892deb23c9de804d36f2e4
7
+ data.tar.gz: d9c94d5fcef35a5fef7f5a2c0dd530cb1034dec1fc84a7d3b3e8b20c27a8324bd07f8d493771a7aa8e32d29a1b3f7e5bdfb8333d82532b9635d3060b00d29aa2
@@ -15,10 +15,17 @@ module HttpTest
15
15
  return @session.url_base if @session
16
16
 
17
17
  STDERR.puts <<-MSG
18
- Either define a API endpoint via url_base <url>, or define a command to start a test_server via test_server "command"'
19
- MSG
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 definition"
28
+ raise "Missing HttpTest session, you must run HttpTest.start_session first!"
22
29
  end
23
30
 
24
31
  # ---------------------------------------------------------------------------
@@ -1,3 +1,3 @@
1
1
  module HttpTest
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
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.3
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-01-18 00:00:00.000000000 Z
11
+ date: 2017-02-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday