opswalrus 1.0.21 → 1.0.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dc53d0a80c9c27e8557d84f41f215c9c03182286997f4aa78e9ff4e353231807
4
- data.tar.gz: 42ef62ca0ba2e8fb90a66e764a477da9d798b95c65ff7a0ae432a1e8ccb02609
3
+ metadata.gz: 7a1877a6b3fcd76caa36a6cde337a3e3be3f1624014eb5e46f7433bc7de5b4b9
4
+ data.tar.gz: bc9a5a9d4432f1877bcc9e9d5df74abb7e7028bb001f45ed4a2336b3d31dcffa
5
5
  SHA512:
6
- metadata.gz: 1fcb4f648d74f29991484d2c602b50972b89b5ea611891d6e69170c504f9621a5da0d63c3c3d3fb8fd670f8757029800233ce031397627281765c24d4572f2f4
7
- data.tar.gz: 9d2bbeec8ec4606f001409253cb4d8c12f3cfca56bf5384a03bd47934aa8cb1aeb3e38c10e51c775c30f33a79e82774ec93e81178a371b2ce1f6840c81d03acb
6
+ metadata.gz: 72db6c06913c41b15d2fed62bc165039796123d6437ca0826f78f906e64f588e24fa294cdc1ebeb57607fda57408d0fd89f1e6fcc6ec54a9fd2b03ec214d3d28
7
+ data.tar.gz: 1924fe4c9c875ce00d10f4d19c11071f18357564e00187fd3b2640a8fe699c81a237e87e8963eb4c4713325e415cb85c81d0d00b787b59ed78c4d868e63f834b
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- opswalrus (1.0.21)
4
+ opswalrus (1.0.23)
5
5
  amazing_print (~> 1.5)
6
6
  bcrypt_pbkdf (~> 1.1)
7
7
  citrus (~> 3.0)
@@ -5,12 +5,13 @@ if [ -x "$(command -v /home/linuxbrew/.linuxbrew/bin/brew)" ]; then
5
5
  eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
6
6
 
7
7
  # exit early if ruby already exists
8
- if [ -x "$(command -v ruby)" ]; then
8
+ if [ -x "$(command -v $HOME/.rubies/ruby-3.2.2/bin/ruby)" ]; then
9
9
  echo 'Ruby is already installed.' >&2
10
10
 
11
11
  # make sure the latest opswalrus gem is installed
12
12
  # todo: figure out how to install this differently, so that test versions will work
13
- gem install opswalrus
13
+ # gem install opswalrus
14
+ $HOME/.rubies/ruby-3.2.2/bin/gem install opswalrus
14
15
 
15
16
  exit 0
16
17
  fi
@@ -56,8 +57,24 @@ eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
56
57
 
57
58
  # install gcc, ruby, age
58
59
  brew install gcc
59
- brew install ruby
60
60
  brew install age # https://github.com/FiloSottile/age
61
61
 
62
+ ### install ruby
63
+
64
+ # 1. via homebrew
65
+ # brew install ruby
66
+ # this doesn't install some gems nicely
67
+
68
+ # 2. via ruby-install
69
+ # brew install bash grep wget curl md5sha1sum sha2 gnu-tar bzip2 xz patchutils gcc
70
+ brew install ruby-install
71
+ ruby-install --update
72
+ ruby-install ruby 3.2.2
73
+
74
+ # 3. rvm
75
+ # gpg2 --keyserver keyserver.ubuntu.com --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
76
+ # \curl -sSL https://get.rvm.io | bash -s stable --autolibs=homebrew
77
+ # rvm install 3.2.2
78
+
62
79
  # install opswalrus gem
63
- gem install opswalrus
80
+ $HOME/.rubies/ruby-3.2.2/bin/gem install opswalrus
@@ -187,7 +187,8 @@ module OpsWalrus
187
187
  host
188
188
  end
189
189
 
190
- cmd = "OPSWALRUS_LOCAL_HOSTNAME='#{local_hostname_for_remote_host}'; /home/linuxbrew/.linuxbrew/bin/gem exec -g opswalrus ops"
190
+ # cmd = "OPSWALRUS_LOCAL_HOSTNAME='#{local_hostname_for_remote_host}'; /home/linuxbrew/.linuxbrew/bin/gem exec -g opswalrus ops"
191
+ cmd = "OPSWALRUS_LOCAL_HOSTNAME='#{local_hostname_for_remote_host}'; #{Dir.home}/.rubies/ruby-3.2.2/bin/gem install opswalrus exec -g opswalrus ops"
191
192
  cmd << " -v" if verbose
192
193
  cmd << " #{ops_command.to_s}"
193
194
  cmd << " #{ops_command_options.to_s}" if ops_command_options
@@ -1,3 +1,3 @@
1
1
  module OpsWalrus
2
- VERSION = "1.0.21"
2
+ VERSION = "1.0.23"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opswalrus
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.21
4
+ version: 1.0.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Ellis
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-08-24 00:00:00.000000000 Z
11
+ date: 2023-08-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: amazing_print