krl 0.1.56 → 0.1.57
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/info.rb +4 -14
- metadata +3 -3
data/lib/info.rb
CHANGED
@@ -28,29 +28,19 @@ module KRL_CMD
|
|
28
28
|
|
29
29
|
puts "Production Version"
|
30
30
|
if(app_info["production"])
|
31
|
-
puts "Current
|
31
|
+
puts "Current production version is #{app_info["production"]["version"]} IE Guid : #{app_details["guid"]}"
|
32
32
|
else
|
33
|
-
puts "No
|
33
|
+
puts "No production version."
|
34
34
|
end
|
35
35
|
puts ""
|
36
36
|
puts ""
|
37
37
|
|
38
38
|
puts "Development Version"
|
39
39
|
if(app_info["development"])
|
40
|
-
puts "Current
|
40
|
+
puts "Current development version is #{app_info["development"]["version"]} IE Guid : #{app_details["guid"]}"
|
41
41
|
else
|
42
|
-
puts "No
|
42
|
+
puts "No development version."
|
43
43
|
end
|
44
|
-
puts ""
|
45
|
-
puts ""
|
46
|
-
|
47
|
-
KRL_COMMON::pretty_table(app_info["versions"], [
|
48
|
-
{:field => "Login", :value => lambda { |r| r["login"] }},
|
49
|
-
{:field => "Name", :value => lambda { |r| r["name"] }},
|
50
|
-
{:field => "Created", :value => lambda { |r| r["created"].to_s }},
|
51
|
-
{:field => "Version", :value => lambda { |r| r["version"] }},
|
52
|
-
{:field => "Note", :value => lambda { |r| r["note"] }}
|
53
|
-
])
|
54
44
|
end
|
55
45
|
end
|
56
46
|
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
|
+
- 57
|
9
|
+
version: 0.1.57
|
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-26 00:00:00 -06:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|