simplejob 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/LICENSE.txt CHANGED
@@ -1,7 +1,7 @@
1
1
  The MIT License
2
2
 
3
- Copyright (c) 2011 Ken Pratt (ken@kenpratt.net)
4
- Copyright (c) 2011 Ruboss Technology Corp (peter@ruboss.com)
3
+ Copyright (c) 2011 Ken Pratt <ken@kenpratt.net>
4
+ Copyright (c) 2011 Ruboss Technology Corp <peter@ruboss.com>
5
5
 
6
6
  Permission is hereby granted, free of charge, to any person obtaining
7
7
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -12,9 +12,9 @@ Painless job queueing, backed by AMQP.
12
12
  Installation
13
13
  ------------
14
14
 
15
- <pre>
15
+ ```sh
16
16
  $ gem install simplejob
17
- </pre>
17
+ ```
18
18
 
19
19
  Example
20
20
  -------
@@ -23,15 +23,15 @@ Start your [RabbitMQ](http://www.rabbitmq.com/) server (install one if necessary
23
23
 
24
24
  ### Producer
25
25
 
26
- <pre>
26
+ ```ruby
27
27
  require "simplejob"
28
28
 
29
29
  SimpleJob.send("hello")
30
- </pre>
30
+ ```
31
31
 
32
32
  ### Consumer
33
33
 
34
- <pre>
34
+ ```ruby
35
35
  require "simplejob"
36
36
 
37
37
  SimpleJob::Worker.start do
@@ -39,14 +39,14 @@ SimpleJob::Worker.start do
39
39
  puts "got it!"
40
40
  end
41
41
  end
42
- </pre>
42
+ ```
43
43
 
44
44
  ### Run
45
45
 
46
- <pre>
46
+ ```sh
47
47
  $ ruby -rubygems producer.rb
48
48
  $ ruby -rubygems consumer.rb
49
- </pre>
49
+ ```
50
50
 
51
51
  More examples
52
52
  -------------
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.2.1
@@ -36,7 +36,6 @@ module SimpleJob
36
36
  def start_handler_loop
37
37
  subscribe(@queue) do |headers, body|
38
38
  unless AMQP.closing?
39
- puts headers.inspect
40
39
  topic = headers.properties[:routing_key]
41
40
 
42
41
  begin
data/simplejob.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{simplejob}
8
- s.version = "0.2.0"
8
+ s.version = "0.2.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = [%q{Ken Pratt}]
12
- s.date = %q{2011-05-06}
12
+ s.date = %q{2011-07-11}
13
13
  s.description = %q{A simple AMQP-backed job queuing system.}
14
14
  s.email = %q{ken@kenpratt.net}
15
15
  s.extra_rdoc_files = [
@@ -46,7 +46,7 @@ Gem::Specification.new do |s|
46
46
  s.homepage = %q{http://github.com/kenpratt/simplejob}
47
47
  s.licenses = [%q{MIT}]
48
48
  s.require_paths = [%q{lib}]
49
- s.rubygems_version = %q{1.8.1}
49
+ s.rubygems_version = %q{1.8.5}
50
50
  s.summary = %q{Painless job queueing.}
51
51
 
52
52
  if s.respond_to? :specification_version then
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simplejob
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 0
10
- version: 0.2.0
9
+ - 1
10
+ version: 0.2.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ken Pratt
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-05-06 00:00:00 Z
18
+ date: 2011-07-11 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: activesupport
@@ -129,7 +129,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
129
129
  requirements: []
130
130
 
131
131
  rubyforge_project:
132
- rubygems_version: 1.8.1
132
+ rubygems_version: 1.8.5
133
133
  signing_key:
134
134
  specification_version: 3
135
135
  summary: Painless job queueing.