cr-exec 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: 263ebccf035f6a1997df8d73f831930d46118a8dc063ca2cb342e91c6937fc12
4
- data.tar.gz: c02060a43886373e9a746e2e8cc10b805eb33d00589b5f4ea9ee1cfda462348f
3
+ metadata.gz: ae352d5eef7817c16f0732270a49a5e7cad33196880f35195ac8af5d06aa6f7d
4
+ data.tar.gz: db6f25228c05f27d5b2aaafee7450e66a3a2f2dd68d98be70f80ab882bc40cf4
5
5
  SHA512:
6
- metadata.gz: 3ea0a8f9a776b6c529f602c1d89df9f74066e4c4983d17771914c879627309e8c7fcf1a030ac6bb73ae6eac93893e065e82537d84c8b6329845f271354b16200
7
- data.tar.gz: a79e4576121497336b24edae3e9df5ce79129a123a8d95ef4e0072d854c3a49d56310a811cb4036701aa611abc6bd63f7bcb60b3b8fe983bc094fd0a6d34fee9
6
+ metadata.gz: 2af3eb7e8015de52c78d1cbbd2fe96078965c98784535d0fd11abab53b1d5ffdbb5eb5d965fbafcc38845efd0cb9f7437268cafbcf4f58ef56623b5ef37b8bce
7
+ data.tar.gz: 44cecb70d80e56a49a436792c2940d2d0a30ebdb766d28291dd803fa7fb030cd09e9455f9610a47e90bde47f9dca31f77238bfc5a2dda98b9a93eb34d6b2c0f3
data/.rspec CHANGED
File without changes
data/.rubocop.yml CHANGED
File without changes
data/CHANGELOG.md CHANGED
File without changes
data/Gemfile CHANGED
File without changes
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cr-exec (0.1.0)
4
+ cr-exec (0.1.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/LICENSE CHANGED
File without changes
data/README.md CHANGED
@@ -17,7 +17,8 @@ If bundler is not being used to manage dependencies, install the gem by executin
17
17
  ## Usage
18
18
 
19
19
  ```ruby
20
- require "cr-exec"
20
+ # Mind Please !!!
21
+ require "cr/exec"
21
22
 
22
23
  class MyClass
23
24
  extend Cr::Exec
data/Rakefile CHANGED
@@ -9,4 +9,4 @@ require "rubocop/rake_task"
9
9
 
10
10
  RuboCop::RakeTask.new
11
11
 
12
- task default: %i[spec rubocop]
12
+ task default: %i[spec]
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Cr
4
4
  module Exec
5
- VERSION = "0.1.0"
5
+ VERSION = "0.1.1"
6
6
  end
7
7
  end
data/lib/cr/exec.rb CHANGED
@@ -30,13 +30,12 @@ module Cr
30
30
  end
31
31
 
32
32
  def each_line(*args, chomp: false, **options, &block)
33
- command = args.join(" ")
34
33
  if block
35
- IO.popen(command, options) do |pipe|
34
+ IO.popen(*args, **options) do |pipe|
36
35
  pipe.each_line(chomp: chomp, &block)
37
36
  end
38
37
  else
39
- IO.popen(command, options).readlines(chomp: chomp)
38
+ IO.popen(*args, **options).readlines(chomp: chomp)
40
39
  end
41
40
  end
42
41
 
data/lib/cr.rb CHANGED
File without changes
data/sig/cr/exec.rbs CHANGED
File without changes
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cr-exec
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
  - initdc
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-07-03 00:00:00.000000000 Z
11
+ date: 2025-03-17 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: The improved exec lib inspired from Crystal
14
14
  email:
@@ -51,7 +51,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
51
51
  - !ruby/object:Gem::Version
52
52
  version: '0'
53
53
  requirements: []
54
- rubygems_version: 3.3.5
54
+ rubygems_version: 3.5.11
55
55
  signing_key:
56
56
  specification_version: 4
57
57
  summary: Wrapper for ruby exec