main 6.2.0 → 6.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +6 -14
- data/Rakefile +3 -3
- data/lib/main.rb +5 -5
- data/lib/main/stdext.rb +2 -2
- data/main.gemspec +7 -8
- metadata +38 -15
- data/LICENSE +0 -1
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
metadata.gz: !binary |-
|
9
|
-
ZWExOGE1ODRjNDc3MDVhZmI2ZDQwZGMzMmM5Y2IwMmZkYTFhZTBkNTdhNTdk
|
10
|
-
YzY3ZGE5NmNkMjZiZDk2MDc4ZGY1OTZhMGU0YTFhNjk3Mzg4NjQ0OTAwZGMy
|
11
|
-
ZTcyNzQ5YzdmNTY3ZjE0YmVmNjBiZDJkZTNhMmY3NjhmZTBlMTE=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
OTdhYjlhYzc0YTg4NTRiNGNhM2ZhOTBkNWI4NGI0YWZkZjM1MWIzZTNjZjNl
|
14
|
-
NDQ5YzMyMmVkMzVmMTBjMzJlZjYyY2I2NGE4ODIyMzFiZjg0MmMwNzcxOTAy
|
15
|
-
NzY2MDk0ZDNmMDdhNzVkN2RkMzkwNDFlNzIxZjRjMGM4YTVmNTU=
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 13fe48406386852edea519fc5e6603b9c7216ab9
|
4
|
+
data.tar.gz: c8893418d486ac2be680a0b8166f98447339909c
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: e933552731a666bbb1489effaa072bc4607e5642ce5c72e2777a2cb09cf2fe93a9ba08c2fb9b97711770aaa1f1371fd6994c02671b3b219d809fdd60f3b611d0
|
7
|
+
data.tar.gz: 463e0c8c7bece42374ce1da0e86a26b4fa677f229278d9d873d99b0c0289f0ec5599886ea425feb8e6c1744026407b448dc7649858bff7475922f0e7ebe5eb24
|
data/Rakefile
CHANGED
@@ -4,7 +4,7 @@ This.email = "ara.t.howard@gmail.com"
|
|
4
4
|
This.homepage = "https://github.com/ahoward/#{ This.lib }"
|
5
5
|
|
6
6
|
task :license do
|
7
|
-
open('LICENSE', 'w'){|fd| fd.puts "
|
7
|
+
open('LICENSE', 'w'){|fd| fd.puts "Ruby"}
|
8
8
|
end
|
9
9
|
|
10
10
|
task :default do
|
@@ -93,7 +93,7 @@ task :gemspec do
|
|
93
93
|
test_files = "test/#{ lib }.rb" if File.file?("test/#{ lib }.rb")
|
94
94
|
summary = object.respond_to?(:summary) ? object.summary : "summary: #{ lib } kicks the ass"
|
95
95
|
description = object.respond_to?(:description) ? object.description : "description: #{ lib } kicks the ass"
|
96
|
-
license = object.respond_to?(:license) ? object.license : "
|
96
|
+
license = object.respond_to?(:license) ? object.license : "Ruby"
|
97
97
|
|
98
98
|
if This.extensions.nil?
|
99
99
|
This.extensions = []
|
@@ -297,7 +297,7 @@ BEGIN {
|
|
297
297
|
|
298
298
|
# discover full path to this ruby executable
|
299
299
|
#
|
300
|
-
c =
|
300
|
+
c = RbConfig::CONFIG
|
301
301
|
bindir = c["bindir"] || c['BINDIR']
|
302
302
|
ruby_install_name = c['ruby_install_name'] || c['RUBY_INSTALL_NAME'] || 'ruby'
|
303
303
|
ruby_ext = c['EXEEXT'] || ''
|
data/lib/main.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
module Main
|
2
2
|
# top level constants
|
3
3
|
#
|
4
|
-
Main::VERSION = '6.2.
|
4
|
+
Main::VERSION = '6.2.1' unless
|
5
5
|
defined? Main::VERSION
|
6
6
|
def Main.version() Main::VERSION end
|
7
7
|
|
@@ -22,10 +22,10 @@ module Main
|
|
22
22
|
#
|
23
23
|
def Main.dependencies
|
24
24
|
{
|
25
|
-
'chronic' => [ 'chronic'
|
26
|
-
'fattr' => [ 'fattr'
|
27
|
-
'arrayfields' => [ 'arrayfields' , '>= 4.7.4' ] ,
|
28
|
-
'map' => [ 'map'
|
25
|
+
'chronic' => [ 'chronic', '~> 0.6', '>= 0.6.2' ] ,
|
26
|
+
'fattr' => [ 'fattr', '~> 2.2', '>= 2.2.0' ] ,
|
27
|
+
'arrayfields' => [ 'arrayfields', '~> 4.7', '>= 4.7.4' ] ,
|
28
|
+
'map' => [ 'map', '~> 6.1', '>= 6.1.0' ] ,
|
29
29
|
}
|
30
30
|
end
|
31
31
|
|
data/lib/main/stdext.rb
CHANGED
@@ -14,7 +14,7 @@ private
|
|
14
14
|
def abort(message = nil)
|
15
15
|
if message
|
16
16
|
message = message.to_s
|
17
|
-
message.singleton_class{ fattr 'abort' => true }
|
17
|
+
message.singleton_class{ fattr 'abort' => true } unless message.frozen?
|
18
18
|
STDERR.puts message
|
19
19
|
end
|
20
20
|
exit 1
|
@@ -27,7 +27,7 @@ module Process
|
|
27
27
|
def abort(message = nil)
|
28
28
|
if message
|
29
29
|
message = message.to_s
|
30
|
-
message.singleton_class{ fattr 'abort' => true }
|
30
|
+
message.singleton_class{ fattr 'abort' => true } unless message.frozen?
|
31
31
|
STDERR.puts message
|
32
32
|
end
|
33
33
|
exit 1
|
data/main.gemspec
CHANGED
@@ -3,15 +3,14 @@
|
|
3
3
|
|
4
4
|
Gem::Specification::new do |spec|
|
5
5
|
spec.name = "main"
|
6
|
-
spec.version = "6.2.
|
6
|
+
spec.version = "6.2.1"
|
7
7
|
spec.platform = Gem::Platform::RUBY
|
8
8
|
spec.summary = "main"
|
9
9
|
spec.description = "a class factory and dsl for generating command line programs real quick"
|
10
|
-
spec.license = "
|
10
|
+
spec.license = "Ruby"
|
11
11
|
|
12
12
|
spec.files =
|
13
|
-
["
|
14
|
-
"README",
|
13
|
+
["README",
|
15
14
|
"README.erb",
|
16
15
|
"Rakefile",
|
17
16
|
"TODO",
|
@@ -57,13 +56,13 @@ Gem::Specification::new do |spec|
|
|
57
56
|
spec.test_files = nil
|
58
57
|
|
59
58
|
|
60
|
-
spec.add_dependency(*["chronic", ">= 0.6.2"])
|
59
|
+
spec.add_dependency(*["chronic", "~> 0.6", ">= 0.6.2"])
|
61
60
|
|
62
|
-
spec.add_dependency(*["fattr", ">= 2.2.0"])
|
61
|
+
spec.add_dependency(*["fattr", "~> 2.2", ">= 2.2.0"])
|
63
62
|
|
64
|
-
spec.add_dependency(*["arrayfields", ">= 4.7.4"])
|
63
|
+
spec.add_dependency(*["arrayfields", "~> 4.7", ">= 4.7.4"])
|
65
64
|
|
66
|
-
spec.add_dependency(*["map", ">= 6.1.0"])
|
65
|
+
spec.add_dependency(*["map", "~> 6.1", ">= 6.1.0"])
|
67
66
|
|
68
67
|
|
69
68
|
spec.extensions.push(*[])
|
metadata
CHANGED
@@ -1,69 +1,93 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: main
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.2.
|
4
|
+
version: 6.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ara T. Howard
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-09-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: chronic
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0.6'
|
20
|
+
- - ">="
|
18
21
|
- !ruby/object:Gem::Version
|
19
22
|
version: 0.6.2
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- -
|
27
|
+
- - "~>"
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.6'
|
30
|
+
- - ">="
|
25
31
|
- !ruby/object:Gem::Version
|
26
32
|
version: 0.6.2
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: fattr
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
30
36
|
requirements:
|
31
|
-
- -
|
37
|
+
- - "~>"
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '2.2'
|
40
|
+
- - ">="
|
32
41
|
- !ruby/object:Gem::Version
|
33
42
|
version: 2.2.0
|
34
43
|
type: :runtime
|
35
44
|
prerelease: false
|
36
45
|
version_requirements: !ruby/object:Gem::Requirement
|
37
46
|
requirements:
|
38
|
-
- -
|
47
|
+
- - "~>"
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: '2.2'
|
50
|
+
- - ">="
|
39
51
|
- !ruby/object:Gem::Version
|
40
52
|
version: 2.2.0
|
41
53
|
- !ruby/object:Gem::Dependency
|
42
54
|
name: arrayfields
|
43
55
|
requirement: !ruby/object:Gem::Requirement
|
44
56
|
requirements:
|
45
|
-
- -
|
57
|
+
- - "~>"
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
version: '4.7'
|
60
|
+
- - ">="
|
46
61
|
- !ruby/object:Gem::Version
|
47
62
|
version: 4.7.4
|
48
63
|
type: :runtime
|
49
64
|
prerelease: false
|
50
65
|
version_requirements: !ruby/object:Gem::Requirement
|
51
66
|
requirements:
|
52
|
-
- -
|
67
|
+
- - "~>"
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '4.7'
|
70
|
+
- - ">="
|
53
71
|
- !ruby/object:Gem::Version
|
54
72
|
version: 4.7.4
|
55
73
|
- !ruby/object:Gem::Dependency
|
56
74
|
name: map
|
57
75
|
requirement: !ruby/object:Gem::Requirement
|
58
76
|
requirements:
|
59
|
-
- -
|
77
|
+
- - "~>"
|
78
|
+
- !ruby/object:Gem::Version
|
79
|
+
version: '6.1'
|
80
|
+
- - ">="
|
60
81
|
- !ruby/object:Gem::Version
|
61
82
|
version: 6.1.0
|
62
83
|
type: :runtime
|
63
84
|
prerelease: false
|
64
85
|
version_requirements: !ruby/object:Gem::Requirement
|
65
86
|
requirements:
|
66
|
-
- -
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '6.1'
|
90
|
+
- - ">="
|
67
91
|
- !ruby/object:Gem::Version
|
68
92
|
version: 6.1.0
|
69
93
|
description: a class factory and dsl for generating command line programs real quick
|
@@ -72,7 +96,6 @@ executables: []
|
|
72
96
|
extensions: []
|
73
97
|
extra_rdoc_files: []
|
74
98
|
files:
|
75
|
-
- LICENSE
|
76
99
|
- README
|
77
100
|
- README.erb
|
78
101
|
- Rakefile
|
@@ -108,7 +131,7 @@ files:
|
|
108
131
|
- test/main_test.rb
|
109
132
|
homepage: https://github.com/ahoward/main
|
110
133
|
licenses:
|
111
|
-
-
|
134
|
+
- Ruby
|
112
135
|
metadata: {}
|
113
136
|
post_install_message:
|
114
137
|
rdoc_options: []
|
@@ -116,17 +139,17 @@ require_paths:
|
|
116
139
|
- lib
|
117
140
|
required_ruby_version: !ruby/object:Gem::Requirement
|
118
141
|
requirements:
|
119
|
-
- -
|
142
|
+
- - ">="
|
120
143
|
- !ruby/object:Gem::Version
|
121
144
|
version: '0'
|
122
145
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
123
146
|
requirements:
|
124
|
-
- -
|
147
|
+
- - ">="
|
125
148
|
- !ruby/object:Gem::Version
|
126
149
|
version: '0'
|
127
150
|
requirements: []
|
128
151
|
rubyforge_project: codeforpeople
|
129
|
-
rubygems_version: 2.
|
152
|
+
rubygems_version: 2.5.1
|
130
153
|
signing_key:
|
131
154
|
specification_version: 4
|
132
155
|
summary: main
|
data/LICENSE
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
same as Ruby's
|