iron_core 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/iron_core/client.rb +4 -2
- data/lib/iron_core/version.rb +1 -1
- metadata +58 -69
data/lib/iron_core/client.rb
CHANGED
@@ -52,8 +52,10 @@ module IronCore
|
|
52
52
|
suffixes.each do |suffix|
|
53
53
|
['.json'].each do |ext|
|
54
54
|
["#{company}-#{product}", "#{company}_#{product}", company].each do |config_base|
|
55
|
-
load_from_config(company, product, "#{config_base}#{suffix}#{ext}")
|
56
|
-
load_from_config(company, product, "
|
55
|
+
load_from_config(company, product, "#{Dir.pwd}/#{config_base}#{suffix}#{ext}")
|
56
|
+
load_from_config(company, product, "#{Dir.pwd}/.#{config_base}#{suffix}#{ext}")
|
57
|
+
load_from_config(company, product, "#{Dir.pwd}/config/#{config_base}#{suffix}#{ext}")
|
58
|
+
load_from_config(company, product, "#{Dir.pwd}/config/.#{config_base}#{suffix}#{ext}")
|
57
59
|
load_from_config(company, product, "~/#{config_base}#{suffix}#{ext}")
|
58
60
|
load_from_config(company, product, "~/.#{config_base}#{suffix}#{ext}")
|
59
61
|
end
|
data/lib/iron_core/version.rb
CHANGED
metadata
CHANGED
@@ -1,88 +1,72 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: iron_core
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.2
|
3
|
+
version: !ruby/object:Gem::Version
|
5
4
|
prerelease:
|
5
|
+
version: 0.4.3
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
7
|
+
authors:
|
8
8
|
- Andrew Kirilenko
|
9
9
|
- Iron.io, Inc
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
|
14
|
+
date: 2012-10-10 00:00:00 Z
|
15
|
+
dependencies:
|
16
|
+
- !ruby/object:Gem::Dependency
|
16
17
|
name: rest
|
17
|
-
requirement: !ruby/object:Gem::Requirement
|
18
|
-
none: false
|
19
|
-
requirements:
|
20
|
-
- - ! '>='
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: 2.0.2
|
23
|
-
type: :runtime
|
24
18
|
prerelease: false
|
25
|
-
|
19
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
26
20
|
none: false
|
27
|
-
requirements:
|
28
|
-
- -
|
29
|
-
- !ruby/object:Gem::Version
|
21
|
+
requirements:
|
22
|
+
- - ">="
|
23
|
+
- !ruby/object:Gem::Version
|
30
24
|
version: 2.0.2
|
31
|
-
|
25
|
+
type: :runtime
|
26
|
+
version_requirements: *id001
|
27
|
+
- !ruby/object:Gem::Dependency
|
32
28
|
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
29
|
prerelease: false
|
41
|
-
|
30
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
42
31
|
none: false
|
43
|
-
requirements:
|
44
|
-
- -
|
45
|
-
- !ruby/object:Gem::Version
|
46
|
-
version:
|
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'
|
32
|
+
requirements:
|
33
|
+
- - ">="
|
34
|
+
- !ruby/object:Gem::Version
|
35
|
+
version: "0"
|
55
36
|
type: :development
|
37
|
+
version_requirements: *id002
|
38
|
+
- !ruby/object:Gem::Dependency
|
39
|
+
name: minitest
|
56
40
|
prerelease: false
|
57
|
-
|
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
|
41
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
66
42
|
none: false
|
67
|
-
requirements:
|
68
|
-
- -
|
69
|
-
- !ruby/object:Gem::Version
|
70
|
-
version:
|
43
|
+
requirements:
|
44
|
+
- - ">="
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: "0"
|
71
47
|
type: :development
|
48
|
+
version_requirements: *id003
|
49
|
+
- !ruby/object:Gem::Dependency
|
50
|
+
name: rake
|
72
51
|
prerelease: false
|
73
|
-
|
52
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
74
53
|
none: false
|
75
|
-
requirements:
|
76
|
-
- -
|
77
|
-
- !ruby/object:Gem::Version
|
78
|
-
version:
|
54
|
+
requirements:
|
55
|
+
- - ">="
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
version: "0"
|
58
|
+
type: :development
|
59
|
+
version_requirements: *id004
|
79
60
|
description: Core library for Iron products
|
80
|
-
email:
|
61
|
+
email:
|
81
62
|
- info@iron.io
|
82
63
|
executables: []
|
64
|
+
|
83
65
|
extensions: []
|
66
|
+
|
84
67
|
extra_rdoc_files: []
|
85
|
-
|
68
|
+
|
69
|
+
files:
|
86
70
|
- .gitignore
|
87
71
|
- Gemfile
|
88
72
|
- Gemfile.lock
|
@@ -100,26 +84,31 @@ files:
|
|
100
84
|
- lib/iron_core/version.rb
|
101
85
|
homepage: https://github.com/iron-io/iron_core_ruby
|
102
86
|
licenses: []
|
87
|
+
|
103
88
|
post_install_message:
|
104
89
|
rdoc_options: []
|
105
|
-
|
90
|
+
|
91
|
+
require_paths:
|
106
92
|
- lib
|
107
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
93
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
108
94
|
none: false
|
109
|
-
requirements:
|
110
|
-
- -
|
111
|
-
- !ruby/object:Gem::Version
|
112
|
-
version:
|
113
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
95
|
+
requirements:
|
96
|
+
- - ">="
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: "1.9"
|
99
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
114
100
|
none: false
|
115
|
-
requirements:
|
116
|
-
- -
|
117
|
-
- !ruby/object:Gem::Version
|
101
|
+
requirements:
|
102
|
+
- - ">="
|
103
|
+
- !ruby/object:Gem::Version
|
118
104
|
version: 1.3.6
|
119
105
|
requirements: []
|
106
|
+
|
120
107
|
rubyforge_project:
|
121
108
|
rubygems_version: 1.8.24
|
122
109
|
signing_key:
|
123
110
|
specification_version: 3
|
124
111
|
summary: Core library for Iron products
|
125
112
|
test_files: []
|
113
|
+
|
114
|
+
has_rdoc:
|