tlopo-cmd 0.1.0 → 0.1.1

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: 2ec8d0e89b4522d0ca6aa4b66f47d289699e7ac303b7353f70b6bf53b7ca2661
4
- data.tar.gz: 40b80135883db34093a9ae092cf7272bd04f8183750353f52e92f8d3928aa275
3
+ metadata.gz: 0b40b74dafb3d16de90a9d4bda0891e18dc1409a3f1cf932441a9bb6e6552a0b
4
+ data.tar.gz: c09be962523672351866d5906cb5a4bf82ea91faecf9509ba35fafad6a97b47c
5
5
  SHA512:
6
- metadata.gz: 640f9193d3f4eac55eda39b7123c5450585859bd3c7d9703a37e243504e0e7196291c6999512eccd5e8b50297c2d10196ad07586d4e8c77134e5da2a57bd2b9f
7
- data.tar.gz: ffbebb7810118feda42b5ccd14f9e30d63d72ba25eeb5e25b9846cf097ce16d0c80c41781099816db57256fd0f58baaccd58795ac57943931b247d79467443a1
6
+ metadata.gz: 6422cbd5e4e9bbf668ebe8ed320a9618c930dcc237df4b475a5c743be90b24c87ae5a1727399b49c63b070148afbca824e25a33fc9b5ab164cff15088233b2aa
7
+ data.tar.gz: c5563bf10fce8776054a2155105ac7d01ba9462572c16f8bb0159a5a1eff1e10eac9dd952928add72c32268b139c479faacc67fcd5d3e6e1d6cbf0956a90f80b
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Tlopo
4
4
  module CMD
5
- VERSION = '0.1.0'
5
+ VERSION = '0.1.1'
6
6
  end
7
7
  end
data/lib/tlopo/cmd.rb CHANGED
@@ -10,7 +10,7 @@ module Tlopo
10
10
 
11
11
  def run(cmd, live = false)
12
12
  LOGGER.debug "Running CMD: [ #{cmd} ]"
13
- Process.wait(fork { exec cmd }) if live
13
+ system(cmd) if live
14
14
  `#{cmd}` unless live
15
15
  end
16
16
 
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tlopo-cmd
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - tlopo
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain: []
11
- date: 2024-03-10 00:00:00.000000000 Z
10
+ date: 2025-11-16 00:00:00.000000000 Z
12
11
  dependencies: []
13
12
  description: Library to execute commands
14
13
  email:
@@ -35,7 +34,6 @@ metadata:
35
34
  homepage_uri: https://github.com/tlopo-ruby/tlopo-cmd
36
35
  source_code_uri: https://github.com/tlopo-ruby/tlopo-cmd
37
36
  changelog_uri: https://github.com/tlopo-ruby/tlopo-cmd
38
- post_install_message:
39
37
  rdoc_options: []
40
38
  require_paths:
41
39
  - lib
@@ -50,8 +48,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
50
48
  - !ruby/object:Gem::Version
51
49
  version: '0'
52
50
  requirements: []
53
- rubygems_version: 3.4.10
54
- signing_key:
51
+ rubygems_version: 3.6.2
55
52
  specification_version: 4
56
53
  summary: Library to execute commands
57
54
  test_files: []