cowtech-lib 1.9.6.5 → 1.9.7.0
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.
- data/cowtech-lib.gemspec +11 -11
- data/lib/cowtech-lib/script.rb +2 -4
- data/lib/cowtech-lib/version.rb +2 -2
- metadata +7 -7
data/cowtech-lib.gemspec
CHANGED
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
|
-
s.name =
|
|
8
|
-
s.version = "1.9.
|
|
7
|
+
s.name = "cowtech-lib"
|
|
8
|
+
s.version = "1.9.7.0"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
|
-
s.authors = [
|
|
12
|
-
s.date =
|
|
13
|
-
s.description =
|
|
14
|
-
s.email =
|
|
11
|
+
s.authors = ["Shogun"]
|
|
12
|
+
s.date = "2012-01-08"
|
|
13
|
+
s.description = "A general purpose utility library."
|
|
14
|
+
s.email = "shogun_panda@me.com"
|
|
15
15
|
s.extra_rdoc_files = [
|
|
16
16
|
"LICENSE.txt",
|
|
17
17
|
"README.rdoc"
|
|
@@ -30,11 +30,11 @@ Gem::Specification.new do |s|
|
|
|
30
30
|
"lib/cowtech-lib/shell.rb",
|
|
31
31
|
"lib/cowtech-lib/version.rb"
|
|
32
32
|
]
|
|
33
|
-
s.homepage =
|
|
34
|
-
s.licenses = [
|
|
35
|
-
s.require_paths = [
|
|
36
|
-
s.rubygems_version =
|
|
37
|
-
s.summary =
|
|
33
|
+
s.homepage = "http://github.com/ShogunPanda/cowtech-lib"
|
|
34
|
+
s.licenses = ["MIT"]
|
|
35
|
+
s.require_paths = ["lib"]
|
|
36
|
+
s.rubygems_version = "1.8.11"
|
|
37
|
+
s.summary = "A general purpose utility library."
|
|
38
38
|
|
|
39
39
|
if s.respond_to? :specification_version then
|
|
40
40
|
s.specification_version = 3
|
data/lib/cowtech-lib/script.rb
CHANGED
|
@@ -92,10 +92,8 @@ module Cowtech
|
|
|
92
92
|
rv = [rv, true] if !rv.is_a?(Array)
|
|
93
93
|
|
|
94
94
|
# Show the result
|
|
95
|
-
if args.fetch(:show_result, true)
|
|
96
|
-
|
|
97
|
-
@console.indent_set(-3)
|
|
98
|
-
end
|
|
95
|
+
@console.status(:status => rv[0], :fatal => false) if args.fetch(:show_result, true)
|
|
96
|
+
@console.indent_set(-3) if args.fetch(:show_msg, true)
|
|
99
97
|
|
|
100
98
|
exit(1) if rv[0] != :ok && rv[1]
|
|
101
99
|
rv
|
data/lib/cowtech-lib/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cowtech-lib
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.9.
|
|
4
|
+
version: 1.9.7.0
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,11 +9,11 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2012-01-08 00:00:00.000000000Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: jeweler
|
|
16
|
-
requirement: &
|
|
16
|
+
requirement: &70156023682820 !ruby/object:Gem::Requirement
|
|
17
17
|
none: false
|
|
18
18
|
requirements:
|
|
19
19
|
- - ! '>='
|
|
@@ -21,10 +21,10 @@ dependencies:
|
|
|
21
21
|
version: '0'
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
|
-
version_requirements: *
|
|
24
|
+
version_requirements: *70156023682820
|
|
25
25
|
- !ruby/object:Gem::Dependency
|
|
26
26
|
name: open4
|
|
27
|
-
requirement: &
|
|
27
|
+
requirement: &70156023680520 !ruby/object:Gem::Requirement
|
|
28
28
|
none: false
|
|
29
29
|
requirements:
|
|
30
30
|
- - ! '>='
|
|
@@ -32,7 +32,7 @@ dependencies:
|
|
|
32
32
|
version: '0'
|
|
33
33
|
type: :runtime
|
|
34
34
|
prerelease: false
|
|
35
|
-
version_requirements: *
|
|
35
|
+
version_requirements: *70156023680520
|
|
36
36
|
description: A general purpose utility library.
|
|
37
37
|
email: shogun_panda@me.com
|
|
38
38
|
executables: []
|
|
@@ -74,7 +74,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
74
74
|
version: '0'
|
|
75
75
|
requirements: []
|
|
76
76
|
rubyforge_project:
|
|
77
|
-
rubygems_version: 1.8.
|
|
77
|
+
rubygems_version: 1.8.11
|
|
78
78
|
signing_key:
|
|
79
79
|
specification_version: 3
|
|
80
80
|
summary: A general purpose utility library.
|