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.
@@ -1,52 +1,33 @@
1
1
  # -*- coding: utf-8 -*-
2
2
 
3
3
  Gem::Specification.new do |spec|
4
- spec.name = 'benry-unixcmd'
5
- spec.version = '$Release: 0.9.0 $'.split()[1]
6
- spec.author = 'kwatch'
7
- spec.email = 'kwatch@gmail.com'
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 = 'https://github.com/kwatch/benry-ruby/tree/ruby/benry-unixcmd'
10
- spec.summary = "Unix commands implementation like 'fileutils.rb'"
11
- spec.description = <<-'END'
12
- Unix commnads implementation, like `fileutils.rb`.
13
-
14
- Features compared to `fileutils.rb`:
15
-
16
- * supports file patterns (`*`, `.`, `{}`) directly.
17
- * provides `cp :r`, `mv :p`, `rm :rf`, ... instead of `cp_r`, `mv_p`, `rm_rf`, ...
18
- * prints command prompt `$ ` before command echoback.
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
- 'README.md', 'CHANGES.md', 'MIT-LICENSE',
38
- 'Rakefile.rb', 'benry-unixcmd.gemspec',
39
- #'bin/*',
40
- 'lib/**/*.rb',
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 = ['benry-unixcmd']
45
- #spec.bindir = 'bin'
46
- spec.require_path = 'lib'
47
- spec.test_files = Dir['test/run_all.rb']
48
- #spec.test_files = Dir['test/**/*_test.rb']
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.add_development_dependency 'oktest' , '~> 1'
31
+ spec.required_ruby_version = ">= 2.3"
32
+ spec.add_development_dependency "oktest" , "~> 1"
52
33
  end