conan_deploy 0.0.16 → 0.0.17

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 ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ MGU5YTY3ZGJjMjE0NzIwOTcxMTdlOTRiZDMxMDBiZWJiMGVlZWMzYg==
5
+ data.tar.gz: !binary |-
6
+ MjllZWNhMWQyZDU5NjQxZGZkNzZjNTVlNzRlYmE1NmY3MzQzMjEwMw==
7
+ SHA512:
8
+ metadata.gz: !binary |-
9
+ YWUzY2UzODk4NDE3NTVkZjhhMmE1MGFhZjA1ZmZkZWU3NDMxNmJlMTU5MTAy
10
+ NjVmZWM0NGU2NjJhM2FjZTFjMzg2YTA4MTFmYmVjYTZmZDM3NGQ3ZWIxMTVl
11
+ N2UyNmIwOTQwZWRkY2MwODE2MWE0OWI3ZDk5NWFhZTFlZTc3NDQ=
12
+ data.tar.gz: !binary |-
13
+ NjA0YzQ1NDE2NzVlYWJjYjVkYjc0NTE3NzI5OTE4NmY5YTUyYTBiNzhkMTQy
14
+ NzJhYjMyM2Q5YTU3NjRhOTk4ZGQ4NTYxMzUwYjVkN2FmZGZiYTI4OTkxYWQz
15
+ OTZmZGEyNjhhZGMxZWQzZDc4MjE3N2ZjMDRkZTk4NjM0ZTE1NDI=
data/bin/conan CHANGED
@@ -95,7 +95,7 @@ optparse = OptionParser.new do |o|
95
95
  options[:'dry-run'] = true
96
96
  end
97
97
 
98
- o.on('-S','--stfu', 'Supress errors when compairing active and inactive domains' ) do
98
+ o.on('-S','--stfu', 'Suppress errors when comparing active and inactive domains' ) do
99
99
  options[:stfu] = true
100
100
  end
101
101
 
@@ -145,7 +145,7 @@ class Application
145
145
 
146
146
 
147
147
  def active_domains
148
- @existing_mappings || [full_backchannel_domain, infra_agnostic_backchannel_domain] + Array(@additional_mappings)
148
+ @existing_mappings || [full_backchannel_domain, infra_agnostic_backchannel_domain, alternative_agnostic_backchannel_domain] + Array(@additional_mappings)
149
149
  end
150
150
 
151
151
  def inactive_domains
@@ -161,4 +161,8 @@ class Application
161
161
  def infra_agnostic_backchannel_domain
162
162
  "#{@environment}.#{@url_segment}.mtnsatcloud.com"
163
163
  end
164
+
165
+ def alternative_agnostic_backchannel_domain
166
+ "#{@environment}.#{@url_segment}.mtnsat.io"
167
+ end
164
168
  end
@@ -59,8 +59,12 @@ class Deployment < HasOptions
59
59
  "#{@environment.id}.#{app.url_segment}.#{@@paas_domain}"
60
60
  end
61
61
 
62
+ def alternative_agnostic_dns_name(app)
63
+ "#{@environment.id}.#{app.url_segment}.mtnsat.io"
64
+ end
65
+
62
66
  def active_urls(app)
63
- [ dns_name(app), agnostic_dns_name(app) ] + @additional_mappings
67
+ [ dns_name(app), agnostic_dns_name(app), alternative_agnostic_dns_name(app) ] + @additional_mappings
64
68
  end
65
69
 
66
70
  def inactive_urls(app)
data/lib/conan/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Conan
2
- VERSION = "0.0.16"
2
+ VERSION = "0.0.17"
3
3
  end
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: conan_deploy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.16
5
- prerelease:
4
+ version: 0.0.17
6
5
  platform: ruby
7
6
  authors:
8
7
  - Mike Reardon
@@ -10,12 +9,11 @@ authors:
10
9
  autorequire:
11
10
  bindir: bin
12
11
  cert_chain: []
13
- date: 2014-07-09 00:00:00.000000000 Z
12
+ date: 2014-11-12 00:00:00.000000000 Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
15
  name: daphne_util
17
16
  requirement: !ruby/object:Gem::Requirement
18
- none: false
19
17
  requirements:
20
18
  - - '='
21
19
  - !ruby/object:Gem::Version
@@ -23,7 +21,6 @@ dependencies:
23
21
  type: :runtime
24
22
  prerelease: false
25
23
  version_requirements: !ruby/object:Gem::Requirement
26
- none: false
27
24
  requirements:
28
25
  - - '='
29
26
  - !ruby/object:Gem::Version
@@ -35,6 +32,7 @@ executables:
35
32
  extensions: []
36
33
  extra_rdoc_files: []
37
34
  files:
35
+ - README.md
38
36
  - bin/conan
39
37
  - lib/conan/application.rb
40
38
  - lib/conan/application_helper.rb
@@ -54,29 +52,27 @@ files:
54
52
  - lib/conan/stackato.rb
55
53
  - lib/conan/templates.rb
56
54
  - lib/conan/version.rb
57
- - README.md
58
55
  homepage: http://github.com/MTNSatelliteComm/conan/README.md
59
56
  licenses: []
57
+ metadata: {}
60
58
  post_install_message:
61
59
  rdoc_options: []
62
60
  require_paths:
63
61
  - lib
64
62
  required_ruby_version: !ruby/object:Gem::Requirement
65
- none: false
66
63
  requirements:
67
64
  - - ! '>='
68
65
  - !ruby/object:Gem::Version
69
66
  version: '0'
70
67
  required_rubygems_version: !ruby/object:Gem::Requirement
71
- none: false
72
68
  requirements:
73
69
  - - ! '>='
74
70
  - !ruby/object:Gem::Version
75
71
  version: '0'
76
72
  requirements: []
77
73
  rubyforge_project:
78
- rubygems_version: 1.8.23
74
+ rubygems_version: 2.2.2
79
75
  signing_key:
80
- specification_version: 3
76
+ specification_version: 4
81
77
  summary: Conan da Deployer
82
78
  test_files: []