fanforce-plugin-factory 0.9.7 → 0.10.0

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.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- OTUxMDgxMWY3NmM1ODlmYTcxMWFkYTI0OGRlNDI1ZDJlMzVkMTBiZQ==
4
+ ZTVmY2JmOTYyYWJiZWYyMzg4M2I3OTYwYzJkZmVmOWExMjVhYjYyYw==
5
5
  data.tar.gz: !binary |-
6
- ZDIyZjdmMzQ0NTE5MTEyZTlhMzdkMTk1MjI1ZTI0MjQ1ZDM3ZTUwNg==
6
+ MmM3YzA3ZDk4NjBkZjM3ZWZmMGE1ZTIxMjZmMWQ1NmQ2MTc0OTAwOQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- NjQ2MzgzNmI4MmEwZDY1MjIyYjYyOTM1OTQ2ZGJlZmUxZTJhNDllMDNkZGRm
10
- NzE4MWEyMDg2Y2VkZTk4YzEyYzIxMTQwNjlhMTBkYTc0ZTdhZTAyMmYyYzA0
11
- ZWY3YWQ0N2E5NTNjNjJhZGM3ZTY0YTk0YWJhMzRmMTZhYmRkNTU=
9
+ NWJiZWVjMjAyODVhZThiODE0NTc3NTVjOGIzN2M2YjgwODUzMjRmMzk2Y2Mz
10
+ ODYyYjE0NjVjMGVkOWRjZmNkNGQ3NWQ0NmNiMTQ1ODNiOWM2YTRkN2UyZDBj
11
+ YjI1ZjE4OGYzOGY5MjI0ZjQ5YWJlYmE0N2IxNmRjODdkY2FkMGI=
12
12
  data.tar.gz: !binary |-
13
- ZTgwNGNhZmJkYTk1MTRiZmEwOTE5NWZlZWQwZWQ3N2FjNzVkYmExZDAwYTQ1
14
- NjczYWIyNmZkZDkwZDdiMWU4MGY3NGRkMTM0YzVhNDMxMmZlNDg3ZmQ5Yzkx
15
- ZGUwNmVjMGY0NzNhMmRmZjdjOTI3ZTM1ZWRkNjlkZmY4ODg5MTk=
13
+ YjIyOWFlNDIwMjI1NzMyZTljNzAwMTVmYjgyMWRkMTYzNmJmYWY4MWFlMjI5
14
+ YTBjYzM1NjA2OWJjMWI5NWVkYWI3Y2JmZjUxZjU3NGE5NjNiNzhlM2EyOTg0
15
+ ZTVjMjZjYzc5NjIxZDhlYjI2ZDUwZTcxNDY2ZGY3MDU4ZTE2NzM=
data/README.md CHANGED
@@ -215,4 +215,16 @@ FanforcePlugin.config do |config|
215
215
  end
216
216
  ```
217
217
 
218
+ # Using Fanforce::Workers
219
+
220
+ FanforcePlugin includes the fanforce-workers gem by default and includes a convenience helper method. FanforcePlugin.enqueue
221
+ will prefix the name of your worker with the name of your plugin to ensure there are no conflicts across multiple plugins
222
+ or apps. This is the naming convention used by Fanforce Factory when creating and uploading Iron.io workers.
223
+
224
+ As an example, if you have a testing.worker file, you would use the following command:
225
+
226
+ ```
227
+ FanforcePlugin.enqueue 'testing', {params_to_send: 'whatever'}
228
+ ```
229
+
218
230
 
@@ -1,5 +1,5 @@
1
1
  class Fanforce
2
2
  module PluginFactory
3
- VERSION = '0.9.7'
3
+ VERSION = '0.10.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fanforce-plugin-factory
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.7
4
+ version: 0.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Caleb Clark