get_back 0.0.1-java → 0.1.0-java

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/README.md +11 -2
  2. data/get_back.gemspec +1 -1
  3. metadata +43 -38
data/README.md CHANGED
@@ -22,9 +22,18 @@ it could take too long. Make it get back!
22
22
 
23
23
  end
24
24
 
25
- Now the send_email method will *always* run in a separate thread.
25
+ Now the send_email method will *always* run in a separate thread. For example, this code:
26
26
 
27
- The background methods are run in a separate thread. The threads a pulled from a pool. If you need to limit the
27
+ u = User.new
28
+ u.send_email("joining")
29
+ puts 'done'
30
+
31
+ Might yield this output:
32
+
33
+ > done
34
+ > Thanks for joining my website
35
+
36
+ The background methods are run in a separate thread, which is pulled from a pool. If you need to limit the
28
37
  concurrency of a method, you can fix the pool size:
29
38
 
30
39
  get_back :send_email, :pool => 10
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{get_back}
5
- s.version = "0.0.1"
5
+ s.version = "0.1.0"
6
6
  s.authors = ["Joe Kutner"]
7
7
  s.date = Time.now
8
8
  s.description = "Easy Background Jobs for JRuby"
metadata CHANGED
@@ -1,55 +1,60 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: get_back
3
- version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 0.0.1
3
+ version: !ruby/object:Gem::Version
4
+ prerelease:
5
+ version: 0.1.0
6
6
  platform: java
7
- authors:
8
- - Joe Kutner
9
- autorequire:
7
+ authors:
8
+ - Joe Kutner
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-10-11 00:00:00.000000000 -05:00
13
- default_executable:
12
+
13
+ date: 2012-02-23 00:00:00 Z
14
14
  dependencies: []
15
+
15
16
  description: Easy Background Jobs for JRuby
16
- email:
17
- - jpkutner@gmail.com
17
+ email:
18
+ - jpkutner@gmail.com
18
19
  executables: []
20
+
19
21
  extensions: []
22
+
20
23
  extra_rdoc_files: []
21
- files:
22
- - lib/get_back.rb
23
- - lib/get_back/jojo.rb
24
- - spec/happy_path_spec.rb
25
- - README.md
26
- - LICENSE.txt
27
- - get_back.gemspec
28
- has_rdoc: true
24
+
25
+ files:
26
+ - lib/get_back.rb
27
+ - lib/get_back/jojo.rb
28
+ - spec/happy_path_spec.rb
29
+ - README.md
30
+ - LICENSE.txt
31
+ - get_back.gemspec
29
32
  homepage: http://github.com/jkutner/get_back
30
33
  licenses: []
31
- post_install_message:
34
+
35
+ post_install_message:
32
36
  rdoc_options: []
33
- require_paths:
34
- - lib
35
- required_ruby_version: !ruby/object:Gem::Requirement
36
- requirements:
37
- - - ! '>='
38
- - !ruby/object:Gem::Version
39
- version: '0'
37
+
38
+ require_paths:
39
+ - lib
40
+ required_ruby_version: !ruby/object:Gem::Requirement
40
41
  none: false
41
- required_rubygems_version: !ruby/object:Gem::Requirement
42
- requirements:
43
- - - ! '>='
44
- - !ruby/object:Gem::Version
45
- version: '0'
42
+ requirements:
43
+ - - ">="
44
+ - !ruby/object:Gem::Version
45
+ version: "0"
46
+ required_rubygems_version: !ruby/object:Gem::Requirement
46
47
  none: false
48
+ requirements:
49
+ - - ">="
50
+ - !ruby/object:Gem::Version
51
+ version: "0"
47
52
  requirements: []
48
- rubyforge_project:
49
- rubygems_version: 1.5.1
50
- signing_key:
53
+
54
+ rubyforge_project:
55
+ rubygems_version: 1.8.15
56
+ signing_key:
51
57
  specification_version: 3
52
58
  summary: Easy Background Jobs for JRuby
53
- test_files:
54
- - spec/happy_path_spec.rb
55
- ...
59
+ test_files:
60
+ - spec/happy_path_spec.rb