marathon_deploy 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/{expand_macros.rb → expand_macros} +0 -0
- data/bin/{json2yaml.rb → json2yaml} +0 -0
- data/lib/marathon_deploy/version.rb +1 -1
- data/marathon_deploy.gemspec +2 -2
- data/test/environment_test.rb +5 -5
- data/test/test_helper.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 884ea617a0e4c63705678c9d0766ca51982ea41c
|
4
|
+
data.tar.gz: afe7332da66115b54462198675541cb475ca277e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c1851bc346ce106c2b93ebe93fe30d51bd6fc6c9a2b648fa46de315ba76c2b93191c8832ceeb368908ff8d59984a9f7606540f2bf45fde43b0b3d6228812217
|
7
|
+
data.tar.gz: c55c630d6d040c606f7c11a818b51320fccffbdfcf74ba8c5e8b96fefa86953b10344562690a9b90484209c88cfaac8d904302859d1fe894427330f0f543e104
|
File without changes
|
File without changes
|
data/marathon_deploy.gemspec
CHANGED
@@ -15,8 +15,8 @@ Gem::Specification.new do |spec|
|
|
15
15
|
|
16
16
|
spec.files = `git ls-files -z`.split("\x0")
|
17
17
|
spec.files << ["bin/marathon_deploy"]
|
18
|
-
spec.files << ["bin/json2yaml
|
19
|
-
spec.files << ["bin/expand_macros
|
18
|
+
spec.files << ["bin/json2yaml"]
|
19
|
+
spec.files << ["bin/expand_macros"]
|
20
20
|
|
21
21
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
22
22
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
data/test/environment_test.rb
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
require 'test_helper'
|
2
2
|
|
3
3
|
class EnvironmentTest < Minitest::Test
|
4
|
-
|
5
|
-
puts "YOYO"
|
6
|
-
end
|
4
|
+
|
7
5
|
|
8
|
-
def
|
9
|
-
|
6
|
+
def test_production_env_name
|
7
|
+
environment_name = "PRODUCTION"
|
8
|
+
environment = MarathonDeploy::Environment.new(environment_name)
|
9
|
+
assert(environment.is_production?, "Environment #{environment_name} should be identified as production")
|
10
10
|
end
|
11
11
|
end
|
data/test/test_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: marathon_deploy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonathan Colby
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-08-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: logger
|
@@ -84,8 +84,8 @@ description: Pushes a yaml or json file to the Marathon API.
|
|
84
84
|
email:
|
85
85
|
- jcolby@team.mobile.de
|
86
86
|
executables:
|
87
|
-
- expand_macros
|
88
|
-
- json2yaml
|
87
|
+
- expand_macros
|
88
|
+
- json2yaml
|
89
89
|
- marathon_deploy
|
90
90
|
extensions: []
|
91
91
|
extra_rdoc_files: []
|
@@ -97,8 +97,8 @@ files:
|
|
97
97
|
- README.md
|
98
98
|
- Rakefile
|
99
99
|
- TODO
|
100
|
-
- bin/expand_macros
|
101
|
-
- bin/json2yaml
|
100
|
+
- bin/expand_macros
|
101
|
+
- bin/json2yaml
|
102
102
|
- bin/marathon_deploy
|
103
103
|
- examples/deploy.json
|
104
104
|
- examples/deploy.yaml
|