easy_style 0.7.1 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 525da6c148e78f12ea8598607111ea6d2ee620cbcb7b49c7c9fb07d9f5bca75a
4
- data.tar.gz: d9f80d595e8f49c1f05c2755194b70bcac760d613e30d60c8fa6f6fcc91292d1
3
+ metadata.gz: e0dd3123aa196dff1db3cf3b9598c3ab481c6f5be7f7c9a947e919a54b1286f1
4
+ data.tar.gz: 92642e2816cc648141ff825cfe1717109567498bed3a30f81f12c8b5e50afccb
5
5
  SHA512:
6
- metadata.gz: 427ac7a6441ed81dbe6d521783822c9bff0866ec57e09d144135d544337a0783a5729203be408fab7086c5f7778ad3edd7043533725c2b649b5b174f0afafb14
7
- data.tar.gz: 973c93eb032724cfc1625b825109cf44347c1732f3cb9c15ddefa7d3c22a5c7b9cda33391bff98133dc92f02637d9a5a5723ddc4a371db4899ef7fadd85207d8
6
+ metadata.gz: 93d225ecc6e8a4bfd748ae66e52469533c0ffd87b19ee084afcce5bf6166a110bfa3e491209b41bec270557ec312e7e00050e7bacc0eac4fe673e0bad32567f4
7
+ data.tar.gz: cf8d26139911cc4d2f585a396841918751edb3f36dc5e258e75570c277cbda7e0f632119b73aea53afb71ec313beba63039bb5f9877fec30f2d45f7176ba9b0d
data/README.md CHANGED
@@ -4,14 +4,16 @@ Default RuboCop configuration for Easy.
4
4
 
5
5
  https://docs.rubocop.org/rubocop/
6
6
 
7
- https://www.easysoftware.com
7
+ https://docs.easy8.com
8
+
9
+ Since February 2026 we decided move close to Omakase style, but still want to keep our individual used rules, so we are using Omakase as base and then add our own rules on top of it.
8
10
 
9
11
  ## Installation
10
12
 
11
13
  Add this line to your application's Gemfile:
12
14
 
13
15
  ```ruby
14
- gem 'easy_style', group: %i[development]
16
+ gem "easy_style", group: %i[development], require: false
15
17
  ```
16
18
 
17
19
  And then execute:
@@ -35,16 +37,182 @@ Generate "todo" file is recommended:
35
37
  bundle exec rubocop --auto-gen-config --auto-gen-only-exclude --exclude-limit 10000
36
38
  ```
37
39
 
38
- ## Development
40
+ # GitLab CI/CD Component
39
41
 
40
- After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
42
+ This repository provides a reusable GitLab CI/CD component for running RuboCop in your pipelines.
41
43
 
42
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
44
+ ## Component Usage
43
45
 
44
- ## Contributing
46
+ Include the component in your project's `.gitlab-ci.yml`:
47
+
48
+ ```yaml
49
+ include:
50
+ - component: git.easy.cz/internal/easy_style/rubocop@v1.0.0
51
+ inputs:
52
+ version: "v1.0.0" # Match with ruby gem tag - specify which docker image of easy_style to use (default: latest)
53
+ ```
54
+
55
+ ### Component Inputs
56
+
57
+ | Input | Type | Default | Description |
58
+ |-------|------|---------|-------------|
59
+ | `job_name` | `string` | `rubocop` | Name of the CI job |
60
+ | `stage` | `string` | `linter` | Pipeline stage where the job runs |
61
+ | `allow_failure` | `boolean` | `false` | Whether to allow the job to fail |
62
+ | `version` | `string` | `latest` | Docker image version (should match git tag: v1.0.0, v1.1.0, etc.) |
63
+ | `changes_paths` | `array` | See below | Array of paths to check for changes |
64
+
65
+ **Important Notes:**
66
+ - `allow_failure` is typed as `boolean` and works correctly as an entire YAML value
67
+
68
+ **Default `changes_paths`:**
69
+ ```yaml
70
+ - "plugins/**/*.rb"
71
+ - "easy_engines/**/*.rb"
72
+ - "easy_lib/**/*.rb"
73
+ - "easy_plugins/**/*.rb"
74
+ ```
75
+
76
+ ### Examples
77
+
78
+ **Basic usage with specific version:**
79
+ ```yaml
80
+ include:
81
+ - component: git.easy.cz/internal/easy_style/rubocop@v1.0.0
82
+ ```
83
+
84
+ **Custom job name and stage:**
85
+ ```yaml
86
+ include:
87
+ - component: git.easy.cz/internal/easy_style/rubocop@v1.0.0
88
+ inputs:
89
+ job_name: code-quality
90
+ stage: test
91
+ version: "v1.0.0"
92
+ allow_failure: true
93
+ ```
94
+
95
+ **Disable changes detection (run on all commits):**
96
+ ```yaml
97
+ include:
98
+ - component: git.easy.cz/internal/easy_style/rubocop@v1.0.0
99
+ inputs:
100
+ version: "v1.0.0"
101
+ changes_paths:
102
+ - "**/*.rb"
103
+ ```
45
104
 
46
- Bug reports and pull requests are welcome on GitHub at https://github.com/easysoftware/easy_style.
105
+ **Custom paths for changes detection:**
106
+ ```yaml
107
+ include:
108
+ - component: git.easy.cz/internal/easy_style/rubocop@v1.0.0
109
+ inputs:
110
+ version: "v1.0.0"
111
+ changes_paths:
112
+ - "app/**/*.rb"
113
+ - "lib/**/*.rb"
114
+ ```
115
+
116
+ ### How It Works
117
+
118
+ The component automatically:
119
+ - Uses the RuboCop Docker image from this project's registry (`${CI_REGISTRY}/internal/easy_style`)
120
+ - Creates a temporary `.rubocop_ci.yml` if it doesn't exist (inherits from `.rubocop.yml` and `.rubocop_todo.yml`)
121
+ - By default, runs RuboCop only when files in specified paths change (compared to `master` branch)
122
+ - Runs with shallow clone (GIT_DEPTH=1) for faster checkout
123
+
124
+ # Docker Image (Legacy Usage)
125
+
126
+ Rubocop standalone Docker image for CI/CD pipelines linting RoR applications.
127
+
128
+ Image is inspired by https://gitlab.com/pipeline-components/rubocop/-/blob/main/Dockerfile.
129
+
130
+ **Note:** We recommend using the GitLab CI/CD component (documented above) instead of directly using the Docker image. The component provides better integration and configuration options.
131
+
132
+ ## Highlights
133
+
134
+ * Ruby version matches platform ruby version (4.0.1)
135
+ * Multi-stage build for smaller image size
136
+ * Runs as non-root user for security
137
+ * CI automatically builds Docker images only for git tags
138
+ * Docker image version matches gem version 1:1
139
+
140
+ ## Direct Docker Usage
141
+
142
+ If you need to use the Docker image directly in `.gitlab-ci.yml`:
143
+ ```yaml
144
+ rubocop linter:
145
+ stage: lint
146
+ image: registry.git.easy.cz/internal/easy_style:v1.0.0 # Or :latest
147
+ before_script:
148
+ - "[ ! -f '.rubocop_ci.yml' ] && ((echo 'inherit_from:'; echo ' - .rubocop.yml') > .rubocop_ci.yml; echo ' - .rubocop_todo.yml' >> .rubocop_ci.yml)"
149
+ script:
150
+ - rubocop -c .rubocop_ci.yml
151
+ ```
152
+
153
+ Or use standalone via Docker CLI:
154
+ ```bash
155
+ # Using latest version - mounts your code to /code (working directory is /app)
156
+ docker run --rm -v $(pwd):/code -w /code registry.git.easy.cz/internal/easy_style:latest
157
+
158
+ # Alternative: mount to /app (image's default WORKDIR)
159
+ docker run --rm -v $(pwd):/app registry.git.easy.cz/internal/easy_style:latest
160
+ ```
161
+
162
+ **How config resolution works:**
163
+ 1. If your project has `.rubocop.yml`, RuboCop uses it
164
+ 2. If not, RuboCop automatically falls back to `~/.rubocop.yml` (the built-in easy_style config)
165
+ 3. This means you get easy_style's rules by default, but can override them per-project
166
+
167
+ ## Contributing
47
168
 
169
+ ### Release Workflow
170
+
171
+ This project uses a coordinated release workflow where the gem and Docker image are released together:
172
+
173
+ 1. **Develop and Test**
174
+ - Make changes to RuboCop configuration (`default.yml`) or gem code
175
+ - Test locally with `bundle exec rubocop`
176
+ - Commit and push to `master` branch
177
+
178
+ 2. **Release Gem to RubyGems** (Manual with 2FA)
179
+ ```bash
180
+ # Update version in easy_style.gemspec if needed
181
+ gem build easy_style.gemspec
182
+ gem push easy_style-1.0.0.gem # Requires 2FA authentication
183
+ ```
184
+
185
+ 3. **Create Git Tag** (Triggers Docker Build)
186
+ ```bash
187
+ # Tag with 'v' prefix matching the gem version
188
+ git tag v1.0.0
189
+ git push origin v1.0.0
190
+ ```
191
+
192
+ 4. **Automated Docker Release**
193
+ - GitLab CI automatically triggers on tag push (not on regular commits)
194
+ - Builds Docker image with multi-stage optimization
195
+ - Tags image as `registry.git.easy.cz/internal/easy_style:v1.0.0`
196
+ - Also tags as `:latest` for convenience
197
+ - Creates GitLab release with tag information
198
+
199
+ ### Version Numbering
200
+
201
+ - Use semantic versioning: `v1.0.0`, `v1.1.0`, `v2.0.0`, etc.
202
+ - **Always include the `v` prefix** in git tags
203
+ - Gem version (in gemspec) and git tag should match (e.g., gem `1.0.0` → tag `v1.0.0`)
204
+ - Docker images are tagged with the full git tag including `v` prefix
205
+
206
+ ### Release Checklist
207
+
208
+ - [ ] Update `easy_style.gemspec` version if needed
209
+ - [ ] Update `CHANGELOG.md` (if exists)
210
+ - [ ] Test locally: `gem build && gem install easy_style-*.gem`
211
+ - [ ] Push gem to RubyGems with 2FA
212
+ - [ ] Create and push git tag with `v` prefix
213
+ - [ ] Verify Docker build in GitLab CI completes successfully
214
+ - [ ] Test Docker image: `docker pull registry.git.easy.cz/internal/easy_style:v1.0.0`
215
+ - [ ] Verify GitLab component works in a test project
48
216
 
49
217
  ## License
50
218
 
data/default.yml CHANGED
@@ -1,5 +1,5 @@
1
- plugins:
2
- - rubocop-rails
1
+ inherit_gem:
2
+ rubocop-rails-omakase: rubocop.yml
3
3
 
4
4
  inherit_mode:
5
5
  merge: Exclude
@@ -7,7 +7,7 @@ inherit_mode:
7
7
  Rails:
8
8
  Enabled: true
9
9
  AllCops:
10
- TargetRubyVersion: 3.2
10
+ TargetRubyVersion: 4.0
11
11
  NewCops: enable
12
12
  SuggestExtensions: false
13
13
 
@@ -25,6 +25,8 @@ Layout/EmptyLinesAroundClassBody:
25
25
  EnforcedStyle: empty_lines_special
26
26
  Layout/EmptyLinesAroundModuleBody:
27
27
  EnforcedStyle: empty_lines_except_namespace
28
+ Layout/EndAlignment:
29
+ EnforcedStyleAlignWith: keyword
28
30
  Layout/LineLength:
29
31
  Enabled: false
30
32
 
@@ -32,23 +34,23 @@ Lint/SuppressedException:
32
34
  AllowComments: true
33
35
 
34
36
  Metrics/AbcSize:
35
- AllowedMethods: [ 'included' ]
37
+ AllowedMethods: [ "included" ]
36
38
  Metrics/BlockLength:
37
- CountAsOne: [ 'array', 'hash', 'heredoc', 'method_call']
39
+ CountAsOne: [ "array", "hash", "heredoc", "method_call"]
38
40
  Exclude:
39
41
  - "**/patches/**/*"
40
42
  - "**/easy_patch/**/*"
41
43
  - "**/spec/**/*"
42
44
  Metrics/ClassLength:
43
- CountAsOne: [ 'array', 'hash', 'heredoc', 'method_call']
45
+ CountAsOne: [ "array", "hash", "heredoc", "method_call"]
44
46
  Metrics/CyclomaticComplexity:
45
47
  AllowedMethods:
46
48
  - included
47
49
  Metrics/MethodLength:
48
- CountAsOne: [ 'array', 'hash', 'heredoc', 'method_call']
49
- AllowedMethods: [ 'included' ]
50
+ CountAsOne: [ "array", "hash", "heredoc", "method_call"]
51
+ AllowedMethods: [ "included" ]
50
52
  Metrics/ModuleLength:
51
- CountAsOne: [ 'array', 'hash', 'heredoc', 'method_call']
53
+ CountAsOne: [ "array", "hash", "heredoc", "method_call"]
52
54
  Exclude:
53
55
  - "**/patches/**/*"
54
56
  - "**/easy_patch/**/*"
@@ -61,30 +63,30 @@ Naming/BlockForwarding:
61
63
  Naming/VariableNumber:
62
64
  EnforcedStyle: snake_case
63
65
 
64
- Rails/ApplicationRecord:
65
- Enabled: false
66
66
  Rails/RedundantPresenceValidationOnBelongsTo:
67
67
  Enabled: false
68
+ Rails/SkipsModelValidations:
69
+ Enabled: false
68
70
 
69
71
  Style/Documentation:
70
72
  Enabled: false
71
73
  Style/FrozenStringLiteralComment:
72
74
  EnforcedStyle: never
73
- Style/IfUnlessModifier:
74
- Enabled: false
75
75
  Style/HashSyntax:
76
76
  EnforcedStyle: ruby19_no_mixed_keys
77
+ Style/IfUnlessModifier:
78
+ Enabled: false
77
79
  Style/MutableConstant:
78
80
  Enabled: false
79
81
  Style/NegatedIf:
80
82
  Enabled: false
81
83
  Style/QuotedSymbols:
82
84
  Enabled: false
83
- Rails/SkipsModelValidations:
84
- Enabled: false
85
+ Layout/SpaceInsideArrayLiteralBrackets:
86
+ EnforcedStyle: no_space
85
87
  Style/StringLiterals:
86
88
  EnforcedStyle: double_quotes
87
- Style/TrailingCommaInHashLiteral:
88
- EnforcedStyleForMultiline: consistent_comma
89
89
  Style/TrailingCommaInArrayLiteral:
90
90
  EnforcedStyleForMultiline: consistent_comma
91
+ Style/TrailingCommaInHashLiteral:
92
+ EnforcedStyleForMultiline: consistent_comma
data/lib/easy_style.rb CHANGED
@@ -1,5 +1,3 @@
1
- require "easy_style/version"
2
-
3
1
  module EasyStyle
4
- # Your code goes here...
2
+ # Just stub
5
3
  end
metadata CHANGED
@@ -1,70 +1,45 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: easy_style
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
- - Easy Software Ltd
8
- autorequire:
9
- bindir: exe
7
+ - Easy8
8
+ bindir: bin
10
9
  cert_chain: []
11
- date: 2025-03-12 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
- name: rubocop
13
+ name: rubocop-rails-omakase
15
14
  requirement: !ruby/object:Gem::Requirement
16
15
  requirements:
17
- - - "~>"
16
+ - - ">="
18
17
  - !ruby/object:Gem::Version
19
- version: '1.73'
18
+ version: '0'
20
19
  type: :runtime
21
20
  prerelease: false
22
21
  version_requirements: !ruby/object:Gem::Requirement
23
22
  requirements:
24
- - - "~>"
23
+ - - ">="
25
24
  - !ruby/object:Gem::Version
26
- version: '1.73'
27
- - !ruby/object:Gem::Dependency
28
- name: rubocop-rails
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: '2.30'
34
- type: :runtime
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: '2.30'
25
+ version: '0'
41
26
  description: Rubocop configs
42
27
  email:
43
- - info@easyredmine.com
28
+ - developers@easy8.com
44
29
  executables: []
45
30
  extensions: []
46
31
  extra_rdoc_files: []
47
32
  files:
48
- - ".github/workflows/lint.yml"
49
- - ".gitignore"
50
- - ".rubocop.yml"
51
- - Gemfile
52
- - Gemfile.lock
53
- - LICENSE.txt
54
33
  - README.md
55
- - Rakefile
56
34
  - default.yml
57
- - easy_style.gemspec
58
35
  - lib/easy_style.rb
59
- - lib/easy_style/version.rb
60
- homepage: https://github.com/easysoftware/easy_style
36
+ homepage: https://git.easy8.com/internal/easy_style
61
37
  licenses:
62
38
  - MIT
63
39
  metadata:
64
- homepage_uri: https://github.com/easysoftware/easy_style
65
- source_code_uri: https://github.com/easysoftware/easy_style
66
- changelog_uri: https://github.com/easysoftware/easy_style
67
- post_install_message:
40
+ homepage_uri: https://git.easy8.com/internal/easy_style
41
+ source_code_uri: https://git.easy8.com/internal/easy_style
42
+ changelog_uri: https://git.easy8.com/internal/easy_style
68
43
  rdoc_options: []
69
44
  require_paths:
70
45
  - lib
@@ -72,15 +47,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
72
47
  requirements:
73
48
  - - ">="
74
49
  - !ruby/object:Gem::Version
75
- version: 3.1.2
50
+ version: '0'
76
51
  required_rubygems_version: !ruby/object:Gem::Requirement
77
52
  requirements:
78
53
  - - ">="
79
54
  - !ruby/object:Gem::Version
80
55
  version: '0'
81
56
  requirements: []
82
- rubygems_version: 3.5.11
83
- signing_key:
57
+ rubygems_version: 4.0.4
84
58
  specification_version: 4
85
- summary: Rubocop configs
59
+ summary: Easy styling for Ruby and Rails projects
86
60
  test_files: []
@@ -1,19 +0,0 @@
1
- name: Lint
2
- on: [push]
3
-
4
- jobs:
5
- build:
6
- strategy:
7
- fail-fast: false
8
- matrix:
9
- ruby: ["3.2", "3.3.7"]
10
- runs-on: ubuntu-latest
11
- steps:
12
- - uses: actions/checkout@v4
13
- - name: Set up Ruby
14
- uses: ruby/setup-ruby@v1
15
- with:
16
- ruby-version: ${{ matrix.ruby }}
17
- bundler-cache: true
18
- - name: Rubocop
19
- run: bundle exec rubocop
data/.gitignore DELETED
@@ -1,9 +0,0 @@
1
- /.bundle/
2
- /.yardoc
3
- /_yardoc/
4
- /coverage/
5
- /doc/
6
- /pkg/
7
- /spec/reports/
8
- /tmp/
9
- /.idea/
data/.rubocop.yml DELETED
@@ -1 +0,0 @@
1
- inherit_from: default.yml
data/Gemfile DELETED
@@ -1,6 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- # Specify your gem's dependencies in easy_style.gemspec
4
- gemspec
5
-
6
- gem "rake", "~> 12.0"
data/Gemfile.lock DELETED
@@ -1,80 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- easy_style (0.7.1)
5
- rubocop (~> 1.73)
6
- rubocop-rails (~> 2.30)
7
-
8
- GEM
9
- remote: https://rubygems.org/
10
- specs:
11
- activesupport (7.1.3.2)
12
- base64
13
- bigdecimal
14
- concurrent-ruby (~> 1.0, >= 1.0.2)
15
- connection_pool (>= 2.2.5)
16
- drb
17
- i18n (>= 1.6, < 2)
18
- minitest (>= 5.1)
19
- mutex_m
20
- tzinfo (~> 2.0)
21
- ast (2.4.2)
22
- base64 (0.2.0)
23
- bigdecimal (3.1.7)
24
- concurrent-ruby (1.2.3)
25
- connection_pool (2.4.1)
26
- drb (2.2.1)
27
- i18n (1.14.4)
28
- concurrent-ruby (~> 1.0)
29
- json (2.7.2)
30
- language_server-protocol (3.17.0.3)
31
- lint_roller (1.1.0)
32
- minitest (5.22.3)
33
- mutex_m (0.2.0)
34
- parallel (1.24.0)
35
- parser (3.3.1.0)
36
- ast (~> 2.4.1)
37
- racc
38
- racc (1.7.3)
39
- rack (3.0.10)
40
- rainbow (3.1.1)
41
- rake (12.3.3)
42
- regexp_parser (2.10.0)
43
- rubocop (1.73.2)
44
- json (~> 2.3)
45
- language_server-protocol (~> 3.17.0.2)
46
- lint_roller (~> 1.1.0)
47
- parallel (~> 1.10)
48
- parser (>= 3.3.0.2)
49
- rainbow (>= 2.2.2, < 4.0)
50
- regexp_parser (>= 2.9.3, < 3.0)
51
- rubocop-ast (>= 1.38.0, < 2.0)
52
- ruby-progressbar (~> 1.7)
53
- unicode-display_width (>= 2.4.0, < 4.0)
54
- rubocop-ast (1.38.1)
55
- parser (>= 3.3.1.0)
56
- rubocop-rails (2.30.3)
57
- activesupport (>= 4.2.0)
58
- lint_roller (~> 1.1)
59
- rack (>= 1.1)
60
- rubocop (>= 1.72.1, < 2.0)
61
- rubocop-ast (>= 1.38.0, < 2.0)
62
- ruby-progressbar (1.13.0)
63
- tzinfo (2.0.6)
64
- concurrent-ruby (~> 1.0)
65
- unicode-display_width (2.5.0)
66
-
67
- PLATFORMS
68
- arm64-darwin-22
69
- arm64-darwin-23
70
- arm64-darwin-24
71
- x86_64-darwin-21
72
- x86_64-darwin-22
73
- x86_64-linux
74
-
75
- DEPENDENCIES
76
- easy_style!
77
- rake (~> 12.0)
78
-
79
- BUNDLED WITH
80
- 2.6.5
data/LICENSE.txt DELETED
@@ -1,21 +0,0 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2021 Ondrej Pop
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in
13
- all copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- THE SOFTWARE.
data/Rakefile DELETED
@@ -1,2 +0,0 @@
1
- require "bundler/gem_tasks"
2
- task default: :spec
data/easy_style.gemspec DELETED
@@ -1,30 +0,0 @@
1
- require_relative "lib/easy_style/version"
2
-
3
- Gem::Specification.new do |spec|
4
- spec.name = "easy_style"
5
- spec.version = EasyStyle::VERSION
6
- spec.authors = ["Easy Software Ltd"]
7
- spec.email = ["info@easyredmine.com"]
8
-
9
- spec.summary = "Rubocop configs"
10
- spec.description = "Rubocop configs"
11
- spec.homepage = "https://github.com/easysoftware/easy_style"
12
- spec.license = "MIT"
13
- spec.required_ruby_version = ">= 3.1.2"
14
-
15
- spec.metadata["homepage_uri"] = spec.homepage
16
- spec.metadata["source_code_uri"] = spec.homepage
17
- spec.metadata["changelog_uri"] = spec.homepage
18
-
19
- # Specify which files should be added to the gem when it is released.
20
- # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
21
- spec.files = Dir.chdir(File.expand_path(__dir__)) do
22
- `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
23
- end
24
- spec.bindir = "exe"
25
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
26
- spec.require_paths = ["lib"]
27
-
28
- spec.add_dependency "rubocop", "~> 1.73"
29
- spec.add_dependency "rubocop-rails", "~> 2.30"
30
- end
@@ -1,5 +0,0 @@
1
- module EasyStyle
2
-
3
- VERSION = "0.7.1"
4
-
5
- end