spoom 1.5.2 → 1.5.3

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: 6f26cb1e2c5649be363ee1319b601c2abe2c61d8ca2bcd335bec6ab91dba4195
4
- data.tar.gz: 2284b21b3cec3a02d49d9b5fcb160c4c38c27af131addc7b2d63194f3e5a4041
3
+ metadata.gz: 15a5275f0e7dc1a73b36bd18bd66aea991464104a1d22029a751255d2541a5d5
4
+ data.tar.gz: 93184b912b7d720e551f9cb870666a31b052c2511535caf1fd9c4c819d0f62c1
5
5
  SHA512:
6
- metadata.gz: c3695fa07844fcf1d2829ebfbfa030e514842a41edd7903c46b697ff60f0e76ddb9c4c8ce9098ac299c34434d4b720f32da88047c6884c67be59a02b04f3da57
7
- data.tar.gz: 2e338e995b073cb7dedbbce7e8cd0f976cca8fd3cd9cee4adaac1d0eabeb24ba43d1e362b449f0f701026327c0d7bd3e4984089eadc51e26f991627d4c08c663
6
+ metadata.gz: 9bbd6251f963e41482bedce4b46b19a1d69600dd5cca59d99bac72500af7f8a906cdb1c8ac6b7c499044ba7a24446257b5f5acad3a1335f1d16df81f291d253d
7
+ data.tar.gz: c4d1de6df7599dd9732bf8fd53b7c00667ec6b0e769b8fbcbfab1aa631424c1f7de68371626a63cecc0cbaf844382ad19809cbac5f91915c3930fe001d427726
@@ -67,9 +67,9 @@ module Spoom
67
67
  sig { returns(String) }
68
68
  def options_string
69
69
  opts = []
70
- opts.concat(paths)
71
- opts.concat(ignore.map { |p| "--ignore #{p}" })
72
- opts.concat(allowed_extensions.map { |ext| "--allowed-extension #{ext}" })
70
+ opts.concat(paths.map { |p| "'#{p}'" })
71
+ opts.concat(ignore.map { |p| "--ignore '#{p}'" })
72
+ opts.concat(allowed_extensions.map { |ext| "--allowed-extension '#{ext}'" })
73
73
  opts << "--no-stdlib" if @no_stdlib
74
74
  opts.join(" ")
75
75
  end
@@ -95,9 +95,6 @@ module Spoom
95
95
  when /^--allowed-extension=/
96
96
  config.allowed_extensions << parse_option(line)
97
97
  next
98
- when /^--ignore=/
99
- config.ignore << parse_option(line)
100
- next
101
98
  when /^--ignore$/
102
99
  state = :ignore
103
100
  next
data/lib/spoom/version.rb CHANGED
@@ -2,5 +2,5 @@
2
2
  # frozen_string_literal: true
3
3
 
4
4
  module Spoom
5
- VERSION = "1.5.2"
5
+ VERSION = "1.5.3"
6
6
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spoom
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.2
4
+ version: 1.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexandre Terrasa
8
8
  bindir: exe
9
9
  cert_chain: []
10
- date: 2025-01-21 00:00:00.000000000 Z
10
+ date: 2025-01-30 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: bundler
@@ -246,7 +246,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
246
246
  - !ruby/object:Gem::Version
247
247
  version: '0'
248
248
  requirements: []
249
- rubygems_version: 3.6.2
249
+ rubygems_version: 3.6.3
250
250
  specification_version: 4
251
251
  summary: Useful tools for Sorbet enthusiasts.
252
252
  test_files: []