update 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/update/version.rb +1 -1
- data/lib/update.rb +5 -4
- metadata +34 -60
data/lib/update/version.rb
CHANGED
data/lib/update.rb
CHANGED
@@ -20,12 +20,13 @@ module Update
|
|
20
20
|
Thread.new do
|
21
21
|
@run_together.each do |command, description|
|
22
22
|
@command = command
|
23
|
-
[ Thread.current[:
|
24
|
-
Thread.current[:
|
25
|
-
Thread.current[:failures] = { check_for_failures }
|
23
|
+
[ Thread.current[:command] = proc { `#{command}` },
|
24
|
+
Thread.current[:failures] = proc { check_for_failures }
|
26
25
|
].each do |thread|
|
27
26
|
thread.join
|
28
|
-
|
27
|
+
green description
|
28
|
+
puts thread.command.call
|
29
|
+
red thread.failures.call
|
29
30
|
end
|
30
31
|
end
|
31
32
|
end
|
metadata
CHANGED
@@ -1,62 +1,46 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: update
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.3.2
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 3
|
9
|
-
- 1
|
10
|
-
version: 0.3.1
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- shan
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2012-01-30 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
21
15
|
name: slop
|
22
|
-
|
23
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
16
|
+
requirement: &70212066517980 !ruby/object:Gem::Requirement
|
24
17
|
none: false
|
25
|
-
requirements:
|
18
|
+
requirements:
|
26
19
|
- - ~>
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
|
29
|
-
segments:
|
30
|
-
- 2
|
31
|
-
- 4
|
32
|
-
version: "2.4"
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '2.4'
|
33
22
|
type: :development
|
34
|
-
version_requirements: *id001
|
35
|
-
- !ruby/object:Gem::Dependency
|
36
|
-
name: slop
|
37
23
|
prerelease: false
|
38
|
-
|
24
|
+
version_requirements: *70212066517980
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: slop
|
27
|
+
requirement: &70212066517320 !ruby/object:Gem::Requirement
|
39
28
|
none: false
|
40
|
-
requirements:
|
29
|
+
requirements:
|
41
30
|
- - ~>
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
|
44
|
-
segments:
|
45
|
-
- 2
|
46
|
-
- 4
|
47
|
-
version: "2.4"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '2.4'
|
48
33
|
type: :runtime
|
49
|
-
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *70212066517320
|
50
36
|
description: A Ruby Gem for running a list of update commands from command line.
|
51
|
-
email:
|
37
|
+
email:
|
52
38
|
- shannonskipper@gmail.com
|
53
|
-
executables:
|
39
|
+
executables:
|
54
40
|
- update
|
55
41
|
extensions: []
|
56
|
-
|
57
42
|
extra_rdoc_files: []
|
58
|
-
|
59
|
-
files:
|
43
|
+
files:
|
60
44
|
- .gitignore
|
61
45
|
- Gemfile
|
62
46
|
- README.md
|
@@ -68,37 +52,27 @@ files:
|
|
68
52
|
- update.gemspec
|
69
53
|
homepage: https://github.com/havenwood/update
|
70
54
|
licenses: []
|
71
|
-
|
72
55
|
post_install_message:
|
73
56
|
rdoc_options: []
|
74
|
-
|
75
|
-
require_paths:
|
57
|
+
require_paths:
|
76
58
|
- lib
|
77
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
59
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
78
60
|
none: false
|
79
|
-
requirements:
|
80
|
-
- -
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
|
83
|
-
|
84
|
-
- 0
|
85
|
-
version: "0"
|
86
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
61
|
+
requirements:
|
62
|
+
- - ! '>='
|
63
|
+
- !ruby/object:Gem::Version
|
64
|
+
version: '0'
|
65
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
87
66
|
none: false
|
88
|
-
requirements:
|
89
|
-
- -
|
90
|
-
- !ruby/object:Gem::Version
|
91
|
-
|
92
|
-
segments:
|
93
|
-
- 0
|
94
|
-
version: "0"
|
67
|
+
requirements:
|
68
|
+
- - ! '>='
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: '0'
|
95
71
|
requirements: []
|
96
|
-
|
97
72
|
rubyforge_project: update
|
98
73
|
rubygems_version: 1.8.15
|
99
74
|
signing_key:
|
100
75
|
specification_version: 3
|
101
76
|
summary: a gem to run a list of updates
|
102
77
|
test_files: []
|
103
|
-
|
104
78
|
has_rdoc:
|