WTBuildHelpers 0.2.4 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.gitignore +1 -0
- data/WTBuildHelpers.gemspec +2 -2
- data/lib/WTBuildHelpers/version.rb +1 -1
- data/lib/teamcity.rb +2 -2
- metadata +7 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 1185b649b7cb34dfa8871512411177160701104b8a551a04a5601c735879c561
|
4
|
+
data.tar.gz: 5a0237a5866ed5448d9e2113f36fbeafd2dd2545edd036ec38bb4608eebc033b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8dc341bd3710fcef68801997478975c1b8cff3c5013bf07dc5f3d71f7f633a4628d1e30ec51f277cdeb8243d6f716b671b6469dcbbbfa47eb5e8c9b023867d12
|
7
|
+
data.tar.gz: 50d615a3ccdf78494d15c722080633e68e25e4fa8acad9c8a3d6fbc1079f1f4d7426c43265779061fe908d6d21a3a146f004cab6caa5ec36b7e523bba15ff7c4
|
data/.gitignore
CHANGED
data/WTBuildHelpers.gemspec
CHANGED
@@ -17,8 +17,8 @@ Gem::Specification.new do |spec|
|
|
17
17
|
spec.require_paths = ["lib"]
|
18
18
|
|
19
19
|
spec.add_runtime_dependency 'OptionParser', '~> 0.5.1'
|
20
|
-
spec.add_runtime_dependency 'rest-client', '~>
|
20
|
+
spec.add_runtime_dependency 'rest-client', '~> 2.0'
|
21
21
|
|
22
|
-
spec.add_development_dependency "bundler", "~> 1.
|
22
|
+
spec.add_development_dependency "bundler", "~> 2.1.2"
|
23
23
|
spec.add_development_dependency "rake", "~> 10.0"
|
24
24
|
end
|
data/lib/teamcity.rb
CHANGED
@@ -23,7 +23,8 @@ module WTBuildHelpers::TeamCity
|
|
23
23
|
|
24
24
|
opts.on("-s", "--url URL", "Specify the URL for TeamCity") do |url|
|
25
25
|
url.slice!("http://")
|
26
|
-
url.
|
26
|
+
url.slice!("https://")
|
27
|
+
url.insert(0, "https://")
|
27
28
|
args.url = url
|
28
29
|
end
|
29
30
|
|
@@ -82,7 +83,6 @@ module WTBuildHelpers::TeamCity
|
|
82
83
|
escaped_branch = URI.escape(branch)
|
83
84
|
|
84
85
|
full_url = "#{options.url}/app/rest/buildTypes/id:#{options.build_type_id}/builds/?locator=status:SUCCESS,branch:name:#{escaped_branch}"
|
85
|
-
|
86
86
|
response = RestClient.get(full_url, headers=headers)
|
87
87
|
json_response = JSON.parse(response.body)
|
88
88
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: WTBuildHelpers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- WillowTreeApps
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-02-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: OptionParser
|
@@ -30,28 +30,28 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: '2.0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: '2.0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: 2.1.2
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
54
|
+
version: 2.1.2
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rake
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -108,8 +108,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
108
108
|
- !ruby/object:Gem::Version
|
109
109
|
version: '0'
|
110
110
|
requirements: []
|
111
|
-
|
112
|
-
rubygems_version: 2.0.14.1
|
111
|
+
rubygems_version: 3.0.3
|
113
112
|
signing_key:
|
114
113
|
specification_version: 4
|
115
114
|
summary: Helpers for performing common WillowTree build tasks and integrations
|