Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump/0.29 #8

Open
wants to merge 20 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/ci_emitter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on: ["push"]

env:
CI: "true"
RUBY_VERSION: 3.0.6
RUBY_VERSION: 3.2.2
NODE_VERSION: 18.17.1

concurrency:
Expand Down Expand Up @@ -54,6 +54,8 @@ jobs:
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- run: sudo apt install imagemagick
name: Install imagemagick
- uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
Expand Down
30 changes: 8 additions & 22 deletions .rubocop_ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,7 @@ AllCops:
# If a value is specified for TargetRubyVersion then it is used.
# Else if .ruby-version exists and it contains an MRI version it is used.
# Otherwise we fallback to the oldest officially supported Ruby version (2.0).
TargetRubyVersion: 3.0

RSpec:
Patterns:
- "(?:^|/)spec/"
- "(?:^|/)test/"
TargetRubyVersion: 3.2

# Indent private/protected/public as deep as method definitions
Layout/AccessModifierIndentation:
Expand Down Expand Up @@ -210,7 +205,7 @@ Style/BlockDelimiters:
# This looks at the usage of a block's method to determine its type (e.g. is
# the result of a `map` assigned to a variable or passed to another
# method) but exceptions are permitted in the `ProceduralMethods`,
# `FunctionalMethods` and `IgnoredMethods` sections below.
# `FunctionalMethods` and `AllowedMethods` sections below.
- semantic
# The `braces_for_chaining` style enforces braces around single line blocks
# and do..end around multi-line blocks, except for multi-line blocks whose
Expand Down Expand Up @@ -249,20 +244,9 @@ Style/BlockDelimiters:
- let!
- subject
- watch
IgnoredMethods:
# Methods that can be either procedural or functional and cannot be
# categorised from their usage alone, e.g.
#
# foo = lambda do |x|
# puts "Hello, #{x}"
# end
#
# foo = lambda do |x|
# x * 100
# end
#
# Here, it is impossible to tell from the return value of `lambda` whether
# the inner block's return value is significant.
AllowedMethods:
Enabled: true
Exclude:
- lambda
- proc
- it
Expand Down Expand Up @@ -969,7 +953,9 @@ Style/SymbolArray:
Style/SymbolProc:
# A list of method names to be ignored by the check.
# The names should be fairly unique, otherwise you'll end up ignoring lots of code.
IgnoredMethods:
AllowedMethods:
Enabled: true
Exclude:
- respond_to
- define_method

Expand Down
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.0.6
3.2.2
16 changes: 8 additions & 8 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,25 +12,25 @@ require_relative "#{base_path}lib/decidim/emitter/version"

DECIDIM_VERSION = Decidim::Emitter::DECIDIM_VERSION

gem "decidim", "~> #{DECIDIM_VERSION}"
gem "decidim", DECIDIM_VERSION.to_s
gem "decidim-emitter", path: "."

gem "bootsnap", "~> 1.4"
gem "puma", ">= 5.5.1"
gem "puma", ">= 6.3.1"

group :development, :test do
gem "brakeman", "~> 5.1"
gem "brakeman", "~> 6.1"
gem "byebug", "~> 11.0", platform: :mri
gem "climate_control", "~> 1.2"
gem "decidim-dev", "~> #{DECIDIM_VERSION}"
gem "parallel_tests"
gem "decidim-dev", DECIDIM_VERSION.to_s
gem "parallel_tests", "~> 4.2"
end

group :development do
gem "letter_opener_web", "~> 1.3"
gem "letter_opener_web", "~> 2.0"
gem "listen", "~> 3.1"
gem "rubocop-faker"
gem "spring", "~> 2.0"
gem "spring", "~> 4.0"
gem "spring-watcher-listen", "~> 2.0"
gem "web-console", "4.0.4"
gem "web-console", "~> 4.2"
end
Loading
Loading