opswalrus 1.0.7 → 1.0.8
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 +4 -4
- data/Gemfile.lock +1 -1
- data/build.ops +14 -0
- data/lib/opswalrus/patches.rb +21 -0
- data/lib/opswalrus/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5cc78e2afa6b27ff1d9c88d43b8ddf5e805768c020b22a31d8c51b592fedbb9c
|
4
|
+
data.tar.gz: 3f66378e5cfeb379aaed583ec180c14ecd5845bce81cf3e210fcac9bbe90b665
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a0f2aed13949ccafd89f6ae5ab274db40e0c9904c7f1eee1a15e19c22eefc5f24a5d47a62df04bd58628eca6c4a003a0063de57d796f48ee28e14156be794a70
|
7
|
+
data.tar.gz: ca70e69f2bba12706f983ec6ff78a1ab5a32e65c495bcb8e07b3f4cdccfac50ec3073b60085f7c42c885ec71e5d8bc8f369b0d51f6e86242c3efd4c9b68d1309
|
data/Gemfile.lock
CHANGED
data/build.ops
CHANGED
@@ -3,8 +3,22 @@ params:
|
|
3
3
|
|
4
4
|
imports:
|
5
5
|
core: "https://github.com/opswalrus/core.git"
|
6
|
+
|
6
7
|
...
|
7
8
|
|
9
|
+
# when you run this script, it should do something like:
|
10
|
+
# ~/sync/projects/ops/opswalrus on main via 💎 v3.2.2
|
11
|
+
# ❯ ../ops.sh run build.ops version:1.0.7
|
12
|
+
# Write version.rb for version 1.0.7
|
13
|
+
# [localhost] Build gem: gem build opswalrus.gemspec
|
14
|
+
# [localhost] Check whether Bitwarden is locked or not: bw status
|
15
|
+
# [localhost] Get Rubygems OTP: bw get totp Rubygems
|
16
|
+
# [localhost] Push gem: gem push opswalrus-1.0.7.gem
|
17
|
+
# [localhost] Build docker image: docker build -t opswalrus/ops:1.0.7 .
|
18
|
+
|
19
|
+
# ~/sync/projects/ops/opswalrus on main via 💎 v3.2.2 took 44s
|
20
|
+
|
21
|
+
|
8
22
|
version = params.version
|
9
23
|
|
10
24
|
exit 1, "version parameter must be specified" unless version
|
@@ -0,0 +1,21 @@
|
|
1
|
+
require 'json'
|
2
|
+
|
3
|
+
class String
|
4
|
+
def escape_single_quotes
|
5
|
+
gsub("'"){"\\'"}
|
6
|
+
end
|
7
|
+
|
8
|
+
def to_pathname
|
9
|
+
Pathname.new(self)
|
10
|
+
end
|
11
|
+
|
12
|
+
def parse_json
|
13
|
+
JSON.parse(self)
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
class Pathname
|
18
|
+
def to_pathname
|
19
|
+
self
|
20
|
+
end
|
21
|
+
end
|
data/lib/opswalrus/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opswalrus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Ellis
|
@@ -141,6 +141,7 @@ files:
|
|
141
141
|
- lib/opswalrus/ops_file.rb
|
142
142
|
- lib/opswalrus/ops_file_script.rb
|
143
143
|
- lib/opswalrus/package_file.rb
|
144
|
+
- lib/opswalrus/patches.rb
|
144
145
|
- lib/opswalrus/runtime_environment.rb
|
145
146
|
- lib/opswalrus/sshkit_ext.rb
|
146
147
|
- lib/opswalrus/traversable.rb
|