rest-ftp-daemon 0.502.1 → 0.502.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8472cd4971eaaa64aa1a39e2719404068ab8e032
4
- data.tar.gz: b8d01b5a614406d3ba9bc813f43224158a8de67b
3
+ metadata.gz: 573b07519ccc821dbdf7538ebe9ec88ea2708733
4
+ data.tar.gz: 5acfd25ef2fed2fa3b6f6528135dd63d9e0e3856
5
5
  SHA512:
6
- metadata.gz: 864b6cf7abc11d250bf404caae8a24b9241d15dfbadd13528f60ff3d6f26adad84b52c61a6e874ca7073a4ef5c1a800073c041c99a7d90909dadb8a2f16931d6
7
- data.tar.gz: e1c80b2ebc34ab81b2c513f1d0bd74b1dc3f88cb661d03e62f70f010db418796b89739b19d21e47c4002b50103921942ccbf045fc3298a618dd1ed2819f22479
6
+ metadata.gz: 89b157d7ad8a49171d7510199095b7f14890b4cc63c8e9d6e12b9a215975dd8cca10138e51e77f3aed792a21baaefbb9e81db2a57b50a1b007dbfa95f619a296
7
+ data.tar.gz: 8c87f9dda89e8f628936422abc34b8d05a56e55c2136f69939b412c36b5921ad4b328b8e1b258249d434fd8bd0c83ec7efdc9737545d1bc1480b60e7bb46f016
data/Dockerfile CHANGED
@@ -1,20 +1,21 @@
1
1
  # Docker headers
2
2
  FROM ruby:2.3.0-slim
3
3
  MAINTAINER Bruno MEDICI <rest-ftp-daemon@bmconseil.com>
4
+ ENV LANG=C.UTF-8
4
5
 
5
6
 
6
- # Install packages
7
- RUN apt-get update && apt-get install -qq -y build-essential --fix-missing --no-install-recommends
8
-
7
+ # Install packages, and first app gem for caching history only
8
+ RUN apt-get update && apt-get install -y build-essential git --fix-missing --no-install-recommends
9
+ RUN gem install rest-ftp-daemon -v 0.400.0 --no-rdoc --no-ri
9
10
 
10
- # Environment
11
- ENV LANG=C.UTF-8
12
11
 
13
-
14
- # Install app gem
12
+ # Retry a gem install to get newer releases, if Gemfile.lock changed
13
+ ADD Gemfile.lock /dev/null
15
14
  RUN gem install rest-ftp-daemon --no-rdoc --no-ri
15
+ # RUN rest-ftp-daemon -v
16
16
 
17
17
 
18
18
  # App run
19
19
  EXPOSE 3000
20
- CMD ["./bin/rest-ftp-daemon", "-p", "3000", "-f", "start"]
20
+ CMD ["/usr/local/bundle/bin/rest-ftp-daemon", "-p", "3000", "-d", "start"]
21
+
data/Gemfile.lock CHANGED
@@ -1,11 +1,11 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rest-ftp-daemon (0.502.1)
4
+ rest-ftp-daemon (0.502.2)
5
5
  activesupport (~> 4.2)
6
6
  api-auth
7
7
  aws-sdk-resources (~> 2)
8
- bmc-daemon-lib (~> 0.5.0)
8
+ bmc-daemon-lib (~> 0.5.2)
9
9
  double-bag-ftps
10
10
  facter
11
11
  get_process_mem
@@ -48,7 +48,7 @@ GEM
48
48
  descendants_tracker (~> 0.0.4)
49
49
  ice_nine (~> 0.11.0)
50
50
  thread_safe (~> 0.3, >= 0.3.1)
51
- bmc-daemon-lib (0.5.1)
51
+ bmc-daemon-lib (0.5.2)
52
52
  chamber (~> 2.9.1)
53
53
  builder (3.2.2)
54
54
  chamber (2.9.1)
@@ -63,7 +63,7 @@ GEM
63
63
  descendants_tracker (0.0.4)
64
64
  thread_safe (~> 0.3, >= 0.3.1)
65
65
  diff-lcs (1.2.5)
66
- domain_name (0.5.20161021)
66
+ domain_name (0.5.20161129)
67
67
  unf (>= 0.0.5, < 1.0.0)
68
68
  double-bag-ftps (0.1.3)
69
69
  equalizer (0.0.11)
@@ -85,7 +85,7 @@ GEM
85
85
  grape-entity (0.6.0)
86
86
  activesupport
87
87
  multi_json (>= 1.3.2)
88
- grape-swagger (0.25.0)
88
+ grape-swagger (0.25.1)
89
89
  grape (>= 0.12.0)
90
90
  grape-swagger-entity (0.1.5)
91
91
  grape-entity
data/bin/rest-ftp-daemon CHANGED
@@ -42,14 +42,15 @@ begin
42
42
  opts.on("-P", "--pid FILE", "File to store PID") { |value| cmd_pidfile = value }
43
43
  opts.on("-u", "--user NAME", "User to run daemon as (use with -g)") { |value| cmd_user = value }
44
44
  opts.on("-g", "--group NAME", "Group to run daemon as (use with -u)") { |value| cmd_group = value }
45
+ opts.on("-v", "--version", "Show version (#{Conf.app_ver})") { puts(Conf.app_ver) && exit(0) }
45
46
 
46
47
  opts.separator ""
47
48
  opts.on_tail("-h", "--help", "Show this message") do
48
49
  puts opts
49
50
  puts Conf.generate(:config_message) unless File.exist?(Conf.generate(:config_etc))
50
- exit
51
+ exit(0)
51
52
  end
52
- opts.on_tail("-v", "--version", "Show version (#{Conf.app_ver})") { puts(Conf.app_ver) && exit }
53
+ #opts.on_tail("-v", "--version", "Show version (#{Conf.app_ver})") { puts(Conf.app_ver) && exit(0) }
53
54
 
54
55
  end
55
56
  parser.order!(ARGV)
@@ -1,4 +1,4 @@
1
- DOCKER_REPO = "brunom/rest-ftp-daemon"
1
+ DOCKER_REPO = "bmedici/rest-ftp-daemon"
2
2
 
3
3
  desc "Build docker image from latest tag"
4
4
 
@@ -2,7 +2,7 @@
2
2
  Gem::Specification.new do |spec|
3
3
 
4
4
  # Project version
5
- spec.version = "0.502.1"
5
+ spec.version = "0.502.2"
6
6
 
7
7
  # Project description
8
8
  spec.name = "rest-ftp-daemon"
@@ -32,7 +32,7 @@ Gem::Specification.new do |spec|
32
32
  spec.add_development_dependency "ruby-prof"
33
33
 
34
34
  # Runtime dependencies
35
- spec.add_runtime_dependency "bmc-daemon-lib", "~> 0.5.0"
35
+ spec.add_runtime_dependency "bmc-daemon-lib", "~> 0.5.2"
36
36
  spec.add_runtime_dependency "json", "~> 1.8"
37
37
  spec.add_runtime_dependency "thin", "~> 1.7"
38
38
  spec.add_runtime_dependency "activesupport", "~> 4.2"
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.502.1
4
+ version: 0.502.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bruno MEDICI
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-28 00:00:00.000000000 Z
11
+ date: 2016-11-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -114,14 +114,14 @@ dependencies:
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: 0.5.0
117
+ version: 0.5.2
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: 0.5.0
124
+ version: 0.5.2
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: json
127
127
  requirement: !ruby/object:Gem::Requirement