lobby_boy 0.1.0 → 0.1.1

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: 75bf5b927b315d83c027d9597ac87ce1bbcfe5cb
4
- data.tar.gz: 0747d68198b3ecc83a8f714896f2355b893f2059
3
+ metadata.gz: cccadf684b2766d41e5cbded76f0dbf9ae820350
4
+ data.tar.gz: 3f24e10d2ff8c69c81d82c20cdf30d27e406e1af
5
5
  SHA512:
6
- metadata.gz: 6b3fa3369124620d8472a9473393338e76ffcc606b55821e4fe2768c90181d987d75c2aa8b668403f1d70a12b107c69b1a8477bad3401dc0eb096c2aff42ddc6
7
- data.tar.gz: 32cab434b72cae1f508c43e64389cc69b3d4119a4137c774ad3cbb557640a8b683bde472967b6a4faab0321b5f3f0479cc3ba86ea988a0e88f8afa3c8e451f0e
6
+ metadata.gz: 905d98501155372ecc09c49907584aa112dd5f9a7b83b3ebf4693533f31272a3715be1fe7df534c95ab3c74742c2e11dbef277723ffd7a29d6680eb32fe1b255
7
+ data.tar.gz: 6a04337e6756017209b7c789fd21a78e274dfd415b627bfe875f6081b75a9d125aa63fc2d768d1bc4f2d37fb67cda34cc57a33e14e68db08bf277d711f6ca8d9
@@ -2,30 +2,10 @@ module LobbyBoy
2
2
  class Engine < ::Rails::Engine
3
3
  isolate_namespace LobbyBoy
4
4
 
5
- config.assets.precompile += %w( jquery.js js.cookie-1.5.1.min.js )
5
+ config.assets.precompile += %w( js.cookie-1.5.1.min.js )
6
6
 
7
7
  config.to_prepare do
8
8
  require 'lobby_boy/patches/session_management'
9
9
  end
10
-
11
- ##
12
- # Use CORS to allow AJAX re-reauthentication.
13
- initializer 'lobby_boy.add_middleware' do |app|
14
- require 'rack/cors'
15
-
16
- app.middleware.insert_before 0, 'Rack::Cors' do
17
- allow do
18
- omniauth = ::OmniAuth.config.path_prefix
19
-
20
- origins '*'
21
- resource "#{omniauth}/*", headers: :any, methods: [:get], credentials: true
22
- end
23
-
24
- allow do
25
- origins '*'
26
- resource '/session/*', headers: :any, methods: [:get], credentials: true
27
- end
28
- end
29
- end
30
10
  end
31
11
  end
@@ -1,3 +1,3 @@
1
1
  module LobbyBoy
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lobby_boy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Finn GmbH
@@ -24,20 +24,6 @@ dependencies:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: 3.2.21
27
- - !ruby/object:Gem::Dependency
28
- name: rack-cors
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: 0.4.0
34
- type: :runtime
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: 0.4.0
41
27
  - !ruby/object:Gem::Dependency
42
28
  name: omniauth
43
29
  requirement: !ruby/object:Gem::Requirement