api_client 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
data/api_client.gemspec CHANGED
@@ -13,9 +13,24 @@ Gem::Specification.new do |s|
13
13
 
14
14
  s.rubyforge_project = "api_client"
15
15
 
16
- s.add_dependency 'faraday', "=0.7.5"
17
- s.add_dependency 'hashie', "=1.2.0"
18
- s.add_dependency 'yajl-ruby'
16
+ if s.respond_to? :specification_version then
17
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
18
+ s.specification_version = 3
19
+
20
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
21
+ s.add_runtime_dependency(%q<faraday>, ["= 0.7.5"])
22
+ s.add_runtime_dependency(%q<hashie>, ["= 1.2.0"])
23
+ s.add_runtime_dependency(%q<yajl-ruby>, [">= 0"])
24
+ else
25
+ s.add_dependency(%q<faraday>, ["= 0.7.5"])
26
+ s.add_dependency(%q<hashie>, ["= 1.2.0"])
27
+ s.add_dependency(%q<yajl-ruby>, [">= 0"])
28
+ end
29
+ else
30
+ s.add_dependency(%q<faraday>, ["= 0.7.5"])
31
+ s.add_dependency(%q<hashie>, ["= 1.2.0"])
32
+ s.add_dependency(%q<yajl-ruby>, [">= 0"])
33
+ end
19
34
 
20
35
  s.files = `git ls-files`.split("\n")
21
36
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
@@ -1,3 +1,3 @@
1
1
  module ApiClient
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: api_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-01-05 00:00:00.000000000 Z
12
+ date: 2012-02-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: faraday
16
- requirement: &70364887438800 !ruby/object:Gem::Requirement
16
+ requirement: &70310178026800 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - =
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 0.7.5
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70364887438800
24
+ version_requirements: *70310178026800
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: hashie
27
- requirement: &70364887438300 !ruby/object:Gem::Requirement
27
+ requirement: &70310178026140 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - =
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 1.2.0
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70364887438300
35
+ version_requirements: *70310178026140
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: yajl-ruby
38
- requirement: &70364887437920 !ruby/object:Gem::Requirement
38
+ requirement: &70310178025100 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: '0'
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *70364887437920
46
+ version_requirements: *70310178025100
47
47
  description: API client builder
48
48
  email:
49
49
  - marcin@futuresimple.com