nucop 0.10.0 → 0.10.1

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: 7ff54f8a1918cd048657e884cafc31ebebfc0b1f5cf4f680ee6744258c3f71d2
4
- data.tar.gz: 68ce2d04feece7e38b8310d375b4b44bc30b7e04bd2310cf4d9782765a1cf483
3
+ metadata.gz: bee3ce8b5a8a717137ecd01ea6240377fc126fb48279bd99ae949d7f95124467
4
+ data.tar.gz: '062902f196df892048482024e694b98af79623e781e1259de71b7e6cc1f6108d'
5
5
  SHA512:
6
- metadata.gz: 7083788bc1f37779cc1eb5dbee8a9f2ff9afaf2d0e48a24bf7a3049b0005640b7194a73d9d3bed4c6968dceacd1febad1ef993989e0458a8d9571b3adc7e6e63
7
- data.tar.gz: 5d90bbae9eb57877e843566391448e32e7f59a84ec650fb3adc89cc1fac43e742bd61a0ff3d178104a9a0d144c4417522976ade0d03da9d23b96691726acb658
6
+ metadata.gz: 2b84a41c5cc4ab709f95d79b127269d555798fcd28efa9e2ae803cf257f18d12e47848a4f3271d9da9401fb71e06752dfb4ab4a6a99c506b8d48762a2892dd10
7
+ data.tar.gz: d2f1b0d5df4fe52ae4de054e1269033af48000f0d85ee625e4ed70d6e2fd34ae45ae5416846f5b943948ba3840b9b8f093e1583dc7cfeae1ced378f98cf55db6
data/lib/nucop/cli.rb CHANGED
@@ -114,7 +114,7 @@ module Nucop
114
114
  diff_filter = options[:"added-only"] ? proc { |status| status == "added" } : proc { |status| status != "removed" }
115
115
  files = commit_data["files"]
116
116
  .filter { |file_data| diff_filter.call(file_data["status"]) }
117
- .pluck("filename")
117
+ .map { |file_data| file_data["filename"] }
118
118
  .filter { |file_name| file_name.include?(".rb") }
119
119
 
120
120
  if files.empty?
data/lib/nucop/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Nucop
2
- VERSION = "0.10.0"
2
+ VERSION = "0.10.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nucop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Schweier
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-09 00:00:00.000000000 Z
11
+ date: 2023-05-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: git_diff_parser