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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 69dcd5aefe908720208f760d0fb14cbc33eff969eceeb0e34aaa9e0d1e0267b2
4
- data.tar.gz: c372ce234723970aaa93c5dcd791e5eb38e4807104289bf832ed737798da4f9a
3
+ metadata.gz: cbe9e9e89c88d603c82df45d90035088c02a4bc018969fef5d0bb03ae04b2e24
4
+ data.tar.gz: fde3818a0d6a6013b949e111641b9a004fe36173a0ea4d4f589e6e7ae9551598
5
5
  SHA512:
6
- metadata.gz: 73ad9880337c18c0c295d604617e0f7275c9f76e3f644eac8f89c407637296f8fd7ce3c8e00c058522c9f14d08ccd9c3758bde7fed6abe1c86c4ecd72a491216
7
- data.tar.gz: 052b4ccfc922e8ba0b74943efadf584479924ccf95a34450278d9b789a16bd94dfee50ce2b2702c0708e5c8c8b0f68e1e5339a58b0dac07d1c2051ee60a8baf3
6
+ metadata.gz: a302c9ae57379d637467324a6336264bf0c5f5738e5405a1b34480d46d0a7fb3c6b35ec4f18a6dc06da56ddb44353d870c32af608d0af172c95697f726f314a3
7
+ data.tar.gz: 40b3db840a1dbb3cb79077127a54f5619fe0cb77933b7c97931920145db18e95e3b4b3f2f1255fb438fd4cdfab874b9d82a0e27009986f2052d9015437ba7924
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.0.3
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.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.0.1"
2
+ VERSION = "2.1.1"
3
3
  end
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', '~> 2.1'
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', '~> 6.0'
28
- s.add_runtime_dependency 'activemodel', '~> 6.0'
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.0.1
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: 2021-12-18 00:00:00.000000000 Z
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: '2.1'
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: '2.1'
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: '6.0'
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: '6.0'
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: '6.0'
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: '6.0'
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.2.32
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