sorbet 0.4.4481 → 0.4.4482

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/create-config.rb +5 -0
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 21835fa687cd694c033394146e71654e5495a08d
4
- data.tar.gz: 602c8774039c3adde6e93e4355ecd2344ccc305e
3
+ metadata.gz: add80b6a4b67e7884879713d43d155818214f42d
4
+ data.tar.gz: 85d33d6c95900ada81c57825a66bbe59dffe82c6
5
5
  SHA512:
6
- metadata.gz: e6eb84f25123d01c34ee13236f119234ebbfa5f180045c408db94e73c25cb30492d60fcc89476f7c756ca8cea19928427282c47fadf7544b37c3638ced2a620b
7
- data.tar.gz: fc6c3d8cf1061770b3e20be7e637245eeef06617d35aa5c4845f22b3e5400555be1a0e5e328a4f0ed41cad543fc163e792e79859bbb3d7e3a25b5a8e702fff06
6
+ metadata.gz: dbd469ae93c94988d654803905f614f7f0f0b74c41fddc45b21a60258d264a53967a9eb54467ad21f8567b70cb51c6573b6d40fcb691eee8061dff3c965c66ed
7
+ data.tar.gz: 331528f0c49cfb78662a9d4d56c619b9c0d3487567fbc5890a7bd25aa0745a8dadf151044f06bc4855592395d8997f6214680f8dca060248181bc30e4b00c9f7
data/lib/create-config.rb CHANGED
@@ -16,6 +16,11 @@ class Sorbet::Private::CreateConfig
16
16
  def self.main
17
17
  FileUtils.mkdir_p(SORBET_DIR)
18
18
 
19
+ if File.file?(SORBET_CONFIG_FILE)
20
+ puts "Reusing existing config file: #{SORBET_CONFIG_FILE}"
21
+ return
22
+ end
23
+
19
24
  File.open(SORBET_CONFIG_FILE, 'w') do |f|
20
25
  f.puts('--dir')
21
26
  f.puts('.')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sorbet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.4481
4
+ version: 0.4.4482
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stripe
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.4.4481
19
+ version: 0.4.4482
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 0.4.4481
26
+ version: 0.4.4482
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: minitest
29
29
  requirement: !ruby/object:Gem::Requirement