crowbar-client 3.1.1 → 3.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZDA1YWE1MmY0ZDQxNzNiNjA4ZTg2MTc3ZjgxMTYzZTg2OWRmNDVkYw==
4
+ YzM0MzhlYmVmYzk2ZjRlMmIyZWM5OTU4MTI3YTk1ZGU1ODJiYWQ5ZA==
5
5
  data.tar.gz: !binary |-
6
- MWU2MTU5ZDIzYTdkNzg3MDhjNGQ5ZDQwMTcwM2I5MmZhZjNkMzc5NQ==
6
+ YjA2YzhlMjFiMTdiMmFlYmM2NTkwOTBiYzI4NTczMTIzMjIyMjlhYQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NmE4ZWFlZTcwZTlhNWM0N2M1MWQ5NDQ2M2NlMGI2Mjg4ZTYxMTcyYzk3YmUx
10
- NzdkNmM5NjY2YzJjNjE1ZWQ4NTI3ZTdhMTg2Y2E4ZjIxYjJmYmQxMjVjYzlk
11
- ODJiYTdiZTI3NjhmMTcwODE4ZWQyNTM0MTcyNDFiNjMyNjk3MmY=
9
+ ZDNjMTdlMmFmZDdmM2E2MDdhMDQ1NzhkODg3NDRjYjRlODEyYjZkMGNhOTAz
10
+ Mzg1ZjFiMTc4MDViYjQ0YmI3M2MxZDhmZWY5ZjZjMDA0NWFhYTU2MTExODdi
11
+ ZmQyMzU0NGNmZWQ2MTM4ZWRhMGFjMjUzY2M5YmFlMTBjNDFkY2Y=
12
12
  data.tar.gz: !binary |-
13
- ZmFiODI3M2YxMjI4ZjgzZTE0ZmI4YTA5NGVmOTJhZDAzYTA1ZDIxMzIyNDZm
14
- NGE2ZTIyNzJkYWU4YTBkYjA5Y2VhYzY2ZTM0OGY3MzQyNThmOGFlMzQ0NjI4
15
- OTM4YzM2OGU4M2JhOWNlZjg4YjFkYjA0MWIxOWZhNWUyNWIyYTg=
13
+ NjgxNDY3M2Q3Y2UzNGVmZjBjMDY1YjQ0NGQ0NjE5ODMzOTNlZDliNzMzNTRm
14
+ ZjNmOGU1MDQ3MmNlNzQ4Mjk5NjM2NDkwOGUyYzNjY2E4OTBlNjM5ZjdlZDg5
15
+ MzJjMDA5ZTBkMjlhZDMyMjllZGNkNTQ0N2YxODQxMTY3NTBkNzc=
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## [3.1.2](https://github.com/crowbar/crowbar-client/releases/tag/v3.1.2) - 2016-09-19
4
+
5
+ * BUGFIX
6
+ * fix wrong usage of a case statement (@MaximilianMeister)
7
+
3
8
  ## [3.1.1](https://github.com/crowbar/crowbar-client/releases/tag/v3.1.1) - 2016-09-16
4
9
 
5
10
  * BUGFIX
@@ -48,8 +48,7 @@ module Crowbar
48
48
  request.process do |request|
49
49
  response = JSON.parse(request.body)
50
50
 
51
- case request.code
52
- when !200
51
+ unless request.code == 200
53
52
  err request.parsed_response["error"]
54
53
  end
55
54
 
@@ -33,7 +33,7 @@ module Crowbar
33
33
  #
34
34
  # Patch version
35
35
  #
36
- PATCH = 1
36
+ PATCH = 2
37
37
 
38
38
  #
39
39
  # Optional suffix
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: crowbar-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.1
4
+ version: 3.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas Boerger
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2016-09-16 00:00:00.000000000 Z
13
+ date: 2016-09-19 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler