utils 0.25.0 → 0.26.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/bin/all_images +6 -4
- data/lib/utils/version.rb +1 -1
- data/utils.gemspec +4 -4
- 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: fd555da45b4a29f63a7d8281ca2ab23d4ed15c27d2c5094f710f083eeb0f98ba
|
4
|
+
data.tar.gz: 61097b2252127154e2e457042cc6ae9e9c9594efebc130d437247ace0a81a38d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c0ad098cac8333239713b28071d53e992316a46badf5380c84ea6f937450b7e984cc0dfec270b847749b6a2384c626c376cc187887ff1dced87fa592a5071457
|
7
|
+
data.tar.gz: 49563686fbdd255a5153994d2da88e481453d7ae375aeb9382d0845780ce58c089fdd04590450205db5025c6440bcd502156d5ce41cd2e98396aa542aa311d9f
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.26.0
|
data/bin/all_images
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
# Configure like so:
|
3
3
|
#dockerfile: |-
|
4
4
|
# RUN apk add --no-cache build-base git
|
5
|
+
# RUN gem update --system
|
5
6
|
# RUN gem install gem_hadar bundler
|
6
7
|
#
|
7
8
|
#script: &script |-
|
@@ -27,7 +28,8 @@ include FileUtils
|
|
27
28
|
alias sh system
|
28
29
|
|
29
30
|
def provide_image(image, dockerfile)
|
30
|
-
|
31
|
+
prefix = $config.fetch('prefix', File.basename(Dir.pwd))
|
32
|
+
tag = "#{prefix}/all_images/#{image}"
|
31
33
|
sh "docker pull '#{image}'"
|
32
34
|
build_dir = File.join(Dir.tmpdir, 'build')
|
33
35
|
mkdir_p build_dir
|
@@ -56,9 +58,9 @@ def green(string)
|
|
56
58
|
"\e[32m#{string}\e[0m"
|
57
59
|
end
|
58
60
|
|
59
|
-
config = YAML.load_file(ARGV.shift || '.all_images.yml')
|
60
|
-
dockerfile = config['dockerfile'].to_s
|
61
|
-
Array(config['images']).each do |image, script|
|
61
|
+
$config = YAML.load_file(ARGV.shift || '.all_images.yml')
|
62
|
+
dockerfile = $config['dockerfile'].to_s
|
63
|
+
Array($config['images']).each do |image, script|
|
62
64
|
tag = provide_image image, dockerfile
|
63
65
|
if sh "docker run --name all_images -v `pwd`:/work '#{tag}' sh -c '#{script}'"
|
64
66
|
puts green('SUCCESS')
|
data/lib/utils/version.rb
CHANGED
data/utils.gemspec
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
-
# stub: utils 0.
|
2
|
+
# stub: utils 0.26.0 ruby lib
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = "utils".freeze
|
6
|
-
s.version = "0.
|
6
|
+
s.version = "0.26.0"
|
7
7
|
|
8
8
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
9
9
|
s.require_paths = ["lib".freeze]
|
10
10
|
s.authors = ["Florian Frank".freeze]
|
11
|
-
s.date = "2022-
|
11
|
+
s.date = "2022-04-26"
|
12
12
|
s.description = "This ruby gem provides some useful command line utilities".freeze
|
13
13
|
s.email = "flori@ping.de".freeze
|
14
14
|
s.executables = ["all_images".freeze, "ascii7".freeze, "blameline".freeze, "classify".freeze, "create_cstags".freeze, "create_tags".freeze, "discover".freeze, "edit".freeze, "edit_wait".freeze, "enum".freeze, "fix-brew".freeze, "git-empty".freeze, "git-versions".freeze, "irb_connect".freeze, "json_check".freeze, "long_lines".freeze, "myex".freeze, "number_files".freeze, "on_change".freeze, "path".freeze, "probe".freeze, "search".freeze, "sedit".freeze, "serve".freeze, "ssh-tunnel".freeze, "ssl_cert_info".freeze, "strip_spaces".freeze, "untest".freeze, "utils-utilsrc".freeze, "vcf2alias".freeze]
|
@@ -16,7 +16,7 @@ Gem::Specification.new do |s|
|
|
16
16
|
s.files = [".gitignore".freeze, "COPYING".freeze, "Gemfile".freeze, "README.md".freeze, "Rakefile".freeze, "VERSION".freeze, "bin/all_images".freeze, "bin/ascii7".freeze, "bin/blameline".freeze, "bin/classify".freeze, "bin/create_cstags".freeze, "bin/create_tags".freeze, "bin/discover".freeze, "bin/edit".freeze, "bin/edit_wait".freeze, "bin/enum".freeze, "bin/fix-brew".freeze, "bin/git-empty".freeze, "bin/git-versions".freeze, "bin/irb_connect".freeze, "bin/json_check".freeze, "bin/long_lines".freeze, "bin/myex".freeze, "bin/number_files".freeze, "bin/on_change".freeze, "bin/path".freeze, "bin/probe".freeze, "bin/search".freeze, "bin/sedit".freeze, "bin/serve".freeze, "bin/ssh-tunnel".freeze, "bin/ssl_cert_info".freeze, "bin/strip_spaces".freeze, "bin/untest".freeze, "bin/utils-utilsrc".freeze, "bin/vcf2alias".freeze, "lib/utils.rb".freeze, "lib/utils/config_file.rb".freeze, "lib/utils/editor.rb".freeze, "lib/utils/file_xt.rb".freeze, "lib/utils/finder.rb".freeze, "lib/utils/grepper.rb".freeze, "lib/utils/irb.rb".freeze, "lib/utils/irb/service.rb".freeze, "lib/utils/line_blamer.rb".freeze, "lib/utils/line_formatter.rb".freeze, "lib/utils/md5.rb".freeze, "lib/utils/patterns.rb".freeze, "lib/utils/probe_server.rb".freeze, "lib/utils/ssh_tunnel_specification.rb".freeze, "lib/utils/version.rb".freeze, "lib/utils/xt/source_location_extension.rb".freeze, "utils.gemspec".freeze]
|
17
17
|
s.homepage = "http://github.com/flori/utils".freeze
|
18
18
|
s.rdoc_options = ["--title".freeze, "Utils - Some useful command line utilities".freeze, "--main".freeze, "README.md".freeze]
|
19
|
-
s.rubygems_version = "3.2.
|
19
|
+
s.rubygems_version = "3.2.33".freeze
|
20
20
|
s.summary = "Some useful command line utilities".freeze
|
21
21
|
|
22
22
|
if s.respond_to? :specification_version then
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: utils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.26.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Florian Frank
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-04-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gem_hadar
|
@@ -236,7 +236,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
236
236
|
- !ruby/object:Gem::Version
|
237
237
|
version: '0'
|
238
238
|
requirements: []
|
239
|
-
rubygems_version: 3.2.
|
239
|
+
rubygems_version: 3.2.33
|
240
240
|
signing_key:
|
241
241
|
specification_version: 4
|
242
242
|
summary: Some useful command line utilities
|