dogids-cli 0.0.31 → 0.0.32

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
  SHA1:
3
- metadata.gz: 004ff6843c9a388c9616e23df61c92d774aaa12e
4
- data.tar.gz: 25af0c155498d205192178906dc5bb46ac290f09
3
+ metadata.gz: bc13967c5fd729a5e29aedbbd905c4304cc1aff7
4
+ data.tar.gz: beb414914b04fa5a9a8f9f2ec5323bdcc740b135
5
5
  SHA512:
6
- metadata.gz: b1fc6e5b311c44cea395f358b5ce65f0ec4a50ee3f47a05f0f9a1a3e516d67d33e773ba5f67b561e58e9be267f0adaa23621171d66e72eb5ea21aee980c9a26b
7
- data.tar.gz: 31a6feb1657c874e20445cf28ab5860d0bdcebfc0a6b8981977423041585e9095247163f77b9fc392995e6aeb316eb239b599a43d4b950da8c7085f4c4f1de25
6
+ metadata.gz: 7528a07711d38ad0cdd7dfab012f3e5c851717811080ace7283aa6f96647b8b455a0c9dd771f5e0ed63d4b366a1ed88645aebb6d6a50757d109f3c22bc1d266b
7
+ data.tar.gz: e46975943d1bca00da3b055a14eb8e84d9e91cbcd1bc7e5a49222a3833ab1dca3dc1ea773530aee3d08a57bf3a8a82f0bae119856695b6072a767cf0355fa78b
@@ -7,9 +7,14 @@ module Dogids
7
7
  def deploy_web
8
8
  print_heading("Deploying dogids.com")
9
9
 
10
- server_addresses = [
11
- "web"
12
- ]
10
+ # Get each production server matching "web" for deploy
11
+ server_addresses = []
12
+ production_servers = get_config_url("production")
13
+ production_servers.map |key, ip_address|
14
+ if key.include? "web"
15
+ server_addresses << key
16
+ end
17
+ end
13
18
 
14
19
  server_addresses.each do |server_address|
15
20
  ssh_address = get_config_url("production","#{server_address}")
@@ -3,7 +3,7 @@ require "open-uri"
3
3
  require "thor"
4
4
 
5
5
  module Dogids
6
- VERSION = "0.0.31"
6
+ VERSION = "0.0.32"
7
7
 
8
8
  class Cli < Thor
9
9
  desc "update", "Update dogids-cli to latest version"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dogids-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.31
4
+ version: 0.0.32
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jaryd Krishnan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-13 00:00:00.000000000 Z
11
+ date: 2017-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: net-ssh
@@ -108,7 +108,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
108
108
  version: '0'
109
109
  requirements: []
110
110
  rubyforge_project:
111
- rubygems_version: 2.4.5.1
111
+ rubygems_version: 2.6.13
112
112
  signing_key:
113
113
  specification_version: 4
114
114
  summary: Command line tool for dogIDs tasks