ogle 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/ogle/client.rb +4 -5
- data/lib/ogle/version.rb +1 -1
- data/ogle.gemspec +2 -2
- metadata +4 -4
data/lib/ogle/client.rb
CHANGED
@@ -8,12 +8,11 @@ module Ogle
|
|
8
8
|
|
9
9
|
def initialize options
|
10
10
|
@connection = Hugs::Client.new(
|
11
|
-
:host
|
12
|
-
:scheme
|
13
|
-
:port
|
11
|
+
:host => options[:host],
|
12
|
+
:scheme => options[:scheme] || "http",
|
13
|
+
:port => options[:port] || 9292,
|
14
|
+
:raise_errors => true
|
14
15
|
)
|
15
|
-
@connection.raise_4xx = true
|
16
|
-
@connection.raise_5xx = true
|
17
16
|
end
|
18
17
|
|
19
18
|
def image
|
data/lib/ogle/version.rb
CHANGED
data/ogle.gemspec
CHANGED
@@ -8,7 +8,7 @@ Gem::Specification.new do |s|
|
|
8
8
|
s.platform = Gem::Platform::RUBY
|
9
9
|
s.authors = ["Kevin Bringard"]
|
10
10
|
s.email = ["kbringard@attinteractive.com"]
|
11
|
-
s.homepage =
|
11
|
+
s.homepage = %q{http://github.com/kevinbringard/ogle}
|
12
12
|
s.summary = %q{Ruby interface for OpenStack Glance}
|
13
13
|
s.description = %q{Exposes the API for OpenStack Glance. Go ahead and ogle, it's so much more than a glance.}
|
14
14
|
|
@@ -19,7 +19,7 @@ Gem::Specification.new do |s|
|
|
19
19
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
20
20
|
s.require_paths = ["lib"]
|
21
21
|
|
22
|
-
s.add_dependency "hugs", "~> 2.
|
22
|
+
s.add_dependency "hugs", "~> 2.6.0"
|
23
23
|
|
24
24
|
s.add_development_dependency "rake"
|
25
25
|
s.add_development_dependency "vcr", "1.5.0"
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: ogle
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.2.
|
5
|
+
version: 0.2.2
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Kevin Bringard
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-
|
13
|
+
date: 2011-05-17 00:00:00 -06:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
requirements:
|
22
22
|
- - ~>
|
23
23
|
- !ruby/object:Gem::Version
|
24
|
-
version: 2.
|
24
|
+
version: 2.6.0
|
25
25
|
type: :runtime
|
26
26
|
version_requirements: *id001
|
27
27
|
- !ruby/object:Gem::Dependency
|
@@ -98,7 +98,7 @@ files:
|
|
98
98
|
- test/lib/ogle/image_test.rb
|
99
99
|
- test/test_helper.rb
|
100
100
|
has_rdoc: true
|
101
|
-
homepage:
|
101
|
+
homepage: http://github.com/kevinbringard/ogle
|
102
102
|
licenses: []
|
103
103
|
|
104
104
|
post_install_message:
|