skynet-deploy 2.0.1 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/lib/skynet/cli.rb +3 -3
- data/lib/skynet/version.rb +1 -1
- data/skynet.gemspec +3 -3
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cbe9e9e89c88d603c82df45d90035088c02a4bc018969fef5d0bb03ae04b2e24
|
4
|
+
data.tar.gz: fde3818a0d6a6013b949e111641b9a004fe36173a0ea4d4f589e6e7ae9551598
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a302c9ae57379d637467324a6336264bf0c5f5738e5405a1b34480d46d0a7fb3c6b35ec4f18a6dc06da56ddb44353d870c32af608d0af172c95697f726f314a3
|
7
|
+
data.tar.gz: 40b3db840a1dbb3cb79077127a54f5619fe0cb77933b7c97931920145db18e95e3b4b3f2f1255fb438fd4cdfab874b9d82a0e27009986f2052d9015437ba7924
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0
|
1
|
+
3.2.0
|
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.
|
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.
|
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.
|
121
|
+
unless File.exist? file
|
122
122
|
Skynet.logger.fatal %{Configuration file "#{file}" does not exist}
|
123
123
|
exit 1
|
124
124
|
end
|
data/lib/skynet/version.rb
CHANGED
data/skynet.gemspec
CHANGED
@@ -19,13 +19,13 @@ Gem::Specification.new do |s|
|
|
19
19
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
20
20
|
s.require_paths = ["lib"]
|
21
21
|
|
22
|
-
s.add_runtime_dependency 'sinatra', '~>
|
22
|
+
s.add_runtime_dependency 'sinatra', '~> 3.0'
|
23
23
|
s.add_runtime_dependency 'thin', '~> 1.7'
|
24
24
|
s.add_runtime_dependency 'json', '~> 2.3'
|
25
25
|
s.add_runtime_dependency 'jekyll', '~> 4.1'
|
26
26
|
s.add_runtime_dependency 'thor', '~> 1.0'
|
27
|
-
s.add_runtime_dependency 'activesupport', '~>
|
28
|
-
s.add_runtime_dependency 'activemodel', '~>
|
27
|
+
s.add_runtime_dependency 'activesupport', '~> 7.0'
|
28
|
+
s.add_runtime_dependency 'activemodel', '~> 7.0'
|
29
29
|
s.add_runtime_dependency 'multi_json', '~> 1.15'
|
30
30
|
|
31
31
|
s.add_development_dependency 'rake', '~> 13.0'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: skynet-deploy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Ahearn
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-12-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sinatra
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '3.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '3.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: thin
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -86,28 +86,28 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
89
|
+
version: '7.0'
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: '
|
96
|
+
version: '7.0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: activemodel
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: '
|
103
|
+
version: '7.0'
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: '
|
110
|
+
version: '7.0'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: multi_json
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -216,7 +216,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
216
216
|
- !ruby/object:Gem::Version
|
217
217
|
version: '0'
|
218
218
|
requirements: []
|
219
|
-
rubygems_version: 3.
|
219
|
+
rubygems_version: 3.4.1
|
220
220
|
signing_key:
|
221
221
|
specification_version: 4
|
222
222
|
summary: Sinatra app that listens for GitHub post-receive callbacks and deploys your
|