scatter_deploy 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/scatter/cli.rb +2 -12
  3. data/lib/scatter.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 978f28b942b5b9d2d462f1424a46fe8ce5c009fa
4
- data.tar.gz: 0fe00e177d9027bfbb27f434833349ab47ee59a2
3
+ metadata.gz: 0f8c3a516602937fa073e54e722f7aeb1327161d
4
+ data.tar.gz: 0822669679cdebffde417e79a6a31269912a8f1f
5
5
  SHA512:
6
- metadata.gz: 36c6b2b33d9f043977e8029321347856b31a6af360ffa2f93eac7c41ca840a841d2abd3051cd986c71fe74c01c01b2607b8d27a2e8df975b9729e71657c0e322
7
- data.tar.gz: ba1582dab80d9ef6bd882d644524da04ec2da29eb6fb4bb0afbf890c377c25dca227f6301f5c50a4dd8e521b7da5beac97b738f519b4ce3ad42bd000aa9d9590
6
+ metadata.gz: 6351ad285d2e5644939160486c82e80d78b469dc6dea26f1dbac2a4bf456b361c4475c4cecd3e5696c72a594b90ddcb28c5fc09fba206895c93a2dbf62874eca
7
+ data.tar.gz: 5cb3d8860396d84c3f5585ffee9e71c86050544a83e903996814f512bf3a49b9067beead930f54a4b7f2c5d2a43d0dae01cfdb6db0f3a9062ec5fff9c19bc59e
data/lib/scatter/cli.rb CHANGED
@@ -21,9 +21,8 @@ module Scatter
21
21
  :desc => "Use a deploy script in the __shared directory. The project path will automatically be passed as an argument"
22
22
 
23
23
  class_option :dry_run,
24
- :aliases => "--dr",
25
24
  :type => :boolean,
26
- :desc => "Print true if the command would have succeeded, otherwise an error message, without actually running the command."
25
+ :desc => "Print 'success' if the command would have succeeded, otherwise an error message, without actually running the command."
27
26
 
28
27
  desc "deploy", "Run a deploy routine. This is the default task."
29
28
  def deploy
@@ -70,15 +69,6 @@ module Scatter
70
69
  say Config.show
71
70
  end
72
71
 
73
- desc "exists", "Determine whether or not a deploy routine can be found"
74
- def exists
75
- begin
76
- generate_command ? say("true") : abort("false")
77
- rescue
78
- abort "false"
79
- end
80
- end
81
-
82
72
  no_tasks do
83
73
  # Process aliases
84
74
  def method_missing(method, *args)
@@ -139,7 +129,7 @@ module Scatter
139
129
  abort "No deploy command found" unless command ||= generate_command
140
130
 
141
131
  if options.dry_run
142
- say "true"
132
+ say "success"
143
133
  else
144
134
  system "cd #{project_deploy_dir} && #{command}"
145
135
  end
data/lib/scatter.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  require 'scatter/cli'
2
2
 
3
3
  module Scatter
4
- VERSION = "0.2.1"
4
+ VERSION = "0.2.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scatter_deploy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Evan Solomon