hobelar 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/hobelar.gemspec +2 -2
- data/lib/hobelar.rb +2 -2
- metadata +26 -32
data/hobelar.gemspec
CHANGED
@@ -4,7 +4,7 @@ Gem::Specification.new do |s|
|
|
4
4
|
s.rubygems_version = '1.3.5'
|
5
5
|
|
6
6
|
s.name = "hobelar"
|
7
|
-
s.version = "0.0.
|
7
|
+
s.version = "0.0.4"
|
8
8
|
|
9
9
|
s.summary = "reconnoiter rest interface wrapper"
|
10
10
|
s.description = "Hobelar talks to reconnoiter's noit rest interface"
|
@@ -23,7 +23,7 @@ Gem::Specification.new do |s|
|
|
23
23
|
## List your runtime dependencies here. Runtime dependencies are those
|
24
24
|
## that are needed for an end user to actually USE your code.
|
25
25
|
s.add_dependency('builder')
|
26
|
-
s.add_dependency('excon', '>=0.
|
26
|
+
s.add_dependency('excon', '>=0.6.0')
|
27
27
|
s.add_dependency('nokogiri', '>=1.4.4')
|
28
28
|
|
29
29
|
## List your development dependencies here. Development dependencies are
|
data/lib/hobelar.rb
CHANGED
@@ -6,7 +6,7 @@ require 'hobelar/parsers'
|
|
6
6
|
class Hobelar
|
7
7
|
|
8
8
|
unless const_defined?(:VERSION)
|
9
|
-
VERSION = "0.0.
|
9
|
+
VERSION = "0.0.4"
|
10
10
|
end
|
11
11
|
|
12
12
|
attr_accessor :noit, :cert, :key
|
@@ -86,7 +86,7 @@ class Hobelar
|
|
86
86
|
unless block_given?
|
87
87
|
if (parser = params.delete(:parser))
|
88
88
|
body = Nokogiri::XML::SAX::PushParser.new(parser)
|
89
|
-
block = lambda { |chunk| body << chunk }
|
89
|
+
block = lambda { |chunk, remaining, total| body << chunk }
|
90
90
|
end
|
91
91
|
end
|
92
92
|
|
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hobelar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
version: 0.0.3
|
4
|
+
version: 0.0.4
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Thom May
|
@@ -10,64 +9,59 @@ autorequire:
|
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
11
|
|
13
|
-
date: 2011-
|
12
|
+
date: 2011-05-27 00:00:00 +01:00
|
14
13
|
default_executable:
|
15
14
|
dependencies:
|
16
15
|
- !ruby/object:Gem::Dependency
|
17
16
|
name: builder
|
18
|
-
|
19
|
-
|
20
|
-
|
17
|
+
type: :runtime
|
18
|
+
version_requirement:
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
21
20
|
requirements:
|
22
21
|
- - ">="
|
23
22
|
- !ruby/object:Gem::Version
|
24
23
|
version: "0"
|
25
|
-
|
26
|
-
version_requirements: *id001
|
24
|
+
version:
|
27
25
|
- !ruby/object:Gem::Dependency
|
28
26
|
name: excon
|
29
|
-
|
30
|
-
|
31
|
-
|
27
|
+
type: :runtime
|
28
|
+
version_requirement:
|
29
|
+
version_requirements: !ruby/object:Gem::Requirement
|
32
30
|
requirements:
|
33
31
|
- - ">="
|
34
32
|
- !ruby/object:Gem::Version
|
35
|
-
version: 0.
|
36
|
-
|
37
|
-
version_requirements: *id002
|
33
|
+
version: 0.6.0
|
34
|
+
version:
|
38
35
|
- !ruby/object:Gem::Dependency
|
39
36
|
name: nokogiri
|
40
|
-
|
41
|
-
|
42
|
-
|
37
|
+
type: :runtime
|
38
|
+
version_requirement:
|
39
|
+
version_requirements: !ruby/object:Gem::Requirement
|
43
40
|
requirements:
|
44
41
|
- - ">="
|
45
42
|
- !ruby/object:Gem::Version
|
46
43
|
version: 1.4.4
|
47
|
-
|
48
|
-
version_requirements: *id003
|
44
|
+
version:
|
49
45
|
- !ruby/object:Gem::Dependency
|
50
46
|
name: rake
|
51
|
-
|
52
|
-
|
53
|
-
|
47
|
+
type: :development
|
48
|
+
version_requirement:
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
54
50
|
requirements:
|
55
51
|
- - ">="
|
56
52
|
- !ruby/object:Gem::Version
|
57
53
|
version: "0"
|
58
|
-
|
59
|
-
version_requirements: *id004
|
54
|
+
version:
|
60
55
|
- !ruby/object:Gem::Dependency
|
61
56
|
name: rspec
|
62
|
-
|
63
|
-
|
64
|
-
|
57
|
+
type: :development
|
58
|
+
version_requirement:
|
59
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
60
|
requirements:
|
66
61
|
- - "="
|
67
62
|
- !ruby/object:Gem::Version
|
68
63
|
version: 1.3.1
|
69
|
-
|
70
|
-
version_requirements: *id005
|
64
|
+
version:
|
71
65
|
description: Hobelar talks to reconnoiter's noit rest interface
|
72
66
|
email: thom@clearairturbulence.org
|
73
67
|
executables: []
|
@@ -96,21 +90,21 @@ rdoc_options:
|
|
96
90
|
require_paths:
|
97
91
|
- lib
|
98
92
|
required_ruby_version: !ruby/object:Gem::Requirement
|
99
|
-
none: false
|
100
93
|
requirements:
|
101
94
|
- - ">="
|
102
95
|
- !ruby/object:Gem::Version
|
103
96
|
version: "0"
|
97
|
+
version:
|
104
98
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
106
99
|
requirements:
|
107
100
|
- - ">="
|
108
101
|
- !ruby/object:Gem::Version
|
109
102
|
version: "0"
|
103
|
+
version:
|
110
104
|
requirements: []
|
111
105
|
|
112
106
|
rubyforge_project:
|
113
|
-
rubygems_version: 1.
|
107
|
+
rubygems_version: 1.3.5
|
114
108
|
signing_key:
|
115
109
|
specification_version: 2
|
116
110
|
summary: reconnoiter rest interface wrapper
|