hotspotlogin 0.1.1.4 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/hotspotlogin +2 -0
- data/lib/hotspotlogin/constants.rb +1 -1
- metadata +11 -5
data/bin/hotspotlogin
CHANGED
@@ -17,6 +17,7 @@ config = HotSpotLogin.config!
|
|
17
17
|
|
18
18
|
if config['daemon']
|
19
19
|
pid = fork do
|
20
|
+
Process.setsid
|
20
21
|
if config['log']
|
21
22
|
STDOUT.reopen(config['log'], 'a')
|
22
23
|
STDERR.reopen(config['log'], 'a')
|
@@ -33,6 +34,7 @@ if config['daemon']
|
|
33
34
|
f.write pid
|
34
35
|
end
|
35
36
|
end
|
37
|
+
Process.detach pid
|
36
38
|
else # run in foreground
|
37
39
|
HotSpotLogin::App.run!
|
38
40
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hotspotlogin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
hash: 31
|
4
5
|
prerelease: false
|
5
6
|
segments:
|
6
7
|
- 0
|
7
8
|
- 1
|
8
|
-
-
|
9
|
-
|
10
|
-
version: 0.1.1.4
|
9
|
+
- 2
|
10
|
+
version: 0.1.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Guido De Rosa
|
@@ -15,16 +15,18 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-
|
18
|
+
date: 2010-11-08 00:00:00 +00:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
22
|
name: sinatra
|
23
23
|
prerelease: false
|
24
24
|
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
25
26
|
requirements:
|
26
27
|
- - ">="
|
27
28
|
- !ruby/object:Gem::Version
|
29
|
+
hash: 3
|
28
30
|
segments:
|
29
31
|
- 0
|
30
32
|
version: "0"
|
@@ -62,23 +64,27 @@ rdoc_options:
|
|
62
64
|
require_paths:
|
63
65
|
- lib
|
64
66
|
required_ruby_version: !ruby/object:Gem::Requirement
|
67
|
+
none: false
|
65
68
|
requirements:
|
66
69
|
- - ">="
|
67
70
|
- !ruby/object:Gem::Version
|
71
|
+
hash: 3
|
68
72
|
segments:
|
69
73
|
- 0
|
70
74
|
version: "0"
|
71
75
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
76
|
+
none: false
|
72
77
|
requirements:
|
73
78
|
- - ">="
|
74
79
|
- !ruby/object:Gem::Version
|
80
|
+
hash: 3
|
75
81
|
segments:
|
76
82
|
- 0
|
77
83
|
version: "0"
|
78
84
|
requirements: []
|
79
85
|
|
80
86
|
rubyforge_project:
|
81
|
-
rubygems_version: 1.3.
|
87
|
+
rubygems_version: 1.3.7
|
82
88
|
signing_key:
|
83
89
|
specification_version: 3
|
84
90
|
summary: Ruby/Sinatra implementation of the login page used with ChilliSpot and friends.
|