subspace 3.0.10 → 3.0.12

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: b5a2d5ccdfb7ec436285fbfc26ec9ec33f8b3f90b2a01dd39301c4622a7234dd
4
- data.tar.gz: e6f1c9b906552cab7dddf428a7de6678cf382678ab3795989f506f6443f1f03d
3
+ metadata.gz: 935d4125d64c00864f60dbd6757b22e6be2ee7c96da64480b87178ad4c286dcb
4
+ data.tar.gz: ee223791b07e266cf51b77e2e706c400e3ec8729c61d48cd85987334a2ea7b48
5
5
  SHA512:
6
- metadata.gz: 01de211969cf19424ab370336b1869206d69c37b279eac4d08c10334e0a0a9bc1902c2a03c6c9888fc934da08c70179929d3590360e5195d50ebd8f40b6a7c7f
7
- data.tar.gz: 02f90335ddd727d3e33ed2bf4ad1085d56151511595ac7c363fa1ee72770ad8ea1fb43a58accc27f5a98626d738d9f6cab5f0807bae1c4198fd86a01afd6cf8c
6
+ metadata.gz: e88b7598daec4a79b50a36d6af5778fdcf7153d36caf9a1ee896a6a589b2bb1f190a8712b0e17af37fa4572a5048662565dc73b459e8e1630669d0291a3935e7
7
+ data.tar.gz: 611bcb89723ed8032622f7cd8a3c7bdc01238e9f1cb609ce4d7b381a9390d01bdd5cacf0d8612154ed7d42e30990b1e3c32febc212c6d73da85c17f68cdb59b9
data/CHANGELOG.md CHANGED
@@ -12,6 +12,13 @@ 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
+
18
+ ## 3.0.11
19
+ * Change tailscale pinning behavior to allow install, and then pin to specific version
20
+ * Fix psycopg2 break_system_packages to work across ubuntu/python versions
21
+
15
22
  ## 3.0.10
16
23
  * Pin tailscale to known good version
17
24
 
@@ -50,7 +50,9 @@
50
50
  - name: Install psycopg2 (python3)
51
51
  when: is_python3 is succeeded
52
52
  become: yes
53
- command: "pip3 install psycopg2 --break-system-packages"
53
+ pip:
54
+ name: psycopg2
55
+ break_system_packages: true
54
56
 
55
57
  - name: Install psycopg2 (python2)
56
58
  when: is_python3 is failed
@@ -66,7 +66,9 @@
66
66
  - name: Install psycopg2 (python3)
67
67
  when: is_python3 is succeeded
68
68
  become: yes
69
- command: "pip3 install psycopg2 --break-system-packages"
69
+ pip:
70
+ name: psycopg2
71
+ break_system_packages: true
70
72
  tags:
71
73
  - postgresql
72
74
  - db
@@ -17,10 +17,10 @@
17
17
  - maintenance
18
18
  - tailscale_reauth
19
19
 
20
- - name: "Prevent tailscale from being upgraded"
20
+ - name: "Allow tailscale to be installed"
21
21
  dpkg_selections:
22
22
  name: tailscale
23
- selection: hold
23
+ selection: install
24
24
  tags:
25
25
  - maintenance
26
26
  - tailscale_reauth
@@ -35,6 +35,14 @@
35
35
  - maintenance
36
36
  - tailscale_reauth
37
37
 
38
+ - name: "Prevent tailscale from being upgraded"
39
+ dpkg_selections:
40
+ name: tailscale
41
+ selection: hold
42
+ tags:
43
+ - maintenance
44
+ - tailscale_reauth
45
+
38
46
  - name: "Join the tailnet and force reauth"
39
47
  become: true
40
48
  command: tailscale up --ssh --auth-key={{tailscale_auth_key}} --hostname={{project_name | regex_replace('_', '')}}-{{hostname}} --accept-risk=lose-ssh {{tailscale_options}} --force-reauth
@@ -59,7 +59,7 @@ module Subspace
59
59
  end
60
60
 
61
61
  def confirm_overwrite(file_path)
62
- return true unless File.exists? file_path
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.exists? dest_dir
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.exists? File.join(project_path, "config/application.yml")
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
@@ -1,3 +1,3 @@
1
1
  module Subspace
2
- VERSION = "3.0.10"
2
+ VERSION = "3.0.12"
3
3
  end
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.10
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-07-08 00:00:00.000000000 Z
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.13
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