skynet-deploy 2.1.0 → 2.1.1

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
  SHA256:
3
- metadata.gz: 047f529fe77e558bcb3f18f349845d235cc6e1d9f62117b49f02dad34283fb44
4
- data.tar.gz: c69c23ee202e39a7993633b374c9a9d8e42e229328c63576704a2809d8187861
3
+ metadata.gz: cbe9e9e89c88d603c82df45d90035088c02a4bc018969fef5d0bb03ae04b2e24
4
+ data.tar.gz: fde3818a0d6a6013b949e111641b9a004fe36173a0ea4d4f589e6e7ae9551598
5
5
  SHA512:
6
- metadata.gz: e3c8d0d3d32adc635ef7eccd61634bbc89bca8a800294412bd61790ffeee93d2f04dec82e3983a955f133d0602fb58451fecb41602b537f6430fa1048073dd34
7
- data.tar.gz: 815b520f6b0a4c0d3a3567e5a32a3372597e4b9cb25328f6b665c8c0ff8d73bf6e565280c239d79093b9587da9ef09a769d1516d94218bd002639ed5062ecfb3
6
+ metadata.gz: a302c9ae57379d637467324a6336264bf0c5f5738e5405a1b34480d46d0a7fb3c6b35ec4f18a6dc06da56ddb44353d870c32af608d0af172c95697f726f314a3
7
+ data.tar.gz: 40b3db840a1dbb3cb79077127a54f5619fe0cb77933b7c97931920145db18e95e3b4b3f2f1255fb438fd4cdfab874b9d82a0e27009986f2052d9015437ba7924
data/lib/skynet/cli.rb CHANGED
@@ -93,7 +93,7 @@ module Skynet
93
93
  desc 'config', 'Run a wizard to append a new project to existing config.yml'
94
94
  method_option :file, type: :string, default: './config.yml', aliases: '-f', desc: 'Configuration file'
95
95
  def config
96
- copy_file 'config.yml', options[:file] unless File.exists? options[:file]
96
+ copy_file 'config.yml', options[:file] unless File.exist? options[:file]
97
97
  run_wizard options[:file]
98
98
  end
99
99
 
@@ -102,7 +102,7 @@ module Skynet
102
102
  method_option :output, type: :string, default: './post-receive', aliases: '-o', desc: 'Output file'
103
103
  method_option :server, type: :string, default: 'http://localhost:7575', aliases: '-s', desc: 'Location of running skynet server'
104
104
  def hook(project)
105
- if File.exists? options[:output]
105
+ if File.exist? options[:output]
106
106
  Skynet.logger.fatal %{Output file "#{options[:output]}" already exists}
107
107
  exit 1
108
108
  end
@@ -118,7 +118,7 @@ module Skynet
118
118
  end
119
119
 
120
120
  def load_configuration(file)
121
- unless File.exists? file
121
+ unless File.exist? file
122
122
  Skynet.logger.fatal %{Configuration file "#{file}" does not exist}
123
123
  exit 1
124
124
  end
@@ -1,3 +1,3 @@
1
1
  module Skynet
2
- VERSION = "2.1.0"
2
+ VERSION = "2.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: skynet-deploy
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Ahearn