eyemanager 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/eyemanager.gemspec +1 -0
- data/lib/eyemanager/version.rb +1 -1
- data/lib/eyemanager.rb +5 -1
- metadata +15 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bc27db558d652d8160c54733d9964d312d34a794
|
4
|
+
data.tar.gz: a82871d35fef68e7e828d1dda60755649dd9dc29
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee8fd1b38e46b6798a82a49c4176709d4907f0f486e7f69c5d7430eda1f17632d60b7569a8f96e13ad441ccf13df61ba150ca6eb8c65fd2a9af2d6cd684f5e8c
|
7
|
+
data.tar.gz: 67b1a92b5e0b1362ca1bf0b571d03a5bb6b905cdfa8b12052e9a1ecc49fa928ba7a91469d541610080f58b6ecc5714dec3c01bb65a1ae3f2c78d4b125f716a4e
|
data/eyemanager.gemspec
CHANGED
data/lib/eyemanager/version.rb
CHANGED
data/lib/eyemanager.rb
CHANGED
@@ -27,6 +27,10 @@ module EyeManager
|
|
27
27
|
/^Eye quit|socket\(.+\) not found/.match(output)
|
28
28
|
end
|
29
29
|
|
30
|
+
def list_apps
|
31
|
+
eye_status_apps_filtered_by.map{|a| a['name']}
|
32
|
+
end
|
33
|
+
|
30
34
|
private
|
31
35
|
|
32
36
|
def validate_start_params params={}
|
@@ -88,7 +92,7 @@ module EyeManager
|
|
88
92
|
'unknown'
|
89
93
|
end
|
90
94
|
|
91
|
-
def eye_status_apps_filtered_by app
|
95
|
+
def eye_status_apps_filtered_by app=nil
|
92
96
|
status_apps = JSON.parse(`eye i -j`)['subtree']
|
93
97
|
app.to_s.length > 0 ?
|
94
98
|
status_apps
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eyemanager
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- joshweir
|
@@ -66,6 +66,20 @@ dependencies:
|
|
66
66
|
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: gem-release
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
69
83
|
description:
|
70
84
|
email:
|
71
85
|
- joshua.weir@gmail.com
|