dockman 0.1.3 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.dockerignore +206 -0
- data/.gitlab-ci.yml +8 -1
- data/Dockerfile +35 -0
- data/Rakefile +23 -7
- data/VERSION +1 -1
- data/dockman.gemspec +5 -5
- data/lib/dockman/identity.rb +22 -0
- data/lib/dockman.rb +1 -1
- data/lib/generators/dockman/dockify/setup/setup_generator.rb +2 -2
- metadata +21 -19
- data/lib/dockman/version.rb +0 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 70de49e0089a7bd6e18d053a499a7f83c5d95d03ba02d6675e6e3b89092320b4
|
4
|
+
data.tar.gz: 527b79312a8a80a9119b33a6f2ff3f0dc35900edfcfe8a5c6ca51e9998fdcd69
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c767bb777916f66d4101d8c75c0e971cde10a6147617e1dea17a3205ebc96f21f0f60f6caf87a273f29983b0f4057371cec6e94a034d0f60c2db4d8858625967
|
7
|
+
data.tar.gz: 2f76b4dbef8896a17716da6b3ab024d6071b99767254ebe5a035b50197467ca2e6c63be94a806a4ac92b61dbb079a36c10793822ac589975a13560bd9988c544
|
data/.dockerignore
ADDED
@@ -0,0 +1,206 @@
|
|
1
|
+
# Created by .ignore support plugin (hsz.mobi)
|
2
|
+
### JetBrains template
|
3
|
+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm
|
4
|
+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
|
5
|
+
|
6
|
+
# User-specific stuff
|
7
|
+
.idea/**/workspace.xml
|
8
|
+
.idea/**/tasks.xml
|
9
|
+
.idea/**/usage.statistics.xml
|
10
|
+
.idea/**/dictionaries
|
11
|
+
.idea/**/shelf
|
12
|
+
|
13
|
+
# Sensitive or high-churn files
|
14
|
+
.idea/**/dataSources/
|
15
|
+
.idea/**/dataSources.ids
|
16
|
+
.idea/**/dataSources.local.xml
|
17
|
+
.idea/**/sqlDataSources.xml
|
18
|
+
.idea/**/dynamic.xml
|
19
|
+
.idea/**/uiDesigner.xml
|
20
|
+
.idea/**/dbnavigator.xml
|
21
|
+
|
22
|
+
# Gradle
|
23
|
+
.idea/**/gradle.xml
|
24
|
+
.idea/**/libraries
|
25
|
+
|
26
|
+
# Gradle and Maven with auto-import
|
27
|
+
# When using Gradle or Maven with auto-import, you should exclude module files,
|
28
|
+
# since they will be recreated, and may cause churn. Uncomment if using
|
29
|
+
# auto-import.
|
30
|
+
# .idea/modules.xml
|
31
|
+
# .idea/*.iml
|
32
|
+
# .idea/modules
|
33
|
+
|
34
|
+
# CMake
|
35
|
+
cmake-build-*/
|
36
|
+
|
37
|
+
# Mongo Explorer plugin
|
38
|
+
.idea/**/mongoSettings.xml
|
39
|
+
|
40
|
+
# File-based project format
|
41
|
+
*.iws
|
42
|
+
|
43
|
+
# IntelliJ
|
44
|
+
out/
|
45
|
+
|
46
|
+
# mpeltonen/sbt-idea plugin
|
47
|
+
.idea_modules/
|
48
|
+
|
49
|
+
# JIRA plugin
|
50
|
+
atlassian-ide-plugin.xml
|
51
|
+
|
52
|
+
# Cursive Clojure plugin
|
53
|
+
.idea/replstate.xml
|
54
|
+
|
55
|
+
# Crashlytics plugin (for Android Studio and IntelliJ)
|
56
|
+
com_crashlytics_export_strings.xml
|
57
|
+
crashlytics.properties
|
58
|
+
crashlytics-build.properties
|
59
|
+
fabric.properties
|
60
|
+
|
61
|
+
# Editor-based Rest Client
|
62
|
+
.idea/httpRequests
|
63
|
+
### macOS template
|
64
|
+
# General
|
65
|
+
.DS_Store
|
66
|
+
.AppleDouble
|
67
|
+
.LSOverride
|
68
|
+
|
69
|
+
# Icon must end with two \r
|
70
|
+
Icon
|
71
|
+
|
72
|
+
# Thumbnails
|
73
|
+
._*
|
74
|
+
|
75
|
+
# Files that might appear in the root of a volume
|
76
|
+
.DocumentRevisions-V100
|
77
|
+
.fseventsd
|
78
|
+
.Spotlight-V100
|
79
|
+
.TemporaryItems
|
80
|
+
.Trashes
|
81
|
+
.VolumeIcon.icns
|
82
|
+
.com.apple.timemachine.donotpresent
|
83
|
+
|
84
|
+
# Directories potentially created on remote AFP share
|
85
|
+
.AppleDB
|
86
|
+
.AppleDesktop
|
87
|
+
Network Trash Folder
|
88
|
+
Temporary Items
|
89
|
+
.apdisk
|
90
|
+
### Ruby template
|
91
|
+
*.gem
|
92
|
+
*.rbc
|
93
|
+
/.config
|
94
|
+
/coverage/
|
95
|
+
/InstalledFiles
|
96
|
+
/pkg/
|
97
|
+
/spec/reports/
|
98
|
+
/spec/examples.txt
|
99
|
+
/test/tmp/
|
100
|
+
/test/version_tmp/
|
101
|
+
/tmp/
|
102
|
+
|
103
|
+
# Used by dotenv library to load environment variables.
|
104
|
+
# .env
|
105
|
+
|
106
|
+
## Specific to RubyMotion:
|
107
|
+
.dat*
|
108
|
+
.repl_history
|
109
|
+
build/
|
110
|
+
*.bridgesupport
|
111
|
+
build-iPhoneOS/
|
112
|
+
build-iPhoneSimulator/
|
113
|
+
|
114
|
+
## Specific to RubyMotion (use of CocoaPods):
|
115
|
+
#
|
116
|
+
# We recommend against adding the Pods directory to your .gitignore. However
|
117
|
+
# you should judge for yourself, the pros and cons are mentioned at:
|
118
|
+
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
|
119
|
+
#
|
120
|
+
# vendor/Pods/
|
121
|
+
|
122
|
+
## Documentation cache and generated files:
|
123
|
+
/.yardoc/
|
124
|
+
/_yardoc/
|
125
|
+
/doc/
|
126
|
+
/rdoc/
|
127
|
+
|
128
|
+
## Environment normalization:
|
129
|
+
/.bundle/
|
130
|
+
/vendor/bundle
|
131
|
+
/lib/bundler/man/
|
132
|
+
|
133
|
+
# for a library or gem, you might want to ignore these files since the code is
|
134
|
+
# intended to run in multiple environments; otherwise, check them in:
|
135
|
+
# Gemfile.lock
|
136
|
+
# .ruby-version
|
137
|
+
# .ruby-gemset
|
138
|
+
|
139
|
+
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
|
140
|
+
.rvmrc
|
141
|
+
### VisualStudioCode template
|
142
|
+
.vscode/*
|
143
|
+
!.vscode/settings.json
|
144
|
+
!.vscode/tasks.json
|
145
|
+
!.vscode/launch.json
|
146
|
+
!.vscode/extensions.json
|
147
|
+
### Linux template
|
148
|
+
*~
|
149
|
+
|
150
|
+
# temporary files which can be created if a process still has a handle open of a deleted file
|
151
|
+
.fuse_hidden*
|
152
|
+
|
153
|
+
# KDE directory preferences
|
154
|
+
.directory
|
155
|
+
|
156
|
+
# Linux trash folder which might appear on any partition or disk
|
157
|
+
.Trash-*
|
158
|
+
|
159
|
+
# .nfs files are created when an open file is removed but is still being accessed
|
160
|
+
.nfs*
|
161
|
+
### Rails template
|
162
|
+
capybara-*.html
|
163
|
+
.rspec
|
164
|
+
/log
|
165
|
+
/tmp
|
166
|
+
/db/*.sqlite3
|
167
|
+
/db/*.sqlite3-journal
|
168
|
+
/public/system
|
169
|
+
/spec/tmp
|
170
|
+
*.orig
|
171
|
+
rerun.txt
|
172
|
+
pickle-email-*.html
|
173
|
+
|
174
|
+
# TODO Comment out this rule if you are OK with secrets being uploaded to the repo
|
175
|
+
config/initializers/secret_token.rb
|
176
|
+
config/master.key
|
177
|
+
|
178
|
+
# Only include if you have production secrets in this file, which is no longer a Rails default
|
179
|
+
# config/secrets.yml
|
180
|
+
|
181
|
+
# dotenv
|
182
|
+
# TODO Comment out this rule if environment variables can be committed
|
183
|
+
.env
|
184
|
+
|
185
|
+
## Environment normalization:
|
186
|
+
/.bundle
|
187
|
+
|
188
|
+
# these should all be checked in to normalize the environment:
|
189
|
+
# Gemfile.lock, .ruby-version, .ruby-gemset
|
190
|
+
|
191
|
+
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
|
192
|
+
|
193
|
+
# if using bower-rails ignore default bower_components path bower.json files
|
194
|
+
/vendor/assets/bower_components
|
195
|
+
*.bowerrc
|
196
|
+
bower.json
|
197
|
+
|
198
|
+
# Ignore pow environment settings
|
199
|
+
.powenv
|
200
|
+
|
201
|
+
# Ignore Byebug command history file.
|
202
|
+
.byebug_history
|
203
|
+
|
204
|
+
# Ignore node_modules
|
205
|
+
node_modules/
|
206
|
+
/.pry_history
|
data/.gitlab-ci.yml
CHANGED
@@ -7,7 +7,11 @@ image: "ruby:2.5.1"
|
|
7
7
|
cache:
|
8
8
|
paths:
|
9
9
|
- vendor/bundle
|
10
|
+
- pkg/
|
10
11
|
|
12
|
+
stages:
|
13
|
+
- test
|
14
|
+
- build
|
11
15
|
# This is a basic example for a gem or script which doesn't use
|
12
16
|
# services such as redis or postgres
|
13
17
|
before_script:
|
@@ -23,12 +27,14 @@ before_script:
|
|
23
27
|
# - rubocop
|
24
28
|
|
25
29
|
rspec:
|
30
|
+
stage: test
|
26
31
|
script:
|
27
32
|
- bundle exec rspec
|
28
33
|
|
29
34
|
# This deploy job uses a simple deploy flow to Heroku, other providers, e.g. AWS Elastic Beanstalk
|
30
35
|
# are supported too: https://github.com/travis-ci/dpl
|
31
36
|
deploy:
|
37
|
+
stage: deploy
|
32
38
|
only:
|
33
39
|
- develop
|
34
40
|
script:
|
@@ -37,4 +43,5 @@ deploy:
|
|
37
43
|
- 'echo ":rubygems_api_key: $RUBYGEMS_KEY" >> ~/.gem/credentials'
|
38
44
|
- chmod 0600 ~/.gem/credentials
|
39
45
|
- gem signin
|
40
|
-
- bundle exec rake
|
46
|
+
- bundle exec rake build
|
47
|
+
- bundle exec rake push
|
data/Dockerfile
ADDED
@@ -0,0 +1,35 @@
|
|
1
|
+
FROM ruby:2.5.1
|
2
|
+
|
3
|
+
RUN apt-get update && \
|
4
|
+
apt-get install --no-install-recommends -y \
|
5
|
+
build-essential \
|
6
|
+
git-core \
|
7
|
+
libxml2 \
|
8
|
+
libxml2-dev \
|
9
|
+
libxslt1-dev \
|
10
|
+
nodejs \
|
11
|
+
imagemagick \
|
12
|
+
libmagickcore-dev \
|
13
|
+
libmagickwand-dev \
|
14
|
+
libpq-dev \
|
15
|
+
inetutils-ping \
|
16
|
+
tzdata \
|
17
|
+
libpq-dev \
|
18
|
+
ca-certificates \
|
19
|
+
unzip \
|
20
|
+
# The entries below are used for capybara testing.
|
21
|
+
# Uncomment accordingly
|
22
|
+
# libicu-dev \
|
23
|
+
# qt5-default \
|
24
|
+
# libqt5webkit5-dev \
|
25
|
+
# gstreamer1.0-plugins-base \
|
26
|
+
# gstreamer1.0-tools \
|
27
|
+
# gstreamer1.0-x \
|
28
|
+
# xvfb \
|
29
|
+
# xauth \
|
30
|
+
# openjdk-8-jre \
|
31
|
+
wget --fix-missing && \
|
32
|
+
rm -rf /var/lib/apt/lists/*
|
33
|
+
|
34
|
+
ENV GEM_HOME="/usr/local/bundle"
|
35
|
+
ENV PATH $GEM_HOME/bin:$GEM_HOME/gems/bin:$PATH
|
data/Rakefile
CHANGED
@@ -1,12 +1,28 @@
|
|
1
|
-
require 'bundler/gem_tasks'
|
2
|
-
require 'rubygems/tasks'
|
1
|
+
# require 'bundler/gem_tasks'
|
3
2
|
require 'rspec/core/rake_task'
|
4
|
-
|
5
|
-
|
6
|
-
# Rake::VersionTask.new do |task|
|
7
|
-
# task.with_git_tag = true
|
8
|
-
# end
|
3
|
+
require 'rake-version'
|
4
|
+
|
9
5
|
RSpec::Core::RakeTask.new(:spec)
|
10
6
|
|
7
|
+
RakeVersion::Tasks.new do |v|
|
8
|
+
v.copy 'lib/dockman/identity.rb'
|
9
|
+
end
|
10
|
+
|
11
11
|
task :default => :spec
|
12
|
+
|
13
|
+
namespace :dockman do
|
14
|
+
namespace :bump do
|
15
|
+
|
16
|
+
desc "Bumps the patch version and commits"
|
17
|
+
task :patch do
|
18
|
+
Rake::Task['version:bump:patch'].invoke
|
19
|
+
system 'git add VERSION lib/dockman/identity.rb'
|
20
|
+
system "git commit -m 'Bumped version to #{File.read('VERSION')}'"
|
21
|
+
end
|
22
|
+
|
23
|
+
end
|
24
|
+
|
25
|
+
end
|
26
|
+
|
27
|
+
require 'rubygems/tasks'
|
12
28
|
Gem::Tasks.new(push: false)
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.7
|
data/dockman.gemspec
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
|
2
2
|
lib = File.expand_path("../lib", __FILE__)
|
3
3
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require "dockman/
|
4
|
+
require "dockman/identity"
|
5
5
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
|
-
spec.name =
|
8
|
-
spec.version = Dockman::
|
7
|
+
spec.name = Dockman::Identity.name
|
8
|
+
spec.version = Dockman::Identity.version
|
9
9
|
spec.authors = ["Petros Papadopoulos"]
|
10
10
|
spec.email = ["petros@rolling.space"]
|
11
11
|
|
@@ -48,7 +48,7 @@ Gem::Specification.new do |spec|
|
|
48
48
|
spec.add_development_dependency 'rake', "~> 12.3"
|
49
49
|
spec.add_development_dependency 'rubygems-tasks', '~> 0.2'
|
50
50
|
spec.add_development_dependency 'bundler', "~> 1.17"
|
51
|
-
spec.add_development_dependency '
|
52
|
-
spec.add_development_dependency 'rspec', "~> 3.5"
|
51
|
+
spec.add_development_dependency 'rspec', "~> 3.8"
|
53
52
|
spec.add_development_dependency 'pry'
|
53
|
+
spec.add_development_dependency "rake-version", "~> 1.0"
|
54
54
|
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Dockman
|
4
|
+
# Gem identity information.
|
5
|
+
module Identity
|
6
|
+
def self.name
|
7
|
+
"dockman"
|
8
|
+
end
|
9
|
+
|
10
|
+
def self.label
|
11
|
+
"Dockman"
|
12
|
+
end
|
13
|
+
|
14
|
+
def self.version
|
15
|
+
"0.1.7"
|
16
|
+
end
|
17
|
+
|
18
|
+
def self.version_label
|
19
|
+
"#{label} v#{version}"
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
data/lib/dockman.rb
CHANGED
@@ -8,7 +8,7 @@ module Dockman
|
|
8
8
|
|
9
9
|
def add_rspec
|
10
10
|
gem_group :development, :test do
|
11
|
-
gem 'rspec-rails', '~> 3.
|
11
|
+
gem 'rspec-rails', '~> 3.8'
|
12
12
|
end
|
13
13
|
end
|
14
14
|
|
@@ -16,7 +16,7 @@ module Dockman
|
|
16
16
|
gem_group :development do
|
17
17
|
gem 'guard-rspec', '~> 4.7', require: false
|
18
18
|
gem 'spring-commands-rspec'
|
19
|
-
gem 'rubocop'
|
19
|
+
gem 'rubocop', '~> 0.60'
|
20
20
|
end
|
21
21
|
end
|
22
22
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dockman
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Petros Papadopoulos
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-11-
|
11
|
+
date: 2018-11-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionpack
|
@@ -177,47 +177,47 @@ dependencies:
|
|
177
177
|
- !ruby/object:Gem::Version
|
178
178
|
version: '1.17'
|
179
179
|
- !ruby/object:Gem::Dependency
|
180
|
-
name:
|
180
|
+
name: rspec
|
181
181
|
requirement: !ruby/object:Gem::Requirement
|
182
182
|
requirements:
|
183
|
-
- - "
|
183
|
+
- - "~>"
|
184
184
|
- !ruby/object:Gem::Version
|
185
|
-
version: '
|
185
|
+
version: '3.8'
|
186
186
|
type: :development
|
187
187
|
prerelease: false
|
188
188
|
version_requirements: !ruby/object:Gem::Requirement
|
189
189
|
requirements:
|
190
|
-
- - "
|
190
|
+
- - "~>"
|
191
191
|
- !ruby/object:Gem::Version
|
192
|
-
version: '
|
192
|
+
version: '3.8'
|
193
193
|
- !ruby/object:Gem::Dependency
|
194
|
-
name:
|
194
|
+
name: pry
|
195
195
|
requirement: !ruby/object:Gem::Requirement
|
196
196
|
requirements:
|
197
|
-
- - "
|
197
|
+
- - ">="
|
198
198
|
- !ruby/object:Gem::Version
|
199
|
-
version: '
|
199
|
+
version: '0'
|
200
200
|
type: :development
|
201
201
|
prerelease: false
|
202
202
|
version_requirements: !ruby/object:Gem::Requirement
|
203
203
|
requirements:
|
204
|
-
- - "
|
204
|
+
- - ">="
|
205
205
|
- !ruby/object:Gem::Version
|
206
|
-
version: '
|
206
|
+
version: '0'
|
207
207
|
- !ruby/object:Gem::Dependency
|
208
|
-
name:
|
208
|
+
name: rake-version
|
209
209
|
requirement: !ruby/object:Gem::Requirement
|
210
210
|
requirements:
|
211
|
-
- - "
|
211
|
+
- - "~>"
|
212
212
|
- !ruby/object:Gem::Version
|
213
|
-
version: '0'
|
213
|
+
version: '1.0'
|
214
214
|
type: :development
|
215
215
|
prerelease: false
|
216
216
|
version_requirements: !ruby/object:Gem::Requirement
|
217
217
|
requirements:
|
218
|
-
- - "
|
218
|
+
- - "~>"
|
219
219
|
- !ruby/object:Gem::Version
|
220
|
-
version: '0'
|
220
|
+
version: '1.0'
|
221
221
|
description: Dockman reads partial docker-compose configurations and concatenates
|
222
222
|
them in a single master file.
|
223
223
|
email:
|
@@ -227,11 +227,13 @@ executables:
|
|
227
227
|
extensions: []
|
228
228
|
extra_rdoc_files: []
|
229
229
|
files:
|
230
|
+
- ".dockerignore"
|
230
231
|
- ".gitignore"
|
231
232
|
- ".gitlab-ci.yml"
|
232
233
|
- ".rspec"
|
233
234
|
- ".travis.yml"
|
234
235
|
- CODE_OF_CONDUCT.md
|
236
|
+
- Dockerfile
|
235
237
|
- Gemfile
|
236
238
|
- LICENSE.txt
|
237
239
|
- README.md
|
@@ -245,7 +247,7 @@ files:
|
|
245
247
|
- lib/dockman/cli/entry.rb
|
246
248
|
- lib/dockman/config.rb
|
247
249
|
- lib/dockman/extensions/pathname.rb
|
248
|
-
- lib/dockman/
|
250
|
+
- lib/dockman/identity.rb
|
249
251
|
- lib/generators/dockman/dockify/setup/USAGE
|
250
252
|
- lib/generators/dockman/dockify/setup/setup_generator.rb
|
251
253
|
- lib/generators/dockman/dockify/setup/templates/.keep
|
@@ -289,7 +291,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
289
291
|
version: '0'
|
290
292
|
requirements: []
|
291
293
|
rubyforge_project:
|
292
|
-
rubygems_version: 2.7.
|
294
|
+
rubygems_version: 2.7.6
|
293
295
|
signing_key:
|
294
296
|
specification_version: 4
|
295
297
|
summary: Dockman manages docker-compose files for your server needs
|
data/lib/dockman/version.rb
DELETED