un 0.2.1 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/un.rb +3 -1
- data/un.gemspec +9 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d9535870107f4dc591173f4d124d24e0933fed675187f4a291609902ebe46343
|
4
|
+
data.tar.gz: 4f4e25a2e621f73aa0937aeeb7017f0234b8f64060eaaab11b9db1c71a3d6d0e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 880492f3b0b9ffd9cbf8bdd402cf36b2d4c363e7eee2882742414c97c0c507016e5a594f23004e1eb5c75be43003af74416053136c9694068c8cda12ae51c1a8
|
7
|
+
data.tar.gz: 067a3786239471e25ef31782a179b18bce61a73cb2f7d8b1a25e4c313ab28c452e72282279fd4f152434b2384c46bda1783d140132c3e9910777406ff1f4cf3c
|
data/lib/un.rb
CHANGED
@@ -30,7 +30,6 @@ require "fileutils"
|
|
30
30
|
require "optparse"
|
31
31
|
|
32
32
|
module FileUtils
|
33
|
-
# @fileutils_label = ""
|
34
33
|
@fileutils_output = $stdout
|
35
34
|
end
|
36
35
|
|
@@ -412,6 +411,9 @@ def help
|
|
412
411
|
end
|
413
412
|
|
414
413
|
module UN # :nodoc:
|
414
|
+
|
415
|
+
VERSION = "0.3.0"
|
416
|
+
|
415
417
|
module_function
|
416
418
|
def help(argv, output: $stdout)
|
417
419
|
all = argv.empty?
|
data/un.gemspec
CHANGED
@@ -1,8 +1,15 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
+
name = File.basename(__FILE__, ".gemspec")
|
4
|
+
version = ["lib", Array.new(name.count("-")+1).join("/")].find do |dir|
|
5
|
+
break File.foreach(File.join(__dir__, dir, "#{name.tr('-', '/')}.rb")) do |line|
|
6
|
+
/^\s*VERSION\s*=\s*"(.*)"/ =~ line and break $1
|
7
|
+
end rescue nil
|
8
|
+
end
|
9
|
+
|
3
10
|
Gem::Specification.new do |spec|
|
4
|
-
spec.name =
|
5
|
-
spec.version =
|
11
|
+
spec.name = name
|
12
|
+
spec.version = version
|
6
13
|
spec.authors = ["WATANABE Hirofumi"]
|
7
14
|
spec.email = ["eban@ruby-lang.org"]
|
8
15
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: un
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- WATANABE Hirofumi
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-11-06 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Utilities to replace common UNIX commands
|
14
14
|
email:
|
@@ -48,7 +48,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
48
48
|
- !ruby/object:Gem::Version
|
49
49
|
version: '0'
|
50
50
|
requirements: []
|
51
|
-
rubygems_version: 3.
|
51
|
+
rubygems_version: 3.5.0.dev
|
52
52
|
signing_key:
|
53
53
|
specification_version: 4
|
54
54
|
summary: Utilities to replace common UNIX commands
|