torquebox-backstage 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/CHANGELOG.md +9 -0
  2. data/README.md +2 -3
  3. data/VERSION +1 -1
  4. data/bin/backstage +4 -15
  5. metadata +2 -2
data/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ * 1.0.1 - 2012-04-10
2
+ * Fixed the 'backstage undeploy' command to actually work
3
+ * Removed useless 'backstage info' command
4
+
5
+ * 1.0.0 - 2012-04-02
6
+ * Updated to work with TorqueBox 2.0.0
7
+
8
+ ...
9
+
1
10
  * 0.5.4 - 2011-09-27
2
11
  * Don't ship the Gemfile.lock.
3
12
 
data/README.md CHANGED
@@ -31,10 +31,9 @@ application source.
31
31
 
32
32
  ### As A Gem ###
33
33
 
34
- A version of the gem that supports TorqueBox 2.0.0.beta2 is currently
35
- available as a beta itself. You can install it via:
34
+ You can install it via:
36
35
 
37
- jruby -S gem install torquebox-backstage --pre
36
+ jruby -S gem install torquebox-backstage
38
37
 
39
38
  Deploy backstage using the `backstage` command. You can deploy with security
40
39
  disabled: `jruby -S backstage deploy`
data/VERSION CHANGED
@@ -1,3 +1,3 @@
1
- 1.0.0
1
+ 1.0.1
2
2
 
3
3
 
data/bin/backstage CHANGED
@@ -22,7 +22,7 @@ class BackstageCommand < Thor
22
22
 
23
23
  DEPLOYMENT_NAME = 'torquebox-backstage-knob.yml'
24
24
 
25
- desc "deploy [--secure=username:password[,username:password]*]", "Deploys backstage to $TORQUEBOX_HOME/apps"
25
+ desc "deploy [--secure=username:password[,username:password]*]", "Deploys backstage to the TorqueBox instance specified by $TORQUEBOX_HOME"
26
26
  method_option :secure, :type => :hash, :default => nil
27
27
  def deploy
28
28
  check
@@ -44,23 +44,12 @@ class BackstageCommand < Thor
44
44
  puts ">> Deployed #{name} to #{dir}"
45
45
  end
46
46
 
47
- desc "undeploy", "Removes backstage from $TORQUEBOX_HOME/apps"
47
+ desc "undeploy", "Undeploys backstage from the TorqueBox instance specified by $TORQUEBOX_HOME"
48
48
  def undeploy
49
49
  check
50
- name, dir = TorqueBox::DeployUtils.undeploy( DEPLOYMENT_NAME )
51
-
52
- puts ">> Undeployed #{name} from #{dir}"
53
- end
50
+ name, dir = TorqueBox::DeployUtils.undeploy_yaml( :name => DEPLOYMENT_NAME )
54
51
 
55
- desc "info", "Prints info about BackStage's status"
56
- def info
57
- check
58
- path = File.join( ENV['TORQUEBOX_HOME'], 'apps', DEPLOYMENT_NAME )
59
- if File.exists?( path )
60
- puts ">> BackStage deployed to #{path}"
61
- else
62
- puts ">> BackStage is not deployed"
63
- end
52
+ puts ">> Undeployed #{name} from #{dir}" if name
64
53
  end
65
54
 
66
55
  protected
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: torquebox-backstage
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.0.0
5
+ version: 1.0.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Tobias Crawley
@@ -12,7 +12,7 @@ autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
14
 
15
- date: 2012-04-02 00:00:00 Z
15
+ date: 2012-04-10 00:00:00 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: sinatra