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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/bin/faraday-cli +1 -2
  4. metadata +3 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ff8b3ada58c0a686d4123214c8c27ec40ea78ce8
4
- data.tar.gz: 02e13f6610c13c941e239b7c8f627d7ddcff91f1
3
+ metadata.gz: 65b179f90f061bf3461ab30bea1a8c336eeec630
4
+ data.tar.gz: 60dfd772c68e2f907d063437a65edede32740651
5
5
  SHA512:
6
- metadata.gz: d75198e583c7488fde5ef306be1d5b36a10d403212d0549faf2840b5eac61c2fbc11d546df20197b8be9de6012d66aea2b698ee055e3d8166be4dd2679e6ed2f
7
- data.tar.gz: eeb91ac2b0b6b8f4c306b60b1fa4913977df7b9a745e8dd22a623d28131b023ed0f76b9a7cca1d08d66be11acc7e0a8ebb28c4b563380cc354cdba6149599edb
6
+ metadata.gz: 8d1f2be329eb7ad8d0e926bbb00bc6116fa9fb8bb298b662ed9e74bbbfa4be9a9b3df0d24ab9154727132f886c67ac667f816985225591542cab3805ba1a36d8
7
+ data.tar.gz: 158bee6daa08f7ee9c96d3309bcc9320055d5e78415213ec9b8db16401aab492a7942e0da55655af2312d88841678caeec1055c192edcab1ad695463be9eb463
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.0
1
+ 0.5.1
@@ -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) unless (200..299).include?(response.status)
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.0
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-22 00:00:00.000000000 Z
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: