rest-ftp-daemon 0.85.2 → 0.90.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/Gemfile.lock +1 -1
- data/README.md +16 -0
- data/bin/rest-ftp-daemon +52 -35
- data/lib/rest-ftp-daemon/api/jobs.rb +20 -13
- data/lib/rest-ftp-daemon/api/root.rb +12 -21
- data/lib/rest-ftp-daemon/constants.rb +3 -3
- data/lib/rest-ftp-daemon/exceptions.rb +2 -0
- data/lib/rest-ftp-daemon/helpers.rb +26 -2
- data/lib/rest-ftp-daemon/job.rb +128 -64
- data/lib/rest-ftp-daemon/job_queue.rb +59 -19
- data/lib/rest-ftp-daemon/notification.rb +4 -7
- data/lib/rest-ftp-daemon/static/css/bootstrap.css +2 -2
- data/lib/rest-ftp-daemon/static/css/main.css +17 -0
- data/lib/rest-ftp-daemon/views/dashboard.haml +43 -4
- data/lib/rest-ftp-daemon/views/dashboard_jobs.haml +55 -74
- data/lib/rest-ftp-daemon/views/dashboard_workers.haml +1 -1
- data/lib/rest-ftp-daemon/worker_pool.rb +1 -1
- data/rest-ftp-daemon.yml.sample +4 -3
- metadata +3 -4
- data/test/helper.rb +0 -34
- data/test/test_rest-ftp-daemon.rb +0 -7
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rest-ftp-daemon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.90.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bruno MEDICI
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-11-
|
11
|
+
date: 2014-11-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -197,6 +197,7 @@ files:
|
|
197
197
|
- lib/rest-ftp-daemon/notification.rb
|
198
198
|
- lib/rest-ftp-daemon/static/css/bootstrap.css
|
199
199
|
- lib/rest-ftp-daemon/static/css/bootstrap.min.old1.css
|
200
|
+
- lib/rest-ftp-daemon/static/css/main.css
|
200
201
|
- lib/rest-ftp-daemon/uri.rb
|
201
202
|
- lib/rest-ftp-daemon/views/dashboard.haml
|
202
203
|
- lib/rest-ftp-daemon/views/dashboard_jobs.haml
|
@@ -205,8 +206,6 @@ files:
|
|
205
206
|
- lib/rest-ftp-daemon/worker_pool.rb
|
206
207
|
- rest-ftp-daemon.gemspec
|
207
208
|
- rest-ftp-daemon.yml.sample
|
208
|
-
- test/helper.rb
|
209
|
-
- test/test_rest-ftp-daemon.rb
|
210
209
|
homepage: http://github.com/bmedici/rest-ftp-daemon
|
211
210
|
licenses:
|
212
211
|
- MIT
|
data/test/helper.rb
DELETED
@@ -1,34 +0,0 @@
|
|
1
|
-
require 'simplecov'
|
2
|
-
|
3
|
-
module SimpleCov::Configuration
|
4
|
-
def clean_filters
|
5
|
-
@filters = []
|
6
|
-
end
|
7
|
-
end
|
8
|
-
|
9
|
-
SimpleCov.configure do
|
10
|
-
clean_filters
|
11
|
-
load_adapter 'test_frameworks'
|
12
|
-
end
|
13
|
-
|
14
|
-
ENV["COVERAGE"] && SimpleCov.start do
|
15
|
-
add_filter "/.rvm/"
|
16
|
-
end
|
17
|
-
require 'rubygems'
|
18
|
-
require 'bundler'
|
19
|
-
begin
|
20
|
-
Bundler.setup(:default, :development)
|
21
|
-
rescue Bundler::BundlerError => e
|
22
|
-
$stderr.puts e.message
|
23
|
-
$stderr.puts "Run `bundle install` to install missing gems"
|
24
|
-
exit e.status_code
|
25
|
-
end
|
26
|
-
require 'test/unit'
|
27
|
-
require 'shoulda'
|
28
|
-
|
29
|
-
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
30
|
-
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
31
|
-
require 'rest-ftp-daemon'
|
32
|
-
|
33
|
-
class Test::Unit::TestCase
|
34
|
-
end
|