buzzcore 0.4.3 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/buzzcore.gemspec +11 -11
- data/lib/buzzcore/{thread_utils.rb → extra/thread_utils.rb} +1 -1
- data/lib/buzzcore/shell_extras.rb +1 -2
- data/test/config_test.rb +1 -1
- data/test/credentials_test.rb +1 -1
- data/test/misc_test.rb +1 -1
- data/test/shell_test.rb +1 -2
- metadata +35 -15
data/Rakefile
CHANGED
@@ -11,7 +11,7 @@ begin
|
|
11
11
|
gem.homepage = "http://github.com/buzzware/buzzcore"
|
12
12
|
gem.authors = ["buzzware"]
|
13
13
|
#gem.rubyforge_project = "buzzware"
|
14
|
-
gem.add_dependency "
|
14
|
+
gem.add_dependency "POpen4"
|
15
15
|
gem.add_development_dependency "shoulda"
|
16
16
|
gem.files.include %w(
|
17
17
|
lib/buzzcore.rb
|
data/VERSION
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
0.
|
1
|
+
0.5.0
|
2
2
|
|
data/buzzcore.gemspec
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
# Generated by jeweler
|
2
|
-
# DO NOT EDIT THIS FILE
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{buzzcore}
|
8
|
-
s.version = "0.
|
8
|
+
s.version = "0.5.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["buzzware"]
|
12
|
-
s.date = %q{2010-
|
12
|
+
s.date = %q{2010-09-10}
|
13
13
|
s.description = %q{buzzcore is the ruby core library developed and used by Buzzware Solutions.}
|
14
14
|
s.email = %q{contact@buzzware.com.au}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -27,12 +27,12 @@ Gem::Specification.new do |s|
|
|
27
27
|
"buzzcore.vpj",
|
28
28
|
"buzzcore.vpw",
|
29
29
|
"lib/buzzcore.rb",
|
30
|
-
"lib/buzzcore.rb",
|
31
30
|
"lib/buzzcore/config.rb",
|
32
31
|
"lib/buzzcore/database_utils.rb",
|
33
32
|
"lib/buzzcore/enum.rb",
|
34
33
|
"lib/buzzcore/extend_base_classes.rb",
|
35
34
|
"lib/buzzcore/extra/html_truncate.rb",
|
35
|
+
"lib/buzzcore/extra/thread_utils.rb",
|
36
36
|
"lib/buzzcore/extra/xml_utils2.rb",
|
37
37
|
"lib/buzzcore/html_utils.rb",
|
38
38
|
"lib/buzzcore/logging.rb",
|
@@ -41,7 +41,6 @@ Gem::Specification.new do |s|
|
|
41
41
|
"lib/buzzcore/shell_extras.rb",
|
42
42
|
"lib/buzzcore/string_utils.rb",
|
43
43
|
"lib/buzzcore/text_doc.rb",
|
44
|
-
"lib/buzzcore/thread_utils.rb",
|
45
44
|
"lib/buzzcore/tweaks.rb",
|
46
45
|
"lib/buzzcore/xml_utils.rb",
|
47
46
|
"lib/buzzcore_dev.rb",
|
@@ -56,7 +55,7 @@ Gem::Specification.new do |s|
|
|
56
55
|
s.homepage = %q{http://github.com/buzzware/buzzcore}
|
57
56
|
s.rdoc_options = ["--charset=UTF-8"]
|
58
57
|
s.require_paths = ["lib"]
|
59
|
-
s.rubygems_version = %q{1.3.
|
58
|
+
s.rubygems_version = %q{1.3.7}
|
60
59
|
s.summary = %q{buzzcore is the ruby core library developed and used by Buzzware Solutions.}
|
61
60
|
s.test_files = [
|
62
61
|
"test/buzzcore_test.rb",
|
@@ -71,15 +70,16 @@ Gem::Specification.new do |s|
|
|
71
70
|
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
72
71
|
s.specification_version = 3
|
73
72
|
|
74
|
-
if Gem::Version.new(Gem::
|
75
|
-
s.add_runtime_dependency(%q<
|
73
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
74
|
+
s.add_runtime_dependency(%q<POpen4>, [">= 0"])
|
76
75
|
s.add_development_dependency(%q<shoulda>, [">= 0"])
|
77
76
|
else
|
78
|
-
s.add_dependency(%q<
|
77
|
+
s.add_dependency(%q<POpen4>, [">= 0"])
|
79
78
|
s.add_dependency(%q<shoulda>, [">= 0"])
|
80
79
|
end
|
81
80
|
else
|
82
|
-
s.add_dependency(%q<
|
81
|
+
s.add_dependency(%q<POpen4>, [">= 0"])
|
83
82
|
s.add_dependency(%q<shoulda>, [">= 0"])
|
84
83
|
end
|
85
84
|
end
|
85
|
+
|
@@ -3,7 +3,7 @@ require 'timeout'
|
|
3
3
|
require 'tmpdir'
|
4
4
|
require 'fileutils'
|
5
5
|
require 'thread'
|
6
|
-
require 'fastthread'
|
6
|
+
#require 'fastthread'
|
7
7
|
|
8
8
|
# # This class provides an object value that can be passed between threads without
|
9
9
|
# # fear of collisions. As WaitOne is used, multiple consumers could wait on one producer,
|
data/test/config_test.rb
CHANGED
data/test/credentials_test.rb
CHANGED
data/test/misc_test.rb
CHANGED
data/test/shell_test.rb
CHANGED
@@ -6,10 +6,9 @@ $:.unshift File.join(File.dirname(__FILE__),'..','lib')
|
|
6
6
|
require 'rubygems'
|
7
7
|
|
8
8
|
require 'test/unit'
|
9
|
-
gem '
|
9
|
+
gem 'shoulda'; require 'shoulda'
|
10
10
|
|
11
11
|
require 'buzzcore/shell_extras'
|
12
|
-
require 'yore/yore_core'
|
13
12
|
|
14
13
|
class ShellTest < Test::Unit::TestCase
|
15
14
|
should "raise exception on timeout"
|
metadata
CHANGED
@@ -1,7 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: buzzcore
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
hash: 11
|
5
|
+
prerelease: false
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 5
|
9
|
+
- 0
|
10
|
+
version: 0.5.0
|
5
11
|
platform: ruby
|
6
12
|
authors:
|
7
13
|
- buzzware
|
@@ -9,29 +15,37 @@ autorequire:
|
|
9
15
|
bindir: bin
|
10
16
|
cert_chain: []
|
11
17
|
|
12
|
-
date: 2010-
|
18
|
+
date: 2010-09-10 00:00:00 +08:00
|
13
19
|
default_executable:
|
14
20
|
dependencies:
|
15
21
|
- !ruby/object:Gem::Dependency
|
16
|
-
name:
|
17
|
-
|
18
|
-
|
19
|
-
|
22
|
+
name: POpen4
|
23
|
+
prerelease: false
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
20
26
|
requirements:
|
21
27
|
- - ">="
|
22
28
|
- !ruby/object:Gem::Version
|
29
|
+
hash: 3
|
30
|
+
segments:
|
31
|
+
- 0
|
23
32
|
version: "0"
|
24
|
-
|
33
|
+
type: :runtime
|
34
|
+
version_requirements: *id001
|
25
35
|
- !ruby/object:Gem::Dependency
|
26
36
|
name: shoulda
|
27
|
-
|
28
|
-
|
29
|
-
|
37
|
+
prerelease: false
|
38
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
30
40
|
requirements:
|
31
41
|
- - ">="
|
32
42
|
- !ruby/object:Gem::Version
|
43
|
+
hash: 3
|
44
|
+
segments:
|
45
|
+
- 0
|
33
46
|
version: "0"
|
34
|
-
|
47
|
+
type: :development
|
48
|
+
version_requirements: *id002
|
35
49
|
description: buzzcore is the ruby core library developed and used by Buzzware Solutions.
|
36
50
|
email: contact@buzzware.com.au
|
37
51
|
executables: []
|
@@ -57,6 +71,7 @@ files:
|
|
57
71
|
- lib/buzzcore/enum.rb
|
58
72
|
- lib/buzzcore/extend_base_classes.rb
|
59
73
|
- lib/buzzcore/extra/html_truncate.rb
|
74
|
+
- lib/buzzcore/extra/thread_utils.rb
|
60
75
|
- lib/buzzcore/extra/xml_utils2.rb
|
61
76
|
- lib/buzzcore/html_utils.rb
|
62
77
|
- lib/buzzcore/logging.rb
|
@@ -65,7 +80,6 @@ files:
|
|
65
80
|
- lib/buzzcore/shell_extras.rb
|
66
81
|
- lib/buzzcore/string_utils.rb
|
67
82
|
- lib/buzzcore/text_doc.rb
|
68
|
-
- lib/buzzcore/thread_utils.rb
|
69
83
|
- lib/buzzcore/tweaks.rb
|
70
84
|
- lib/buzzcore/xml_utils.rb
|
71
85
|
- lib/buzzcore_dev.rb
|
@@ -86,21 +100,27 @@ rdoc_options:
|
|
86
100
|
require_paths:
|
87
101
|
- lib
|
88
102
|
required_ruby_version: !ruby/object:Gem::Requirement
|
103
|
+
none: false
|
89
104
|
requirements:
|
90
105
|
- - ">="
|
91
106
|
- !ruby/object:Gem::Version
|
107
|
+
hash: 3
|
108
|
+
segments:
|
109
|
+
- 0
|
92
110
|
version: "0"
|
93
|
-
version:
|
94
111
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
112
|
+
none: false
|
95
113
|
requirements:
|
96
114
|
- - ">="
|
97
115
|
- !ruby/object:Gem::Version
|
116
|
+
hash: 3
|
117
|
+
segments:
|
118
|
+
- 0
|
98
119
|
version: "0"
|
99
|
-
version:
|
100
120
|
requirements: []
|
101
121
|
|
102
122
|
rubyforge_project:
|
103
|
-
rubygems_version: 1.3.
|
123
|
+
rubygems_version: 1.3.7
|
104
124
|
signing_key:
|
105
125
|
specification_version: 3
|
106
126
|
summary: buzzcore is the ruby core library developed and used by Buzzware Solutions.
|