ops_team 2.0.0.rc7 → 2.0.0.rc9

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: 5a43cb308a4963cfae12e3181c9a8f5412683fd9904288e777ca6acc93a9e4ed
4
- data.tar.gz: 2fe8783d90a16389b61f0086089b87a2547b2f4556eda70b9f18e82371249f22
3
+ metadata.gz: 0eb9e885c9e8b3f51528b17f1b5b72344f37190944da23f54a71baeb41b63659
4
+ data.tar.gz: 5e0a19dbb0aa5d243e392e0bf541885e310c20cd2557c7bb99039f09a32fb4b7
5
5
  SHA512:
6
- metadata.gz: 78a1ac80abf606fee6436b6a353d2aebafc802a9ad150427ffff96cb993a2cace2ce4333db7f038f3a0d0f2ba288de712ecb5ca9f28aa6b244922d774fcc3279
7
- data.tar.gz: 999ef51b080eefbbd4a6cff6f10ae588403fce5bef0c39ad8c10f4d45486f782552ff4d1f5f54962a8e0d500e6e2a2a2debdd1507b0f9493b6f6cead6364a09c
6
+ metadata.gz: 31bc80d8ca2bf952b45157bc8f74d7a82076c6790c982acbe3c27e7aad6424ac60fa8dc304e121cb2ed4327bd3494a4c0d7b1e604c1b2adeddacf1a800e4f808
7
+ data.tar.gz: 4bb4d5345dcd895f4027087b7c45669b60f4b95c6ee475aa8bffd29bb735e0b6875608cef36c778b78020ebd95f8a3c6b58cc6e182b0dc673475d903c22c508c
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)
Binary file
Binary file
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.rc9
5
5
  platform: ruby
6
6
  authors:
7
7
  - nickthecook@gmail.com
@@ -19,6 +19,8 @@ extra_rdoc_files: []
19
19
  files:
20
20
  - bin/ops
21
21
  - build/darwin_arm64/ops
22
+ - build/darwin_x86_64/ops
23
+ - build/linux_x86_64/ops
22
24
  homepage: https://github.com/nickthecook/crops
23
25
  licenses:
24
26
  - GPL-3.0-only