krl 0.1.54 → 0.1.55

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/bin/krl +1 -1
  2. data/lib/deploy.rb +2 -2
  3. metadata +3 -3
data/bin/krl CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  require 'rubygems'
3
-
3
+ # $DEBUG = true
4
4
  LIB_DIR = File.dirname(__FILE__) + "/../lib/"
5
5
 
6
6
  COMMANDS = {
@@ -1,10 +1,10 @@
1
1
  module KRL_CMD
2
2
  class Deploy
3
3
  def self.go(args)
4
- version = args.to_s.empty? ? "development" : args.to_s.to_i
5
4
  require LIB_DIR + 'common'
6
5
  app = KRL_COMMON::get_app
7
- app.production_version = version
6
+ prod_version = args.to_s.empty? ? app.version : args.to_s.to_i
7
+ app.production_version = prod_version
8
8
  puts "Deployed version: #{app.production_version}"
9
9
 
10
10
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 54
9
- version: 0.1.54
8
+ - 55
9
+ version: 0.1.55
10
10
  platform: ruby
11
11
  authors:
12
12
  - Michael Farmer, Cid Dennis
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-05-11 00:00:00 -06:00
17
+ date: 2010-05-19 00:00:00 -06:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency