rails-menu-manager 0.7.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1b5f7b1d95b25bfbc4a7b1cf9e664dc1dcebe42e42e7144fcd06b6c1d73bd1c2
4
- data.tar.gz: 640a053eea6382f89e0d6e2bbb3d538d78c626ecc065e327a7557fa131f0dc7f
3
+ metadata.gz: fc5f5f1b3d2a57ff33ac03d3d226f2a0ae7e83cba50872d621edcaae1d8c3901
4
+ data.tar.gz: 1edeeaab17daea2a6a2362ef12f24d07bd32b2a49d756a8247c134a74302877d
5
5
  SHA512:
6
- metadata.gz: b0492b137fb357f04983cde2fc3a1472472c73c4dd9164e76a36df3e550f6d351c1ec10db550924a1acd14bf17fde598ca764093ddaa33e597029402e5d03df6
7
- data.tar.gz: 04c8d9f79a1b733fcecfe8e0c93706808d2473dff92eb7bd1b27cf56fb55a2bf38baf12e675a3486972c02f61ee1a4c6600b4f55b3ba5873515fc3b1c48cc61d
6
+ metadata.gz: 39dde3581adddff30c8cab28b386f38c8e0beba0eb7deef23d23202d588d7a9c36817e12570d19e4bc5337a27c4f1b57b4f8433089e553d496ef29cef98d5346
7
+ data.tar.gz: 1109efc0c96e4da2293dfb430ee3440ba0664dfcd435e11acb064d2ec3fcd7a3c6d0eb3cc8a06d9007e3155ff66a014bb10b0d870c8a2a14cc012efea5787326
data/.gitlab-ci.yml CHANGED
@@ -16,7 +16,7 @@ secret_detection:
16
16
 
17
17
  build:
18
18
  stage: build
19
- image: ruby:3.2
19
+ image: ruby:3.3
20
20
  script:
21
21
  - gem install bundler --no-document
22
22
  - bundle update
@@ -29,7 +29,7 @@ build:
29
29
  before_script:
30
30
  - ruby -v
31
31
  - echo "${RSPEC_RAILS_VERSION}"
32
- - gem install bundler -v "~>${BUNDLER_VERSION:-2.0}" --no-document
32
+ - gem install bundler -v "~>${BUNDLER_VERSION:-2.4}" --no-document
33
33
  - export BUNDLE_GEMFILE="spec/Gemfile"
34
34
  - bundle install --jobs=$(nproc) --path="../cache/bundle"
35
35
  - bundle list
@@ -40,30 +40,18 @@ build:
40
40
  paths:
41
41
  - cache/
42
42
 
43
- rspec-ruby2.7-rails6.1:
43
+ rspec-ruby3.0-rails6.1:
44
44
  <<: *rspec
45
- image: ruby:2.7
45
+ image: ruby:3.0
46
46
  variables:
47
47
  RSPEC_RAILS_VERSION: "6.1"
48
48
 
49
- rspec-ruby2.7-rails7.0:
50
- <<: *rspec
51
- image: ruby:2.7
52
- variables:
53
- RSPEC_RAILS_VERSION: "7.0"
54
-
55
49
  rspec-ruby3.0-rails7.0:
56
50
  <<: *rspec
57
51
  image: ruby:3.0
58
52
  variables:
59
53
  RSPEC_RAILS_VERSION: "7.0"
60
54
 
61
- rspec-ruby2.7-rails7.1:
62
- <<: *rspec
63
- image: ruby:2.7
64
- variables:
65
- RSPEC_RAILS_VERSION: "7.1"
66
-
67
55
  rspec-ruby3.0-rails7.1:
68
56
  <<: *rspec
69
57
  image: ruby:3.0
@@ -76,16 +64,34 @@ rspec-ruby3.2-rails7.1:
76
64
  variables:
77
65
  RSPEC_RAILS_VERSION: "7.1"
78
66
 
67
+ rspec-ruby3.2-rails7.2:
68
+ <<: *rspec
69
+ image: ruby:3.2
70
+ variables:
71
+ RSPEC_RAILS_VERSION: "7.2"
72
+
73
+ rspec-ruby3.3-rails7.2:
74
+ <<: *rspec
75
+ image: ruby:3.3
76
+ variables:
77
+ RSPEC_RAILS_VERSION: "7.2"
78
+
79
+ rspec-ruby3.3-rails8.0:
80
+ <<: *rspec
81
+ image: ruby:3.3
82
+ variables:
83
+ RSPEC_RAILS_VERSION: "8.0"
84
+
79
85
  rubocop:
80
86
  stage: codequality
81
- image: ruby:2.7
87
+ image: ruby:3.0
82
88
  script:
83
- - gem install rubocop rubocop-performance --no-document
89
+ - gem install rubocop rubocop-performance rubocop-rails rubocop-rspec --no-document
84
90
  - rubocop
85
91
 
86
92
  release:
87
93
  stage: release
88
- image: ruby:3.0
94
+ image: ruby:3.3
89
95
  script:
90
96
  - gem install bundler --no-document
91
97
  - bundle update
data/.rubocop.yml CHANGED
@@ -1,8 +1,11 @@
1
1
  require:
2
2
  - rubocop-performance
3
+ - rubocop-rspec
4
+ - rubocop-rails
3
5
 
4
6
  AllCops:
5
- TargetRubyVersion: 2.7
7
+ TargetRubyVersion: 3.0
8
+ NewCops: disable
6
9
 
7
10
  Layout/HashAlignment:
8
11
  EnforcedHashRocketStyle: table
@@ -14,3 +17,6 @@ Layout/LineLength:
14
17
  Naming/FileName:
15
18
  Exclude:
16
19
  - 'lib/rails-menu-manager.rb'
20
+
21
+ RSpec/MultipleExpectations:
22
+ Max: 3
data/CHANGELOG.md CHANGED
@@ -7,6 +7,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.8.0] - 2025-01-08
11
+
12
+ ### Added
13
+ - support for Rails 7.2 & 8.0
14
+
15
+ ### Changed
16
+
17
+ - CI: Use bundler 2.4
18
+ - CI: Use Ruby 3.0 for rubocop
19
+ - CI: Use Ruby 3.3 for build & release
20
+ - drop support for ruby < 3.0
21
+
22
+ ## [0.7.0] - 2023-10-29
23
+
10
24
  ### Added
11
25
 
12
26
  - support for Rails 7.1
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RailsMenuManager
4
- VERSION = '0.7.0'
4
+ VERSION = '0.8.0'
5
5
  end
@@ -19,13 +19,15 @@ Gem::Specification.new do |spec|
19
19
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
20
20
  spec.require_paths = ['lib']
21
21
 
22
- spec.required_ruby_version = '>= 2.7.0'
22
+ spec.required_ruby_version = '>= 3.0.0'
23
23
 
24
- spec.add_dependency 'railties', '>= 6.1', '< 7.2'
24
+ spec.add_dependency 'railties', '>= 6.1', '< 8.1'
25
25
 
26
26
  spec.add_development_dependency 'bundler'
27
27
  spec.add_development_dependency 'rake'
28
28
  spec.add_development_dependency 'rspec'
29
29
  spec.add_development_dependency 'rubocop'
30
30
  spec.add_development_dependency 'rubocop-performance'
31
+ spec.add_development_dependency 'rubocop-rails'
32
+ spec.add_development_dependency 'rubocop-rspec'
31
33
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-menu-manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Florian Schwab
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-29 00:00:00.000000000 Z
11
+ date: 2025-01-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '6.1'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '7.2'
22
+ version: '8.1'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '6.1'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '7.2'
32
+ version: '8.1'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: bundler
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -100,6 +100,34 @@ dependencies:
100
100
  - - ">="
101
101
  - !ruby/object:Gem::Version
102
102
  version: '0'
103
+ - !ruby/object:Gem::Dependency
104
+ name: rubocop-rails
105
+ requirement: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - ">="
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
110
+ type: :development
111
+ prerelease: false
112
+ version_requirements: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - ">="
115
+ - !ruby/object:Gem::Version
116
+ version: '0'
117
+ - !ruby/object:Gem::Dependency
118
+ name: rubocop-rspec
119
+ requirement: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - ">="
122
+ - !ruby/object:Gem::Version
123
+ version: '0'
124
+ type: :development
125
+ prerelease: false
126
+ version_requirements: !ruby/object:Gem::Requirement
127
+ requirements:
128
+ - - ">="
129
+ - !ruby/object:Gem::Version
130
+ version: '0'
103
131
  description: Simple menu manager for Rails.
104
132
  email:
105
133
  - me@ydkn.de
@@ -134,14 +162,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
134
162
  requirements:
135
163
  - - ">="
136
164
  - !ruby/object:Gem::Version
137
- version: 2.7.0
165
+ version: 3.0.0
138
166
  required_rubygems_version: !ruby/object:Gem::Requirement
139
167
  requirements:
140
168
  - - ">="
141
169
  - !ruby/object:Gem::Version
142
170
  version: '0'
143
171
  requirements: []
144
- rubygems_version: 3.4.10
172
+ rubygems_version: 3.5.22
145
173
  signing_key:
146
174
  specification_version: 4
147
175
  summary: Simple menu manager for Rails.