indico 0.2.4 → 0.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/lib/indico/version.rb +1 -1
  2. data/lib/indico.rb +4 -1
  3. metadata +2 -2
@@ -1,3 +1,3 @@
1
1
  module Indico
2
- VERSION = '0.2.4'
2
+ VERSION = '0.2.5'
3
3
  end
data/lib/indico.rb CHANGED
@@ -6,7 +6,10 @@ require 'json'
6
6
  require 'net/https'
7
7
 
8
8
  module Indico
9
- HEADERS = { 'Content-Type' => 'application/json', 'Accept' => 'text/plain' }
9
+ HEADERS = { 'Content-Type' => 'application/json',
10
+ 'Accept' => 'application/json',
11
+ 'client-lib' => 'ruby',
12
+ 'version-number' => '0.2.5' }
10
13
 
11
14
  def self.api_key
12
15
  config['auth']
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.2.4
4
+ version: 0.2.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2015-04-08 00:00:00.000000000 Z
15
+ date: 2015-05-28 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: inifile