ops_tasks 0.1.2 → 0.1.3

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: 1570d059178e1eb806019139f2dca547e2558bd9
4
- data.tar.gz: 1e8931e609aaa79865735211e6c74eb153eb9762
3
+ metadata.gz: ed9eb4674e8381476681e2b8af47bcc0ddc15523
4
+ data.tar.gz: 3b3e0b370677acbfdaa89d41ebb6d4318819d395
5
5
  SHA512:
6
- metadata.gz: d3d7700179737b783eb6dce72a5fd34499d883fd8f74fa1868de65e4865a907586ad4a4fefb02b42e9a92a2a1951773d1b693ec51b5ac865503a9fc93bf3b481
7
- data.tar.gz: 0e7847b8ff7e366e32f4250e0b91f9fa965e448c931f89d77e9a58a6ffcacc567f3e8631c7768de6a8ad6c78a3bdabcfce0ced2fa9197f3f65265446936ef36c
6
+ metadata.gz: cf6e8a3e3f81fa628b3d69c0a0cd2255279a98a9d89c062ee6ff830000aba66321908f1ad1f57feb8b67d6231649fb9fe70468cb0d673172ea2aa211dcd40abc
7
+ data.tar.gz: 74acdc0706c9245b84448da3ce1ae34b5fc2c010a88d498308c20d23aad87c9cbbc6f2c9ab740f66e073c426825ae4e63eb556729e23390a54c363ad166c4d8f
@@ -1,3 +1,3 @@
1
1
  module OpsTasks
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
data/lib/ops_tasks.rb CHANGED
@@ -1,5 +1,6 @@
1
1
  require 'aws-sdk'
2
2
  require 'say2slack'
3
+ require 'highline/import'
3
4
 
4
5
  module OpsTasks
5
6
  require 'ops_tasks/railtie' if defined?(Rails)
@@ -44,9 +44,8 @@ namespace :production do
44
44
  end
45
45
  end
46
46
 
47
- task :deploy, [:server_type] => :environment do |t, args|
48
- puts args[:server_type]
49
- server_type = args[:server_type].downcase
47
+ task :deploy => :environment do |t, args|
48
+ server_type = ask("server type: ")
50
49
  @deployment = OpsTasks::Deployment.new(
51
50
  layer_id: ENV["#{server_type}_layer_id"],
52
51
  stack_id: ENV["#{server_type}_stack_id"],
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ops_tasks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Prokesch
@@ -52,6 +52,20 @@ dependencies:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: highline
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
55
69
  description: Opsworks Rake Tasks for Deployment
56
70
  email:
57
71
  - nick@prokes.ch