ruby_ci 0.1.3 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -4
- data/lib/ruby_ci/configuration.rb +3 -3
- data/lib/ruby_ci/version.rb +1 -1
- data/lib/ruby_ci.rb +1 -1
- data/ruby_ci.gemspec +1 -1
- metadata +11 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '08df68ec0f6719aa07d3505b7471a7e95caea8d5be3e120b08e11f53a148aee6'
|
4
|
+
data.tar.gz: 0217ed880ef0117d6bce4af23d77482f29113d4847c2101cce7144a7da458bbd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cb15a2b5a52cb7f961d4602aac9eb4283301fec44badf1d218bc0b5c180dbb1f8644e1e585cf016fd0173defbebe8cdf829818ec21e0a8040e24f63eb6d78069
|
7
|
+
data.tar.gz: f28fd122467ac0803965cc2eec1e8227ffb41175d9366f9f596c61f247918843257277dfe351af06c32b91bead9d4ae32114680ffa2e00cbec663c846d2c7fdd
|
data/Gemfile.lock
CHANGED
@@ -11,8 +11,8 @@ GIT
|
|
11
11
|
PATH
|
12
12
|
remote: .
|
13
13
|
specs:
|
14
|
-
ruby_ci (0.1.
|
15
|
-
async-websocket
|
14
|
+
ruby_ci (0.1.1)
|
15
|
+
async-websocket
|
16
16
|
|
17
17
|
GEM
|
18
18
|
remote: https://rubygems.org/
|
@@ -89,7 +89,6 @@ GEM
|
|
89
89
|
unicode-display_width (2.1.0)
|
90
90
|
|
91
91
|
PLATFORMS
|
92
|
-
arm64-darwin-21
|
93
92
|
x86_64-linux
|
94
93
|
|
95
94
|
DEPENDENCIES
|
@@ -101,4 +100,4 @@ DEPENDENCIES
|
|
101
100
|
ruby_ci!
|
102
101
|
|
103
102
|
BUNDLED WITH
|
104
|
-
2.2.
|
103
|
+
2.2.26
|
@@ -35,21 +35,21 @@ module RubyCI
|
|
35
35
|
end
|
36
36
|
|
37
37
|
def guess_build_id
|
38
|
-
%w[GITHUB_RUN_ID BUILD_ID CIRCLE_BUILD_NUM].find do |keyword|
|
38
|
+
%w[RBCI_BUILD_ID GITHUB_RUN_ID BUILD_ID CIRCLE_BUILD_NUM].find do |keyword|
|
39
39
|
key = ENV.keys.find { |k| k[keyword] }
|
40
40
|
break ENV[key] if key && ENV[key]
|
41
41
|
end || guess_commit
|
42
42
|
end
|
43
43
|
|
44
44
|
def guess_commit
|
45
|
-
%w[_COMMIT _SHA1 _SHA].find do |keyword|
|
45
|
+
%w[RBCI_COMMIT _COMMIT _SHA1 _SHA].find do |keyword|
|
46
46
|
key = ENV.keys.find { |k| k[keyword] }
|
47
47
|
break ENV[key] if key && ENV[key]
|
48
48
|
end || `git rev-parse --short HEAD`.chomp
|
49
49
|
end
|
50
50
|
|
51
51
|
def guess_branch
|
52
|
-
%w[_BRANCH _REF].find do |keyword|
|
52
|
+
%w[RBCI_BRANCH _BRANCH _REF].find do |keyword|
|
53
53
|
key = ENV.keys.find { |k| k[keyword] }
|
54
54
|
break ENV[key] if key && ENV[key]
|
55
55
|
end || `git rev-parse --abbrev-ref HEAD`.chomp
|
data/lib/ruby_ci/version.rb
CHANGED
data/lib/ruby_ci.rb
CHANGED
@@ -162,7 +162,7 @@ module RubyCI
|
|
162
162
|
author: RubyCI.configuration.author.to_json
|
163
163
|
})
|
164
164
|
|
165
|
-
url = "
|
165
|
+
url = "wss://#{RubyCI.configuration.api_url}/test_orchestrators/socket/websocket?#{params}"
|
166
166
|
|
167
167
|
Async::HTTP::Endpoint.parse(url)
|
168
168
|
end
|
data/ruby_ci.gemspec
CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
10
10
|
|
11
11
|
spec.summary = "Ruby wrapper for creating RubyCI integrations"
|
12
12
|
spec.description = "Ruby wrapper for creating RubyCI integrations"
|
13
|
-
spec.homepage = "https://github.com/
|
13
|
+
spec.homepage = "https://github.com/RubyCI/ruby_ci_gem"
|
14
14
|
spec.license = "MIT"
|
15
15
|
spec.required_ruby_version = ">= 2.4.0"
|
16
16
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby_ci
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ale ∴
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-10-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: async-websocket
|
@@ -62,14 +62,14 @@ files:
|
|
62
62
|
- lib/ruby_ci/exceptions.rb
|
63
63
|
- lib/ruby_ci/version.rb
|
64
64
|
- ruby_ci.gemspec
|
65
|
-
homepage: https://github.com/
|
65
|
+
homepage: https://github.com/RubyCI/ruby_ci_gem
|
66
66
|
licenses:
|
67
67
|
- MIT
|
68
68
|
metadata:
|
69
|
-
homepage_uri: https://github.com/
|
70
|
-
source_code_uri: https://github.com/
|
71
|
-
changelog_uri: https://github.com/
|
72
|
-
post_install_message:
|
69
|
+
homepage_uri: https://github.com/RubyCI/ruby_ci_gem
|
70
|
+
source_code_uri: https://github.com/RubyCI/ruby_ci_gem
|
71
|
+
changelog_uri: https://github.com/RubyCI/ruby_ci_gem
|
72
|
+
post_install_message:
|
73
73
|
rdoc_options: []
|
74
74
|
require_paths:
|
75
75
|
- lib
|
@@ -84,8 +84,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
84
84
|
- !ruby/object:Gem::Version
|
85
85
|
version: '0'
|
86
86
|
requirements: []
|
87
|
-
|
88
|
-
|
87
|
+
rubyforge_project:
|
88
|
+
rubygems_version: 2.7.7
|
89
|
+
signing_key:
|
89
90
|
specification_version: 4
|
90
91
|
summary: Ruby wrapper for creating RubyCI integrations
|
91
92
|
test_files: []
|