benry-unixcmd 0.9.0 → 0.9.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 +4 -4
- data/MIT-LICENSE +1 -1
- data/README.md +207 -122
- data/benry-unixcmd.gemspec +25 -44
- data/doc/benry-unixcmd.html +894 -0
- data/doc/css/style.css +168 -0
- data/lib/benry/unixcmd.rb +3 -3
- data/test/run_all.rb +2 -2
- data/test/unixcmd_test.rb +6 -6
- metadata +9 -30
- data/Rakefile.rb +0 -113
data/benry-unixcmd.gemspec
CHANGED
@@ -1,52 +1,33 @@
|
|
1
1
|
# -*- coding: utf-8 -*-
|
2
2
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
|
-
spec.name =
|
5
|
-
spec.version =
|
6
|
-
spec.author =
|
7
|
-
spec.email =
|
4
|
+
spec.name = "benry-unixcmd"
|
5
|
+
spec.version = "$Release: 0.9.1 $".split()[1]
|
6
|
+
spec.author = "kwatch"
|
7
|
+
spec.email = "kwatch@gmail.com"
|
8
8
|
spec.platform = Gem::Platform::RUBY
|
9
|
-
spec.homepage =
|
10
|
-
spec.summary = "Unix commands implementation like 'fileutils.rb'"
|
11
|
-
spec.
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
* provides `pushd` which is similar to `cd` but supports nested calls naturally.
|
20
|
-
* implements `capture2`, `capture2e`, and `capture3` which calls
|
21
|
-
`Popen3.capture2`, `Popen3.capture2`, and `Popen3.capture3` respectively.
|
22
|
-
* supports `touch -r reffile`.
|
23
|
-
* provides `sys` command which is similar to `sh` in Rake but different in details.
|
24
|
-
* provides `zip` and `unzip` commands (requires `rubyzip` gem).
|
25
|
-
* provides `store` command which copies files recursively into target directory, keeping file path.
|
26
|
-
* provides `atomic_symlink!` command which switches symlink atomically.
|
27
|
-
|
28
|
-
```
|
29
|
-
cp Dir['*.rb'], 'tmpdir' ## fileutils.rb
|
30
|
-
cp '*.rb', 'tmpdir' ## benry-unixcmd
|
31
|
-
```
|
32
|
-
|
33
|
-
Benry-unixcmd provides `cp_p` and `cp_pr` which are equivarent to `cp -p` and `cp -pr` respectively and not provided by `fileutiles.rb`.
|
34
|
-
END
|
35
|
-
spec.license = 'MIT'
|
9
|
+
spec.homepage = "https://kwatch.github.io/benry-ruby/benry-unixcmd.html"
|
10
|
+
#spec.summary = "Unix commands implementation like 'fileutils.rb'"
|
11
|
+
spec.summary = "(OBSOLETE; use 'benry-unixcommand' gem instead.)"
|
12
|
+
# spec.description = <<-"END"
|
13
|
+
#Unix commnads implementation. Similar to `fileutils.rb`, but better than it.
|
14
|
+
#
|
15
|
+
#See #{spec.homepage} for details.
|
16
|
+
#END
|
17
|
+
spec.description = spec.summary
|
18
|
+
spec.license = "MIT"
|
36
19
|
spec.files = Dir[
|
37
|
-
|
38
|
-
|
39
|
-
#
|
40
|
-
|
41
|
-
'test/**/*.rb',
|
42
|
-
'task/*.rb',
|
20
|
+
"README.md", "MIT-LICENSE", "CHANGES.md",
|
21
|
+
"#{spec.name}.gemspec",
|
22
|
+
"lib/**/*.rb", "test/**/*.rb", #"bin/*", "examples/**/*",
|
23
|
+
"doc/*.html", "doc/css/*.css",
|
43
24
|
]
|
44
|
-
#spec.executables = [
|
45
|
-
|
46
|
-
spec.require_path =
|
47
|
-
spec.test_files =
|
48
|
-
#spec.
|
49
|
-
#spec.extra_rdoc_files = ['README.md', 'CHANGES.md']
|
25
|
+
#spec.executables = []
|
26
|
+
spec.bindir = "bin"
|
27
|
+
spec.require_path = "lib"
|
28
|
+
spec.test_files = ["test/run_all.rb"] # or: Dir["test/**/*_test.rb"]
|
29
|
+
#spec.extra_rdoc_files = ["README.md", "CHANGES.md"]
|
50
30
|
|
51
|
-
spec.
|
31
|
+
spec.required_ruby_version = ">= 2.3"
|
32
|
+
spec.add_development_dependency "oktest" , "~> 1"
|
52
33
|
end
|