ops_team 2.0.0.rc7 → 2.0.0.rc8

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/ops +9 -3
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5a43cb308a4963cfae12e3181c9a8f5412683fd9904288e777ca6acc93a9e4ed
4
- data.tar.gz: 2fe8783d90a16389b61f0086089b87a2547b2f4556eda70b9f18e82371249f22
3
+ metadata.gz: 7944793aa6a7ebd822ed697ffb4dc8254f1d0d896766b6147326b701f8c8f176
4
+ data.tar.gz: 97d83e9c47447f145e81555fa6a0a7160a1c586e9bee7a563a7bec7c604c693a
5
5
  SHA512:
6
- metadata.gz: 78a1ac80abf606fee6436b6a353d2aebafc802a9ad150427ffff96cb993a2cace2ce4333db7f038f3a0d0f2ba288de712ecb5ca9f28aa6b244922d774fcc3279
7
- data.tar.gz: 999ef51b080eefbbd4a6cff6f10ae588403fce5bef0c39ad8c10f4d45486f782552ff4d1f5f54962a8e0d500e6e2a2a2debdd1507b0f9493b6f6cead6364a09c
6
+ metadata.gz: e2bdb005a4c65e47d1d1eba364cfbbed249b379710e5eea47b3849bc435610ac465b4ed0d6a3adb5d7cec0c4a2c0aae600769712aa08a6a804cc252b3a6069eb
7
+ data.tar.gz: 7f616c615c2c5d9927583e4128ac60b644bd207bc510bde9e33b5d4428146d8d621ee0b0a3eb9f25213e0999463cf4c7b78ece449ecd9d3fbff5c552ceed50b4
data/bin/ops CHANGED
@@ -1,8 +1,14 @@
1
1
  #!/usr/bin/env ruby
2
- bindir = `uname -sm | tr A-Z a-z | tr ' ' _`
2
+ bindir = `uname -sm | tr A-Z a-z | tr ' ' _`.chomp
3
3
  binpath = File.expand_path("../../build/#{bindir}", __FILE__).chomp
4
4
 
5
+ $stderr.puts binpath
6
+ unless File.executable?("#{binpath}/ops")
7
+ $stderr.puts("Unable to locate binary for architecture '#{bindir}' at '#{binpath}'.")
8
+ exit(1)
9
+ end
10
+
5
11
  ENV['PATH'] = "#{binpath}:#{ENV.fetch('PATH')}"
6
- ENV['MANPATH'] = File.expand_path("../man", __FILE__).chomp
12
+ ENV['MANPATH'] = File.expand_path("../man", __FILE__)
7
13
 
8
- exec "ops", *ARGV
14
+ exec("ops", *ARGV)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ops_team
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.rc7
4
+ version: 2.0.0.rc8
5
5
  platform: ruby
6
6
  authors:
7
7
  - nickthecook@gmail.com