refinery 0.12.1 → 0.12.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +8 -0
- data/README.textile +9 -1
- data/Rakefile +5 -5
- data/VERSION +1 -1
- data/refinery.gemspec +2 -2
- data/test/test_helper.rb +1 -1
- data/test/unit/config_test.rb +1 -1
- data/test/unit/configurable_test.rb +3 -1
- data/test/unit/daemon_test.rb +2 -1
- data/test/unit/event_publisher_test.rb +2 -1
- data/test/unit/heartbeat_test.rb +2 -1
- data/test/unit/loggable_test.rb +2 -1
- data/test/unit/processor_test.rb +2 -1
- data/test/unit/publisher_test.rb +1 -1
- data/test/unit/queueable_test.rb +1 -1
- data/test/unit/server_test.rb +2 -1
- data/test/unit/statistics_test.rb +1 -1
- data/test/unit/utilities_test.rb +1 -1
- data/test/unit/validations_test.rb +1 -1
- data/test/unit/worker_test.rb +1 -1
- metadata +2 -2
data/README.rdoc
CHANGED
@@ -45,6 +45,14 @@ This command executes a single publisher once.
|
|
45
45
|
|
46
46
|
Example: bin/pubnow -c config/config.yml sample
|
47
47
|
|
48
|
+
== Tests
|
49
|
+
|
50
|
+
To run the tests, do one of the following:
|
51
|
+
|
52
|
+
* Use autotest
|
53
|
+
* Use the command `rake`
|
54
|
+
* Run by hand with `ruby -Ilib -Itest unit/test_to_run.rb`
|
55
|
+
|
48
56
|
=== bin/monitor
|
49
57
|
|
50
58
|
This command is used to run the monitor system. The monitor system tracks the health of the refinery. The monitor should only be run on a single host.
|
data/README.textile
CHANGED
@@ -47,4 +47,12 @@ Example: bin/pubnow -c config/config.yml sample
|
|
47
47
|
|
48
48
|
h3. bin/monitor
|
49
49
|
|
50
|
-
This command is used to run the monitor system. The monitor system tracks the health of the refinery. The monitor should only be run on a single host.
|
50
|
+
This command is used to run the monitor system. The monitor system tracks the health of the refinery. The monitor should only be run on a single host.
|
51
|
+
|
52
|
+
h2. Tests
|
53
|
+
|
54
|
+
To run the tests, do one of the following:
|
55
|
+
|
56
|
+
* Use autotest
|
57
|
+
* Use the command `rake`
|
58
|
+
* Run by hand with `ruby -Ilib -Itest unit/test_to_run.rb`
|
data/Rakefile
CHANGED
@@ -6,10 +6,10 @@ desc 'Default: run tests.'
|
|
6
6
|
task :default => [:test]
|
7
7
|
|
8
8
|
desc 'Run tests.'
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
9
|
+
Rake::TestTask.new(:test) do |t|
|
10
|
+
t.libs << 'lib' << 'test'
|
11
|
+
t.pattern = 'test/**/*_test.rb'
|
12
|
+
t.verbose = true
|
13
13
|
end
|
14
14
|
|
15
15
|
desc 'Generate documentation.'
|
@@ -39,5 +39,5 @@ begin
|
|
39
39
|
gemspec.add_dependency "addressable"
|
40
40
|
end
|
41
41
|
rescue LoadError
|
42
|
-
puts "Jeweler not available. Install it with: sudo gem install
|
42
|
+
puts "Jeweler not available. Install it with: sudo gem install jeweler"
|
43
43
|
end
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.12.
|
1
|
+
0.12.2
|
data/refinery.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{refinery}
|
8
|
-
s.version = "0.12.
|
8
|
+
s.version = "0.12.2"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Anthony Eden"]
|
12
|
-
s.date = %q{
|
12
|
+
s.date = %q{2010-01-08}
|
13
13
|
s.description = %q{Process data in a distributed fashion.}
|
14
14
|
s.email = %q{anthonyeden@gmail.com}
|
15
15
|
s.executables = ["epub", "monitor", "pubnow", "refinery"]
|
data/test/test_helper.rb
CHANGED
data/test/unit/config_test.rb
CHANGED
@@ -1,7 +1,9 @@
|
|
1
|
-
require
|
1
|
+
require 'test_helper'
|
2
|
+
|
2
3
|
class ConfigureMe
|
3
4
|
include Refinery::Configurable
|
4
5
|
end
|
6
|
+
|
5
7
|
class ConfigurableTest < Test::Unit::TestCase
|
6
8
|
context "a class with the configurable module" do
|
7
9
|
should "provide a config" do
|
data/test/unit/daemon_test.rb
CHANGED
data/test/unit/heartbeat_test.rb
CHANGED
data/test/unit/loggable_test.rb
CHANGED
data/test/unit/processor_test.rb
CHANGED
data/test/unit/publisher_test.rb
CHANGED
data/test/unit/queueable_test.rb
CHANGED
data/test/unit/server_test.rb
CHANGED
data/test/unit/utilities_test.rb
CHANGED
data/test/unit/worker_test.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: refinery
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.12.
|
4
|
+
version: 0.12.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Anthony Eden
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date:
|
12
|
+
date: 2010-01-08 00:00:00 -10:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|