update 0.9.3 → 0.9.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/update/run-updates.rb +1 -19
- data/lib/update/version.rb +1 -1
- metadata +115 -109
data/lib/update/run-updates.rb
CHANGED
@@ -4,7 +4,7 @@ module Update
|
|
4
4
|
class << self
|
5
5
|
def run
|
6
6
|
EM.synchrony do
|
7
|
-
|
7
|
+
|
8
8
|
asynchronously_iterate_over_command_groups
|
9
9
|
end
|
10
10
|
|
@@ -19,16 +19,10 @@ module Update
|
|
19
19
|
|
20
20
|
synchronously_run_commands_within_each_command_group
|
21
21
|
end
|
22
|
-
=======
|
23
|
-
EM::Synchrony::FiberIterator.new(Update::COMMAND_GROUPS).each do |commands|
|
24
|
-
commands.each do |command, description|
|
25
|
-
@command = command
|
26
|
-
>>>>>>> decd17cc3beee1747212fae05bdde97b94263337
|
27
22
|
|
28
23
|
EventMachine.stop
|
29
24
|
end
|
30
25
|
|
31
|
-
<<<<<<< HEAD
|
32
26
|
def synchronously_run_commands_within_each_command_group
|
33
27
|
@commands.each do |command, description|
|
34
28
|
@command, @description = command, description
|
@@ -36,18 +30,6 @@ module Update
|
|
36
30
|
run_commands_in_each_command_group
|
37
31
|
|
38
32
|
take_note_if_command_fails
|
39
|
-
=======
|
40
|
-
take_note_if_command_fails
|
41
|
-
end
|
42
|
-
|
43
|
-
@results.each do |description, result|
|
44
|
-
green description
|
45
|
-
puts result
|
46
|
-
end
|
47
|
-
end
|
48
|
-
|
49
|
-
EventMachine.stop
|
50
|
-
>>>>>>> decd17cc3beee1747212fae05bdde97b94263337
|
51
33
|
end
|
52
34
|
|
53
35
|
display_results_of_command_group
|
data/lib/update/version.rb
CHANGED
metadata
CHANGED
@@ -1,130 +1,136 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: update
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.3
|
3
|
+
version: !ruby/object:Gem::Version
|
5
4
|
prerelease:
|
5
|
+
version: 0.9.4
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
8
|
-
- shan
|
7
|
+
authors:
|
8
|
+
- shan
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
12
|
+
|
13
|
+
date: 2012-02-28 00:00:00 Z
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: slop
|
17
|
+
prerelease: false
|
18
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
19
|
+
none: false
|
20
|
+
requirements:
|
21
|
+
- - ~>
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: "2.4"
|
24
|
+
type: :development
|
25
|
+
version_requirements: *id001
|
26
|
+
- !ruby/object:Gem::Dependency
|
27
|
+
name: awesome_print
|
28
|
+
prerelease: false
|
29
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
30
|
+
none: false
|
31
|
+
requirements:
|
32
|
+
- - ~>
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: "1.0"
|
35
|
+
type: :development
|
36
|
+
version_requirements: *id002
|
37
|
+
- !ruby/object:Gem::Dependency
|
38
|
+
name: em-synchrony
|
39
|
+
prerelease: false
|
40
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ~>
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: "1.0"
|
46
|
+
type: :development
|
47
|
+
version_requirements: *id003
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
|
+
name: slop
|
50
|
+
prerelease: false
|
51
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
52
|
+
none: false
|
53
|
+
requirements:
|
54
|
+
- - ~>
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: "2.4"
|
57
|
+
type: :runtime
|
58
|
+
version_requirements: *id004
|
59
|
+
- !ruby/object:Gem::Dependency
|
60
|
+
name: awesome_print
|
61
|
+
prerelease: false
|
62
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
63
|
+
none: false
|
64
|
+
requirements:
|
65
|
+
- - ~>
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: "1.0"
|
68
|
+
type: :runtime
|
69
|
+
version_requirements: *id005
|
70
|
+
- !ruby/object:Gem::Dependency
|
71
|
+
name: em-synchrony
|
72
|
+
prerelease: false
|
73
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
74
|
+
none: false
|
75
|
+
requirements:
|
76
|
+
- - ~>
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
version: "1.0"
|
79
|
+
type: :runtime
|
80
|
+
version_requirements: *id006
|
80
81
|
description: A Ruby Gem for running a list of update commands from command line.
|
81
|
-
email:
|
82
|
-
- shannonskipper@gmail.com
|
83
|
-
executables:
|
84
|
-
- update
|
82
|
+
email:
|
83
|
+
- shannonskipper@gmail.com
|
84
|
+
executables:
|
85
|
+
- update
|
85
86
|
extensions: []
|
87
|
+
|
86
88
|
extra_rdoc_files: []
|
87
|
-
|
88
|
-
|
89
|
-
-
|
90
|
-
-
|
91
|
-
-
|
92
|
-
-
|
93
|
-
- lib/update
|
94
|
-
- lib/update/
|
95
|
-
- lib/update/
|
96
|
-
- lib/update/
|
97
|
-
- lib/update/
|
98
|
-
-
|
99
|
-
- test/
|
100
|
-
- test/
|
101
|
-
-
|
89
|
+
|
90
|
+
files:
|
91
|
+
- .gitignore
|
92
|
+
- Gemfile
|
93
|
+
- README.md
|
94
|
+
- bin/update
|
95
|
+
- lib/update.rb
|
96
|
+
- lib/update/commands.rb
|
97
|
+
- lib/update/options.rb
|
98
|
+
- lib/update/red-green.rb
|
99
|
+
- lib/update/run-updates.rb
|
100
|
+
- lib/update/version.rb
|
101
|
+
- test/helper.rb
|
102
|
+
- test/test_option_flags.rb
|
103
|
+
- test/test_update_runs_asynchronously.rb
|
104
|
+
- update.gemspec
|
102
105
|
homepage: https://github.com/havenwood/update
|
103
106
|
licenses: []
|
107
|
+
|
104
108
|
post_install_message:
|
105
109
|
rdoc_options: []
|
106
|
-
|
107
|
-
|
108
|
-
|
110
|
+
|
111
|
+
require_paths:
|
112
|
+
- lib
|
113
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
109
114
|
none: false
|
110
|
-
requirements:
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
115
|
+
requirements:
|
116
|
+
- - ">="
|
117
|
+
- !ruby/object:Gem::Version
|
118
|
+
version: "0"
|
119
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
115
120
|
none: false
|
116
|
-
requirements:
|
117
|
-
|
118
|
-
|
119
|
-
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: "0"
|
120
125
|
requirements: []
|
126
|
+
|
121
127
|
rubyforge_project: update
|
122
|
-
rubygems_version: 1.8.
|
128
|
+
rubygems_version: 1.8.15
|
123
129
|
signing_key:
|
124
130
|
specification_version: 3
|
125
131
|
summary: a gem to run a list of updates
|
126
|
-
test_files:
|
127
|
-
- test/helper.rb
|
128
|
-
- test/test_option_flags.rb
|
129
|
-
- test/test_update_runs_asynchronously.rb
|
132
|
+
test_files:
|
133
|
+
- test/helper.rb
|
134
|
+
- test/test_option_flags.rb
|
135
|
+
- test/test_update_runs_asynchronously.rb
|
130
136
|
has_rdoc:
|