paperclip-storage-ftp 1.0.0.rc1 → 1.0.0.rc2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. data/.gitignore +3 -0
  2. data/.travis.yml +20 -0
  3. data/Gemfile +6 -0
  4. data/README.md +6 -1
  5. data/Rakefile +1 -1
  6. data/gemfiles/Gemfile.paperclip-2.x +11 -0
  7. data/gemfiles/Gemfile.paperclip-3.x +11 -0
  8. data/lib/paperclip/storage/ftp.rb +6 -1
  9. data/lib/paperclip/storage/ftp/server.rb +16 -3
  10. data/paperclip-storage-ftp.gemspec +1 -1
  11. data/spec/integration_spec.rb +32 -0
  12. data/spec/paperclip/storage/ftp/server_spec.rb +23 -7
  13. data/spec/paperclip/storage/ftp_spec.rb +13 -1
  14. data/spec/support/integration/avatar.jpg +0 -0
  15. data/spec/support/integration/ftp_server.rb +27 -0
  16. data/spec/support/integration/user.rb +31 -0
  17. data/vendor/apache-ftpserver/LICENSE +202 -0
  18. data/vendor/apache-ftpserver/LICENSE.slf4j.txt +28 -0
  19. data/vendor/apache-ftpserver/LICENSE.springframework.txt +177 -0
  20. data/vendor/apache-ftpserver/NOTICE +54 -0
  21. data/vendor/apache-ftpserver/README.txt +73 -0
  22. data/vendor/apache-ftpserver/bin/appendcp.bat +22 -0
  23. data/vendor/apache-ftpserver/bin/ftpd.bat +63 -0
  24. data/vendor/apache-ftpserver/bin/ftpd.exe +0 -0
  25. data/vendor/apache-ftpserver/bin/ftpd.sh +140 -0
  26. data/vendor/apache-ftpserver/bin/ftpdw.exe +0 -0
  27. data/vendor/apache-ftpserver/bin/service.bat +152 -0
  28. data/vendor/apache-ftpserver/common/classes/log4j.properties +25 -0
  29. data/vendor/apache-ftpserver/common/lib/README.txt +4 -0
  30. data/vendor/apache-ftpserver/common/lib/aopalliance-1.0.jar +0 -0
  31. data/vendor/apache-ftpserver/common/lib/ftplet-api-1.0.6.jar +0 -0
  32. data/vendor/apache-ftpserver/common/lib/ftpserver-core-1.0.6.jar +0 -0
  33. data/vendor/apache-ftpserver/common/lib/jcl-over-slf4j-1.5.2.jar +0 -0
  34. data/vendor/apache-ftpserver/common/lib/log4j-1.2.14.jar +0 -0
  35. data/vendor/apache-ftpserver/common/lib/mina-core-2.0.4.jar +0 -0
  36. data/vendor/apache-ftpserver/common/lib/slf4j-api-1.5.2.jar +0 -0
  37. data/vendor/apache-ftpserver/common/lib/slf4j-log4j12-1.5.2.jar +0 -0
  38. data/vendor/apache-ftpserver/common/lib/spring-beans-2.5.5.jar +0 -0
  39. data/vendor/apache-ftpserver/common/lib/spring-context-2.5.5.jar +0 -0
  40. data/vendor/apache-ftpserver/common/lib/spring-core-2.5.5.jar +0 -0
  41. data/vendor/apache-ftpserver/res/conf/README.txt +3 -0
  42. data/vendor/apache-ftpserver/res/conf/ftpd-full.xml +103 -0
  43. data/vendor/apache-ftpserver/res/conf/ftpd-typical.xml +30 -0
  44. data/vendor/apache-ftpserver/res/conf/users.properties +37 -0
  45. data/vendor/apache-ftpserver/res/ftp-db.sql +29 -0
  46. data/vendor/apache-ftpserver/res/ftpserver.jks +0 -0
  47. metadata +44 -3
@@ -0,0 +1,152 @@
1
+ @echo off
2
+
3
+ REM Licensed to the Apache Software Foundation (ASF) under one
4
+ REM or more contributor license agreements. See the NOTICE file
5
+ REM distributed with this work for additional information
6
+ REM regarding copyright ownership. The ASF licenses this file
7
+ REM to you under the Apache License, Version 2.0 (the
8
+ REM "License"); you may not use this file except in compliance
9
+ REM with the License. You may obtain a copy of the License at
10
+ REM
11
+ REM http://www.apache.org/licenses/LICENSE-2.0
12
+ REM
13
+ REM Unless required by applicable law or agreed to in writing,
14
+ REM software distributed under the License is distributed on an
15
+ REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16
+ REM KIND, either express or implied. See the License for the
17
+ REM specific language governing permissions and limitations
18
+ REM under the License.
19
+
20
+
21
+ if "%OS%" == "Windows_NT" setlocal
22
+ rem ---------------------------------------------------------------------------
23
+ rem NT Service Install/Uninstall script
24
+ rem
25
+ rem Options
26
+ rem install Install the service using ftpd as service name.
27
+ rem Service is installed using default settings.
28
+ rem remove Remove the service from the System.
29
+ rem
30
+ rem name (optional) If the second argument is present it is considered
31
+ rem to be new service name
32
+ rem
33
+ rem $Id: service.bat 467182 2006-10-23 23:47:06Z markt $
34
+ rem ---------------------------------------------------------------------------
35
+
36
+ rem Guess CATALINA_HOME if not defined
37
+ set CURRENT_DIR=%cd%
38
+ if not "%FTPD_HOME%" == "" goto gotHome
39
+ set FTPD_HOME=%cd%
40
+ if exist "%FTPD_HOME%\bin\ftpd.exe" goto okHome
41
+ rem CD to the upper dir
42
+ cd ..
43
+ set FTPD_HOME=%cd%
44
+ :gotHome
45
+ if exist "%FTPD_HOME%\bin\ftpd.exe" goto okHome
46
+ echo The ftpd.exe was not found...
47
+ echo The FTPD_HOME environment variable is not defined correctly.
48
+ echo This environment variable is needed to run this program
49
+ goto end
50
+ rem Make sure prerequisite environment variables are set
51
+ if not "%JAVA_HOME%" == "" goto okHome
52
+ echo The JAVA_HOME environment variable is not defined
53
+ echo This environment variable is needed to run this program
54
+ goto end
55
+ :okHome
56
+
57
+ set EXECUTABLE=%FTPD_HOME%\bin\ftpd.exe
58
+
59
+ rem Set default Service name
60
+ set SERVICE_NAME=ftpd
61
+ set PR_DISPLAYNAME=Apache FtpServer
62
+
63
+ if "%1" == "" goto displayUsage
64
+ if "%2" == "" goto setServiceName
65
+ set SERVICE_NAME=%2
66
+ set PR_DISPLAYNAME=Apache FtpServer %2
67
+ :setServiceName
68
+ if %1 == install goto doInstall
69
+ if %1 == remove goto doRemove
70
+ if %1 == uninstall goto doRemove
71
+ echo Unknown parameter "%1"
72
+ :displayUsage
73
+ echo.
74
+ echo Usage: service.bat install/remove [service_name]
75
+ goto end
76
+
77
+ :doRemove
78
+ rem Remove the service
79
+ "%EXECUTABLE%" //DS//%SERVICE_NAME%
80
+ echo The service '%SERVICE_NAME%' has been removed
81
+ goto end
82
+
83
+ :doInstall
84
+ rem Install the service
85
+ echo Installing the service '%SERVICE_NAME%' ...
86
+ echo Using FTPD_HOME: %FTPD_HOME%
87
+ echo Using JAVA_HOME: %JAVA_HOME%
88
+
89
+ rem ----- Create CLASSPATH --------------------------------------------
90
+ set FTPD_CLASSPATH=%FTPD_HOME%\common\classes
91
+ cd /d "%FTPD_HOME%\common\lib"
92
+ for %%i in ("*.jar") do call "%FTPD_HOME%\bin\appendcp.bat" "%FTPD_HOME%\common\lib\%%i"
93
+ cd /d %FTPD_HOME%
94
+
95
+ rem Use the environment variables as an example
96
+ rem Each command line option is prefixed with PR_
97
+
98
+ set FTPD_LOGPATH=%FTPD_HOME%\res\log
99
+
100
+ set PR_DESCRIPTION=Apache FtpServer (http://mina.apache.org/ftpserver/)
101
+ set PR_INSTALL=%EXECUTABLE%
102
+ set PR_LOGPATH=%FTPD_LOGPATH%
103
+ set PR_CLASSPATH=%FTPD_CLASSPATH%
104
+ rem Set the server jvm from JAVA_HOME
105
+ set PR_JVM=%JAVA_HOME%\jre\bin\server\jvm.dll
106
+ if exist "%PR_JVM%" goto foundJvm
107
+ rem Set the client jvm from JAVA_HOME
108
+ set PR_JVM=%JAVA_HOME%\jre\bin\client\jvm.dll
109
+ if exist "%PR_JVM%" goto foundJvm
110
+ set PR_JVM=auto
111
+ :foundJvm
112
+ echo Using JVM: %PR_JVM%
113
+
114
+ rem Supply additional command line params as start params
115
+
116
+ set CMD_LINE_ARGS=start
117
+ echo %CMD_LINE_ARGS%
118
+ shift
119
+ shift
120
+ :buildArgs
121
+ if %1a==a goto endInit
122
+ set CMD_LINE_ARGS=%CMD_LINE_ARGS%;%1
123
+ echo %CMD_LINE_ARGS%
124
+ shift
125
+ goto buildArgs
126
+
127
+ :endInit
128
+ echo %CMD_LINE_ARGS%
129
+
130
+ "%EXECUTABLE%" //IS//%SERVICE_NAME% --StartClass org.apache.ftpserver.main.Daemon --StartParams %CMD_LINE_ARGS% --StartPath "%FTPD_HOME%" --StopClass org.apache.ftpserver.main.Daemon --StopParams stop
131
+ if not errorlevel 1 goto installed
132
+ echo Failed installing '%SERVICE_NAME%' service
133
+ goto end
134
+ :installed
135
+ rem Clear the environment variables. They are not needed any more.
136
+ set PR_DISPLAYNAME=
137
+ set PR_DESCRIPTION=
138
+ set PR_INSTALL=
139
+ set PR_LOGPATH=
140
+ set PR_CLASSPATH=
141
+ set PR_JVM=
142
+ rem Set extra parameters
143
+ "%EXECUTABLE%" //US//%SERVICE_NAME% --StartMode jvm --StopMode jvm --StdOutput "%FTPD_LOGPATH%\out.log" --StdError "%FTPD_LOGPATH%\error.log"
144
+ rem More extra parameters
145
+ set PR_LOGPATH=%FTPD_HOME%\logs
146
+ set PR_STDOUTPUT=auto
147
+ set PR_STDERROR=auto
148
+ REM "%EXECUTABLE%" //US//%SERVICE_NAME% ++JvmOptions "-Djava.io.tmpdir=%CATALINA_BASE%\temp" --JvmMs 128 --JvmMx 256
149
+ echo The service '%SERVICE_NAME%' has been installed.
150
+
151
+ :end
152
+ cd %CURRENT_DIR%
@@ -0,0 +1,25 @@
1
+ # Licensed to the Apache Software Foundation (ASF) under one
2
+ # or more contributor license agreements. See the NOTICE file
3
+ # distributed with this work for additional information
4
+ # regarding copyright ownership. The ASF licenses this file
5
+ # to you under the Apache License, Version 2.0 (the
6
+ # "License"); you may not use this file except in compliance
7
+ # with the License. You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing,
12
+ # software distributed under the License is distributed on an
13
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ # KIND, either express or implied. See the License for the
15
+ # specific language governing permissions and limitations
16
+ # under the License.
17
+
18
+ log4j.rootLogger=INFO, R
19
+ log4j.appender.R=org.apache.log4j.RollingFileAppender
20
+ log4j.appender.R.File=./res/log/ftpd.log
21
+ log4j.appender.R.MaxFileSize=10MB
22
+ log4j.appender.R.MaxBackupIndex=10
23
+ log4j.appender.R.layout=org.apache.log4j.PatternLayout
24
+ log4j.appender.R.layout.ConversionPattern=[%5p] %d [%X{userName}] [%X{remoteIp}] %m%n
25
+
@@ -0,0 +1,4 @@
1
+ Binary Distribution
2
+ --------------------
3
+ You can keep your other jar files here. All the jar files in this directory
4
+ will be available to the FTP server.
@@ -0,0 +1,3 @@
1
+ You can find two sample configuration files here. One is a typical
2
+ configuration file containing the common settings. The other is a full-fledged
3
+ configuration file showing all available parameters.
@@ -0,0 +1,103 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--
3
+ Licensed to the Apache Software Foundation (ASF) under one or more
4
+ contributor license agreements. See the NOTICE file distributed with
5
+ this work for additional information regarding copyright ownership.
6
+ The ASF licenses this file to you under the Apache License, Version
7
+ 2.0 (the "License"); you may not use this file except in compliance
8
+ with the License. You may obtain a copy of the License at
9
+ http://www.apache.org/licenses/LICENSE-2.0 Unless required by
10
+ applicable law or agreed to in writing, software distributed under the
11
+ License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
12
+ CONDITIONS OF ANY KIND, either express or implied. See the License for
13
+ the specific language governing permissions and limitations under the
14
+ License.
15
+ -->
16
+ <server xmlns="http://mina.apache.org/ftpserver/spring/v1"
17
+ xmlns:beans="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
18
+ xsi:schemaLocation="
19
+ http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
20
+ http://mina.apache.org/ftpserver/spring/v1 http://mina.apache.org/ftpserver/ftpserver-1.0.xsd
21
+ "
22
+ id="myServer">
23
+ <!--
24
+ Use this section to define custom listeners, or to redefine the
25
+ default listener, aptly named "default"
26
+ -->
27
+ <listeners>
28
+ <nio-listener name="default" port="2222" implicit-ssl="true"
29
+ idle-timeout="60" local-address="1.2.3.4">
30
+ <ssl>
31
+ <keystore file="mykeystore.jks" password="secret"
32
+ key-password="otherSecret" />
33
+ <truststore file="mytruststore.jks" password="secret" />
34
+ </ssl>
35
+ <data-connection idle-timeout="60">
36
+ <active enabled="true" local-address="1.2.3.4" local-port="2323"
37
+ ip-check="true" />
38
+ <passive ports="123-125" address="1.2.3.4" external-address="1.2.3.4" />
39
+ </data-connection>
40
+ <blacklist>1.2.3.0/16, 1.2.4.0/16, 1.2.3.4</blacklist>
41
+ </nio-listener>
42
+ </listeners>
43
+ <!--
44
+ Use this section to define your Ftplets, they are configured like
45
+ regular Spring beans
46
+ -->
47
+ <ftplets>
48
+ <ftplet name="ftplet1">
49
+ <beans:bean class="org.apache.ftpserver.examples.MyFtplet">
50
+ <beans:property name="foo" value="123" />
51
+ </beans:bean>
52
+ </ftplet>
53
+ </ftplets>
54
+ <!-- The user manager, choose one -->
55
+ <file-user-manager file="users.properties"
56
+ encrypt-passwords="true" />
57
+ <!--<db-user-manager>
58
+ <data-source>
59
+ <beans:bean class="some.datasoure.class" />
60
+ </data-source>
61
+ <insert-user>INSERT INTO FTP_USER (userid, userpassword,
62
+ homedirectory, enableflag, writepermission, idletime, uploadrate,
63
+ downloadrate) VALUES ('{userid}', '{userpassword}',
64
+ '{homedirectory}',
65
+ {enableflag}, {writepermission}, {idletime},
66
+ {uploadrate},
67
+ {downloadrate})
68
+ </insert-user>
69
+ <update-user>UPDATE FTP_USER SET
70
+ userpassword='{userpassword}',homedirectory='{homedirectory}',enableflag={enableflag},writepermission={writepermission},idletime={idletime},uploadrate={uploadrate},downloadrate={downloadrate}
71
+ WHERE userid='{userid}'
72
+ </update-user>
73
+ <delete-user>DELETE FROM FTP_USER WHERE userid = '{userid}'
74
+ </delete-user>
75
+ <select-user>SELECT userid, userpassword, homedirectory,
76
+ enableflag, writepermission, idletime, uploadrate, downloadrate,
77
+ maxloginnumber, maxloginperip FROM
78
+ FTP_USER WHERE userid = '{userid}'
79
+ </select-user>
80
+ <select-all-users>SELECT userid FROM FTP_USER ORDER BY userid
81
+ </select-all-users>
82
+ <is-admin>SELECT userid FROM FTP_USER WHERE userid='{userid}'
83
+ AND
84
+ userid='admin'
85
+ </is-admin>
86
+ <authenticate>SELECT userpassword from FTP_USER WHERE
87
+ userid='{userid}'</authenticate>
88
+ </db-user-manager> -->
89
+ <!-- The file system -->
90
+ <native-filesystem case-insensitive="false"
91
+ create-home="true" />
92
+ <!--
93
+ Use this section to define custom commands. Custom commands can also
94
+ override already existing commands
95
+ -->
96
+ <commands use-default="false">
97
+ <command name="MYHELP">
98
+ <beans:bean class="org.apache.ftpserver.examples.MYHELP" />
99
+ </command>
100
+ </commands>
101
+ <!-- Define the available languages -->
102
+ <messages languages="se, no ,da" />
103
+ </server>
@@ -0,0 +1,30 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--
3
+ Licensed to the Apache Software Foundation (ASF) under one or more
4
+ contributor license agreements. See the NOTICE file distributed with
5
+ this work for additional information regarding copyright ownership.
6
+ The ASF licenses this file to you under the Apache License, Version
7
+ 2.0 (the "License"); you may not use this file except in compliance
8
+ with the License. You may obtain a copy of the License at
9
+ http://www.apache.org/licenses/LICENSE-2.0 Unless required by
10
+ applicable law or agreed to in writing, software distributed under the
11
+ License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
12
+ CONDITIONS OF ANY KIND, either express or implied. See the License for
13
+ the specific language governing permissions and limitations under the
14
+ License.
15
+ -->
16
+ <server xmlns="http://mina.apache.org/ftpserver/spring/v1"
17
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
18
+ xsi:schemaLocation="
19
+ http://mina.apache.org/ftpserver/spring/v1 http://mina.apache.org/ftpserver/ftpserver-1.0.xsd
20
+ "
21
+ id="myServer">
22
+ <listeners>
23
+ <nio-listener name="default" port="2121">
24
+ <ssl>
25
+ <keystore file="./res/ftpserver.jks" password="password" />
26
+ </ssl>
27
+ </nio-listener>
28
+ </listeners>
29
+ <file-user-manager file="./res/conf/users.properties" />
30
+ </server>
@@ -0,0 +1,37 @@
1
+ # Licensed to the Apache Software Foundation (ASF) under one
2
+ # or more contributor license agreements. See the NOTICE file
3
+ # distributed with this work for additional information
4
+ # regarding copyright ownership. The ASF licenses this file
5
+ # to you under the Apache License, Version 2.0 (the
6
+ # "License"); you may not use this file except in compliance
7
+ # with the License. You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing,
12
+ # software distributed under the License is distributed on an
13
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ # KIND, either express or implied. See the License for the
15
+ # specific language governing permissions and limitations
16
+ # under the License.
17
+
18
+ # Password is "admin"
19
+ ftpserver.user.admin.userpassword=21232F297A57A5A743894A0E4A801FC3
20
+ ftpserver.user.admin.homedirectory=./res/home
21
+ ftpserver.user.admin.enableflag=true
22
+ ftpserver.user.admin.writepermission=true
23
+ ftpserver.user.admin.maxloginnumber=0
24
+ ftpserver.user.admin.maxloginperip=0
25
+ ftpserver.user.admin.idletime=0
26
+ ftpserver.user.admin.uploadrate=0
27
+ ftpserver.user.admin.downloadrate=0
28
+
29
+ ftpserver.user.anonymous.userpassword=
30
+ ftpserver.user.anonymous.homedirectory=./res/home
31
+ ftpserver.user.anonymous.enableflag=true
32
+ ftpserver.user.anonymous.writepermission=false
33
+ ftpserver.user.anonymous.maxloginnumber=20
34
+ ftpserver.user.anonymous.maxloginperip=2
35
+ ftpserver.user.anonymous.idletime=300
36
+ ftpserver.user.anonymous.uploadrate=4800
37
+ ftpserver.user.anonymous.downloadrate=4800
@@ -0,0 +1,29 @@
1
+ -- Licensed to the Apache Software Foundation (ASF) under one
2
+ -- or more contributor license agreements. See the NOTICE file
3
+ -- distributed with this work for additional information
4
+ -- regarding copyright ownership. The ASF licenses this file
5
+ -- to you under the Apache License, Version 2.0 (the
6
+ -- "License"); you may not use this file except in compliance
7
+ -- with the License. You may obtain a copy of the License at
8
+ --
9
+ -- http://www.apache.org/licenses/LICENSE-2.0
10
+ --
11
+ -- Unless required by applicable law or agreed to in writing,
12
+ -- software distributed under the License is distributed on an
13
+ -- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ -- KIND, either express or implied. See the License for the
15
+ -- specific language governing permissions and limitations
16
+ -- under the License.
17
+
18
+ CREATE TABLE FTP_USER (
19
+ userid VARCHAR(64) NOT NULL PRIMARY KEY,
20
+ userpassword VARCHAR(64),
21
+ homedirectory VARCHAR(128) NOT NULL,
22
+ enableflag BOOLEAN DEFAULT TRUE,
23
+ writepermission BOOLEAN DEFAULT FALSE,
24
+ idletime INT DEFAULT 0,
25
+ uploadrate INT DEFAULT 0,
26
+ downloadrate INT DEFAULT 0,
27
+ maxloginnumber INT DEFAULT 0,
28
+ maxloginperip INT DEFAULT 0
29
+ );
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paperclip-storage-ftp
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.rc1
4
+ version: 1.0.0.rc2
5
5
  prerelease: 6
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-26 00:00:00.000000000 Z
12
+ date: 2012-10-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: paperclip
@@ -67,16 +67,53 @@ extensions: []
67
67
  extra_rdoc_files: []
68
68
  files:
69
69
  - .gitignore
70
+ - .travis.yml
70
71
  - Gemfile
71
72
  - LICENSE
72
73
  - README.md
73
74
  - Rakefile
75
+ - gemfiles/Gemfile.paperclip-2.x
76
+ - gemfiles/Gemfile.paperclip-3.x
74
77
  - lib/paperclip/storage/ftp.rb
75
78
  - lib/paperclip/storage/ftp/server.rb
76
79
  - paperclip-storage-ftp.gemspec
80
+ - spec/integration_spec.rb
77
81
  - spec/paperclip/storage/ftp/server_spec.rb
78
82
  - spec/paperclip/storage/ftp_spec.rb
79
83
  - spec/spec_helper.rb
84
+ - spec/support/integration/avatar.jpg
85
+ - spec/support/integration/ftp_server.rb
86
+ - spec/support/integration/user.rb
87
+ - vendor/apache-ftpserver/LICENSE
88
+ - vendor/apache-ftpserver/LICENSE.slf4j.txt
89
+ - vendor/apache-ftpserver/LICENSE.springframework.txt
90
+ - vendor/apache-ftpserver/NOTICE
91
+ - vendor/apache-ftpserver/README.txt
92
+ - vendor/apache-ftpserver/bin/appendcp.bat
93
+ - vendor/apache-ftpserver/bin/ftpd.bat
94
+ - vendor/apache-ftpserver/bin/ftpd.exe
95
+ - vendor/apache-ftpserver/bin/ftpd.sh
96
+ - vendor/apache-ftpserver/bin/ftpdw.exe
97
+ - vendor/apache-ftpserver/bin/service.bat
98
+ - vendor/apache-ftpserver/common/classes/log4j.properties
99
+ - vendor/apache-ftpserver/common/lib/README.txt
100
+ - vendor/apache-ftpserver/common/lib/aopalliance-1.0.jar
101
+ - vendor/apache-ftpserver/common/lib/ftplet-api-1.0.6.jar
102
+ - vendor/apache-ftpserver/common/lib/ftpserver-core-1.0.6.jar
103
+ - vendor/apache-ftpserver/common/lib/jcl-over-slf4j-1.5.2.jar
104
+ - vendor/apache-ftpserver/common/lib/log4j-1.2.14.jar
105
+ - vendor/apache-ftpserver/common/lib/mina-core-2.0.4.jar
106
+ - vendor/apache-ftpserver/common/lib/slf4j-api-1.5.2.jar
107
+ - vendor/apache-ftpserver/common/lib/slf4j-log4j12-1.5.2.jar
108
+ - vendor/apache-ftpserver/common/lib/spring-beans-2.5.5.jar
109
+ - vendor/apache-ftpserver/common/lib/spring-context-2.5.5.jar
110
+ - vendor/apache-ftpserver/common/lib/spring-core-2.5.5.jar
111
+ - vendor/apache-ftpserver/res/conf/README.txt
112
+ - vendor/apache-ftpserver/res/conf/ftpd-full.xml
113
+ - vendor/apache-ftpserver/res/conf/ftpd-typical.xml
114
+ - vendor/apache-ftpserver/res/conf/users.properties
115
+ - vendor/apache-ftpserver/res/ftp-db.sql
116
+ - vendor/apache-ftpserver/res/ftpserver.jks
80
117
  homepage: https://github.com/xing/paperclip-storage-ftp
81
118
  licenses: []
82
119
  post_install_message:
@@ -91,7 +128,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
91
128
  version: '0'
92
129
  segments:
93
130
  - 0
94
- hash: 3195692786080207386
131
+ hash: 1252276160423986268
95
132
  required_rubygems_version: !ruby/object:Gem::Requirement
96
133
  none: false
97
134
  requirements:
@@ -105,6 +142,10 @@ signing_key:
105
142
  specification_version: 3
106
143
  summary: Allow Paperclip attachments to be stored on FTP servers
107
144
  test_files:
145
+ - spec/integration_spec.rb
108
146
  - spec/paperclip/storage/ftp/server_spec.rb
109
147
  - spec/paperclip/storage/ftp_spec.rb
110
148
  - spec/spec_helper.rb
149
+ - spec/support/integration/avatar.jpg
150
+ - spec/support/integration/ftp_server.rb
151
+ - spec/support/integration/user.rb