runfile-tasks 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/docker.runfile +1 -2
- data/gem.runfile +7 -4
- data/yard.runfile +8 -0
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3d92aedb996f39b43aac546e5965d370fa52fd047cea58d7bab29f8018217fc3
|
4
|
+
data.tar.gz: 20cea24b2910446df432366a8c9ab89b02c1b2179382f28e53beb765b4b3a665
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fe42ad814a78022b49b6428e4a7f5a8d402a0928bc9c4f71afd1272431196d53d24a884d0c28effa0a5ac3be272d2b177424f13f5ca42eef9ebf1d67224900de
|
7
|
+
data.tar.gz: ced49d5275af7f273a337e187e1fa1de68596bc816591cbb126d2c216e9d1525113735534d2176b6b174265e123f508f268ae7a687253b86cf7cd830e351e774
|
data/README.md
CHANGED
@@ -33,9 +33,9 @@ In your Runfile, use the `import_gem` directive to require any of the runfiles:
|
|
33
33
|
title 'My Runfile'
|
34
34
|
|
35
35
|
# commands for building and publishing your gem
|
36
|
-
import_gem 'runfile-tasks/gem'
|
36
|
+
import_gem 'runfile-tasks/gem'
|
37
37
|
# or without publish/yank actions
|
38
|
-
import_gem 'runfile-tasks/gem',
|
38
|
+
import_gem 'runfile-tasks/gem', private: true
|
39
39
|
|
40
40
|
# commands for building and publishing your Dockerfile
|
41
41
|
import_gem 'runfile-tasks/docker', image: 'my/image', version: '1.2.3'
|
data/docker.runfile
CHANGED
data/gem.runfile
CHANGED
@@ -1,9 +1,7 @@
|
|
1
1
|
require 'fileutils'
|
2
2
|
|
3
|
-
|
4
|
-
summary 'Gem building and publishing commands'
|
3
|
+
summary 'Gem management commands'
|
5
4
|
|
6
|
-
require_context :gemname
|
7
5
|
require_context :private, default: false
|
8
6
|
|
9
7
|
help 'Build and optionally install the gem'
|
@@ -45,7 +43,12 @@ end
|
|
45
43
|
|
46
44
|
helpers do
|
47
45
|
def gemname
|
48
|
-
|
46
|
+
@gemname ||= begin
|
47
|
+
gemspec = Dir['*.gemspec'].first
|
48
|
+
raise UserError, 'Cannot find any *.gemspec' unless gemspec
|
49
|
+
|
50
|
+
Gem::Specification::load(gemspec).name
|
51
|
+
end
|
49
52
|
end
|
50
53
|
|
51
54
|
def gemfile
|
data/yard.runfile
ADDED
@@ -0,0 +1,8 @@
|
|
1
|
+
summary 'YARD documentation commands'
|
2
|
+
|
3
|
+
help "Run YARD server"
|
4
|
+
usage "server [--port PORT]"
|
5
|
+
option "--port, -p PORT", "Set server port [default: 3000]"
|
6
|
+
action :server do |args|
|
7
|
+
system "yard server --server puma --port #{args['--port']} --bind 0.0.0.0 --reload"
|
8
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: runfile-tasks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Danny Ben Shitrit
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-03-27 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: A collection of tasks for Runfile
|
14
14
|
email: db@dannyben.com
|
@@ -19,6 +19,7 @@ files:
|
|
19
19
|
- README.md
|
20
20
|
- docker.runfile
|
21
21
|
- gem.runfile
|
22
|
+
- yard.runfile
|
22
23
|
homepage: https://github.com/DannyBen/runfile-tasks
|
23
24
|
licenses:
|
24
25
|
- MIT
|
@@ -39,7 +40,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
39
40
|
- !ruby/object:Gem::Version
|
40
41
|
version: '0'
|
41
42
|
requirements: []
|
42
|
-
rubygems_version: 3.4.
|
43
|
+
rubygems_version: 3.4.9
|
43
44
|
signing_key:
|
44
45
|
specification_version: 4
|
45
46
|
summary: Runfile tasks collection
|