lint_trap 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +8 -8
- data/lib/lint_trap/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 05684bf565de4f670e2d5d385585eccc4f973825
|
4
|
+
data.tar.gz: b77841570b01e04382e724e1c67663972fb533b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 34d87142a75679ff066cada80c3ce7100c3e90a72d5dcb9fcde929b6e4acb16e63b68684ac2459b38bd2c18f37824c5e2b93017a23098c1002c932bc79874b72
|
7
|
+
data.tar.gz: 6dc8ad9c4aa3031f507cb0b2967b31af1e7fe6f8b86cf244e9a04e335866768beb1a2c86d6b19948a0dc45aecdbd6c60d568875065390cd7c845017207076c3d
|
data/Rakefile
CHANGED
@@ -34,19 +34,19 @@ namespace :docker do
|
|
34
34
|
task :tag do
|
35
35
|
require_relative 'lib/lint_trap/version'
|
36
36
|
|
37
|
-
system("docker tag -f lintci/spin_cycle:#{sha} lintci/spin_cycle:latest")
|
38
|
-
system("docker tag -f lintci/spin_cycle:#{sha} lintci/spin_cycle:#{LintTrap::VERSION}")
|
37
|
+
system("docker tag -f lintci/spin_cycle:#{sha} lintci/spin_cycle:latest") or fail_on_error
|
38
|
+
system("docker tag -f lintci/spin_cycle:#{sha} lintci/spin_cycle:#{LintTrap::VERSION}") or fail_on_error
|
39
39
|
end
|
40
40
|
|
41
41
|
task :build do
|
42
|
-
system("docker pull lintci/spin_cycle:latest")
|
43
|
-
system("docker build -t lintci/spin_cycle:#{sha} .")
|
42
|
+
system("docker pull lintci/spin_cycle:latest") or fail_on_error
|
43
|
+
system("docker build -t lintci/spin_cycle:#{sha} .") or fail_on_error
|
44
44
|
end
|
45
45
|
|
46
46
|
task :push do
|
47
|
-
system("docker login -e #{ENV['DOCKER_EMAIL']} -u #{ENV['DOCKER_USER']} -p #{ENV['DOCKER_PASSWORD']}")
|
48
|
-
system("docker push lintci/spin_cycle:#{sha}")
|
49
|
-
system("docker push lintci/spin_cycle:#{LintTrap::VERSION}")
|
50
|
-
system("docker push lintci/spin_cycle:latest")
|
47
|
+
system("docker login -e #{ENV['DOCKER_EMAIL']} -u #{ENV['DOCKER_USER']} -p #{ENV['DOCKER_PASSWORD']}") or fail_on_error
|
48
|
+
system("docker push lintci/spin_cycle:#{sha}") or fail_on_error
|
49
|
+
system("docker push lintci/spin_cycle:#{LintTrap::VERSION}") or fail_on_error
|
50
|
+
system("docker push lintci/spin_cycle:latest") or fail_on_error
|
51
51
|
end
|
52
52
|
end
|
data/lib/lint_trap/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lint_trap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Allen Madsen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-01-
|
11
|
+
date: 2015-01-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: github-linguist
|