ci_toolkit 1.6.2 → 1.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -1
- data/README.md +7 -0
- data/RELEASING.md +7 -0
- data/ci_toolkit.gemspec +1 -1
- data/docker-compose.yml +8 -0
- data/lib/ci_toolkit/seetest_bot.rb +5 -1
- metadata +4 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 160688a62bc8bfc33855fbdff7cdad68442b2f889d2b61ff097072db98c65e6c
|
|
4
|
+
data.tar.gz: a67225ba9ad09394dabe6f5069dfe080bde1a3765c71b1694f1197a32cc1b613
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: aa002219f7cbaf57a8677e567ef16651037a86fd7cdc127e979bcb70d625940b586ceff489f92f37655014d7b7d565c25901bd85ae5b048da2f53bd68771efee
|
|
7
|
+
data.tar.gz: 8fc239ad0866169020e73e5b396d6fb51a9e8aa257a9b75b8727b91292041e606cc74dc80df1432e7dc90953b83be2ecf03ef3fbe57e701ca52167133640e29a
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
ci_toolkit (1.6.
|
|
4
|
+
ci_toolkit (1.6.3)
|
|
5
5
|
faraday
|
|
6
6
|
faraday-multipart
|
|
7
7
|
faraday_middleware
|
|
@@ -124,6 +124,7 @@ GEM
|
|
|
124
124
|
unicode-display_width (2.4.2)
|
|
125
125
|
|
|
126
126
|
PLATFORMS
|
|
127
|
+
aarch64-linux
|
|
127
128
|
universal-darwin-20
|
|
128
129
|
x86_64-darwin-21
|
|
129
130
|
x86_64-darwin-22
|
data/README.md
CHANGED
|
@@ -23,6 +23,13 @@ After checking out the repo, run `bin/setup` to install dependencies. Then, run
|
|
|
23
23
|
|
|
24
24
|
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version in `ci_toolkit.gemspec`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
|
25
25
|
|
|
26
|
+
## Docker Install
|
|
27
|
+
If you've docker already [installed](https://docs.docker.com/docker-for-mac/install/) you can build and run the image to get started.
|
|
28
|
+
|
|
29
|
+
```shell
|
|
30
|
+
docker-compose run app sh
|
|
31
|
+
```
|
|
32
|
+
|
|
26
33
|
## Contributing
|
|
27
34
|
|
|
28
35
|
Bug reports and pull requests are welcome on GitHub at https://github.com/crvshlab/ci_toolkit. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/[USERNAME]/ci_toolkit/blob/master/CODE_OF_CONDUCT.md).
|
data/RELEASING.md
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
### How to make a release
|
|
2
|
+
|
|
3
|
+
- Bump the version number in `Gemfile.lock` to the new version.
|
|
4
|
+
- Bump the version number in `ci_toolkit.gemspec` to the new version.
|
|
5
|
+
- `git commit -am "Version X.Y.Z."` (where X.Y.Z is the new version).
|
|
6
|
+
- `git tag -a X.Y.X -m "Version X.Y.Z"` (where X.Y.Z is the new version).
|
|
7
|
+
- `git push && git push --tags`.
|
data/ci_toolkit.gemspec
CHANGED
data/docker-compose.yml
ADDED
|
@@ -3,10 +3,12 @@
|
|
|
3
3
|
require "gitlab"
|
|
4
4
|
|
|
5
5
|
module CiToolkit
|
|
6
|
-
# Utility class that provides
|
|
6
|
+
# Utility class that provides a faraday connection
|
|
7
7
|
class SeeTestBot
|
|
8
8
|
attr_reader :faraday_conn
|
|
9
9
|
|
|
10
|
+
TIMEOUT = 60
|
|
11
|
+
|
|
10
12
|
# Provides a base url, an endpoint and an access token that can be used to
|
|
11
13
|
# interact with the SeeTest web service
|
|
12
14
|
class Credentials
|
|
@@ -24,6 +26,8 @@ module CiToolkit
|
|
|
24
26
|
def initialize(
|
|
25
27
|
credentials = CiToolkit::SeeTestBot::Credentials.new,
|
|
26
28
|
faraday_conn = Faraday.new(url: credentials.base_url) do |f|
|
|
29
|
+
f.options.timeout = TIMEOUT
|
|
30
|
+
f.options.open_timeout = TIMEOUT
|
|
27
31
|
f.request :authorization, "Bearer", credentials.access_token
|
|
28
32
|
f.request :multipart
|
|
29
33
|
f.request :url_encoded
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ci_toolkit
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.6.
|
|
4
|
+
version: 1.6.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Gero Keller
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-10-
|
|
11
|
+
date: 2023-10-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|
|
@@ -226,10 +226,12 @@ files:
|
|
|
226
226
|
- Gemfile.lock
|
|
227
227
|
- LICENSE.txt
|
|
228
228
|
- README.md
|
|
229
|
+
- RELEASING.md
|
|
229
230
|
- Rakefile
|
|
230
231
|
- bin/console
|
|
231
232
|
- bin/setup
|
|
232
233
|
- ci_toolkit.gemspec
|
|
234
|
+
- docker-compose.yml
|
|
233
235
|
- duplicate_files_whitelist.txt
|
|
234
236
|
- lib/ci_toolkit.rb
|
|
235
237
|
- lib/ci_toolkit/bitrise_client.rb
|