autojenkins 0.1 → 0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/autojenkins.rb +1 -1
  2. metadata +4 -3
@@ -283,7 +283,7 @@ module AutoJenkins
283
283
  def all_jobs()
284
284
  ob_jobs = []
285
285
  jobs = Helpers._get_request(@jurl, 'LIST', [], @auth)
286
-
286
+ jobs = JSON::parse(jobs)
287
287
  jobs['jobs'].each do |j|
288
288
  ob_jobs << Job.new(j['name'], @jurl, @auth)
289
289
  end
metadata CHANGED
@@ -1,15 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: autojenkins
3
3
  version: !ruby/object:Gem::Version
4
- hash: 9
4
+ hash: 15
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
- - 1
9
- version: "0.1"
8
+ - 2
9
+ version: "0.2"
10
10
  platform: ruby
11
11
  authors:
12
12
  - Jesus Rivero
13
+ - Wayne Folkes
13
14
  autorequire:
14
15
  bindir: bin
15
16
  cert_chain: []