simple_worker 1.0.0.beta2 → 1.0.1

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 (2) hide show
  1. data/README.markdown +11 -1
  2. metadata +4 -4
data/README.markdown CHANGED
@@ -214,7 +214,8 @@ Then before you job is run, SimpleWorker will establish the ActiveRecord connect
214
214
  Including/Merging other Ruby Classes
215
215
  ------------------------------------
216
216
 
217
- If you are using the Rails setup above, you can probably skip this as your models will automatically be merged.
217
+ If you need to inclue other classes in for your worker to use (which is very common), then you'll
218
+ want to use the merge functions. For example:
218
219
 
219
220
  class AvgWorker < SimpleWorker::Base
220
221
 
@@ -272,6 +273,15 @@ This allows you to use any gem you'd like with SimpleWorker. This uses the same
272
273
 
273
274
  [Check here for more info on merge_gem](http://support.simpleworker.com/kb/working-with-simpleworker/merging-gems-into-your-worker).
274
275
 
276
+ Global Merging
277
+ --------------
278
+
279
+ If you want to merge items for all of your workers, you can do merges in your SimpleWorker.configure block:
280
+
281
+ config.merge 'my file'
282
+ config.merge_gem 'httparty'
283
+
284
+
275
285
 
276
286
  Configuration Options
277
287
  ---------------------
metadata CHANGED
@@ -1,8 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_worker
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: 6
5
- version: 1.0.0.beta2
4
+ prerelease:
5
+ version: 1.0.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Travis Reeder
@@ -73,9 +73,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
73
73
  required_rubygems_version: !ruby/object:Gem::Requirement
74
74
  none: false
75
75
  requirements:
76
- - - ">"
76
+ - - ">="
77
77
  - !ruby/object:Gem::Version
78
- version: 1.3.1
78
+ version: "0"
79
79
  requirements: []
80
80
 
81
81
  rubyforge_project: