File tree 3 files changed +9
-6
lines changed
3 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 1
1
language : ruby
2
2
3
3
rvm :
4
- - 2.2.9
5
- - 2.3.6
6
- - 2.4.3
7
- - 2.5.0
4
+ - 2.2.10
5
+ - 2.3.8
6
+ - 2.4.10
7
+ - 2.5.8
8
+ - 2.6.6
9
+ - 2.7.1
8
10
9
11
script :
10
12
- bundle exec rake unit_tests
Original file line number Diff line number Diff line change @@ -26,5 +26,5 @@ Gem::Specification.new do |s|
26
26
s . add_dependency 'mixlib-shellout' , '>= 1.1.0'
27
27
s . add_dependency 'socksify' , '>= 1.7.0'
28
28
s . add_dependency 'json' , '>= 1.0'
29
+ s . add_dependency 'addressable' , '~> 2.7'
29
30
end
30
-
Original file line number Diff line number Diff line change 1
1
require 'uri'
2
+ require 'addressable/uri'
2
3
3
4
module JenkinsApi
4
5
module UriHelper
@@ -11,7 +12,7 @@ def form_encode(string)
11
12
# Encode a string for use in the hiearchical part of an URL
12
13
#
13
14
def path_encode ( path )
14
- URI . escape ( path . encode ( Encoding ::UTF_8 ) )
15
+ Addressable :: URI . escape ( path . encode ( Encoding ::UTF_8 ) )
15
16
end
16
17
end
17
18
end
You can’t perform that action at this time.
0 commit comments