ci_toolkit 1.6.2 → 1.6.3

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
2
  SHA256:
3
- metadata.gz: fcff525b13f81bed444cb020bd0b41da763c049a3fc701ab69667b95667c45f1
4
- data.tar.gz: 7838f0ab23174aef2eacf27438fa01359a35d0a39742d734372a25b18af239ad
3
+ metadata.gz: 160688a62bc8bfc33855fbdff7cdad68442b2f889d2b61ff097072db98c65e6c
4
+ data.tar.gz: a67225ba9ad09394dabe6f5069dfe080bde1a3765c71b1694f1197a32cc1b613
5
5
  SHA512:
6
- metadata.gz: 777b3ed09754c520fc539b29021f50f6b814b56a4cb2aee5d1cc4169b1840159aca5d16d6091677497dec6b7528c7ae1feb72cc1f306b6a43113513d27f63a7d
7
- data.tar.gz: 9db6afb245cd1f70fbb8fbef7b35d1198b0b5937ea70c7c8e78962d9001022443d787f5cd8a7227b1e9ea318729d720fd914b64cc1f30389ce834fbf5af4c45e
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.2)
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
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "ci_toolkit"
5
- spec.version = "1.6.2"
5
+ spec.version = "1.6.3"
6
6
  spec.authors = ["Gero Keller"]
7
7
  spec.email = ["gero.f.keller@gmail.com"]
8
8
 
@@ -0,0 +1,8 @@
1
+ version: '3'
2
+ services:
3
+ app:
4
+ build:
5
+ context: .
6
+ dockerfile: ./.devcontainer/Dockerfile
7
+ volumes:
8
+ - .:/opt/ci_toolkit
@@ -3,10 +3,12 @@
3
3
  require "gitlab"
4
4
 
5
5
  module CiToolkit
6
- # Utility class that provides an faraday connection
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.2
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-13 00:00:00.000000000 Z
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