vidibus-pureftpd 1.0.0 → 1.0.1
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.
- data/README.md +3 -1
- data/lib/vidibus/pureftpd/user.rb +1 -1
- data/lib/vidibus/pureftpd/version.rb +1 -1
- metadata +3 -3
data/README.md
CHANGED
|
@@ -138,7 +138,7 @@ Finally, (re)start Pure-FTPd:
|
|
|
138
138
|
For more instructions, please [check this resource](http://linux.justinhartman.com/PureFTPd_Installation_and_Setup).
|
|
139
139
|
|
|
140
140
|
|
|
141
|
-
### Install Pure-FTPd on OSX (
|
|
141
|
+
### Install Pure-FTPd on OSX (if you want to test this gem on OSX)
|
|
142
142
|
|
|
143
143
|
```
|
|
144
144
|
brew install pure-ftpd
|
|
@@ -186,6 +186,8 @@ Shut it down with:
|
|
|
186
186
|
sudo pkill pure-ftpd
|
|
187
187
|
```
|
|
188
188
|
|
|
189
|
+
If you really want to use Pure-FTPd as FTP server on OSX, you should consider installing [PureFTPd Manager](http://jeanmatthieu.free.fr/pureftpd/).
|
|
190
|
+
|
|
189
191
|
|
|
190
192
|
## TODO
|
|
191
193
|
|
|
@@ -27,7 +27,7 @@ module Vidibus
|
|
|
27
27
|
define_attribute_methods ACCESSSORS
|
|
28
28
|
|
|
29
29
|
validates :password, :directory, :presence => true
|
|
30
|
-
validates :login, :format => { :with => /^[a-
|
|
30
|
+
validates :login, :format => { :with => /^[a-z_0-9\-]+$/ }
|
|
31
31
|
validate :unique_login?, :if => :login_changed?
|
|
32
32
|
validate :valid_directory?, :if => :directory_changed?
|
|
33
33
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: vidibus-pureftpd
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.1
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2012-09-
|
|
12
|
+
date: 2012-09-22 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: posix-spawn
|
|
@@ -184,7 +184,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
184
184
|
version: '0'
|
|
185
185
|
segments:
|
|
186
186
|
- 0
|
|
187
|
-
hash:
|
|
187
|
+
hash: -1721371207687677930
|
|
188
188
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
189
189
|
none: false
|
|
190
190
|
requirements:
|