runfile-tasks 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/gem.runfile +6 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6c9053330f6de48b1a256bfe8878c9cd9f2caa2f39442dd6d348dd4e5b450eee
|
4
|
+
data.tar.gz: 72c148f9cdd1d450650b8e4350e14717c2c69465e0e0e184f85cd4475e741182
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 51f4f1d8683cb0bf6f7d17d84651317e3d51857e32a07886919814d96796e587d327cd3eacefb6c6878b693e4ccf097632c00c0297fbc72fc8fc61df5bd0d08a
|
7
|
+
data.tar.gz: 0cafcd6a005b243d84158ea943af78b6eaca197f89ed5b047ee66d3dac7980f5031326d8fed0fbf713138d325410b4c259c8293d367d86a41d9747f9658e9ad5
|
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/gem.runfile
CHANGED
@@ -3,7 +3,6 @@ require 'fileutils'
|
|
3
3
|
title 'Gem management commands'
|
4
4
|
summary 'Gem building and publishing commands'
|
5
5
|
|
6
|
-
require_context :gemname
|
7
6
|
require_context :private, default: false
|
8
7
|
|
9
8
|
help 'Build and optionally install the gem'
|
@@ -45,7 +44,12 @@ end
|
|
45
44
|
|
46
45
|
helpers do
|
47
46
|
def gemname
|
48
|
-
|
47
|
+
@gemname ||= begin
|
48
|
+
gemspec = Dir['*.gemspec'].first
|
49
|
+
raise UserError, 'Cannot find any *.gemspec' unless gemspec
|
50
|
+
|
51
|
+
Gem::Specification::load(gemspec).name
|
52
|
+
end
|
49
53
|
end
|
50
54
|
|
51
55
|
def gemfile
|
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.1
|
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-02-
|
11
|
+
date: 2023-02-02 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: A collection of tasks for Runfile
|
14
14
|
email: db@dannyben.com
|
@@ -39,7 +39,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
requirements: []
|
42
|
-
rubygems_version: 3.4.
|
42
|
+
rubygems_version: 3.4.6
|
43
43
|
signing_key:
|
44
44
|
specification_version: 4
|
45
45
|
summary: Runfile tasks collection
|