rodbot 0.5.2 → 0.6.0

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: e6afc30b6243c2bfd90c021d354ceaed977c47e37f7151d5be521de54b53e4f5
4
- data.tar.gz: fc35d4ed433f4aba2dca7f007eff20a53e397dbf97d15b71221a87c7ddc22443
3
+ metadata.gz: 82b001ce2ee30d36ba2bfc57f039d8eeb4eff8c19dacbee228fdfc3efa30c65f
4
+ data.tar.gz: b35d7a277dabe54dc9abaa5a4660b7b24ce1393ebce4104825659fa24a5d0214
5
5
  SHA512:
6
- metadata.gz: cf40b5883e63b4695d39ac79fbc457ce5b95dd49623bc5cd0a584159861bde4130ef7b254844cf676112cadd0fe3a90794f88dc05846e3a678204a85a430a62b
7
- data.tar.gz: 539f3a6ad54288111b437279f1a28a7c620b666bd7908efe7b8967ddab070581b797f78661b5fc9b95ac65ad32f347f008581fa09265beefeb6555053fd1d77f
6
+ metadata.gz: ea67ae31b97df58206b49f08e7814ed54ac86d78bd181e23fd60e69872503d795168221ec59d1f7b44a9fd0383580fcaee13dc32efecc903dbb7e3cc6f68587f
7
+ data.tar.gz: 8f79fbc04205e42f0bb07cdf5b3fe7e773bad5f66557e3eda83ed143e12d242d0d346726824591b34785dd7fea6e7de384063d3b6ca58f417921665730f00557
@@ -0,0 +1,35 @@
1
+ name: Release gem
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - v*
7
+
8
+ permissions:
9
+ contents: read
10
+
11
+ jobs:
12
+ push:
13
+ if: github.repository == 'svoop/rodbot'
14
+ runs-on: ubuntu-latest
15
+
16
+ permissions:
17
+ contents: write
18
+ id-token: write
19
+
20
+ environment: release
21
+
22
+ steps:
23
+ - name: Harden runner
24
+ uses: step-security/harden-runner@v2.13.0
25
+ with:
26
+ egress-policy: audit
27
+ - uses: actions/checkout@v4
28
+ with:
29
+ persist-credentials: false
30
+ - name: Set up Ruby
31
+ uses: ruby/setup-ruby@v1
32
+ with:
33
+ bundler-cache: true
34
+ ruby-version: ruby
35
+ - uses: rubygems/release-gem@v1
data/CHANGELOG.md CHANGED
@@ -2,99 +2,105 @@
2
2
 
3
3
  Nothing so far
4
4
 
5
+ ## 0.6.0
6
+
7
+ ### Changes
8
+ * Drop certs note in README
9
+ * Add action for trusted release
10
+
5
11
  ## 0.5.2
6
12
 
7
- #### Fixes
13
+ ### Fixes
8
14
  * Update Docker template for Ruby 3.4.2
9
15
 
10
16
  ## 0.5.1
11
17
 
12
- #### Changes
18
+ ### Changes
13
19
  * Update Docker compose templates
14
20
 
15
21
  ## 0.5.0
16
22
 
17
- #### Changes
23
+ ### Changes
18
24
  * Make GitLab and GitHub plugins customizable
19
25
 
20
26
  ## 0.4.5
21
27
 
22
- #### Changes
28
+ ### Changes
23
29
  * Update Ruby to 3.4
24
30
 
25
31
  ## 0.4.4
26
32
 
27
- #### Changes
33
+ ### Changes
28
34
  * Adhere to plugin file layout suggestions
29
35
  * Support Ruby 3.3
30
36
  * Honor `APP_ENV` as an alternative to `RODBOT_ENV`
31
37
 
32
38
  ## 0.4.3
33
39
 
34
- #### Changes
40
+ ### Changes
35
41
  * Add more languages to the word of the day demo plugin
36
42
 
37
43
  ## 0.4.2
38
44
 
39
- #### Fixes
45
+ ### Fixes
40
46
  * Pass the time zone down to Clockwork
41
47
 
42
48
  ## 0.4.1
43
49
 
44
- #### Fixes
50
+ ### Fixes
45
51
  * Fix init of memoization cache
46
52
 
47
53
  ## 0.4.0
48
54
 
49
- #### Breaking Changes
55
+ ### Breaking changes
50
56
  * Rename `timezone` config to `time_zone` and properly implement and document
51
57
  time zone handling
52
58
 
53
59
  ## 0.3.4
54
60
 
55
- #### Additions
61
+ ### Additions
56
62
  * Support to post to secondary rooms with `Rodbot.say`
57
63
  * `Rodbot::Message` container class for messages with meta data
58
64
 
59
65
  ## 0.3.3
60
66
 
61
- #### Additions
67
+ ### Additions
62
68
  * Support placeholders when using `Rodbot.say` and add `[[EVERYBODY]]`
63
69
  placeholder to mention all hands in a room or channel
64
70
 
65
71
  ## 0.3.2
66
72
 
67
- #### Additions
73
+ ### Additions
68
74
  * Simple /healthz route e.g. for deployments on render.com
69
75
  * Deploy templates for render.com
70
76
 
71
- #### Changes
77
+ ### Changes
72
78
  * Switch from httparty to httpx
73
79
 
74
80
  ## 0.3.1
75
81
 
76
- #### Fixes
82
+ ### Fixes
77
83
  * Explicitly require Forwardable
78
84
 
79
85
  ## 0.3.0
80
86
 
81
- #### Additions
87
+ ### Additions
82
88
  * Built-in plugin for Slack
83
89
 
84
90
  ## 0.2.0
85
91
 
86
- #### Fixes
92
+ ### Fixes
87
93
  * Fix OTP verification
88
94
  * Drop futile files from packaged gem
89
95
 
90
96
  ## 0.1.1
91
97
 
92
- #### Fixes
98
+ ### Fixes
93
99
  * Fix `rodbot new` by making `config/rodbot.rb` optional
94
100
 
95
101
  ## 0.1.0
96
102
 
97
- #### Initial Implementation
103
+ ### Initial implementation
98
104
  * Rodbot CLI
99
105
  * App, relay and schedule services
100
106
  * Framework functionality such as config, credentials, logging, data
data/README.md CHANGED
@@ -37,20 +37,10 @@ Thank you for supporting free and open-source software by sponsoring on [GitHub]
37
37
 
38
38
  ## Install
39
39
 
40
- ### Security
41
-
42
- This gem is [cryptographically signed](https://guides.rubygems.org/security/#using-gems) in order to assure it hasn't been tampered with. Unless already done, please add the author's public key as a trusted certificate now:
43
-
44
- ```
45
- gem cert --add <(curl -Ls https://raw.github.com/svoop/rodbot/main/certs/svoop.pem)
46
- ```
47
-
48
- ### Generate new bot
49
-
50
40
  Similar to other frameworks, generate the files for your new bot as follows:
51
41
 
52
42
  ```
53
- gem install rodbot --trust-policy MediumSecurity
43
+ gem install rodbot
54
44
  rodbot new my_bot
55
45
  cd my_bot
56
46
  ```
@@ -0,0 +1 @@
1
+ caf827aa0b0961d2409b09b16d6a9f0d1ddffe6278da9b20b0d5a163ff214814c474c1bb207780a517a6df9d88cc782e51eeccad91a2ed76fcd09fd0365617de
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Rodbot
4
- VERSION = "0.5.2"
4
+ VERSION = "0.6.0"
5
5
  end
@@ -17,7 +17,7 @@ x-defaults: &defaults
17
17
  environment:
18
18
  - RODBOT_APP_HOST=0.0.0.0
19
19
  - PRODUCTION_CREDENTIALS_KEY
20
- restart: "unless-stopped"
20
+ restart: "always"
21
21
 
22
22
  services:
23
23
  rodbot:
@@ -22,7 +22,7 @@ x-defaults: &defaults
22
22
  - RODBOT_RELAY_URL_[%= name.upcase %]=tcp://relay-[%= name %]
23
23
  [% end -%]
24
24
  - PRODUCTION_CREDENTIALS_KEY
25
- restart: "unless-stopped"
25
+ restart: "always"
26
26
 
27
27
  services:
28
28
  app:
metadata CHANGED
@@ -1,34 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rodbot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sven Schwyn
8
8
  bindir: exe
9
- cert_chain:
10
- - |
11
- -----BEGIN CERTIFICATE-----
12
- MIIDODCCAiCgAwIBAgIBATANBgkqhkiG9w0BAQsFADAjMSEwHwYDVQQDDBhydWJ5
13
- L0RDPWJpdGNldGVyYS9EQz1jb20wHhcNMjQxMTIwMjExMDIwWhcNMjUxMTIwMjEx
14
- MDIwWjAjMSEwHwYDVQQDDBhydWJ5L0RDPWJpdGNldGVyYS9EQz1jb20wggEiMA0G
15
- CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDcLg+IHjXYaUlTSU7R235lQKD8ZhEe
16
- KMhoGlSUonZ/zo1OT3KXcqTCP1iMX743xYs6upEGALCWWwq+nxvlDdnWRjF3AAv7
17
- ikC+Z2BEowjyeCCT/0gvn4ohKcR0JOzzRaIlFUVInlGSAHx2QHZ2N8ntf54lu7nd
18
- L8CiDK8rClsY4JBNGOgH9UC81f+m61UUQuTLxyM2CXfAYkj/sGNTvFRJcNX+nfdC
19
- hM9r2kH1+7wsa8yG7wJ2IkrzNACD8v84oE6qVusN8OLEMUI/NaEPVPbw2LUM149H
20
- PVa0i729A4IhroNnFNmw4wOC93ARNbM1+LW36PLMmKjKudf5Exg8VmDVAgMBAAGj
21
- dzB1MAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQWBBSfK8MtR62mQ6oN
22
- yoX/VKJzFjLSVDAdBgNVHREEFjAUgRJydWJ5QGJpdGNldGVyYS5jb20wHQYDVR0S
23
- BBYwFIEScnVieUBiaXRjZXRlcmEuY29tMA0GCSqGSIb3DQEBCwUAA4IBAQDSeB1x
24
- 8QK8F/ML37isgvwGiQxovDUqu6Sq14cQ1qE9y5prUBmL2AsDuCBpXXctcvamFqNC
25
- PgfJtj7ZZcXmY0SfKCog7T1btkr6zYxPXpxwUqB45n0I6v5qc0UCNvMEfBzxlak5
26
- VW7UMNlKD9qukeN55hxuLF2F/sLldMcHUo/ATgdV4zk1t3sK6A9+02wz5K5qfWdM
27
- Mi+XWXmGd57uojk3RcIXNwBRRP4DTKcKgVXhuyHb7q1vjTXrS6bw1Ortu0KmWOIk
28
- jTyRsT1gymASS2KHe+BaCTwD74GqO8q4woYLZgXnJ/PvgcFgY2FEi2Kn/sXLp4JE
29
- boIgxQCMT+nxBHCD
30
- -----END CERTIFICATE-----
31
- date: 2025-02-19 00:00:00.000000000 Z
9
+ cert_chain: []
10
+ date: 1980-01-02 00:00:00.000000000 Z
32
11
  dependencies:
33
12
  - !ruby/object:Gem::Dependency
34
13
  name: zeitwerk
@@ -465,11 +444,12 @@ executables:
465
444
  - rodbot
466
445
  extensions: []
467
446
  extra_rdoc_files:
468
- - README.md
469
447
  - CHANGELOG.md
470
448
  - LICENSE.txt
449
+ - README.md
471
450
  files:
472
451
  - ".github/FUNDING.yml"
452
+ - ".github/workflows/release.yml"
473
453
  - ".github/workflows/test.yml"
474
454
  - ".gitignore"
475
455
  - ".ruby-version"
@@ -505,6 +485,7 @@ files:
505
485
  - checksums/rodbot-0.5.0.gem.sha512
506
486
  - checksums/rodbot-0.5.1.gem.sha512
507
487
  - checksums/rodbot-0.5.2.gem.sha512
488
+ - checksums/rodbot-0.6.0.gem.sha512
508
489
  - doc/rodbot.afphoto
509
490
  - doc/rodbot.avif
510
491
  - exe/rodbot
@@ -627,7 +608,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
627
608
  - !ruby/object:Gem::Version
628
609
  version: '0'
629
610
  requirements: []
630
- rubygems_version: 3.6.4
611
+ rubygems_version: 3.6.9
631
612
  specification_version: 4
632
613
  summary: Minimalistic framework to build chat bots on top of a Roda backend
633
614
  test_files: []
checksums.yaml.gz.sig DELETED
Binary file
data.tar.gz.sig DELETED
Binary file
metadata.gz.sig DELETED
Binary file