sidejob 3.0.1 → 4.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/web/config.ru ADDED
@@ -0,0 +1,14 @@
1
+ require 'bundler/setup'
2
+ require_relative './app.rb'
3
+ require 'rack/cors'
4
+
5
+ if ENV['SIDEJOB_API_CORS']
6
+ use Rack::Cors do
7
+ allow do
8
+ origins ENV['SIDEJOB_API_CORS'].split(' ')
9
+ resource '*', methods: [:get, :post, :put, :delete, :options], headers: :any
10
+ end
11
+ end
12
+ end
13
+
14
+ run SideJob::Web
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sidejob
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1
4
+ version: 4.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Austin Che
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-13 00:00:00.000000000 Z
11
+ date: 2015-04-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sidekiq
@@ -113,6 +113,10 @@ files:
113
113
  - spec/spec_helper.rb
114
114
  - spec/support/test_sum.rb
115
115
  - spec/support/test_worker.rb
116
+ - web/Gemfile
117
+ - web/Gemfile.lock
118
+ - web/app.rb
119
+ - web/config.ru
116
120
  homepage:
117
121
  licenses: []
118
122
  metadata: {}