rodbot 0.5.0 → 0.5.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0ef0e8aac1acb78dff6f468e08dcb92661ae7c4a4c95e98e40f19588a423939d
4
- data.tar.gz: 6c16909cb0ce8808379483c45a88f932573740c43ecf569fc52e45a23230a9a7
3
+ metadata.gz: 883883a0d95d9dc41412e2636cfede0bedadd630d9c9232decd768b1c3933bc3
4
+ data.tar.gz: e0d90a3b06859e87fcc7a2dccb4b78fcf5c1a8e1470aee17731b7bd7a2f561a0
5
5
  SHA512:
6
- metadata.gz: 91b12ad2a3a2bbda920c4f7de33481c990e686302a86de5c9e9366bee11d416550690afafcb1586f38ec9831dbfdca743801280c956617693f25746300557fae
7
- data.tar.gz: 57a5d280e4e536d36ca2d044ecd17a9aba62b53cc10d3466904697916c55bc06dc0faafb572c4e4c3e4c065868f7d440c3966f0d67ca0287f34a75f5a49eeaba
6
+ metadata.gz: d69fdeda20197fb0c5f091f384b26a9f4a8283939b8af611e34cc1e83f38d17d50c8d1efaa9ae2bcb88b061083df9114fb4c0e82da95ef249a4fe5c902d29c0c
7
+ data.tar.gz: 52a669af8d03f200585427089f0c847a766697d737b170004578f057d355774b4a0b449a6b33f60f3a9f0969a1763814136d9b60d8c805693906d0ba0d4148a0
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  Nothing so far
4
4
 
5
+ ## 0.5.1
6
+
7
+ #### Changes
8
+ * Update Docker compose templates
9
+
5
10
  ## 0.5.0
6
11
 
7
12
  #### Changes
@@ -0,0 +1 @@
1
+ 5d04ade42f2916886c641342f92d510920badafb0090c0c9fbb4134472aa69b7fddc9e0dae62d0dc88dbaabe9890ea0fe62c841ff16e4e48c99572fc72e33496
@@ -47,7 +47,7 @@ You can change how the plugin reacts to which webhook requests by configuring a
47
47
 
48
48
  ```ruby
49
49
  plugin :github_webhook do
50
- handler: ->(request) do
50
+ handler ->(request) do
51
51
  if request.env['HTTP_X_GITHUB_EVENT'] == 'workflow_run'
52
52
  json = JSON.parse(request.body.read)
53
53
  project = json.dig('repository', 'full_name')
@@ -45,7 +45,7 @@ You can change how the plugin reacts to which webhook requests by configuring a
45
45
 
46
46
  ```ruby
47
47
  plugin :gitlab_webhook do
48
- handler: ->(request) do
48
+ handler ->(request) do
49
49
  json = JSON.parse(request.body.read)
50
50
  if json['object_kind'] == 'pipeline'
51
51
  project = json.dig('project', 'path_with_namespace')
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Rodbot
4
- VERSION = "0.5.0"
4
+ VERSION = "0.5.1"
5
5
  end
@@ -1,11 +1,9 @@
1
- version: "3.9"
2
-
3
1
  x-defaults: &defaults
4
2
  build:
5
3
  context: .
6
4
  dockerfile_inline: |
7
5
  FROM ruby:[%= RUBY_VERSION.sub(/\.\d+$/, '') %]-alpine
8
- RUN apk update && apk --no-cache add build-base
6
+ RUN apk update && apk --no-cache add build-base tzdata libffi
9
7
  ENV RODBOT_ENV="production"
10
8
  ENV RACK_ENV="production"
11
9
  ENV RACK_ROOT="/var/www"
@@ -15,7 +13,7 @@ x-defaults: &defaults
15
13
  COPY . .
16
14
  COPY .bundle /usr/local/bundle
17
15
  RUN bundle config set without "development test" && \
18
- bundle install --jobs 20 --retry 5
16
+ bundle install
19
17
  environment:
20
18
  - RODBOT_APP_HOST=0.0.0.0
21
19
  - PRODUCTION_CREDENTIALS_KEY
@@ -1,11 +1,9 @@
1
- version: "3.9"
2
-
3
1
  x-defaults: &defaults
4
2
  build:
5
3
  context: .
6
4
  dockerfile_inline: |
7
5
  FROM ruby:[%= RUBY_VERSION.sub(/\.\d+$/, '') %]-alpine
8
- RUN apk update && apk --no-cache add build-base
6
+ RUN apk update && apk --no-cache add build-base tzdata libffi
9
7
  ENV RODBOT_ENV="production"
10
8
  ENV RACK_ENV="production"
11
9
  ENV RACK_ROOT="/var/www"
@@ -15,7 +13,7 @@ x-defaults: &defaults
15
13
  COPY . .
16
14
  COPY .bundle /usr/local/bundle
17
15
  RUN bundle config set without "development test" && \
18
- bundle install --jobs 20 --retry 5
16
+ bundle install
19
17
  environment:
20
18
  - RODBOT_APP_HOST=0.0.0.0
21
19
  - RODBOT_APP_URL=http://app
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rodbot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sven Schwyn
@@ -503,6 +503,7 @@ files:
503
503
  - checksums/rodbot-0.4.4.gem.sha512
504
504
  - checksums/rodbot-0.4.5.gem.sha512
505
505
  - checksums/rodbot-0.5.0.gem.sha512
506
+ - checksums/rodbot-0.5.1.gem.sha512
506
507
  - doc/rodbot.afphoto
507
508
  - doc/rodbot.avif
508
509
  - exe/rodbot
metadata.gz.sig CHANGED
Binary file