RubyGems
npm
Organizations
Log in
Sign up
RubyGems
app-mgr
Versions diffs
0.1.2 → 0.1.3
app-mgr 0.1.2 → 0.1.3
Sign up to get
free
protection for your applications and to get access to all the features.
Files changed (2)
hide
show
data/lib/app-mgr.rb
+4
-0
metadata
+1
-1
data/lib/app-mgr.rb
CHANGED
@@ -53,6 +53,10 @@ class AppMgr
53
53
@app.select {|k,v| v[:running]}.keys
54
54
end
55
55
56
+
def running?()
57
+
@app[app_name][:running]
58
+
end
59
+
56
60
def available()
57
61
@app.select {|k,v| v[:available] == true}.keys
58
62
end
metadata
CHANGED
@@ -1,7 +1,7 @@
1
1
--- !ruby/object:Gem::Specification
2
2
name: app-mgr
3
3
version: !ruby/object:Gem::Version
4
-
version: 0.1.
2
4
+
version: 0.1.
3
5
5
platform: ruby
6
6
authors: []
7
7