fanforce-worker 0.14.0 → 0.14.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YjFmOGE4MWZhYmE2MGVjZjYyZWIwYzA0M2Y0Njg4MzdkZTc3NGNiMQ==
4
+ OTNkMWU2OGZlYjAwOWMxMTE3MWJhMDYyNjMwNzM0OWZhZTc5ZTAyOQ==
5
5
  data.tar.gz: !binary |-
6
- MmNlNjY1NDRjODY2OThlYWIzMjEwNGZlN2JjODI0NDI4Yzg5NTA1Ng==
6
+ OThiNmEwZDNjYjVhOGYwNTcxNWFhNTdmNTg0NDliOTI0ZmQwZDExMA==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- M2Y0ODUwNDZjNjBlNTFmNjk1MGY5YjBmMTJhYTNiMDk0ZTI1ZmFlMDA5OTQz
10
- OGMwNDg4ZDIxZWYxOWNkYThjMjJlMzNlNTYyMWYzODJkMmFlMDMxMjgyODBl
11
- N2ZmNTBiZDUxZjI3NTY4YmVhMTk4YzUzMDM5MGZlMDRmYzExY2U=
9
+ NzVlZGMyNDNhYWMwYTcyYjNhNGUwNDU4Mzk0OGFmNDk5ZjA0MmQzMGNlMGU3
10
+ ZmVmYmQ5ZjQ2MmIwYTE5NWQ0MzE2Y2YxYzU1OWZmOTJhZDZmN2VjY2E0OTc5
11
+ OWU2ZDU5MGM2ZjZlNjIzNTUwMTJmYTFkYjY4ODFkYjRmYTk1Njg=
12
12
  data.tar.gz: !binary |-
13
- MGE3ODE0ZmRhNDZlMzQ1NWY0YTg5OWI5MDRiM2MwODNkMzIyNGY3NTE1ZWFl
14
- MjlkOGU5MWNhODVmNzY5YThjYjQ1NWU1MDMyZjE2ODFlNGUyNTMyMjIxZGIw
15
- MmJlYjdlMjFhYzk3ZWI0ODBlY2I0NWY2MTM4YTAyZjkyNjhmNDQ=
13
+ MTU4NGU3MzQzYTU2ZjAwYzczZDM3NGRiZThmYTIzNWE5YmQxMzY2NzU2ZWQz
14
+ NmI0MzBjNDZlMzAyYmQxMTQwMmVjYjI4Y2U3MmY5NDY3OTViYTRjNDZjY2Ri
15
+ OGFjYzVkZjZmMzFjZGJjMjdlYmI0Y2UwNmM3Y2IwYjhkODg0MDQ=
@@ -1,5 +1,5 @@
1
1
  class Fanforce
2
2
  class Worker
3
- VERSION = '0.14.0'
3
+ VERSION = '0.14.1'
4
4
  end
5
5
  end
@@ -145,6 +145,8 @@ class Fanforce::Worker
145
145
  end
146
146
 
147
147
  def self.run(worker_data, min_execution_time=300, &code_block)
148
+ raise "min_execution_time was set to #{min_execution_time}, which is #{min_execution_time - MAX_EXECUTION_TIME} seconds too long" if min_execution_time > MAX_EXECUTION_TIME
149
+
148
150
  puts 'LOADING ENV...'
149
151
  load_env
150
152
  require 'iron_mq'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fanforce-worker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0
4
+ version: 0.14.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Caleb Clark