skynet-deploy 2.1.0 → 2.1.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
  SHA256:
3
- metadata.gz: 047f529fe77e558bcb3f18f349845d235cc6e1d9f62117b49f02dad34283fb44
4
- data.tar.gz: c69c23ee202e39a7993633b374c9a9d8e42e229328c63576704a2809d8187861
3
+ metadata.gz: ff493bffa5d7c3590b40c74e6cae36caad27a8b017dfb07bee0254af3c847310
4
+ data.tar.gz: c14d5ef7b3e64a4e5e1c8a436c4b591e3d2c406a68812f8201c2c0eba772cc1a
5
5
  SHA512:
6
- metadata.gz: e3c8d0d3d32adc635ef7eccd61634bbc89bca8a800294412bd61790ffeee93d2f04dec82e3983a955f133d0602fb58451fecb41602b537f6430fa1048073dd34
7
- data.tar.gz: 815b520f6b0a4c0d3a3567e5a32a3372597e4b9cb25328f6b665c8c0ff8d73bf6e565280c239d79093b9587da9ef09a769d1516d94218bd002639ed5062ecfb3
6
+ metadata.gz: 243456cbee9bcea1ddc0c63261239e3e1a3363dbd8dc0bf2eedaab7c47374ae991ac2ef5ccc170215c852e814d78ac75d9a72576285f1280995ef8741557a348
7
+ data.tar.gz: d537f5985b6f87d9520d7fda8a7b6f80a42b7f0e809927c034678798eb8964cc0d1cc70ca046a690e56d44103819c3da439739bd1a0b495bf3e1daf8d8393cee
@@ -0,0 +1,33 @@
1
+ name: Ruby
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+ - master
8
+ pull_request:
9
+ branches:
10
+ - main
11
+ - master
12
+
13
+ jobs:
14
+ build:
15
+ runs-on: ubuntu-latest
16
+
17
+ strategy:
18
+ matrix:
19
+ ruby:
20
+ - 3.0.7
21
+ - 3.1.5
22
+ - 3.2.4
23
+ - 3.3.1
24
+
25
+ steps:
26
+ - uses: actions/checkout@v4
27
+ - name: Set up Ruby
28
+ uses: ruby/setup-ruby@v1
29
+ with:
30
+ ruby-version: ${{ matrix.ruby }}
31
+ bundler-cache: true
32
+ - name: Run rspec tests
33
+ run: bundle exec rake spec
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.2.0
1
+ 3.3.1
data/README.md CHANGED
@@ -1,8 +1,6 @@
1
1
  Skynet
2
2
  ======
3
3
 
4
- [![Build Status](https://travis-ci.com/rahearn/skynet.svg?branch=master)](https://travis-ci.com/rahearn/skynet)
5
-
6
4
  GitHub-aware website builder
7
5
 
8
6
  Skynet builds and deploys web sites on your VPS or bare metal server. It is triggered by the post-receive hook.
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.2"
3
3
  end
data/skynet.gemspec CHANGED
@@ -30,5 +30,5 @@ Gem::Specification.new do |s|
30
30
 
31
31
  s.add_development_dependency 'rake', '~> 13.0'
32
32
  s.add_development_dependency 'rspec', '~> 3.9'
33
- s.add_development_dependency 'shoulda-matchers', '~> 5.0'
33
+ s.add_development_dependency 'shoulda-matchers', '~> 6.0'
34
34
  end
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.1.0
4
+ version: 2.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Ahearn
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-28 00:00:00.000000000 Z
11
+ date: 2024-05-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sinatra
@@ -156,14 +156,14 @@ dependencies:
156
156
  requirements:
157
157
  - - "~>"
158
158
  - !ruby/object:Gem::Version
159
- version: '5.0'
159
+ version: '6.0'
160
160
  type: :development
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - "~>"
165
165
  - !ruby/object:Gem::Version
166
- version: '5.0'
166
+ version: '6.0'
167
167
  description: Sinatra app that listens for GitHub post-receive callbacks and deploys
168
168
  your code
169
169
  email:
@@ -173,10 +173,10 @@ executables:
173
173
  extensions: []
174
174
  extra_rdoc_files: []
175
175
  files:
176
+ - ".github/workflows/main.yml"
176
177
  - ".gitignore"
177
178
  - ".rspec"
178
179
  - ".ruby-version"
179
- - ".travis.yml"
180
180
  - Gemfile
181
181
  - README.md
182
182
  - Rakefile
@@ -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.4.1
219
+ rubygems_version: 3.5.9
220
220
  signing_key:
221
221
  specification_version: 4
222
222
  summary: Sinatra app that listens for GitHub post-receive callbacks and deploys your
data/.travis.yml DELETED
@@ -1,8 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - 3.0
4
- - ruby-head
5
- matrix:
6
- allow_failures:
7
- - rvm: ruby-head
8
- script: bundle exec rake spec