krl 0.1.54 → 0.1.55
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/krl +1 -1
- data/lib/deploy.rb +2 -2
- metadata +3 -3
data/bin/krl
CHANGED
data/lib/deploy.rb
CHANGED
@@ -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.
|
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
|
-
-
|
9
|
-
version: 0.1.
|
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-
|
17
|
+
date: 2010-05-19 00:00:00 -06:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|