fanforce-app-worker 1.0.3 → 1.1.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6df2b0d7a004dd6469be80e8a975284b7183fa76
4
- data.tar.gz: d351dcc0ead7dc87d7bcd0673af0b75602c4167b
3
+ metadata.gz: 99e77b73d76e05d1350ab66094b2774c1a4d1fd3
4
+ data.tar.gz: b25d84d69e3fc74c881bc53df46a5753c0d242d9
5
5
  SHA512:
6
- metadata.gz: d340a41f2e8e83d5dd5f5e173f05988e1d266f729486660c8a95aa3ebdc95af8b311a450a82eadcdb0956ee85a5e3ebb11810e91b5e94dddd4358a5ab2384b6e
7
- data.tar.gz: b62431978ff6344fd44277ed157573e2e91d09bcc7dcc27587494d6dd9aa9192055eb70536442b237ffcfbd5d89fdc0e0585ff66aa794ba148ecb34965a70436
6
+ metadata.gz: da8d98f38886727e8fe2997bfd5312ab014469c72d36008ba027d075f8588b6a26f595ebda9c15007bf3f4c988eb8dc8141e513fdde1b9e8ca6b5c0d4c49d08d
7
+ data.tar.gz: 1628540f3c2ae2a70766e7ee8ca8f05f9e4ff8683daf2f4f5c810a6e03f7084b3f192dd21a6a341417cd0ec9b1911619848309aacbb984b3e0ec9385b5b71d55
@@ -26,4 +26,5 @@ Gem::Specification.new do |gem|
26
26
 
27
27
  gem.add_runtime_dependency 'fanforce-base', '~> 1.2'
28
28
  gem.add_runtime_dependency 'fanforce-api', '~> 1.0'
29
+ gem.add_runtime_dependency 'fanforce-app-factory', '= 2.0.0.rc7'
29
30
  end
@@ -1,5 +1,5 @@
1
1
  class Fanforce
2
2
  class AppWorker
3
- VERSION = '1.0.3'
3
+ VERSION = '1.1.0.rc1'
4
4
  end
5
5
  end
@@ -8,3 +8,19 @@ require_relative 'app_worker/worker'
8
8
  require_relative 'app_worker/errors'
9
9
  require_relative 'app_worker/runner'
10
10
 
11
+
12
+ ########################################################################################################################
13
+
14
+ # The following is run if file is required from an IronWorker
15
+ if caller[0].split(':')[0] =~ /^(\/mnt\/task)\/([^\/])+.rb$/
16
+ worker_root_dir = $1
17
+ loader_filename = $2
18
+
19
+ require 'fanforce/app_factory/load_iron_worker'
20
+ Fanforce::App.load(nil)
21
+
22
+ App = Fanforce::App
23
+ AppWorker = Fanforce::AppWorker
24
+
25
+ puts 'FINISHED LOADING APP'
26
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fanforce-app-worker
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.1.0.rc1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Caleb Clark
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-26 00:00:00.000000000 Z
11
+ date: 2014-12-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: iron_mq
@@ -122,6 +122,20 @@ dependencies:
122
122
  - - ~>
123
123
  - !ruby/object:Gem::Version
124
124
  version: '1.0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: fanforce-app-factory
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - '='
130
+ - !ruby/object:Gem::Version
131
+ version: 2.0.0.rc7
132
+ type: :runtime
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - '='
137
+ - !ruby/object:Gem::Version
138
+ version: 2.0.0.rc7
125
139
  description:
126
140
  email:
127
141
  - cclark@fanforce.com
@@ -160,9 +174,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
160
174
  version: '0'
161
175
  required_rubygems_version: !ruby/object:Gem::Requirement
162
176
  requirements:
163
- - - '>='
177
+ - - '>'
164
178
  - !ruby/object:Gem::Version
165
- version: '0'
179
+ version: 1.3.1
166
180
  requirements: []
167
181
  rubyforge_project:
168
182
  rubygems_version: 2.0.14