boat 0.2.3 → 0.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/lib/boat/server.rb +1 -1
  2. data/lib/boat/version.rb +1 -1
  3. metadata +4 -4
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Boat
2
- VERSION = "0.2.3"
2
+ VERSION = "0.2.4"
3
3
  end
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: 17
4
+ hash: 31
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 3
10
- version: 0.2.3
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-30 00:00:00 +12:00
18
+ date: 2011-05-31 00:00:00 +12:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency