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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: f4cb2d1b4ccc6ea6717cf0e2e00ad2c71da93fa6
4
- data.tar.gz: 5a8f9e8efc904d320f4a82ad01997cb7bcacf9e4
2
+ SHA256:
3
+ metadata.gz: 1185b649b7cb34dfa8871512411177160701104b8a551a04a5601c735879c561
4
+ data.tar.gz: 5a0237a5866ed5448d9e2113f36fbeafd2dd2545edd036ec38bb4608eebc033b
5
5
  SHA512:
6
- metadata.gz: c3ccced0bb074d3097ce5afbd86fc4c5576d12d4b410be3ac33418d76008ce89704075148ebcfedd523d9cdc96d1865bf08eddf75e01a5f8f5a64ba98cbf4a12
7
- data.tar.gz: e944cac46b9fd0ec8160575abfcd013aa0572f011978c3129bf0b983d3393b4289614de73f4017478d7d87cd76375c1d4a5a8c2d072123e660a84d85051aafcf
6
+ metadata.gz: 8dc341bd3710fcef68801997478975c1b8cff3c5013bf07dc5f3d71f7f633a4628d1e30ec51f277cdeb8243d6f716b671b6469dcbbbfa47eb5e8c9b023867d12
7
+ data.tar.gz: 50d615a3ccdf78494d15c722080633e68e25e4fa8acad9c8a3d6fbc1079f1f4d7426c43265779061fe908d6d21a3a146f004cab6caa5ec36b7e523bba15ff7c4
data/.gitignore CHANGED
@@ -8,3 +8,4 @@
8
8
  /spec/reports/
9
9
  /tmp/
10
10
  .vscode
11
+ .ruby-version
@@ -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', '~> 1.8.0'
20
+ spec.add_runtime_dependency 'rest-client', '~> 2.0'
21
21
 
22
- spec.add_development_dependency "bundler", "~> 1.9"
22
+ spec.add_development_dependency "bundler", "~> 2.1.2"
23
23
  spec.add_development_dependency "rake", "~> 10.0"
24
24
  end
@@ -1,3 +1,3 @@
1
1
  module WTBuildHelpers
2
- VERSION = "0.2.4"
2
+ VERSION = "0.3.0"
3
3
  end
@@ -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.insert(0, "http://")
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.2.4
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: 2016-12-06 00:00:00.000000000 Z
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: 1.8.0
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: 1.8.0
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: '1.9'
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: '1.9'
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
- rubyforge_project:
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