marathon_deploy 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 66057ff70c6413bf464ae07fd56a42607e5db141
4
- data.tar.gz: b9f77c6bae0ca2517d6696142625376257745481
3
+ metadata.gz: 884ea617a0e4c63705678c9d0766ca51982ea41c
4
+ data.tar.gz: afe7332da66115b54462198675541cb475ca277e
5
5
  SHA512:
6
- metadata.gz: 5801d37f9352ac4bbf96dd123f04d6d6ce06a34b89c50764c77eca9b34fee570ec8842c584c0f952270e60adacc05f88e118b18e18ce592c5544054a28ea1a9d
7
- data.tar.gz: f3273ef63fa0c04e0f3ffe98bbeb8b6e05e2ed2f411f2038e516414cd557b065f3e8b37a8aeebee9012e435f560613bc51e49370dd0606a7ab06bad067456aad
6
+ metadata.gz: 2c1851bc346ce106c2b93ebe93fe30d51bd6fc6c9a2b648fa46de315ba76c2b93191c8832ceeb368908ff8d59984a9f7606540f2bf45fde43b0b3d6228812217
7
+ data.tar.gz: c55c630d6d040c606f7c11a818b51320fccffbdfcf74ba8c5e8b96fefa86953b10344562690a9b90484209c88cfaac8d904302859d1fe894427330f0f543e104
File without changes
File without changes
@@ -1,3 +1,3 @@
1
1
  module MarathonDeploy
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
@@ -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.rb"]
19
- spec.files << ["bin/expand_macros.rb"]
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)/})
@@ -1,11 +1,11 @@
1
1
  require 'test_helper'
2
2
 
3
3
  class EnvironmentTest < Minitest::Test
4
- def setup
5
- puts "YOYO"
6
- end
4
+
7
5
 
8
- def test_env
9
- puts "THIS IS ENV"
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
@@ -1,7 +1,7 @@
1
- require 'marathon_deploy'
2
1
  require 'logger'
3
2
  require 'time'
4
3
  require 'marathon_deploy/application'
4
+ require 'marathon_deploy/environment'
5
5
  require 'minitest/autorun'
6
6
  require 'minitest/unit'
7
7
  require 'minitest/pride'
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.3
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-06-12 00:00:00.000000000 Z
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.rb
88
- - json2yaml.rb
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.rb
101
- - bin/json2yaml.rb
100
+ - bin/expand_macros
101
+ - bin/json2yaml
102
102
  - bin/marathon_deploy
103
103
  - examples/deploy.json
104
104
  - examples/deploy.yaml