faraday-cli 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/bin/faraday-cli +1 -2
- 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: 65b179f90f061bf3461ab30bea1a8c336eeec630
|
4
|
+
data.tar.gz: 60dfd772c68e2f907d063437a65edede32740651
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d1f2be329eb7ad8d0e926bbb00bc6116fa9fb8bb298b662ed9e74bbbfa4be9a9b3df0d24ab9154727132f886c67ac667f816985225591542cab3805ba1a36d8
|
7
|
+
data.tar.gz: 158bee6daa08f7ee9c96d3309bcc9320055d5e78415213ec9b8db16401aab492a7942e0da55655af2312d88841678caeec1055c192edcab1ad695463be9eb463
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.5.
|
1
|
+
0.5.1
|
data/bin/faraday-cli
CHANGED
@@ -127,6 +127,5 @@ response = connection.public_send(CLI_OPTIONS[:http_method].downcase) do |reques
|
|
127
127
|
|
128
128
|
end
|
129
129
|
|
130
|
-
|
131
130
|
$stdout.puts Faraday::CLI::ResponseFormatter.format(response,*CLI_OPTIONS[:flags]) unless CLI_OPTIONS[:flags].include?(:silent)
|
132
|
-
exit(1)
|
131
|
+
exit(1) if (400..599).include?(response.status)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: faraday-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Luzsi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-09-
|
11
|
+
date: 2015-09-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -149,3 +149,4 @@ signing_key:
|
|
149
149
|
specification_version: 4
|
150
150
|
summary: Console line interface for faraday gem.
|
151
151
|
test_files: []
|
152
|
+
has_rdoc:
|