jenkins_api_client 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +0 -1
- data/CHANGELOG.md +4 -0
- data/LICENCE +1 -1
- data/README.md +1 -1
- data/lib/jenkins_api_client/build_queue.rb +1 -1
- data/lib/jenkins_api_client/cli/base.rb +1 -1
- data/lib/jenkins_api_client/cli/helper.rb +1 -1
- data/lib/jenkins_api_client/cli/job.rb +1 -1
- data/lib/jenkins_api_client/cli/node.rb +1 -1
- data/lib/jenkins_api_client/cli/system.rb +1 -1
- data/lib/jenkins_api_client/client.rb +1 -1
- data/lib/jenkins_api_client/exceptions.rb +1 -1
- data/lib/jenkins_api_client/job.rb +25 -17
- data/lib/jenkins_api_client/node.rb +1 -1
- data/lib/jenkins_api_client/system.rb +1 -1
- data/lib/jenkins_api_client/version.rb +2 -2
- data/lib/jenkins_api_client/view.rb +1 -1
- metadata +2 -2
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
data/LICENCE
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
The MIT License
|
2
2
|
|
3
|
-
Copyright (c) 2012 Kannan Manickam <arangamani.kannan@gmail.com>
|
3
|
+
Copyright (c) 2012-2013 Kannan Manickam <arangamani.kannan@gmail.com>
|
4
4
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
data/README.md
CHANGED
@@ -4,7 +4,7 @@ Jenkins API Client
|
|
4
4
|
[![Dependency Status](https://gemnasium.com/arangamani/jenkins_api_client.png)](https://gemnasium.com/arangamani/jenkins_api_client)
|
5
5
|
[![Code Climate](https://codeclimate.com/badge.png)](https://codeclimate.com/github/arangamani/jenkins_api_client)
|
6
6
|
|
7
|
-
Copyright © 2012, Kannan Manickam [![endorse](http://api.coderwall.com/arangamani/endorsecount.png)](http://coderwall.com/arangamani)
|
7
|
+
Copyright © 2012-2013, Kannan Manickam [![endorse](http://api.coderwall.com/arangamani/endorsecount.png)](http://coderwall.com/arangamani)
|
8
8
|
|
9
9
|
Client libraries for communicating with a Jenkins CI server and programatically managing jobs.
|
10
10
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright (c) 2013 Kannan Manickam <arangamani.kannan@gmail.com>
|
2
|
+
# Copyright (c) 2012-2013 Kannan Manickam <arangamani.kannan@gmail.com>
|
3
3
|
#
|
4
4
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
5
5
|
# of this software and associated documentation files (the "Software"), to deal
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright (c) 2012 Kannan Manickam <arangamani.kannan@gmail.com>
|
2
|
+
# Copyright (c) 2012-2013 Kannan Manickam <arangamani.kannan@gmail.com>
|
3
3
|
#
|
4
4
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
5
5
|
# of this software and associated documentation files (the "Software"), to deal
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright (c) 2012 Kannan Manickam <arangamani.kannan@gmail.com>
|
2
|
+
# Copyright (c) 2012-2013 Kannan Manickam <arangamani.kannan@gmail.com>
|
3
3
|
#
|
4
4
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
5
5
|
# of this software and associated documentation files (the "Software"), to deal
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright (c) 2012 Kannan Manickam <arangamani.kannan@gmail.com>
|
2
|
+
# Copyright (c) 2012-2013 Kannan Manickam <arangamani.kannan@gmail.com>
|
3
3
|
#
|
4
4
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
5
5
|
# of this software and associated documentation files (the "Software"), to deal
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright (c) 2012 Kannan Manickam <arangamani.kannan@gmail.com>
|
2
|
+
# Copyright (c) 2012-2013 Kannan Manickam <arangamani.kannan@gmail.com>
|
3
3
|
#
|
4
4
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
5
5
|
# of this software and associated documentation files (the "Software"), to deal
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright (c) 2012 Kannan Manickam <arangamani.kannan@gmail.com>
|
2
|
+
# Copyright (c) 2012-2013 Kannan Manickam <arangamani.kannan@gmail.com>
|
3
3
|
#
|
4
4
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
5
5
|
# of this software and associated documentation files (the "Software"), to deal
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright (c) 2012 Kannan Manickam <arangamani.kannan@gmail.com>
|
2
|
+
# Copyright (c) 2012-2013 Kannan Manickam <arangamani.kannan@gmail.com>
|
3
3
|
#
|
4
4
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
5
5
|
# of this software and associated documentation files (the "Software"), to deal
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright (c) 2012 Kannan Manickam <arangamani.kannan@gmail.com>
|
2
|
+
# Copyright (c) 2012-2013 Kannan Manickam <arangamani.kannan@gmail.com>
|
3
3
|
#
|
4
4
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
5
5
|
# of this software and associated documentation files (the "Software"), to deal
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright (c) 2012 Kannan Manickam <arangamani.kannan@gmail.com>
|
2
|
+
# Copyright (c) 2012-2013 Kannan Manickam <arangamani.kannan@gmail.com>
|
3
3
|
#
|
4
4
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
5
5
|
# of this software and associated documentation files (the "Software"), to deal
|
@@ -656,26 +656,34 @@ module JenkinsApi
|
|
656
656
|
param_hash[:type] = 'file'
|
657
657
|
param.children.each do |value|
|
658
658
|
param_hash[:name] = value.content if value.name == "name"
|
659
|
-
|
660
|
-
|
659
|
+
if value.name == "description"
|
660
|
+
param_hash[:description] = value.content
|
661
|
+
end
|
661
662
|
end
|
662
663
|
when "hudson.scm.listtagsparameter.ListSubversionTagsParameterDefinition"
|
663
664
|
param_hash[:type] = 'list_tags'
|
664
665
|
param.children.each do |value|
|
665
|
-
|
666
|
-
|
667
|
-
|
668
|
-
|
669
|
-
|
670
|
-
|
671
|
-
|
672
|
-
|
673
|
-
|
674
|
-
|
675
|
-
|
676
|
-
|
677
|
-
|
678
|
-
|
666
|
+
if value.name == "name"
|
667
|
+
param_hash[:name] = value.content
|
668
|
+
end
|
669
|
+
if value.name == "description"
|
670
|
+
param_hash[:description] = value.content
|
671
|
+
end
|
672
|
+
if value.name == "tagsDir"
|
673
|
+
param_hash[:tags_dir] = value.content
|
674
|
+
end
|
675
|
+
if value.name == "tagsFilter"
|
676
|
+
param_hash[:tags_filter] = value.content
|
677
|
+
end
|
678
|
+
if value.name == "reverseByDate"
|
679
|
+
param_hash[:reverse_by_date] = value.content
|
680
|
+
end
|
681
|
+
if value.name == "reverseByName"
|
682
|
+
param_hash[:reverse_by_name] = value.content
|
683
|
+
end
|
684
|
+
if value.name == "defaultValue"
|
685
|
+
param_hash[:default] = value.content
|
686
|
+
end
|
679
687
|
param_hash[:max_tags] = value.content if value.name == "maxTags"
|
680
688
|
param_hash[:uuid] = value.content if value.name == "uuid"
|
681
689
|
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright (c) 2012 Kannan Manickam <arangamani.kannan@gmail.com>
|
2
|
+
# Copyright (c) 2012-2013 Kannan Manickam <arangamani.kannan@gmail.com>
|
3
3
|
#
|
4
4
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
5
5
|
# of this software and associated documentation files (the "Software"), to deal
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright (c) 2012 Kannan Manickam <arangamani.kannan@gmail.com>
|
2
|
+
# Copyright (c) 2012-2013 Kannan Manickam <arangamani.kannan@gmail.com>
|
3
3
|
#
|
4
4
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
5
5
|
# of this software and associated documentation files (the "Software"), to deal
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright (c) 2012 Kannan Manickam <arangamani.kannan@gmail.com>
|
2
|
+
# Copyright (c) 2012-2013 Kannan Manickam <arangamani.kannan@gmail.com>
|
3
3
|
#
|
4
4
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
5
5
|
# of this software and associated documentation files (the "Software"), to deal
|
@@ -24,7 +24,7 @@ module JenkinsApi
|
|
24
24
|
class Client
|
25
25
|
MAJOR = 0
|
26
26
|
MINOR = 7
|
27
|
-
TINY =
|
27
|
+
TINY = 1
|
28
28
|
PRE = nil
|
29
29
|
VERSION = [MAJOR, MINOR, TINY, PRE].compact.join('.')
|
30
30
|
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright (c) 2012 Kannan Manickam <arangamani.kannan@gmail.com>
|
2
|
+
# Copyright (c) 2012-2013 Kannan Manickam <arangamani.kannan@gmail.com>
|
3
3
|
#
|
4
4
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
5
5
|
# of this software and associated documentation files (the "Software"), to deal
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jenkins_api_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-01-
|
12
|
+
date: 2013-01-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: nokogiri
|