opswalrus 1.0.7 → 1.0.8

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: b0c1c00f88ff00a4f7eb735a634ea35e1e8818b44fffdccea7a2347bac78e199
4
- data.tar.gz: fe54254076c753cfeaf26906fa0f7475bd11807c0ac70d4067da03653b0f774c
3
+ metadata.gz: 5cc78e2afa6b27ff1d9c88d43b8ddf5e805768c020b22a31d8c51b592fedbb9c
4
+ data.tar.gz: 3f66378e5cfeb379aaed583ec180c14ecd5845bce81cf3e210fcac9bbe90b665
5
5
  SHA512:
6
- metadata.gz: 28244a51a465941731663e9db3901049d36d1fa385a16b4c5ed9254c31fa62ca44012c2d776ef5b6d1d06906c012802b1352e166d72d28b3ec0aa6f9e27073f5
7
- data.tar.gz: 39ccb70ca9dc5b2ecf67b1ab29adb7ccc79cb43ad57d256be0deb68b49909bc4c5cd4ddc2871e68aeeb374ed3d0202c365094536e7933f61c3ecf700a2178076
6
+ metadata.gz: a0f2aed13949ccafd89f6ae5ab274db40e0c9904c7f1eee1a15e19c22eefc5f24a5d47a62df04bd58628eca6c4a003a0063de57d796f48ee28e14156be794a70
7
+ data.tar.gz: ca70e69f2bba12706f983ec6ff78a1ab5a32e65c495bcb8e07b3f4cdccfac50ec3073b60085f7c42c885ec71e5d8bc8f369b0d51f6e86242c3efd4c9b68d1309
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- opswalrus (1.0.7)
4
+ opswalrus (1.0.8)
5
5
  bcrypt_pbkdf (~> 1.1)
6
6
  citrus (~> 3.0)
7
7
  ed25519 (~> 1.3)
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
@@ -1,3 +1,3 @@
1
1
  module OpsWalrus
2
- VERSION = "1.0.7"
2
+ VERSION = "1.0.8"
3
3
  end
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.7
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