juju 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/Gemfile.lock +2 -2
- data/lib/juju/version.rb +1 -1
- data/lib/juju.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YzM5NjExZTdkNGI4ZWQwZTljMjQwZTliNDkxYmFmMmVhOTQyYTE5ZQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NDEzZDllNDZiNzBhNzRlNzc1MGJjNjJjZmJjMjcwYTBiOGMzNTU1OQ==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZDBiYTdjYzc2NTY2OWI0Y2Q5ODQ1YWY5MTg1YzAxYTA3MTJkM2RhOTJlMTUy
|
10
|
+
OWQzOGNmMjMxZGQ0ZjZiNjYyMzk5MDNmZDliMzYwZWYwNWQ5MjNmMWFhMDhm
|
11
|
+
NDQ2MDY3ZDcxYTY2NDJiZjkyYjdlYmQyODY5MDhiZGJlMDJiNTM=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MGU4MzE0M2I5NTMzOGVhMGE3MDY3NDg0YTZjZjdkNmMwOTEyNWNmNjIwMzEx
|
14
|
+
ODRhMzdiYjA2MmE3MWY1MDQ3YmM0NTMyNmUyZDc5MDhmYWE2MjE3YjQxYzE5
|
15
|
+
MGE5Y2I4ZWVhZTMxZGU5ZjI5ZjEwODg3OGY5YzdmZGQ3M2E0Yjg=
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
juju (0.0.
|
4
|
+
juju (0.0.7)
|
5
5
|
htmlentities
|
6
6
|
rest-client
|
7
7
|
|
@@ -9,7 +9,7 @@ GEM
|
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
11
|
htmlentities (4.3.1)
|
12
|
-
mime-types (1.
|
12
|
+
mime-types (1.25)
|
13
13
|
rake (10.1.0)
|
14
14
|
rest-client (1.6.7)
|
15
15
|
mime-types (>= 1.16)
|
data/lib/juju/version.rb
CHANGED
data/lib/juju.rb
CHANGED
@@ -35,6 +35,7 @@ protected
|
|
35
35
|
rescue => ex
|
36
36
|
logger = Logger.new("log/juju.log")
|
37
37
|
logger.info ("#{Time.now.strftime("%m/%d/%Y at %I:%M%p")} #{ex.message} \nParsed data from Juju: \n#{from_xml.inspect}")
|
38
|
+
JujuResult.new([])
|
38
39
|
end
|
39
40
|
|
40
41
|
def remove_spaces_and_tags(jobs)
|
@@ -59,7 +60,7 @@ class JujuError < StandardError; end
|
|
59
60
|
class JujuResult < Array
|
60
61
|
attr_accessor :total, :start_index, :per_page
|
61
62
|
|
62
|
-
def initialize(jobs_array, total, start_index, per_page)
|
63
|
+
def initialize(jobs_array, total = nil, start_index = nil, per_page = nil)
|
63
64
|
super(jobs_array)
|
64
65
|
self.total = total.to_i
|
65
66
|
self.start_index = start_index.to_i
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: juju
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Elena Burachevskaya
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-10-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|