update 0.3.0 → 0.3.1

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