subspace 3.0.11 → 3.0.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/subspace/commands/base.rb +1 -1
- data/lib/subspace/commands/init.rb +1 -1
- data/lib/subspace/commands/secrets.rb +1 -1
- data/lib/subspace/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 935d4125d64c00864f60dbd6757b22e6be2ee7c96da64480b87178ad4c286dcb
|
4
|
+
data.tar.gz: ee223791b07e266cf51b77e2e706c400e3ec8729c61d48cd85987334a2ea7b48
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e88b7598daec4a79b50a36d6af5778fdcf7153d36caf9a1ee896a6a589b2bb1f190a8712b0e17af37fa4572a5048662565dc73b459e8e1630669d0291a3935e7
|
7
|
+
data.tar.gz: 611bcb89723ed8032622f7cd8a3c7bdc01238e9f1cb609ce4d7b381a9390d01bdd5cacf0d8612154ed7d42e30990b1e3c32febc212c6d73da85c17f68cdb59b9
|
data/CHANGELOG.md
CHANGED
@@ -12,6 +12,9 @@ This project attempts to follow [semantic versioning](https://semver.org/).
|
|
12
12
|
|
13
13
|
## Unreleased
|
14
14
|
|
15
|
+
## 3.0.12
|
16
|
+
* Bugfix: use `exist?`
|
17
|
+
|
15
18
|
## 3.0.11
|
16
19
|
* Change tailscale pinning behavior to allow install, and then pin to specific version
|
17
20
|
* Fix psycopg2 break_system_packages to work across ubuntu/python versions
|
@@ -59,7 +59,7 @@ module Subspace
|
|
59
59
|
end
|
60
60
|
|
61
61
|
def confirm_overwrite(file_path)
|
62
|
-
return true unless File.
|
62
|
+
return true unless File.exist? file_path
|
63
63
|
answer = ask "#{file_path} already exists. Reply 'y' to overwrite: [no] "
|
64
64
|
return answer.downcase.start_with? "y"
|
65
65
|
end
|
@@ -25,7 +25,7 @@ class Subspace::Commands::Init < Subspace::Commands::Base
|
|
25
25
|
end
|
26
26
|
|
27
27
|
def run
|
28
|
-
if File.
|
28
|
+
if File.exist? dest_dir
|
29
29
|
answer = ask "Subspace appears to be initialized. Reply 'yes' to continue anyway: [no] "
|
30
30
|
abort unless answer.chomp == "yes"
|
31
31
|
else
|
@@ -29,7 +29,7 @@ class Subspace::Commands::Secrets < Subspace::Commands::Base
|
|
29
29
|
end
|
30
30
|
|
31
31
|
def create_local
|
32
|
-
if File.
|
32
|
+
if File.exist? File.join(project_path, "config/application.yml")
|
33
33
|
answer = ask "config/application.yml already exists. Reply 'yes' to overwrite: [no] "
|
34
34
|
abort unless answer == "yes"
|
35
35
|
end
|
data/lib/subspace/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: subspace
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Samson
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-11-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -313,7 +313,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
313
313
|
- !ruby/object:Gem::Version
|
314
314
|
version: '0'
|
315
315
|
requirements: []
|
316
|
-
rubygems_version: 3.5.
|
316
|
+
rubygems_version: 3.5.22
|
317
317
|
signing_key:
|
318
318
|
specification_version: 4
|
319
319
|
summary: Ansible-based server provisioning for rails projects
|