update 0.9.8 → 0.9.9
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +7 -1
- data/bin/update +3 -3
- data/lib/update.rb +5 -5
- data/lib/update/{run-updates.rb → update.rb} +0 -0
- data/lib/update/version.rb +1 -1
- data/update.gemspec +1 -1
- metadata +84 -73
data/README.md
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
# Update: a gem to run groups of updates asynchronously
|
2
|
-
Update is a simple Ruby script for running sets of updates asynchronously from your command line.
|
2
|
+
Update is a simple Ruby script for running sets of updates asynchronously from your command line.
|
3
|
+
|
4
|
+
Update uses EM::Syncrony's FiberIterator to run each set of updates in its own Fiber and then print out results as they become available.
|
5
|
+
|
6
|
+
Experimental branch uses Celluloid.
|
7
|
+
|
8
|
+
Requires Ruby 1.9+.
|
3
9
|
##Installation and usage
|
4
10
|
```ruby
|
5
11
|
gem install update
|
data/bin/update
CHANGED
data/lib/update.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
require
|
2
|
-
require
|
3
|
-
require
|
4
|
-
require
|
5
|
-
require
|
1
|
+
require 'update/commands'
|
2
|
+
require 'update/red-green'
|
3
|
+
require 'update/update'
|
4
|
+
require 'update/options'
|
5
|
+
require 'update/version'
|
File without changes
|
data/lib/update/version.rb
CHANGED
data/update.gemspec
CHANGED
@@ -5,7 +5,7 @@ require "update/version"
|
|
5
5
|
Gem::Specification.new do |s|
|
6
6
|
s.name = "update"
|
7
7
|
s.version = Update::VERSION
|
8
|
-
s.authors = ["
|
8
|
+
s.authors = ["Shannon Skipper"]
|
9
9
|
s.email = ["shannonskipper@gmail.com"]
|
10
10
|
s.homepage = "https://github.com/havenwood/update"
|
11
11
|
s.summary = %q{a gem to run a list of updates}
|
metadata
CHANGED
@@ -1,82 +1,112 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: update
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
4
|
+
version: 0.9.9
|
5
|
+
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
|
-
-
|
9
|
-
autorequire:
|
8
|
+
- Shannon Skipper
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-11-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: slop
|
16
|
-
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
17
18
|
requirements:
|
18
19
|
- - ~>
|
19
20
|
- !ruby/object:Gem::Version
|
20
21
|
version: '2.4'
|
21
|
-
none: false
|
22
|
-
requirement: *2056
|
23
|
-
prerelease: false
|
24
22
|
type: :development
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '2.4'
|
25
30
|
- !ruby/object:Gem::Dependency
|
26
31
|
name: awesome_print
|
27
|
-
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
28
34
|
requirements:
|
29
35
|
- - ~>
|
30
36
|
- !ruby/object:Gem::Version
|
31
37
|
version: '1.0'
|
32
|
-
none: false
|
33
|
-
requirement: *2074
|
34
|
-
prerelease: false
|
35
38
|
type: :development
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ~>
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '1.0'
|
36
46
|
- !ruby/object:Gem::Dependency
|
37
47
|
name: em-synchrony
|
38
|
-
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
39
50
|
requirements:
|
40
51
|
- - ~>
|
41
52
|
- !ruby/object:Gem::Version
|
42
53
|
version: '1.0'
|
43
|
-
none: false
|
44
|
-
requirement: *2090
|
45
|
-
prerelease: false
|
46
54
|
type: :development
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '1.0'
|
47
62
|
- !ruby/object:Gem::Dependency
|
48
63
|
name: slop
|
49
|
-
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
50
66
|
requirements:
|
51
67
|
- - ~>
|
52
68
|
- !ruby/object:Gem::Version
|
53
69
|
version: '2.4'
|
54
|
-
none: false
|
55
|
-
requirement: *2106
|
56
|
-
prerelease: false
|
57
70
|
type: :runtime
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ~>
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '2.4'
|
58
78
|
- !ruby/object:Gem::Dependency
|
59
79
|
name: awesome_print
|
60
|
-
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
61
82
|
requirements:
|
62
83
|
- - ~>
|
63
84
|
- !ruby/object:Gem::Version
|
64
85
|
version: '1.0'
|
65
|
-
none: false
|
66
|
-
requirement: *2124
|
67
|
-
prerelease: false
|
68
86
|
type: :runtime
|
87
|
+
prerelease: false
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ~>
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '1.0'
|
69
94
|
- !ruby/object:Gem::Dependency
|
70
95
|
name: em-synchrony
|
71
|
-
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
72
98
|
requirements:
|
73
99
|
- - ~>
|
74
100
|
- !ruby/object:Gem::Version
|
75
101
|
version: '1.0'
|
76
|
-
none: false
|
77
|
-
requirement: *2140
|
78
|
-
prerelease: false
|
79
102
|
type: :runtime
|
103
|
+
prerelease: false
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ~>
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '1.0'
|
80
110
|
description: A Ruby Gem for running a list of update commands from command line.
|
81
111
|
email:
|
82
112
|
- shannonskipper@gmail.com
|
@@ -85,65 +115,46 @@ executables:
|
|
85
115
|
extensions: []
|
86
116
|
extra_rdoc_files: []
|
87
117
|
files:
|
88
|
-
-
|
89
|
-
|
90
|
-
-
|
91
|
-
|
92
|
-
-
|
93
|
-
|
94
|
-
-
|
95
|
-
|
96
|
-
-
|
97
|
-
|
98
|
-
-
|
99
|
-
|
100
|
-
-
|
101
|
-
|
102
|
-
- !binary |-
|
103
|
-
bGliL3VwZGF0ZS9yZWQtZ3JlZW4ucmI=
|
104
|
-
- !binary |-
|
105
|
-
bGliL3VwZGF0ZS9ydW4tdXBkYXRlcy5yYg==
|
106
|
-
- !binary |-
|
107
|
-
bGliL3VwZGF0ZS92ZXJzaW9uLnJi
|
108
|
-
- !binary |-
|
109
|
-
dGVzdC9oZWxwZXIucmI=
|
110
|
-
- !binary |-
|
111
|
-
dGVzdC90ZXN0X29wdGlvbl9mbGFncy5yYg==
|
112
|
-
- !binary |-
|
113
|
-
dGVzdC90ZXN0X3VwZGF0ZV9ydW5zX2FzeW5jaHJvbm91c2x5LnJi
|
114
|
-
- !binary |-
|
115
|
-
dXBkYXRlLmdlbXNwZWM=
|
118
|
+
- .gitignore
|
119
|
+
- Gemfile
|
120
|
+
- README.md
|
121
|
+
- bin/update
|
122
|
+
- lib/update.rb
|
123
|
+
- lib/update/commands.rb
|
124
|
+
- lib/update/options.rb
|
125
|
+
- lib/update/red-green.rb
|
126
|
+
- lib/update/update.rb
|
127
|
+
- lib/update/version.rb
|
128
|
+
- test/helper.rb
|
129
|
+
- test/test_option_flags.rb
|
130
|
+
- test/test_update_runs_asynchronously.rb
|
131
|
+
- update.gemspec
|
116
132
|
homepage: https://github.com/havenwood/update
|
117
133
|
licenses: []
|
118
|
-
post_install_message:
|
134
|
+
post_install_message:
|
119
135
|
rdoc_options: []
|
120
136
|
require_paths:
|
121
137
|
- lib
|
122
138
|
required_ruby_version: !ruby/object:Gem::Requirement
|
139
|
+
none: false
|
123
140
|
requirements:
|
124
141
|
- - ! '>='
|
125
142
|
- !ruby/object:Gem::Version
|
126
|
-
version:
|
127
|
-
MA==
|
128
|
-
none: false
|
143
|
+
version: '0'
|
129
144
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
145
|
+
none: false
|
130
146
|
requirements:
|
131
147
|
- - ! '>='
|
132
148
|
- !ruby/object:Gem::Version
|
133
|
-
version:
|
134
|
-
MA==
|
135
|
-
none: false
|
149
|
+
version: '0'
|
136
150
|
requirements: []
|
137
151
|
rubyforge_project: update
|
138
|
-
rubygems_version: 1.8.
|
139
|
-
signing_key:
|
152
|
+
rubygems_version: 1.8.24
|
153
|
+
signing_key:
|
140
154
|
specification_version: 3
|
141
155
|
summary: a gem to run a list of updates
|
142
156
|
test_files:
|
143
|
-
-
|
144
|
-
|
145
|
-
-
|
146
|
-
|
147
|
-
- !binary |-
|
148
|
-
dGVzdC90ZXN0X3VwZGF0ZV9ydW5zX2FzeW5jaHJvbm91c2x5LnJi
|
149
|
-
...
|
157
|
+
- test/helper.rb
|
158
|
+
- test/test_option_flags.rb
|
159
|
+
- test/test_update_runs_asynchronously.rb
|
160
|
+
has_rdoc:
|