jenkins-builder 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b745c7d55f5fb2257c81035e59a6c92fd10cbb608b2e273bf5f155de4ffca550
4
- data.tar.gz: 69aae1ed249d03a1ea767258746d76df5f8b7c4b0ef2daf31254603732eead11
3
+ metadata.gz: b4d6b880d68ab2944b3b897fc2e0a4211abaf0649ebb81184f33891ed96f6af3
4
+ data.tar.gz: 62622ae525c0c80d90e9385c5748126a5764e64a8ee93e6ea3ab7c05bb895b03
5
5
  SHA512:
6
- metadata.gz: 04e55dfc6976959a3970c53098b7b24744023bd335ecf69cd7d5740a7ea3583e4eae02926950d2f83ebe2236cee701b27d83dc7e263522b9ef6af556f4cfb9a9
7
- data.tar.gz: ed860533a48ceb4d54a0f226a143e76094240e1b4c658c5a285ef6854c5e571f09fb7b976a99d9a7c415171a144b2b1e259d57eb7e02490a21ab9a57094135f2
6
+ metadata.gz: 6b9a70fb62f8d6ad0c27b337af6a0a878506851be9a2206efc32c247ca57b2e97b9e7f8f21a9c5e0c95182c005dab522301aab5f1975e151f163d122d2703fa6
7
+ data.tar.gz: 240e6787b99afeb2b8f2d29dd47508a5bd791d23c0273a85230198aaeb3fb6b8dbaaa7d3e7fe2d59836eb5a3c8456d5153ad155294fb73d6fa028a786340c4a1
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- jenkins-builder (0.1.6)
4
+ jenkins-builder (0.2.1)
5
5
  jenkins_api_client (~> 1.5.3)
6
6
  pastel (~> 0.7.2)
7
7
  security (~> 0.1.3)
@@ -22,11 +22,11 @@ GEM
22
22
  socksify (>= 1.7.0)
23
23
  terminal-table (>= 1.4.0)
24
24
  thor (>= 0.16.0)
25
- json (2.1.0)
25
+ json (2.3.0)
26
26
  method_source (0.9.1)
27
27
  mini_portile2 (2.4.0)
28
28
  mixlib-shellout (2.4.0)
29
- nokogiri (1.10.3)
29
+ nokogiri (1.10.4)
30
30
  mini_portile2 (~> 2.4.0)
31
31
  pastel (0.7.2)
32
32
  equatable (~> 0.5.0)
@@ -70,7 +70,7 @@ PLATFORMS
70
70
  ruby
71
71
 
72
72
  DEPENDENCIES
73
- bundler (~> 1.16)
73
+ bundler (~> 2.1.2)
74
74
  jenkins-builder!
75
75
  pry (~> 0.11.3)
76
76
  pry-byebug (~> 3.6.0)
@@ -79,4 +79,4 @@ DEPENDENCIES
79
79
  rspec (~> 3.0)
80
80
 
81
81
  BUNDLED WITH
82
- 1.17.2
82
+ 2.1.2
@@ -36,7 +36,7 @@ Gem::Specification.new do |spec|
36
36
  spec.add_dependency 'pastel', '~> 0.7.2'
37
37
  spec.add_dependency 'tty-spinner', '~> 0.8.0'
38
38
 
39
- spec.add_development_dependency "bundler", "~> 1.16"
39
+ spec.add_development_dependency "bundler", "~> 2.1.2"
40
40
  spec.add_development_dependency "rake", "~> 10.0"
41
41
  spec.add_development_dependency "rspec", "~> 3.0"
42
42
  spec.add_development_dependency "pry", "~> 0.11.3"
@@ -5,6 +5,24 @@ require 'jenkins_api_client'
5
5
  require 'pastel'
6
6
  require 'tty-spinner'
7
7
  require 'time'
8
+ require 'cgi'
9
+
10
+
11
+ module JenkinsApi
12
+ module UriHelper
13
+ # Encode a string for using in the query part of an URL
14
+ #
15
+ def form_encode(string)
16
+ URI.encode_www_form_component string.encode(Encoding::UTF_8)
17
+ end
18
+
19
+ # Encode a string for use in the hiearchical part of an URL
20
+ #
21
+ def path_encode(path)
22
+ CGI.escape(path.encode(Encoding::UTF_8))
23
+ end
24
+ end
25
+ end
8
26
 
9
27
  $is_mac = `uname`.chomp == 'Darwin'
10
28
 
@@ -1,5 +1,5 @@
1
1
  module Jenkins
2
2
  module Builder
3
- VERSION = "0.2.0"
3
+ VERSION = "0.2.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jenkins-builder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Liu Xiang
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-06-13 00:00:00.000000000 Z
11
+ date: 2020-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -86,14 +86,14 @@ dependencies:
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '1.16'
89
+ version: 2.1.2
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '1.16'
96
+ version: 2.1.2
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: rake
99
99
  requirement: !ruby/object:Gem::Requirement
@@ -211,7 +211,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
211
211
  - !ruby/object:Gem::Version
212
212
  version: '0'
213
213
  requirements: []
214
- rubygems_version: 3.0.3
214
+ rubygems_version: 3.1.2
215
215
  signing_key:
216
216
  specification_version: 4
217
217
  summary: Build Jenkins Jobs