gemwork 0.5.0 → 0.5.2

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: e412d441f6bde6c0a2e3ba214d6204e17ca4f2e7eb5f796e06ce79f1ff545aa8
4
- data.tar.gz: 0c6d4106c0e547e2dab91d7411674fdeb1d7ba3c054e7bcb055635a96b7adad8
3
+ metadata.gz: cfaf6b41924fcbee3772dd3c7ca47fd3678a63b5a06ea55b76c2d08844e86728
4
+ data.tar.gz: ca065ce4cb6bdccf93f7114af1b1f5577027e182740b4c95ef51c4c8dae76ab3
5
5
  SHA512:
6
- metadata.gz: 4cb7d423c31fa5bec5c06b4bc597d199f30e122b8e5ab9bdc1351c9b51f9e8e5223a00697cc9b9fa7be81a0533e2cce6e105d4b9b8995789dda7bd52dc0c0ce7
7
- data.tar.gz: 29cae19621f25a53e03bb7d76495dfebaf5092ab00e5c9ac6d68b4b626b1b35d41f4a4e8ec65d64c6c9f9f2440d08c42b5be0f9c8154c365451cdba73f380f1d
6
+ metadata.gz: ebca62eb644149d2e240703018ce9d2105d3b6ed48b116185a21c19fb8368921cf035bed59933ef0931c2462260c11e7bed4c0c56d59650a1c30a29fd0869785
7
+ data.tar.gz: 49ceef979d0aaeca2abdb85aaa214a6e4fc174e49ea16e25989b55b95333be87e4e3ceb4e8347c6bdcfd0b72126dfbf2df2e789ab88e480ba117b277182d6314
data/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  ## [Unreleased]
2
2
 
3
+
4
+ ## [0.5.2] - 2024-8-22
5
+
6
+ - Exclude `db/migrate/**/*` from `rake reek` runs (for Rails apps).
7
+
8
+ ## [0.5.1] - 2024-3-27
9
+
10
+ - Disable rubocop-performance's Performance/ArraySemiInfiniteRangeSlice cop due to false positives with Strings.
11
+ - Fix example rake tasks list in README for Rails projects.
12
+
3
13
  ## [0.5.0] - 2024-3-22
4
14
 
5
15
  - Add examples for use in Rails projects. See the updated README.
data/README.md CHANGED
@@ -70,7 +70,7 @@ spec = Gem::Specification.find_by_name("gemwork")
70
70
  # Load additional tasks defined by Gemwork.
71
71
  Dir.glob(
72
72
  Pathname.new(spec.gem_dir).
73
- join("lib", "tasks", "{util,rubocop,reek,test}.rake")) do |task|
73
+ join("lib", "tasks", "{util,rubocop,reek}.rake")) do |task|
74
74
  load(task)
75
75
  end
76
76
 
@@ -154,10 +154,10 @@ See also: [RuboCop's Configuration Guide on Inheritance](https://github.com/rubo
154
154
  # Load Rubocop plugins.
155
155
  require:
156
156
  - rubocop-capybara
157
- - rubocop-performance
158
157
  - rubocop-minitest
159
- - rubocop-rails
158
+ - rubocop-performance
160
159
  - rubocop-rake
160
+ - rubocop-rails
161
161
 
162
162
  # Load Cops configuration by Department.
163
163
  inherit_gem:
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Gemwork
4
- VERSION = "0.5.0"
4
+ VERSION = "0.5.2"
5
5
  end
@@ -1,5 +1,5 @@
1
1
  Performance/ArraySemiInfiniteRangeSlice:
2
- Enabled: true
2
+ Enabled: false # Too many false positives with Strings.
3
3
 
4
4
  Performance/CaseWhenSplat:
5
5
  Enabled: true
data/lib/tasks/reek.rake CHANGED
@@ -4,4 +4,6 @@ require "reek/rake/task"
4
4
 
5
5
  Reek::Rake::Task.new do |t|
6
6
  t.fail_on_error = false
7
+ t.source_files =
8
+ FileList["**/*.rb"].exclude("vendor/**/*.rb", "db/migrate/**/*")
7
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gemwork
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul DobbinSchmaltz
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-03-22 00:00:00.000000000 Z
11
+ date: 2024-08-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -251,7 +251,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
251
251
  - !ruby/object:Gem::Version
252
252
  version: '0'
253
253
  requirements: []
254
- rubygems_version: 3.5.6
254
+ rubygems_version: 3.5.17
255
255
  signing_key:
256
256
  specification_version: 4
257
257
  summary: Common gem framework code used by pdobb's Ruby Gems.