boat 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/boat/server.rb +1 -1
- data/lib/boat/version.rb +1 -1
- metadata +4 -4
data/lib/boat/server.rb
CHANGED
@@ -42,7 +42,7 @@ class Boat::Server
|
|
42
42
|
def command_user(args)
|
43
43
|
if @authenticated
|
44
44
|
send_data "500 already authenticated\n"
|
45
|
-
elsif args.empty? || args.match(/[^a-z0-9_]/i)
|
45
|
+
elsif args.empty? || args.match(/[^a-z0-9_.]/i)
|
46
46
|
send_data "500 invalid username\n"
|
47
47
|
else
|
48
48
|
@username = args
|
data/lib/boat/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: boat
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 31
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 4
|
10
|
+
version: 0.2.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Roger Nesbitt
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-05-
|
18
|
+
date: 2011-05-31 00:00:00 +12:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|