pups 1.0.3 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +29 -0
- data/.github/workflows/lint.yml +27 -0
- data/.rubocop.yml +3 -0
- data/Gemfile +2 -0
- data/Guardfile +3 -1
- data/README.md +40 -3
- data/Rakefile +8 -6
- data/bin/pups +4 -4
- data/lib/pups.rb +21 -11
- data/lib/pups/cli.rb +61 -26
- data/lib/pups/command.rb +14 -11
- data/lib/pups/config.rb +136 -93
- data/lib/pups/docker.rb +73 -0
- data/lib/pups/exec_command.rb +93 -89
- data/lib/pups/file_command.rb +28 -32
- data/lib/pups/merge_command.rb +48 -46
- data/lib/pups/replace_command.rb +36 -34
- data/lib/pups/runit.rb +23 -24
- data/lib/pups/version.rb +3 -1
- data/pups.gemspec +21 -16
- data/test/cli_test.rb +117 -0
- data/test/config_test.rb +192 -30
- data/test/docker_test.rb +157 -0
- data/test/exec_command_test.rb +29 -33
- data/test/file_command_test.rb +8 -9
- data/test/merge_command_test.rb +32 -32
- data/test/replace_command_test.rb +42 -44
- data/test/test_helper.rb +3 -0
- metadata +70 -6
data/test/test_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pups
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sam Saffron
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-06-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -25,7 +25,21 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: guard
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: guard-minitest
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|
30
44
|
requirements:
|
31
45
|
- - ">="
|
@@ -53,7 +67,7 @@ dependencies:
|
|
53
67
|
- !ruby/object:Gem::Version
|
54
68
|
version: '0'
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
70
|
+
name: rake
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
58
72
|
requirements:
|
59
73
|
- - ">="
|
@@ -67,7 +81,49 @@ dependencies:
|
|
67
81
|
- !ruby/object:Gem::Version
|
68
82
|
version: '0'
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
84
|
+
name: rubocop
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rubocop-discourse
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rubocop-minitest
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: rubocop-rake
|
71
127
|
requirement: !ruby/object:Gem::Requirement
|
72
128
|
requirements:
|
73
129
|
- - ">="
|
@@ -88,7 +144,10 @@ executables:
|
|
88
144
|
extensions: []
|
89
145
|
extra_rdoc_files: []
|
90
146
|
files:
|
147
|
+
- ".github/workflows/ci.yml"
|
148
|
+
- ".github/workflows/lint.yml"
|
91
149
|
- ".gitignore"
|
150
|
+
- ".rubocop.yml"
|
92
151
|
- CHANGELOG
|
93
152
|
- Gemfile
|
94
153
|
- Guardfile
|
@@ -100,6 +159,7 @@ files:
|
|
100
159
|
- lib/pups/cli.rb
|
101
160
|
- lib/pups/command.rb
|
102
161
|
- lib/pups/config.rb
|
162
|
+
- lib/pups/docker.rb
|
103
163
|
- lib/pups/exec_command.rb
|
104
164
|
- lib/pups/file_command.rb
|
105
165
|
- lib/pups/merge_command.rb
|
@@ -107,7 +167,9 @@ files:
|
|
107
167
|
- lib/pups/runit.rb
|
108
168
|
- lib/pups/version.rb
|
109
169
|
- pups.gemspec
|
170
|
+
- test/cli_test.rb
|
110
171
|
- test/config_test.rb
|
172
|
+
- test/docker_test.rb
|
111
173
|
- test/exec_command_test.rb
|
112
174
|
- test/file_command_test.rb
|
113
175
|
- test/merge_command_test.rb
|
@@ -132,12 +194,14 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
132
194
|
- !ruby/object:Gem::Version
|
133
195
|
version: '0'
|
134
196
|
requirements: []
|
135
|
-
rubygems_version: 3.
|
197
|
+
rubygems_version: 3.1.4
|
136
198
|
signing_key:
|
137
199
|
specification_version: 4
|
138
200
|
summary: Toolkit for orchestrating a composed docker image
|
139
201
|
test_files:
|
202
|
+
- test/cli_test.rb
|
140
203
|
- test/config_test.rb
|
204
|
+
- test/docker_test.rb
|
141
205
|
- test/exec_command_test.rb
|
142
206
|
- test/file_command_test.rb
|
143
207
|
- test/merge_command_test.rb
|