rails-menu-manager 0.5.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: 1c40996b44142d644d0acde8336e987c0c642bbfcda7033269f18d7db368cb39
4
- data.tar.gz: 96db0e2948e9a287df8b40c64b468c2d78de94a78d3f7b7a26e54730f491dcd1
3
+ metadata.gz: 1b5f7b1d95b25bfbc4a7b1cf9e664dc1dcebe42e42e7144fcd06b6c1d73bd1c2
4
+ data.tar.gz: 640a053eea6382f89e0d6e2bbb3d538d78c626ecc065e327a7557fa131f0dc7f
5
5
  SHA512:
6
- metadata.gz: 9bf5c7b24567ee069e0874dbf66f37a674c93da3bd09022a7e1c6cacb370f692120f8dd565c775596b2208c9d680dce607abb977db8a806c6ba3d523e8791dd2
7
- data.tar.gz: b7c85acb10c0e7a9d58fbc6ffa86563e48cdf66e87f7ddf690b75550e028b818df69b748fb19312726f717ea6515b5528a2c830ce48e0093a4d6c9240c792845
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,101 +40,60 @@ build:
30
40
  paths:
31
41
  - cache/
32
42
 
33
- rspec-ruby2.4-rails4.2:
34
- <<: *rspec
35
- image: ruby:2.4
36
- variables:
37
- BUNDLER_VERSION: '1.7'
38
- RSPEC_RAILS_VERSION: '4.2'
39
-
40
- rspec-ruby2.5-rails4.2:
41
- <<: *rspec
42
- image: ruby:2.5
43
- variables:
44
- BUNDLER_VERSION: '1.7'
45
- RSPEC_RAILS_VERSION: '4.2'
46
-
47
- rspec-ruby2.4-rails5.0:
48
- <<: *rspec
49
- image: ruby:2.4
50
- variables:
51
- RSPEC_RAILS_VERSION: '5.0'
52
-
53
- rspec-ruby2.5-rails5.0:
54
- <<: *rspec
55
- image: ruby:2.5
56
- variables:
57
- RSPEC_RAILS_VERSION: '5.0'
58
-
59
- rspec-ruby2.6-rails5.0:
60
- <<: *rspec
61
- image: ruby:2.6
62
- variables:
63
- RSPEC_RAILS_VERSION: '5.0'
64
-
65
- rspec-ruby2.4-rails5.1:
66
- <<: *rspec
67
- image: ruby:2.4
68
- variables:
69
- RSPEC_RAILS_VERSION: '5.1'
70
-
71
- rspec-ruby2.5-rails5.1:
72
- <<: *rspec
73
- image: ruby:2.5
74
- variables:
75
- RSPEC_RAILS_VERSION: '5.1'
76
-
77
- rspec-ruby2.6-rails5.1:
78
- <<: *rspec
79
- image: ruby:2.6
80
- variables:
81
- RSPEC_RAILS_VERSION: '5.1'
82
-
83
- rspec-ruby2.4-rails5.2:
84
- <<: *rspec
85
- image: ruby:2.4
86
- variables:
87
- RSPEC_RAILS_VERSION: '5.2'
88
-
89
- rspec-ruby2.5-rails5.2:
43
+ rspec-ruby2.7-rails6.1:
90
44
  <<: *rspec
91
- image: ruby:2.5
45
+ image: ruby:2.7
92
46
  variables:
93
- RSPEC_RAILS_VERSION: '5.2'
47
+ RSPEC_RAILS_VERSION: "6.1"
94
48
 
95
- rspec-ruby2.6-rails5.2:
49
+ rspec-ruby2.7-rails7.0:
96
50
  <<: *rspec
97
- image: ruby:2.6
51
+ image: ruby:2.7
98
52
  variables:
99
- RSPEC_RAILS_VERSION: '5.2'
53
+ RSPEC_RAILS_VERSION: "7.0"
100
54
 
101
- rspec-ruby2.5-rails6.0:
55
+ rspec-ruby3.0-rails7.0:
102
56
  <<: *rspec
103
- image: ruby:2.5
57
+ image: ruby:3.0
104
58
  variables:
105
- RSPEC_RAILS_VERSION: '6.0'
59
+ RSPEC_RAILS_VERSION: "7.0"
106
60
 
107
- rspec-ruby2.6-rails6.0:
61
+ rspec-ruby2.7-rails7.1:
108
62
  <<: *rspec
109
- image: ruby:2.6
63
+ image: ruby:2.7
110
64
  variables:
111
- RSPEC_RAILS_VERSION: '6.0'
65
+ RSPEC_RAILS_VERSION: "7.1"
112
66
 
113
- rspec-ruby2.5-rails6.1:
67
+ rspec-ruby3.0-rails7.1:
114
68
  <<: *rspec
115
- image: ruby:2.5
69
+ image: ruby:3.0
116
70
  variables:
117
- RSPEC_RAILS_VERSION: '6.1'
71
+ RSPEC_RAILS_VERSION: "7.1"
118
72
 
119
- rspec-ruby2.6-rails6.1:
73
+ rspec-ruby3.2-rails7.1:
120
74
  <<: *rspec
121
- image: ruby:2.6
75
+ image: ruby:3.2
122
76
  variables:
123
- RSPEC_RAILS_VERSION: '6.1'
77
+ RSPEC_RAILS_VERSION: "7.1"
124
78
 
125
79
  rubocop:
126
80
  stage: codequality
127
- image: ruby:2.6
81
+ image: ruby:2.7
128
82
  script:
129
83
  - gem install rubocop rubocop-performance --no-document
130
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,13 +2,13 @@ require:
2
2
  - rubocop-performance
3
3
 
4
4
  AllCops:
5
- TargetRubyVersion: 2.4
5
+ TargetRubyVersion: 2.7
6
6
 
7
7
  Layout/HashAlignment:
8
8
  EnforcedHashRocketStyle: table
9
9
  EnforcedColonStyle: table
10
10
 
11
- Metrics/LineLength:
11
+ Layout/LineLength:
12
12
  Max: 120
13
13
 
14
14
  Naming/FileName:
data/CHANGELOG.md CHANGED
@@ -7,6 +7,32 @@ 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
+
25
+ ## [0.6.0] - 2020-12-21
26
+
27
+ ### Added
28
+
29
+ - support for Rails 7.0
30
+
31
+ ### Changed
32
+
33
+ - set supported ruby versions to >= 2.5.0 (required for rubocop, anyway legacy)
34
+ - set supported rails versions to >= 5.0.0
35
+
10
36
  ## [0.5.0] - 2020-12-12
11
37
 
12
38
  ### Added
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RailsMenuManager
4
- VERSION = '0.5.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.4.0'
22
+ spec.required_ruby_version = '>= 2.7.0'
23
23
 
24
- spec.add_dependency 'railties', '>= 4.2', '< 6.2'
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.5.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: 2020-12-12 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: '4.2'
19
+ version: '6.1'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '6.2'
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: '4.2'
29
+ version: '6.1'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '6.2'
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.4.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.1.4
144
+ rubygems_version: 3.4.10
145
145
  signing_key:
146
146
  specification_version: 4
147
147
  summary: Simple menu manager for Rails.