open-dock 0.0.11 → 0.0.12

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: d0adfec5e763895571e01df92633b9c0837ca43e
4
- data.tar.gz: 2e38e9c10e5c72b36a03109602d44df063b01e20
3
+ metadata.gz: b3cefa81ff88689e2b88ead2007ee092742f5d46
4
+ data.tar.gz: 3fd0a0a696267642a7986654dbe01174f1fa3504
5
5
  SHA512:
6
- metadata.gz: 80fdc958ec610413d0363e862784daabc354a769fdc051d41aad0ba812d7abe27fa6ee9c2c57745a8b0da9645acc9ffbd73842225ca398e327d4d04070580e6c
7
- data.tar.gz: dacca85a84533b8542c3e846379d43342b605144a52e57ec287ea6651a14e8cf3b7f330dddca2bcf85008f0867eb8c9c1963c3f5f3cd6edacbcae6b879802cfb
6
+ metadata.gz: 12ad80c138774601ff0215550827ffc516d0302e517f8c11fc96fc32ccdd57b88acc1141800671b421ca94f38c17f1ad9be9d1d82c0046883a41de5ed760637b
7
+ data.tar.gz: a94147e0c43f7b7b79ca7ff07a62d224907608af3de1f2c3ea64b5fd7a150041f34ad8313b9fba72476aafa35abd6072c243c5aa5ab5a2a70684d3ff6704f2d8
data/README.md CHANGED
@@ -61,13 +61,12 @@ TODO: `ops init` to create this structure
61
61
  Structure:
62
62
 
63
63
  ```
64
- ops
65
- providers
66
- digitalocean.yml
67
- hosts
68
- example.com.yml
69
- containers
70
- example.com.yml
64
+ providers
65
+ digitalocean.yml
66
+ hosts
67
+ example.com.yml
68
+ containers
69
+ example.com.yml
71
70
  ```
72
71
 
73
72
  #### Provider file syntax
@@ -80,6 +79,8 @@ For a Digital Ocean provider create a file (ops/providers/digitalocean.yml) with
80
79
  token: a206ae60dda6bxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxcf0cbf41
81
80
  ```
82
81
 
82
+ Token can be activated in your DigitaOcean console > Apps & API > Generate new token. Be sure to give write premissions.
83
+
83
84
  #### Host file syntax
84
85
 
85
86
  For a Digital Ocean host we can make the following file (ops/hosts/example.com.yml):
@@ -1,4 +1,4 @@
1
- command :'exec host' do |c|
1
+ command :exec do |c|
2
2
  c.summary = 'Execute a command in host'
3
3
  c.description = "Execute a command in host defined by DNS_name"
4
4
  c.syntax = 'ops exec [host_name] "[command]"'
@@ -1,4 +1,4 @@
1
- command :'ship host' do |c|
1
+ command :ship do |c|
2
2
  c.summary = 'Create Docker containers defined in ops/containers/[host_name].yml'
3
3
  c.syntax = 'ops ship host [host_name]'
4
4
  c.description = "Create all docker containers described in #{Ops::CONTAINERS_DIR}/[host_name].yml"
@@ -1,3 +1,3 @@
1
1
  module OpenDock
2
- VERSION = "0.0.11"
2
+ VERSION = "0.0.12"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: open-dock
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Lebrijo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-17 00:00:00.000000000 Z
11
+ date: 2014-11-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler