dependabot[bot]
c8cae7b7de
Build(deps-dev): Bump test-prof from 1.2.0 to 1.2.1 ( #20796 )
...
Bumps [test-prof](https://github.com/test-prof/test-prof ) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/test-prof/test-prof/releases )
- [Changelog](https://github.com/test-prof/test-prof/blob/master/CHANGELOG.md )
- [Commits](https://github.com/test-prof/test-prof/compare/v1.2.0...v1.2.1 )
---
updated-dependencies:
- dependency-name: test-prof
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-23 23:18:49 +01:00
dependabot[bot]
8aead86957
Build(deps): Bump sass-embedded from 1.59.2 to 1.59.3 ( #20694 )
...
Bumps [sass-embedded](https://github.com/ntkme/sass-embedded-host-ruby ) from 1.59.2 to 1.59.3.
- [Release notes](https://github.com/ntkme/sass-embedded-host-ruby/releases )
- [Commits](https://github.com/ntkme/sass-embedded-host-ruby/compare/v1.59.2...v1.59.3 )
---
updated-dependencies:
- dependency-name: sass-embedded
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-22 11:58:30 +01:00
dependabot[bot]
0231e2332d
Build(deps-dev): Bump syntax_tree from 6.0.2 to 6.1.1 ( #20762 )
2023-03-21 16:40:56 +01:00
dependabot[bot]
a613bed47d
Build(deps): Bump stackprof from 0.2.23 to 0.2.24 ( #20752 )
...
Bumps [stackprof](https://github.com/tmm1/stackprof ) from 0.2.23 to 0.2.24.
- [Release notes](https://github.com/tmm1/stackprof/releases )
- [Changelog](https://github.com/tmm1/stackprof/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tmm1/stackprof/compare/v0.2.23...v0.2.24 )
---
updated-dependencies:
- dependency-name: stackprof
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-21 16:08:19 +01:00
dependabot[bot]
92b70d25d5
Build(deps): Bump version_gem from 1.1.1 to 1.1.2 ( #20731 )
...
Bumps [version_gem](https://gitlab.com/oauth-xx/version_gem ) from 1.1.1 to 1.1.2.
- [Release notes](https://gitlab.com/oauth-xx/version_gem/tags )
- [Changelog](https://gitlab.com/oauth-xx/version_gem/blob/main/CHANGELOG.md )
- [Commits](https://gitlab.com/oauth-xx/version_gem/compare/v1.1.1...v1.1.2 )
---
updated-dependencies:
- dependency-name: version_gem
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-20 13:02:14 +01:00
dependabot[bot]
e50f51fa85
Build(deps): Bump rack-test from 2.0.2 to 2.1.0 ( #20679 )
...
Bumps [rack-test](https://github.com/rack/rack-test ) from 2.0.2 to 2.1.0.
- [Release notes](https://github.com/rack/rack-test/releases )
- [Changelog](https://github.com/rack/rack-test/blob/main/History.md )
- [Commits](https://github.com/rack/rack-test/compare/v2.0.2...v2.1.0 )
---
updated-dependencies:
- dependency-name: rack-test
dependency-type: indirect
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-15 14:26:43 +01:00
Blake Erickson
d0c6b33cc2
SECURITY: Bump Rails to v7.0.4.3 ( #20675 )
2023-03-14 10:19:31 -06:00
Jarek Radosz
bb317bd554
DEV: Update the rubocop setup ( #20668 )
2023-03-14 11:42:11 +01:00
dependabot[bot]
f75afc0979
Build(deps): Bump rack from 2.2.6.3 to 2.2.6.4 ( #20667 )
...
Bumps [rack](https://github.com/rack/rack ) from 2.2.6.3 to 2.2.6.4.
- [Release notes](https://github.com/rack/rack/releases )
- [Changelog](https://github.com/rack/rack/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rack/rack/compare/v2.2.6.3...v2.2.6.4 )
---
updated-dependencies:
- dependency-name: rack
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-14 09:40:46 +01:00
dependabot[bot]
06848eaf49
Build(deps): Bump sass-embedded from 1.58.3 to 1.59.2 ( #20649 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-13 08:11:06 +08:00
dependabot[bot]
e9a04dd6f1
Build(deps): Bump rspec-mocks from 3.12.3 to 3.12.4 ( #20648 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-13 08:10:48 +08:00
dependabot[bot]
8793297792
Build(deps): Bump logster from 2.11.4 to 2.12.2 ( #20647 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-13 08:10:31 +08:00
dependabot[bot]
cd3c35418c
Build(deps): Bump prettier_print from 1.2.0 to 1.2.1 ( #20620 )
...
Bumps [prettier_print](https://github.com/ruby-syntax-tree/prettier_print ) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/ruby-syntax-tree/prettier_print/releases )
- [Changelog](https://github.com/ruby-syntax-tree/prettier_print/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ruby-syntax-tree/prettier_print/compare/v1.2.0...v1.2.1 )
---
updated-dependencies:
- dependency-name: prettier_print
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-10 10:11:48 +00:00
dependabot[bot]
008f71b961
Build(deps): Bump parser from 3.2.1.0 to 3.2.1.1 ( #20597 )
...
Bumps [parser](https://github.com/whitequark/parser ) from 3.2.1.0 to 3.2.1.1.
- [Release notes](https://github.com/whitequark/parser/releases )
- [Changelog](https://github.com/whitequark/parser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/whitequark/parser/compare/v3.2.1.0...v3.2.1.1 )
---
updated-dependencies:
- dependency-name: parser
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-08 23:25:15 +01:00
dependabot[bot]
5930744e1d
Build(deps): Bump google-protobuf from 3.22.0 to 3.22.1 ( #20596 )
...
Bumps [google-protobuf](https://github.com/protocolbuffers/protobuf ) from 3.22.0 to 3.22.1.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases )
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/generate_changelog.py )
- [Commits](https://github.com/protocolbuffers/protobuf/compare/v3.22.0...v3.22.1 )
---
updated-dependencies:
- dependency-name: google-protobuf
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-08 23:24:10 +01:00
Alan Guo Xiang Tan
d5ebcc3309
DEV: Remove ruby-lsp from Gemfile ( #20595 )
2023-03-09 05:34:54 +08:00
dependabot[bot]
5fb2c1dde5
Build(deps): Bump sorbet-runtime from 0.5.10696 to 0.5.10705 ( #20565 )
...
Bumps [sorbet-runtime](https://github.com/sorbet/sorbet ) from 0.5.10696 to 0.5.10705.
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
---
updated-dependencies:
- dependency-name: sorbet-runtime
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-08 10:47:01 +01:00
dependabot[bot]
5f57b4b5aa
Build(deps): Bump rubocop from 1.47.0 to 1.48.0 ( #20548 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-07 06:26:25 +08:00
dependabot[bot]
bfd4bfb824
Build(deps): Bump ruby-progressbar from 1.12.0 to 1.13.0 ( #20533 )
...
Bumps [ruby-progressbar](https://github.com/jfelchner/ruby-progressbar ) from 1.12.0 to 1.13.0.
- [Release notes](https://github.com/jfelchner/ruby-progressbar/releases )
- [Changelog](https://github.com/jfelchner/ruby-progressbar/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jfelchner/ruby-progressbar/compare/releases/v1.12.0...releases/v1.13.0 )
---
updated-dependencies:
- dependency-name: ruby-progressbar
dependency-type: indirect
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-06 11:52:37 +08:00
dependabot[bot]
36c8148377
Build(deps): Bump rack from 2.2.6.2 to 2.2.6.3 ( #20535 )
...
Bumps [rack](https://github.com/rack/rack ) from 2.2.6.2 to 2.2.6.3.
- [Release notes](https://github.com/rack/rack/releases )
- [Changelog](https://github.com/rack/rack/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rack/rack/compare/v2.2.6.2...v2.2.6.3 )
---
updated-dependencies:
- dependency-name: rack
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-06 11:52:15 +08:00
dependabot[bot]
a4e27da9e6
Build(deps): Bump sorbet-runtime from 0.5.10693 to 0.5.10696 ( #20534 )
...
Bumps [sorbet-runtime](https://github.com/sorbet/sorbet ) from 0.5.10693 to 0.5.10696.
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
---
updated-dependencies:
- dependency-name: sorbet-runtime
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-06 11:51:57 +08:00
dependabot[bot]
a89ed6b14a
Build(deps): Bump faraday-retry from 2.0.0 to 2.1.0 ( #20536 )
...
Bumps [faraday-retry](https://github.com/lostisland/faraday-retry ) from 2.0.0 to 2.1.0.
- [Release notes](https://github.com/lostisland/faraday-retry/releases )
- [Changelog](https://github.com/lostisland/faraday-retry/blob/main/CHANGELOG.md )
- [Commits](https://github.com/lostisland/faraday-retry/compare/v2.0.0...v2.1.0 )
---
updated-dependencies:
- dependency-name: faraday-retry
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-06 11:51:33 +08:00
dependabot[bot]
d694cc8109
Build(deps-dev): Bump syntax_tree from 6.0.1 to 6.0.2 ( #20537 )
...
Bumps [syntax_tree](https://github.com/kddnewton/syntax_tree ) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/kddnewton/syntax_tree/releases )
- [Changelog](https://github.com/ruby-syntax-tree/syntax_tree/blob/main/CHANGELOG.md )
- [Commits](https://github.com/kddnewton/syntax_tree/compare/v6.0.1...v6.0.2 )
---
updated-dependencies:
- dependency-name: syntax_tree
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-06 11:49:15 +08:00
dependabot[bot]
9a58a97c45
Build(deps-dev): Bump minitest from 5.17.0 to 5.18.0 ( #20538 )
...
Bumps [minitest](https://github.com/seattlerb/minitest ) from 5.17.0 to 5.18.0.
- [Release notes](https://github.com/seattlerb/minitest/releases )
- [Changelog](https://github.com/minitest/minitest/blob/master/History.rdoc )
- [Commits](https://github.com/seattlerb/minitest/compare/v5.17.0...v5.18.0 )
---
updated-dependencies:
- dependency-name: minitest
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-06 11:49:01 +08:00
dependabot[bot]
08b2da4c1f
Build(deps): Bump msgpack from 1.6.0 to 1.6.1 ( #20539 )
...
Bumps [msgpack](https://github.com/msgpack/msgpack-ruby ) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/msgpack/msgpack-ruby/releases )
- [Changelog](https://github.com/msgpack/msgpack-ruby/blob/master/ChangeLog )
- [Commits](https://github.com/msgpack/msgpack-ruby/commits )
---
updated-dependencies:
- dependency-name: msgpack
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-06 11:48:41 +08:00
Alan Guo Xiang Tan
990b710ade
DEV: Add ruby_lsp gem to development ( #20517 )
...
In order to use the ruby-lsp vscode extension, the ruby_lsp gem needs to
be added to the project's Gemfile. That may soon change with
https://github.com/Shopify/vscode-ruby-lsp/pull/419 but this will do for
now.
2023-03-03 06:45:52 +08:00
dependabot[bot]
79db4a2de0
Build(deps): Bump rubocop from 1.46.0 to 1.47.0 ( #20500 )
...
Bumps [rubocop](https://github.com/rubocop/rubocop ) from 1.46.0 to 1.47.0.
- [Release notes](https://github.com/rubocop/rubocop/releases )
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rubocop/rubocop/compare/v1.46.0...v1.47.0 )
---
updated-dependencies:
- dependency-name: rubocop
dependency-type: indirect
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-02 07:06:28 +08:00
dependabot[bot]
5be13f5002
Build(deps): Bump rubocop-ast from 1.26.0 to 1.27.0 ( #20487 )
...
Bumps [rubocop-ast](https://github.com/rubocop/rubocop-ast ) from 1.26.0 to 1.27.0.
- [Release notes](https://github.com/rubocop/rubocop-ast/releases )
- [Changelog](https://github.com/rubocop/rubocop-ast/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rubocop/rubocop-ast/compare/v1.26.0...v1.27.0 )
---
updated-dependencies:
- dependency-name: rubocop-ast
dependency-type: indirect
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-01 07:01:38 +08:00
dependabot[bot]
e5d756d7de
Build(deps): Bump puma from 6.1.0 to 6.1.1 ( #20486 )
...
Bumps [puma](https://github.com/puma/puma ) from 6.1.0 to 6.1.1.
- [Release notes](https://github.com/puma/puma/releases )
- [Changelog](https://github.com/puma/puma/blob/master/History.md )
- [Commits](https://github.com/puma/puma/compare/v6.1.0...v6.1.1 )
---
updated-dependencies:
- dependency-name: puma
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-01 07:00:58 +08:00
Jarek Radosz
f63d18d6ca
DEV: Update syntax_tree to 6.0.1 ( #20466 )
2023-02-27 17:20:00 +01:00
dependabot[bot]
b12e51d309
Build(deps): Bump pg from 1.4.5 to 1.4.6 ( #20455 )
...
Bumps [pg](https://github.com/ged/ruby-pg ) from 1.4.5 to 1.4.6.
- [Release notes](https://github.com/ged/ruby-pg/releases )
- [Changelog](https://github.com/ged/ruby-pg/blob/master/History.md )
- [Commits](https://github.com/ged/ruby-pg/compare/v1.4.5...v1.4.6 )
---
updated-dependencies:
- dependency-name: pg
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-27 11:09:55 +01:00
dependabot[bot]
6e9b4e8147
Build(deps): Bump raindrops from 0.20.0 to 0.20.1 ( #20456 )
...
Bumps [raindrops](https://yhbt.net/raindrops/ ) from 0.20.0 to 0.20.1.
---
updated-dependencies:
- dependency-name: raindrops
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-27 11:09:21 +01:00
dependabot[bot]
c9e6efffe3
Build(deps): Bump concurrent-ruby from 1.2.0 to 1.2.2 ( #20457 )
...
Bumps [concurrent-ruby](https://github.com/ruby-concurrency/concurrent-ruby ) from 1.2.0 to 1.2.2.
- [Release notes](https://github.com/ruby-concurrency/concurrent-ruby/releases )
- [Changelog](https://github.com/ruby-concurrency/concurrent-ruby/blob/master/CHANGELOG.md )
- [Commits](https://github.com/ruby-concurrency/concurrent-ruby/compare/v1.2.0...v1.2.2 )
---
updated-dependencies:
- dependency-name: concurrent-ruby
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-27 11:08:33 +01:00
dependabot[bot]
1a0174b38d
Build(deps): Bump rubocop from 1.45.1 to 1.46.0 ( #20418 )
...
Bumps [rubocop](https://github.com/rubocop/rubocop ) from 1.45.1 to 1.46.0.
- [Release notes](https://github.com/rubocop/rubocop/releases )
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rubocop/rubocop/compare/v1.45.1...v1.46.0 )
---
updated-dependencies:
- dependency-name: rubocop
dependency-type: indirect
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-22 22:29:51 +01:00
Ted Johansson
1a5318dbf7
DEV: Upgrade ruby-prof from 1.6.0 to 1.6.1 ( #20411 )
...
ruby-prof 1.6.0 was release, but then yanked, causing Bundler to
fail when installing gems.
This change updgrades ruby-prof to 1.6.1 which was released as a
replacement.
2023-02-22 10:06:00 +01:00
dependabot[bot]
22034fad65
Build(deps-dev): Bump ruby-prof from 1.5.0 to 1.6.0 ( #20400 )
...
Bumps [ruby-prof](https://github.com/ruby-prof/ruby-prof ) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/ruby-prof/ruby-prof/releases )
- [Changelog](https://github.com/ruby-prof/ruby-prof/blob/master/CHANGES )
- [Commits](https://github.com/ruby-prof/ruby-prof/compare/1.5.0...1.6.0 )
---
updated-dependencies:
- dependency-name: ruby-prof
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-22 06:33:55 +08:00
Penar Musaraj
3cadeaf90f
FIX: Add support for Europe/Kyiv timezone ( #20394 )
2023-02-21 11:52:04 -05:00
Loïc Guitaut
f7c57fbc19
DEV: Enable `unless` cops
...
We discussed the use of `unless` internally and decided to enforce
available rules from rubocop to restrict its most problematic uses.
2023-02-21 10:30:48 +01:00
dependabot[bot]
3c57db5c63
Build(deps): Bump image_optim from 0.31.2 to 0.31.3 ( #20359 )
2023-02-19 23:57:20 +01:00
dependabot[bot]
f8e0c561a5
Build(deps): Bump tilt from 2.0.11 to 2.1.0 ( #20361 )
2023-02-19 23:44:46 +01:00
dependabot[bot]
0d9c86bc26
Build(deps): Bump sass-embedded from 1.58.0 to 1.58.3 ( #20358 )
2023-02-19 23:42:53 +01:00
dependabot[bot]
b628e46080
Build(deps-dev): Bump selenium-webdriver from 4.8.0 to 4.8.1 ( #20360 )
2023-02-19 23:42:17 +01:00
dependabot[bot]
c633767b70
Build(deps): Bump google-protobuf from 3.21.12 to 3.22.0 ( #20341 )
...
Bumps [google-protobuf](https://github.com/protocolbuffers/protobuf ) from 3.21.12 to 3.22.0.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases )
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/generate_changelog.py )
- [Commits](https://github.com/protocolbuffers/protobuf/compare/v3.21.12...v3.22.0 )
---
updated-dependencies:
- dependency-name: google-protobuf
dependency-type: indirect
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-17 16:32:12 +01:00
dependabot[bot]
de76cfcc7b
Build(deps): Bump timeout from 0.3.1 to 0.3.2 ( #20339 )
...
Bumps [timeout](https://github.com/ruby/timeout ) from 0.3.1 to 0.3.2.
- [Release notes](https://github.com/ruby/timeout/releases )
- [Commits](https://github.com/ruby/timeout/compare/v0.3.1...v0.3.2 )
---
updated-dependencies:
- dependency-name: timeout
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-17 16:31:14 +01:00
Osama Sayegh
75ae70c27c
DEV: rtlcss_wrapper renamed to rtlcss ( #20331 )
...
The `rtlcss_wrapper` gem has been renamed to `rtlcss` per bd89847a39
.
2023-02-16 18:15:56 +03:00
dependabot[bot]
004228f6c4
Build(deps): Bump openssl from 3.0.2 to 3.1.0 ( #20321 )
...
Bumps [openssl](https://github.com/ruby/openssl ) from 3.0.2 to 3.1.0.
- [Release notes](https://github.com/ruby/openssl/releases )
- [Changelog](https://github.com/ruby/openssl/blob/master/History.md )
- [Commits](https://github.com/ruby/openssl/compare/v3.0.2...v3.1.0 )
---
updated-dependencies:
- dependency-name: openssl
dependency-type: indirect
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-16 11:11:41 +01:00
dependabot[bot]
68a77c0eee
Build(deps): Bump rubocop-ast from 1.24.1 to 1.26.0 ( #20252 )
...
Bumps [rubocop-ast](https://github.com/rubocop/rubocop-ast ) from 1.24.1 to 1.26.0.
- [Release notes](https://github.com/rubocop/rubocop-ast/releases )
- [Changelog](https://github.com/rubocop/rubocop-ast/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rubocop/rubocop-ast/compare/v1.24.1...v1.26.0 )
---
updated-dependencies:
- dependency-name: rubocop-ast
dependency-type: indirect
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-15 11:03:25 -05:00
dependabot[bot]
9cb0ebcd58
Build(deps): Bump nokogiri from 1.14.1 to 1.14.2 ( #20272 )
...
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri ) from 1.14.1 to 1.14.2.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases )
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md )
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.14.1...v1.14.2 )
---
updated-dependencies:
- dependency-name: nokogiri
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-13 23:28:09 +01:00
Martin Brennan
60ad836313
DEV: Chat service object initial implementation ( #19814 )
...
This is a combined work of Martin Brennan, Loïc Guitaut, and Joffrey Jaffeux.
---
This commit implements a base service object when working in chat. The documentation is available at https://discourse.github.io/discourse/chat/backend/Chat/Service.html
Generating documentation has been made as part of this commit with a bigger goal in mind of generally making it easier to dive into the chat project.
Working with services generally involves 3 parts:
- The service object itself, which is a series of steps where few of them are specialized (model, transaction, policy)
```ruby
class UpdateAge
include Chat::Service::Base
model :user, :fetch_user
policy :can_see_user
contract
step :update_age
class Contract
attribute :age, :integer
end
def fetch_user(user_id:, **)
User.find_by(id: user_id)
end
def can_see_user(guardian:, **)
guardian.can_see_user(user)
end
def update_age(age:, **)
user.update!(age: age)
end
end
```
- The `with_service` controller helper, handling success and failure of the service within a service and making easy to return proper response to it from the controller
```ruby
def update
with_service(UpdateAge) do
on_success { render_serialized(result.user, BasicUserSerializer, root: "user") }
end
end
```
- Rspec matchers and steps inspector, improving the dev experience while creating specs for a service
```ruby
RSpec.describe(UpdateAge) do
subject(:result) do
described_class.call(guardian: guardian, user_id: user.id, age: age)
end
fab!(:user) { Fabricate(:user) }
fab!(:current_user) { Fabricate(:admin) }
let(:guardian) { Guardian.new(current_user) }
let(:age) { 1 }
it { expect(user.reload.age).to eq(age) }
end
```
Note in case of unexpected failure in your spec, the output will give all the relevant information:
```
1) UpdateAge when no channel_id is given is expected to fail to find a model named 'user'
Failure/Error: it { is_expected.to fail_to_find_a_model(:user) }
Expected model 'foo' (key: 'result.model.user') was not found in the result object.
[1/4] [model] 'user' ❌
[2/4] [policy] 'can_see_user'
[3/4] [contract] 'default'
[4/4] [step] 'update_age'
/Users/joffreyjaffeux/Code/pr-discourse/plugins/chat/app/services/update_age.rb:32:in `fetch_user': missing keyword: :user_id (ArgumentError)
from /Users/joffreyjaffeux/Code/pr-discourse/plugins/chat/app/services/base.rb:202:in `instance_exec'
from /Users/joffreyjaffeux/Code/pr-discourse/plugins/chat/app/services/base.rb:202:in `call'
from /Users/joffreyjaffeux/Code/pr-discourse/plugins/chat/app/services/base.rb:219:in `call'
from /Users/joffreyjaffeux/Code/pr-discourse/plugins/chat/app/services/base.rb:417:in `block in run!'
from /Users/joffreyjaffeux/Code/pr-discourse/plugins/chat/app/services/base.rb:417:in `each'
from /Users/joffreyjaffeux/Code/pr-discourse/plugins/chat/app/services/base.rb:417:in `run!'
from /Users/joffreyjaffeux/Code/pr-discourse/plugins/chat/app/services/base.rb:411:in `run'
from <internal:kernel>:90:in `tap'
from /Users/joffreyjaffeux/Code/pr-discourse/plugins/chat/app/services/base.rb:302:in `call'
from /Users/joffreyjaffeux/Code/pr-discourse/plugins/chat/spec/services/update_age_spec.rb:15:in `block (3 levels) in <main>'
```
2023-02-13 13:09:57 +01:00
dependabot[bot]
81a4d75f06
Build(deps): Bump puma from 6.0.2 to 6.1.0 ( #20250 )
...
Bumps [puma](https://github.com/puma/puma ) from 6.0.2 to 6.1.0.
- [Release notes](https://github.com/puma/puma/releases )
- [Changelog](https://github.com/puma/puma/blob/master/History.md )
- [Commits](https://github.com/puma/puma/compare/v6.0.2...v6.1.0 )
---
updated-dependencies:
- dependency-name: puma
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-13 13:07:15 +01:00