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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a27a5abb06af38ec2724fe7ee6fe548c26dd56c9fffc96c46a75982758fda395
4
- data.tar.gz: fd9c81e815c19c80c0d31e2620d116a3ba9c95892c150c3e11b22f1fc747e4d8
3
+ metadata.gz: 5c19466189dcc2e84c9d3f4027a406283544d6b98ea255522ee15dddb2a81acd
4
+ data.tar.gz: 36915069e229c930918f653c3d18f013f44a559d9cd080494033249a3c7ac891
5
5
  SHA512:
6
- metadata.gz: f904121c46f36382890e50197ccccb97d750cacbaa31dc3fefabf6874908f863656a595df48f37cb3cab71a32ba7ad9f4951c2830dab9c05d98be0da78411a9e
7
- data.tar.gz: d6853a3fbbf35ec6301a2101101abab8ee674de2020cc23719c2bdd04c51f182a442a7bf6a715e58be62cf4f8db5e8575536df5ead42cce8706cf20c03ba2040
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.8
1
+ 0.1.9
@@ -12,7 +12,7 @@ module Dockman
12
12
  end
13
13
 
14
14
  def self.version
15
- "0.1.8"
15
+ "0.1.9"
16
16
  end
17
17
 
18
18
  def self.version_label
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dockman
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Petros Papadopoulos