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 +4 -4
- data/lib/lobby_boy/engine.rb +1 -21
- data/lib/lobby_boy/version.rb +1 -1
- metadata +1 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cccadf684b2766d41e5cbded76f0dbf9ae820350
|
4
|
+
data.tar.gz: 3f24e10d2ff8c69c81d82c20cdf30d27e406e1af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 905d98501155372ecc09c49907584aa112dd5f9a7b83b3ebf4693533f31272a3715be1fe7df534c95ab3c74742c2e11dbef277723ffd7a29d6680eb32fe1b255
|
7
|
+
data.tar.gz: 6a04337e6756017209b7c789fd21a78e274dfd415b627bfe875f6081b75a9d125aa63fc2d768d1bc4f2d37fb67cda34cc57a33e14e68db08bf277d711f6ca8d9
|
data/lib/lobby_boy/engine.rb
CHANGED
@@ -2,30 +2,10 @@ module LobbyBoy
|
|
2
2
|
class Engine < ::Rails::Engine
|
3
3
|
isolate_namespace LobbyBoy
|
4
4
|
|
5
|
-
config.assets.precompile += %w(
|
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
|
data/lib/lobby_boy/version.rb
CHANGED
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.
|
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
|