rails-menu-manager 0.6.0 → 0.7.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: a66020465baf8336edae4c054d31162d9469c359e8beb1904b1af3eb4180ea13
4
- data.tar.gz: 17de76c2c9f5ecccbc63fa9370b0b4bcca6e935ea70f552a73b4d0dadc5f712b
3
+ metadata.gz: 1b5f7b1d95b25bfbc4a7b1cf9e664dc1dcebe42e42e7144fcd06b6c1d73bd1c2
4
+ data.tar.gz: 640a053eea6382f89e0d6e2bbb3d538d78c626ecc065e327a7557fa131f0dc7f
5
5
  SHA512:
6
- metadata.gz: accdfe6956c15c0b5e8ac219d41430c151904f3b7dd807e794ca34c18f2e7d7942796a6bda4ae34af662c181b9e3b21058b2f47041187e6b7e9bd1a1e226ab6e
7
- data.tar.gz: 326ac22a5f02bcc3709574b97ee1727bbb8665c7d93b1648828d7a11fb9d9d7c94b0503cfbe9436648b7e8081526040889e2be7652e1955cbec227045fa8bc68
6
+ metadata.gz: b0492b137fb357f04983cde2fc3a1472472c73c4dd9164e76a36df3e550f6d351c1ec10db550924a1acd14bf17fde598ca764093ddaa33e597029402e5d03df6
7
+ data.tar.gz: 04c8d9f79a1b733fcecfe8e0c93706808d2473dff92eb7bd1b27cf56fb55a2bf38baf12e675a3486972c02f61ee1a4c6600b4f55b3ba5873515fc3b1c48cc61d
data/.gitlab-ci.yml CHANGED
@@ -1,12 +1,22 @@
1
1
  stages:
2
+ - security
2
3
  - build
3
4
  - test
4
5
  - codequality
5
- - security
6
+ - release
7
+
8
+ sast:
9
+ stage: security
10
+
11
+ dependency_scanning:
12
+ stage: security
13
+
14
+ secret_detection:
15
+ stage: security
6
16
 
7
17
  build:
8
18
  stage: build
9
- image: ruby:2.6
19
+ image: ruby:3.2
10
20
  script:
11
21
  - gem install bundler --no-document
12
22
  - bundle update
@@ -30,81 +40,60 @@ build:
30
40
  paths:
31
41
  - cache/
32
42
 
33
- rspec-ruby2.5-rails5.0:
34
- <<: *rspec
35
- image: ruby:2.5
36
- variables:
37
- RSPEC_RAILS_VERSION: '5.0'
38
-
39
- rspec-ruby2.6-rails5.0:
40
- <<: *rspec
41
- image: ruby:2.6
42
- variables:
43
- RSPEC_RAILS_VERSION: '5.0'
44
-
45
- rspec-ruby2.5-rails5.1:
43
+ rspec-ruby2.7-rails6.1:
46
44
  <<: *rspec
47
- image: ruby:2.5
48
- variables:
49
- RSPEC_RAILS_VERSION: '5.1'
50
-
51
- rspec-ruby2.6-rails5.1:
52
- <<: *rspec
53
- image: ruby:2.6
54
- variables:
55
- RSPEC_RAILS_VERSION: '5.1'
56
-
57
- rspec-ruby2.5-rails5.2:
58
- <<: *rspec
59
- image: ruby:2.5
60
- variables:
61
- RSPEC_RAILS_VERSION: '5.2'
62
-
63
- rspec-ruby2.6-rails5.2:
64
- <<: *rspec
65
- image: ruby:2.6
66
- variables:
67
- RSPEC_RAILS_VERSION: '5.2'
68
-
69
- rspec-ruby2.5-rails6.0:
70
- <<: *rspec
71
- image: ruby:2.5
45
+ image: ruby:2.7
72
46
  variables:
73
- RSPEC_RAILS_VERSION: '6.0'
47
+ RSPEC_RAILS_VERSION: "6.1"
74
48
 
75
- rspec-ruby2.6-rails6.0:
49
+ rspec-ruby2.7-rails7.0:
76
50
  <<: *rspec
77
- image: ruby:2.6
51
+ image: ruby:2.7
78
52
  variables:
79
- RSPEC_RAILS_VERSION: '6.0'
53
+ RSPEC_RAILS_VERSION: "7.0"
80
54
 
81
- rspec-ruby2.5-rails6.1:
55
+ rspec-ruby3.0-rails7.0:
82
56
  <<: *rspec
83
- image: ruby:2.5
57
+ image: ruby:3.0
84
58
  variables:
85
- RSPEC_RAILS_VERSION: '6.1'
59
+ RSPEC_RAILS_VERSION: "7.0"
86
60
 
87
- rspec-ruby2.6-rails6.1:
61
+ rspec-ruby2.7-rails7.1:
88
62
  <<: *rspec
89
- image: ruby:2.6
63
+ image: ruby:2.7
90
64
  variables:
91
- RSPEC_RAILS_VERSION: '6.1'
65
+ RSPEC_RAILS_VERSION: "7.1"
92
66
 
93
- rspec-ruby2.7-rails7.0:
67
+ rspec-ruby3.0-rails7.1:
94
68
  <<: *rspec
95
- image: ruby:2.7
69
+ image: ruby:3.0
96
70
  variables:
97
- RSPEC_RAILS_VERSION: '7.0'
71
+ RSPEC_RAILS_VERSION: "7.1"
98
72
 
99
- rspec-ruby3.0-rails7.0:
73
+ rspec-ruby3.2-rails7.1:
100
74
  <<: *rspec
101
- image: ruby:3.0
75
+ image: ruby:3.2
102
76
  variables:
103
- RSPEC_RAILS_VERSION: '7.0'
77
+ RSPEC_RAILS_VERSION: "7.1"
104
78
 
105
79
  rubocop:
106
80
  stage: codequality
107
- image: ruby:2.6
81
+ image: ruby:2.7
108
82
  script:
109
83
  - gem install rubocop rubocop-performance --no-document
110
84
  - rubocop
85
+
86
+ release:
87
+ stage: release
88
+ image: ruby:3.0
89
+ script:
90
+ - gem install bundler --no-document
91
+ - bundle update
92
+ - rake release
93
+ only:
94
+ - tags
95
+
96
+ include:
97
+ - template: Security/SAST.gitlab-ci.yml
98
+ - template: Security/Dependency-Scanning.gitlab-ci.yml
99
+ - template: Security/Secret-Detection.gitlab-ci.yml
data/.rubocop.yml CHANGED
@@ -2,7 +2,7 @@ require:
2
2
  - rubocop-performance
3
3
 
4
4
  AllCops:
5
- TargetRubyVersion: 2.5
5
+ TargetRubyVersion: 2.7
6
6
 
7
7
  Layout/HashAlignment:
8
8
  EnforcedHashRocketStyle: table
data/CHANGELOG.md CHANGED
@@ -7,6 +7,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ### Added
11
+
12
+ - support for Rails 7.1
13
+ - extend test matrix with ruby 3.2
14
+
15
+ ### Changed
16
+
17
+ - set supported ruby versions to >= 2.7.0 (required for rubocop, anyway legacy)
18
+ - set supported rails versions to >= 6.1.0
19
+
20
+ ### Removed
21
+
22
+ - support for Rails < 6.1
23
+ - support for Ruby < 2.7
24
+
10
25
  ## [0.6.0] - 2020-12-21
11
26
 
12
27
  ### Added
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RailsMenuManager
4
- VERSION = '0.6.0'
4
+ VERSION = '0.7.0'
5
5
  end
@@ -19,9 +19,9 @@ 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.5.0'
22
+ spec.required_ruby_version = '>= 2.7.0'
23
23
 
24
- spec.add_dependency 'railties', '>= 5.0', '< 7.1'
24
+ spec.add_dependency 'railties', '>= 6.1', '< 7.2'
25
25
 
26
26
  spec.add_development_dependency 'bundler'
27
27
  spec.add_development_dependency 'rake'
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.6.0
4
+ version: 0.7.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: 2021-12-21 00:00:00.000000000 Z
11
+ date: 2023-10-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -16,20 +16,20 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '5.0'
19
+ version: '6.1'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '7.1'
22
+ version: '7.2'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '5.0'
29
+ version: '6.1'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '7.1'
32
+ version: '7.2'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: bundler
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -134,14 +134,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
134
134
  requirements:
135
135
  - - ">="
136
136
  - !ruby/object:Gem::Version
137
- version: 2.5.0
137
+ version: 2.7.0
138
138
  required_rubygems_version: !ruby/object:Gem::Requirement
139
139
  requirements:
140
140
  - - ">="
141
141
  - !ruby/object:Gem::Version
142
142
  version: '0'
143
143
  requirements: []
144
- rubygems_version: 3.2.32
144
+ rubygems_version: 3.4.10
145
145
  signing_key:
146
146
  specification_version: 4
147
147
  summary: Simple menu manager for Rails.