dkr 0.0.2 → 0.0.3
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/.gitignore +0 -0
- data/.rubocop.yml +26 -0
- data/CHANGELOG.md +3 -0
- data/CONTRIBUTING.md +1 -0
- data/Gemfile +13 -0
- data/Gemfile.lock +53 -0
- data/LICENSE.txt +21 -0
- data/README.md +8 -0
- data/Rakefile +8 -0
- data/dkr.gemspec +18 -29
- data/lib/dkr.rb +4 -6
- data/lib/dkr/version.rb +1 -1
- metadata +23 -76
- data/.gitlab-ci.yml +0 -14
- data/exe/dkr +0 -28
- data/lib/dkr/application.rb +0 -14
- data/test/application/run_test.rb +0 -15
- data/test/test_helper.rb +0 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 90a726dd5a0fd6ad709784e715cfefb95b9c03cea89415a0bb1087f5b13d9fcf
|
4
|
+
data.tar.gz: 849d80eeae7a4712eff80138b3ab611468e68070b20a2a0e9b9ec2eeb15d136c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dcdef93ab0537902d27539f0173420332a24e35b505fd65c20f68255575fff873fc55bc28c65da475394615938544f6a28aaa9ab0eedec2c681a58147502f57f
|
7
|
+
data.tar.gz: 444291aa3b003e3dc78bf26561b2ee434ff1ff5d327eb27cfd069938b82116b50937ae788aa2d026b128462b8704887c3db13321e1bc21254dd8db0263f010b4
|
data/.gitignore
ADDED
File without changes
|
data/.rubocop.yml
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
AllCops:
|
2
|
+
TargetRubyVersion: 2.6.3
|
3
|
+
|
4
|
+
# Checks the indetation of multiline methods call
|
5
|
+
Layout/MultilineMethodCallIndentation:
|
6
|
+
EnforcedStyle: indented
|
7
|
+
|
8
|
+
# Checks if uses dobule quotes
|
9
|
+
Style/StringLiterals:
|
10
|
+
EnforcedStyle: double_quotes
|
11
|
+
|
12
|
+
# Checks if uses braces for call method
|
13
|
+
Style/LambdaCall:
|
14
|
+
EnforcedStyle: braces
|
15
|
+
|
16
|
+
# Checks for conditionals
|
17
|
+
Style/NegatedIf:
|
18
|
+
EnforcedStyle: prefix
|
19
|
+
|
20
|
+
# Checks Module Documentation with exceptions
|
21
|
+
Style/Documentation:
|
22
|
+
Enabled: false
|
23
|
+
|
24
|
+
# Checks for trailing comma in parameter lists
|
25
|
+
Style/TrailingCommaInArguments:
|
26
|
+
Enabled: false
|
data/CHANGELOG.md
ADDED
data/CONTRIBUTING.md
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
# TODO
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,53 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
dkr (0.0.1)
|
5
|
+
|
6
|
+
GEM
|
7
|
+
remote: https://rubygems.org/
|
8
|
+
specs:
|
9
|
+
byebug (11.0.1)
|
10
|
+
coderay (1.1.2)
|
11
|
+
diff-lcs (1.3)
|
12
|
+
docile (1.3.2)
|
13
|
+
json (2.2.0)
|
14
|
+
method_source (0.9.2)
|
15
|
+
pry (0.12.2)
|
16
|
+
coderay (~> 1.1.0)
|
17
|
+
method_source (~> 0.9.0)
|
18
|
+
pry-byebug (3.7.0)
|
19
|
+
byebug (~> 11.0)
|
20
|
+
pry (~> 0.10)
|
21
|
+
rake (12.3.3)
|
22
|
+
rspec (3.8.0)
|
23
|
+
rspec-core (~> 3.8.0)
|
24
|
+
rspec-expectations (~> 3.8.0)
|
25
|
+
rspec-mocks (~> 3.8.0)
|
26
|
+
rspec-core (3.8.2)
|
27
|
+
rspec-support (~> 3.8.0)
|
28
|
+
rspec-expectations (3.8.4)
|
29
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
30
|
+
rspec-support (~> 3.8.0)
|
31
|
+
rspec-mocks (3.8.1)
|
32
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
33
|
+
rspec-support (~> 3.8.0)
|
34
|
+
rspec-support (3.8.2)
|
35
|
+
simplecov (0.17.0)
|
36
|
+
docile (~> 1.1)
|
37
|
+
json (>= 1.8, < 3)
|
38
|
+
simplecov-html (~> 0.10.0)
|
39
|
+
simplecov-html (0.10.2)
|
40
|
+
|
41
|
+
PLATFORMS
|
42
|
+
ruby
|
43
|
+
|
44
|
+
DEPENDENCIES
|
45
|
+
bundler (~> 2.0)
|
46
|
+
dkr!
|
47
|
+
pry-byebug (~> 3.7)
|
48
|
+
rake (~> 12.3)
|
49
|
+
rspec (~> 3.8)
|
50
|
+
simplecov (~> 0.17)
|
51
|
+
|
52
|
+
BUNDLED WITH
|
53
|
+
2.0.2
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2019 Leonardo Lobo Lima
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
data/Rakefile
ADDED
data/dkr.gemspec
CHANGED
@@ -2,42 +2,31 @@
|
|
2
2
|
|
3
3
|
lib = File.expand_path("lib", __dir__)
|
4
4
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
|
-
require "dkr/version"
|
6
5
|
|
7
|
-
|
8
|
-
Gemfile
|
9
|
-
Gemfile.lock
|
10
|
-
.gitignore
|
11
|
-
Rakefile
|
12
|
-
rakelib
|
13
|
-
reek
|
14
|
-
.rubocop.yml
|
15
|
-
].freeze
|
6
|
+
require "dkr/version"
|
16
7
|
|
17
8
|
Gem::Specification.new do |spec|
|
18
|
-
spec.name
|
19
|
-
spec.version
|
20
|
-
spec.authors
|
21
|
-
spec.email
|
22
|
-
spec.license = "MIT"
|
9
|
+
spec.name = "dkr"
|
10
|
+
spec.version = Dkr::VERSION
|
11
|
+
spec.authors = ["Leonardo Lobo Lima"]
|
12
|
+
spec.email = ["dleemoo@gmail.com"]
|
23
13
|
|
24
|
-
spec.summary
|
25
|
-
spec.
|
14
|
+
spec.summary = "Docker utility"
|
15
|
+
spec.description = spec.summary
|
16
|
+
spec.homepage = "https://github.com/dleemoo/dkr"
|
17
|
+
spec.license = "MIT"
|
26
18
|
|
27
|
-
spec.
|
28
|
-
|
29
|
-
.reject { |file| file.match(Regexp.new(IGNORE_FILES.join("|"))) }
|
30
|
-
spec.bindir = "exe"
|
31
|
-
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
19
|
+
spec.bindir = "exe"
|
20
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
32
21
|
spec.require_paths = ["lib"]
|
22
|
+
spec.required_ruby_version = ">= 2.6.3"
|
23
|
+
spec.metadata["allowed_push_host"] = "https://rubygems.org"
|
24
|
+
spec.files = `git ls-files -z`.split("\x0")
|
25
|
+
.reject { |f| f.match(%r{^(test|spec|features|bin)/}) }
|
33
26
|
|
34
|
-
spec.
|
27
|
+
# spec.add_runtime_dependency "concurrent-ruby", "~> 1.0"
|
35
28
|
|
36
|
-
spec.add_development_dependency "
|
37
|
-
spec.add_development_dependency "bundler", "~> 1.16"
|
38
|
-
spec.add_development_dependency "minitest", "~> 5.11"
|
39
|
-
spec.add_development_dependency "minitest-reporters", "~> 1.3"
|
29
|
+
spec.add_development_dependency "bundler", "~> 2.0"
|
40
30
|
spec.add_development_dependency "rake", "~> 12.3"
|
41
|
-
spec.add_development_dependency "
|
42
|
-
spec.add_development_dependency "rubocop", "~> 0.58"
|
31
|
+
spec.add_development_dependency "rspec", "~> 3.8"
|
43
32
|
end
|
data/lib/dkr.rb
CHANGED
data/lib/dkr/version.rb
CHANGED
metadata
CHANGED
@@ -1,71 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dkr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Leonardo Lobo Lima
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-07-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: bump
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '0.6'
|
20
|
-
type: :development
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - "~>"
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '0.6'
|
27
13
|
- !ruby/object:Gem::Dependency
|
28
14
|
name: bundler
|
29
15
|
requirement: !ruby/object:Gem::Requirement
|
30
16
|
requirements:
|
31
17
|
- - "~>"
|
32
18
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - "~>"
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '1.16'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: minitest
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - "~>"
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '5.11'
|
19
|
+
version: '2.0'
|
48
20
|
type: :development
|
49
21
|
prerelease: false
|
50
22
|
version_requirements: !ruby/object:Gem::Requirement
|
51
23
|
requirements:
|
52
24
|
- - "~>"
|
53
25
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: minitest-reporters
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - "~>"
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '1.3'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - "~>"
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '1.3'
|
26
|
+
version: '2.0'
|
69
27
|
- !ruby/object:Gem::Dependency
|
70
28
|
name: rake
|
71
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -81,53 +39,43 @@ dependencies:
|
|
81
39
|
- !ruby/object:Gem::Version
|
82
40
|
version: '12.3'
|
83
41
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - "~>"
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '5.0'
|
90
|
-
type: :development
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - "~>"
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '5.0'
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: rubocop
|
42
|
+
name: rspec
|
99
43
|
requirement: !ruby/object:Gem::Requirement
|
100
44
|
requirements:
|
101
45
|
- - "~>"
|
102
46
|
- !ruby/object:Gem::Version
|
103
|
-
version: '
|
47
|
+
version: '3.8'
|
104
48
|
type: :development
|
105
49
|
prerelease: false
|
106
50
|
version_requirements: !ruby/object:Gem::Requirement
|
107
51
|
requirements:
|
108
52
|
- - "~>"
|
109
53
|
- !ruby/object:Gem::Version
|
110
|
-
version: '
|
111
|
-
description:
|
54
|
+
version: '3.8'
|
55
|
+
description: Docker utility
|
112
56
|
email:
|
113
57
|
- dleemoo@gmail.com
|
114
|
-
executables:
|
115
|
-
- dkr
|
58
|
+
executables: []
|
116
59
|
extensions: []
|
117
60
|
extra_rdoc_files: []
|
118
61
|
files:
|
119
|
-
- ".
|
62
|
+
- ".gitignore"
|
63
|
+
- ".rubocop.yml"
|
64
|
+
- CHANGELOG.md
|
65
|
+
- CONTRIBUTING.md
|
66
|
+
- Gemfile
|
67
|
+
- Gemfile.lock
|
68
|
+
- LICENSE.txt
|
69
|
+
- README.md
|
70
|
+
- Rakefile
|
120
71
|
- dkr.gemspec
|
121
|
-
- exe/dkr
|
122
72
|
- lib/dkr.rb
|
123
|
-
- lib/dkr/application.rb
|
124
73
|
- lib/dkr/version.rb
|
125
|
-
|
126
|
-
- test/test_helper.rb
|
127
|
-
homepage: https://gitlab.com/dleemoo/dkr
|
74
|
+
homepage: https://github.com/dleemoo/dkr
|
128
75
|
licenses:
|
129
76
|
- MIT
|
130
|
-
metadata:
|
77
|
+
metadata:
|
78
|
+
allowed_push_host: https://rubygems.org
|
131
79
|
post_install_message:
|
132
80
|
rdoc_options: []
|
133
81
|
require_paths:
|
@@ -136,15 +84,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
136
84
|
requirements:
|
137
85
|
- - ">="
|
138
86
|
- !ruby/object:Gem::Version
|
139
|
-
version: 2.
|
87
|
+
version: 2.6.3
|
140
88
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
141
89
|
requirements:
|
142
90
|
- - ">="
|
143
91
|
- !ruby/object:Gem::Version
|
144
92
|
version: '0'
|
145
93
|
requirements: []
|
146
|
-
|
147
|
-
rubygems_version: 2.7.6
|
94
|
+
rubygems_version: 3.0.4
|
148
95
|
signing_key:
|
149
96
|
specification_version: 4
|
150
97
|
summary: Docker utility
|
data/.gitlab-ci.yml
DELETED
data/exe/dkr
DELETED
@@ -1,28 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
# frozen_string_literal: true
|
3
|
-
|
4
|
-
#--
|
5
|
-
# Copyright (c) 2018 Leonardo Lobo Lima
|
6
|
-
#
|
7
|
-
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
|
-
# of this software and associated documentation files (the "Software"), to
|
9
|
-
# deal in the Software without restriction, including without limitation the
|
10
|
-
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
11
|
-
# sell copies of the Software, and to permit persons to whom the Software is
|
12
|
-
# furnished to do so, subject to the following conditions:
|
13
|
-
#
|
14
|
-
# The above copyright notice and this permission notice shall be included in
|
15
|
-
# all copies or substantial portions of the Software.
|
16
|
-
#
|
17
|
-
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
18
|
-
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
19
|
-
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
20
|
-
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
21
|
-
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
22
|
-
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
23
|
-
# IN THE SOFTWARE.
|
24
|
-
#++
|
25
|
-
|
26
|
-
require "dkr"
|
27
|
-
|
28
|
-
Dkr::Application.new.run
|
data/lib/dkr/application.rb
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require_relative "../test_helper"
|
4
|
-
|
5
|
-
class ApplicationTest < Minitest::Test
|
6
|
-
|
7
|
-
def test_that_run_without_arguments
|
8
|
-
assert_equal [], Dkr::Application.new.run([])
|
9
|
-
end
|
10
|
-
|
11
|
-
def test_that_run_with_arguments
|
12
|
-
assert_equal %i[a b], Dkr::Application.new.run(%i[a b])
|
13
|
-
end
|
14
|
-
|
15
|
-
end
|