dockman 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitlab-ci.yml +5 -1
- data/Rakefile +13 -0
- data/VERSION +1 -1
- data/lib/dockman/identity.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c19466189dcc2e84c9d3f4027a406283544d6b98ea255522ee15dddb2a81acd
|
4
|
+
data.tar.gz: 36915069e229c930918f653c3d18f013f44a559d9cd080494033249a3c7ac891
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '09352ca8dd49333000f3151c8a34ded13aaf88b9106ff6f9991152ab836d4721d41c5ab3249b74534d0e85d40efbeb70f6293368374d542093418fd1e8765c8a'
|
7
|
+
data.tar.gz: 766f5c3fe0e7b020717d402d123ea77c51852e63d47728b6098d33beb2d6f9c2bc13e6ec7808aeccebc5d9cb86bd7260f97a11afe91583b097d7977a44d61e4a
|
data/.gitlab-ci.yml
CHANGED
@@ -7,7 +7,7 @@ image: "ruby:2.5.1"
|
|
7
7
|
cache:
|
8
8
|
paths:
|
9
9
|
- vendor/bundle
|
10
|
-
- pkg
|
10
|
+
- pkg
|
11
11
|
|
12
12
|
stages:
|
13
13
|
- test
|
@@ -28,6 +28,8 @@ before_script:
|
|
28
28
|
|
29
29
|
rspec:
|
30
30
|
stage: test
|
31
|
+
tags:
|
32
|
+
- rubygems
|
31
33
|
script:
|
32
34
|
- bundle exec rspec
|
33
35
|
|
@@ -35,6 +37,8 @@ rspec:
|
|
35
37
|
# are supported too: https://github.com/travis-ci/dpl
|
36
38
|
deploy:
|
37
39
|
stage: deploy
|
40
|
+
tags:
|
41
|
+
- rubygems
|
38
42
|
only:
|
39
43
|
- develop
|
40
44
|
script:
|
data/Rakefile
CHANGED
@@ -24,10 +24,23 @@ namespace :dockman do
|
|
24
24
|
|
25
25
|
desc 'build and push'
|
26
26
|
task :build_push do
|
27
|
+
Rake::Task['dockman:remote_version'].invoke
|
27
28
|
Rake::Task['build'].invoke
|
28
29
|
system "gem push pkg/dockman-#{File.read('VERSION')}.gem"
|
29
30
|
end
|
30
31
|
|
32
|
+
desc 'Check latest published version'
|
33
|
+
task :remote_version do
|
34
|
+
|
35
|
+
version_string = `gem search -r dockman`
|
36
|
+
remote = version_string.match(/\d+\.\d+\.\d+/).to_s
|
37
|
+
local = File.read('VERSION')
|
38
|
+
if remote == local
|
39
|
+
puts 'This version is already published.'
|
40
|
+
exit 1
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
31
44
|
end
|
32
45
|
|
33
46
|
require 'rubygems/tasks'
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.9
|
data/lib/dockman/identity.rb
CHANGED