rodbot 0.5.2 → 0.6.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: e6afc30b6243c2bfd90c021d354ceaed977c47e37f7151d5be521de54b53e4f5
4
- data.tar.gz: fc35d4ed433f4aba2dca7f007eff20a53e397dbf97d15b71221a87c7ddc22443
3
+ metadata.gz: e6a25a6cc938dac40e1733bc37c5099bdce850d3b2f8039d88ad9abcb02b5f8b
4
+ data.tar.gz: c151ebaab96b83b3fc0ac71233f5b5b1e6798134ae275463b5048bd4c8320f62
5
5
  SHA512:
6
- metadata.gz: cf40b5883e63b4695d39ac79fbc457ce5b95dd49623bc5cd0a584159861bde4130ef7b254844cf676112cadd0fe3a90794f88dc05846e3a678204a85a430a62b
7
- data.tar.gz: 539f3a6ad54288111b437279f1a28a7c620b666bd7908efe7b8967ddab070581b797f78661b5fc9b95ac65ad32f347f008581fa09265beefeb6555053fd1d77f
6
+ metadata.gz: 42c0b28001b870d2621591fa7e089f10aae74e24d2a5d539ec845258aeb6ec8a88005d0dd1b17f3ce1057c2947cdd1a2624c7d8066d4b59dbfad0a40dd4f6482
7
+ data.tar.gz: a264c5ed19f2f0366044f716b448fa4a291f441552932bc2b246a535083bbb4e4fe13288154b6ed24c291adda7786bb1db3d1dab50deea3d579b39fe724f9bda
@@ -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
@@ -6,7 +6,7 @@ jobs:
6
6
  fail-fast: false
7
7
  matrix:
8
8
  os: [ubuntu-latest]
9
- ruby: ['3.1', '3.2', '3.3', '3.4']
9
+ ruby: ['3.2', '3.3', '3.4', '4.0']
10
10
  name: test (Ruby ${{ matrix.ruby }} on ${{ matrix.os }})
11
11
  runs-on: ${{ matrix.os }}
12
12
  steps:
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.4
1
+ 4.0
data/CHANGELOG.md CHANGED
@@ -2,99 +2,110 @@
2
2
 
3
3
  Nothing so far
4
4
 
5
+ ## 0.6.1
6
+
7
+ ### Changes
8
+ * Update Ruby to 4.0
9
+
10
+ ## 0.6.0
11
+
12
+ ### Changes
13
+ * Drop certs note in README
14
+ * Add action for trusted release
15
+
5
16
  ## 0.5.2
6
17
 
7
- #### Fixes
18
+ ### Fixes
8
19
  * Update Docker template for Ruby 3.4.2
9
20
 
10
21
  ## 0.5.1
11
22
 
12
- #### Changes
23
+ ### Changes
13
24
  * Update Docker compose templates
14
25
 
15
26
  ## 0.5.0
16
27
 
17
- #### Changes
28
+ ### Changes
18
29
  * Make GitLab and GitHub plugins customizable
19
30
 
20
31
  ## 0.4.5
21
32
 
22
- #### Changes
33
+ ### Changes
23
34
  * Update Ruby to 3.4
24
35
 
25
36
  ## 0.4.4
26
37
 
27
- #### Changes
38
+ ### Changes
28
39
  * Adhere to plugin file layout suggestions
29
40
  * Support Ruby 3.3
30
41
  * Honor `APP_ENV` as an alternative to `RODBOT_ENV`
31
42
 
32
43
  ## 0.4.3
33
44
 
34
- #### Changes
45
+ ### Changes
35
46
  * Add more languages to the word of the day demo plugin
36
47
 
37
48
  ## 0.4.2
38
49
 
39
- #### Fixes
50
+ ### Fixes
40
51
  * Pass the time zone down to Clockwork
41
52
 
42
53
  ## 0.4.1
43
54
 
44
- #### Fixes
55
+ ### Fixes
45
56
  * Fix init of memoization cache
46
57
 
47
58
  ## 0.4.0
48
59
 
49
- #### Breaking Changes
60
+ ### Breaking changes
50
61
  * Rename `timezone` config to `time_zone` and properly implement and document
51
62
  time zone handling
52
63
 
53
64
  ## 0.3.4
54
65
 
55
- #### Additions
66
+ ### Additions
56
67
  * Support to post to secondary rooms with `Rodbot.say`
57
68
  * `Rodbot::Message` container class for messages with meta data
58
69
 
59
70
  ## 0.3.3
60
71
 
61
- #### Additions
72
+ ### Additions
62
73
  * Support placeholders when using `Rodbot.say` and add `[[EVERYBODY]]`
63
74
  placeholder to mention all hands in a room or channel
64
75
 
65
76
  ## 0.3.2
66
77
 
67
- #### Additions
78
+ ### Additions
68
79
  * Simple /healthz route e.g. for deployments on render.com
69
80
  * Deploy templates for render.com
70
81
 
71
- #### Changes
82
+ ### Changes
72
83
  * Switch from httparty to httpx
73
84
 
74
85
  ## 0.3.1
75
86
 
76
- #### Fixes
87
+ ### Fixes
77
88
  * Explicitly require Forwardable
78
89
 
79
90
  ## 0.3.0
80
91
 
81
- #### Additions
92
+ ### Additions
82
93
  * Built-in plugin for Slack
83
94
 
84
95
  ## 0.2.0
85
96
 
86
- #### Fixes
97
+ ### Fixes
87
98
  * Fix OTP verification
88
99
  * Drop futile files from packaged gem
89
100
 
90
101
  ## 0.1.1
91
102
 
92
- #### Fixes
103
+ ### Fixes
93
104
  * Fix `rodbot new` by making `config/rodbot.rb` optional
94
105
 
95
106
  ## 0.1.0
96
107
 
97
- #### Initial Implementation
108
+ ### Initial implementation
98
109
  * Rodbot CLI
99
110
  * App, relay and schedule services
100
111
  * 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
@@ -0,0 +1 @@
1
+ cdae3f66873d78a36ed13f6a2ddda6a8d2221b0f3aaea7c8c2584f94f7fcc1173f1042e404757a161bfd0bbd0d1e8cf8a80890aff77791b795c913d494323192
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'readline'
3
+ require 'reline'
4
4
  require 'httpx'
5
5
  require 'pastel'
6
6
  require 'tty-markdown'
@@ -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.1"
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.1
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,8 @@ 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
489
+ - checksums/rodbot-0.6.1.gem.sha512
508
490
  - doc/rodbot.afphoto
509
491
  - doc/rodbot.avif
510
492
  - exe/rodbot
@@ -627,7 +609,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
627
609
  - !ruby/object:Gem::Version
628
610
  version: '0'
629
611
  requirements: []
630
- rubygems_version: 3.6.4
612
+ rubygems_version: 4.0.3
631
613
  specification_version: 4
632
614
  summary: Minimalistic framework to build chat bots on top of a Roda backend
633
615
  test_files: []
checksums.yaml.gz.sig DELETED
Binary file
data.tar.gz.sig DELETED
Binary file
metadata.gz.sig DELETED
Binary file