indico 0.5.3 → 0.5.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: 12321afac104c51a250901849e6d497bb2ebaf36
4
- data.tar.gz: 0c7eb47b1ff1aead6d87a79291d50d641095d165
3
+ metadata.gz: de85a9b86534b52b962f7293c6a012ce1beed21f
4
+ data.tar.gz: bb518f38c4797add87f0cfb24467d960d5df23cb
5
5
  SHA512:
6
- metadata.gz: 1cc6667c5a7c9fcff695037c00c3352debf9390fef7be5402ff77c977bb80006ceefb96203ed78b0d851a8af25ba7b15f5a244c40fb7512486a63e3bdb7b891c
7
- data.tar.gz: 3c248d2a456984c1ca6c1f368320c1f52cd2387af92f8b759f43683d0cfcdf629abfa84341ee3ac675b2627a3f22e0702ee822ea3eee109a85db50d2a7d1ef6e
6
+ metadata.gz: bb5111b6aeb42548a2c654c8401d5be53f6c31c09d6916908e247918193b0b55da6fab98d1c58a1345d1912be8400bd8fc6661bdf312b12954079c412379e509
7
+ data.tar.gz: 9d96c560aa0926b193ab813f5ce5cffa303fb698783a928e94e9857740206629c0690da6c48c05fc27ad0bfd742f6b51dd9cce0cee994fabe0b81c642590a006
@@ -48,6 +48,11 @@ module Indico
48
48
  response = make_request(url, JSON.dump(d),
49
49
  add_api_key_to_header(api_key))
50
50
 
51
+ response.header.each_header do |key, value|
52
+ if key.downcase == 'x-warning'
53
+ warn value
54
+ end
55
+ end
51
56
 
52
57
  results = JSON.parse(response.body)
53
58
  if results.key?('error')
@@ -1,3 +1,3 @@
1
1
  module Indico
2
- VERSION = '0.5.3'
2
+ VERSION = '0.5.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: indico
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3
4
+ version: 0.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Slater Victoroff
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2015-10-15 00:00:00.000000000 Z
14
+ date: 2015-10-30 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: inifile