iron_core 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -1,12 +1,3 @@
1
1
  source 'http://rubygems.org'
2
2
 
3
-
4
3
  gemspec
5
-
6
-
7
- gem 'rest', '>= 2.0.3'
8
-
9
- group :development do
10
- gem 'rake'
11
- gem 'jeweler2'
12
- end
data/Gemfile.lock CHANGED
@@ -1,22 +1,28 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ iron_core (0.5.0)
5
+ rest (>= 2.2.0)
6
+
1
7
  GEM
2
8
  remote: http://rubygems.org/
3
9
  specs:
4
- git (1.2.5)
5
- jeweler2 (2.0.9)
6
- git (>= 1.2.5)
7
10
  mime-types (1.19)
8
- net-http-persistent (2.7)
9
- rake (0.9.2.2)
10
- rest (2.0.3)
11
+ minitest (4.4.0)
12
+ net-http-persistent (2.8)
13
+ rake (10.0.3)
14
+ rest (2.2.0)
11
15
  net-http-persistent
12
16
  rest-client (>= 0.3.0)
13
17
  rest-client (1.6.7)
14
18
  mime-types (>= 1.16)
19
+ test-unit (2.5.3)
15
20
 
16
21
  PLATFORMS
17
22
  ruby
18
23
 
19
24
  DEPENDENCIES
20
- jeweler2
25
+ iron_core!
26
+ minitest
21
27
  rake
22
- rest (>= 2.0.3)
28
+ test-unit
@@ -67,7 +67,8 @@ module IronCore
67
67
 
68
68
  @content_type = 'application/json'
69
69
 
70
- http_gem = @http_gem.nil? ? nil : @http_gem.to_sym
70
+ default_http_gem = RUBY_VERSION.split('.')[1].to_i == 8 ? :excon : nil
71
+ http_gem = @http_gem.nil? ? default_http_gem : @http_gem.to_sym
71
72
 
72
73
  @rest = Rest::Client.new(:gem => http_gem)
73
74
  end
@@ -1,5 +1,5 @@
1
1
  module IronCore
2
- VERSION = "0.5.0"
2
+ VERSION = "0.5.1"
3
3
 
4
4
  def self.version
5
5
  VERSION
metadata CHANGED
@@ -1,88 +1,91 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: iron_core
3
- version: !ruby/object:Gem::Version
4
- version: 0.5.0
3
+ version: !ruby/object:Gem::Version
4
+ hash: 9
5
5
  prerelease:
6
+ segments:
7
+ - 0
8
+ - 5
9
+ - 1
10
+ version: 0.5.1
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - Andrew Kirilenko
9
14
  - Iron.io, Inc
10
15
  autorequire:
11
16
  bindir: bin
12
17
  cert_chain: []
13
- date: 2013-01-14 00:00:00.000000000 Z
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
18
+
19
+ date: 2013-01-15 00:00:00 Z
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
16
22
  name: rest
17
- requirement: !ruby/object:Gem::Requirement
18
- none: false
19
- requirements:
20
- - - ! '>='
21
- - !ruby/object:Gem::Version
22
- version: 2.2.0
23
- type: :runtime
24
23
  prerelease: false
25
- version_requirements: !ruby/object:Gem::Requirement
24
+ requirement: &id001 !ruby/object:Gem::Requirement
26
25
  none: false
27
- requirements:
28
- - - ! '>='
29
- - !ruby/object:Gem::Version
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ hash: 7
30
+ segments:
31
+ - 2
32
+ - 2
33
+ - 0
30
34
  version: 2.2.0
31
- - !ruby/object:Gem::Dependency
35
+ type: :runtime
36
+ version_requirements: *id001
37
+ - !ruby/object:Gem::Dependency
32
38
  name: test-unit
33
- requirement: !ruby/object:Gem::Requirement
34
- none: false
35
- requirements:
36
- - - ! '>='
37
- - !ruby/object:Gem::Version
38
- version: '0'
39
- type: :development
40
39
  prerelease: false
41
- version_requirements: !ruby/object:Gem::Requirement
40
+ requirement: &id002 !ruby/object:Gem::Requirement
42
41
  none: false
43
- requirements:
44
- - - ! '>='
45
- - !ruby/object:Gem::Version
46
- version: '0'
47
- - !ruby/object:Gem::Dependency
48
- name: minitest
49
- requirement: !ruby/object:Gem::Requirement
50
- none: false
51
- requirements:
52
- - - ! '>='
53
- - !ruby/object:Gem::Version
54
- version: '0'
42
+ requirements:
43
+ - - ">="
44
+ - !ruby/object:Gem::Version
45
+ hash: 3
46
+ segments:
47
+ - 0
48
+ version: "0"
55
49
  type: :development
50
+ version_requirements: *id002
51
+ - !ruby/object:Gem::Dependency
52
+ name: minitest
56
53
  prerelease: false
57
- version_requirements: !ruby/object:Gem::Requirement
58
- none: false
59
- requirements:
60
- - - ! '>='
61
- - !ruby/object:Gem::Version
62
- version: '0'
63
- - !ruby/object:Gem::Dependency
64
- name: rake
65
- requirement: !ruby/object:Gem::Requirement
54
+ requirement: &id003 !ruby/object:Gem::Requirement
66
55
  none: false
67
- requirements:
68
- - - ! '>='
69
- - !ruby/object:Gem::Version
70
- version: '0'
56
+ requirements:
57
+ - - ">="
58
+ - !ruby/object:Gem::Version
59
+ hash: 3
60
+ segments:
61
+ - 0
62
+ version: "0"
71
63
  type: :development
64
+ version_requirements: *id003
65
+ - !ruby/object:Gem::Dependency
66
+ name: rake
72
67
  prerelease: false
73
- version_requirements: !ruby/object:Gem::Requirement
68
+ requirement: &id004 !ruby/object:Gem::Requirement
74
69
  none: false
75
- requirements:
76
- - - ! '>='
77
- - !ruby/object:Gem::Version
78
- version: '0'
70
+ requirements:
71
+ - - ">="
72
+ - !ruby/object:Gem::Version
73
+ hash: 3
74
+ segments:
75
+ - 0
76
+ version: "0"
77
+ type: :development
78
+ version_requirements: *id004
79
79
  description: Core library for Iron products
80
- email:
80
+ email:
81
81
  - info@iron.io
82
82
  executables: []
83
+
83
84
  extensions: []
85
+
84
86
  extra_rdoc_files: []
85
- files:
87
+
88
+ files:
86
89
  - .gitignore
87
90
  - Gemfile
88
91
  - Gemfile.lock
@@ -99,27 +102,40 @@ files:
99
102
  - lib/iron_core/version.rb
100
103
  homepage: https://github.com/iron-io/iron_core_ruby
101
104
  licenses: []
105
+
102
106
  post_install_message:
103
107
  rdoc_options: []
104
- require_paths:
108
+
109
+ require_paths:
105
110
  - lib
106
- required_ruby_version: !ruby/object:Gem::Requirement
111
+ required_ruby_version: !ruby/object:Gem::Requirement
107
112
  none: false
108
- requirements:
109
- - - ! '>='
110
- - !ruby/object:Gem::Version
111
- version: '1.8'
112
- required_rubygems_version: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - ">="
115
+ - !ruby/object:Gem::Version
116
+ hash: 31
117
+ segments:
118
+ - 1
119
+ - 8
120
+ version: "1.8"
121
+ required_rubygems_version: !ruby/object:Gem::Requirement
113
122
  none: false
114
- requirements:
115
- - - ! '>='
116
- - !ruby/object:Gem::Version
123
+ requirements:
124
+ - - ">="
125
+ - !ruby/object:Gem::Version
126
+ hash: 23
127
+ segments:
128
+ - 1
129
+ - 3
130
+ - 6
117
131
  version: 1.3.6
118
132
  requirements: []
133
+
119
134
  rubyforge_project:
120
135
  rubygems_version: 1.8.24
121
136
  signing_key:
122
137
  specification_version: 3
123
138
  summary: Core library for Iron products
124
139
  test_files: []
140
+
125
141
  has_rdoc: