chid 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 302e84247d319913b2709f901d64d151ea8356b1a0020c9bce060ef31f54c09f
|
4
|
+
data.tar.gz: f513f6414c055d4f5e9c56786e95f6ca8225465f3f5336129c6bec2fbdeb445d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 31c0da9120b6a007dd008b8ef566098d5309bc46609a023351a14e61f43c28534b021f9006b60b00d105aa42da13f114dacb52b13cd3ffabdb9c37bf2145512e
|
7
|
+
data.tar.gz: 74f02f3751b3a70bed7585b165bb9035c93a7eda44eb558cde93b5cf69b027c7ef99549f891c0a5ae6a91ab3504f0b6adf00f91252bb56ccaf02d4d92d0d0b61
|
data/CHANGELOG.md
CHANGED
@@ -23,7 +23,7 @@ Usage:
|
|
23
23
|
|
24
24
|
def run
|
25
25
|
workstation_name = get_workstation_name
|
26
|
-
result =
|
26
|
+
result = ::ChidConfig.on_osx { select_apps_on_osx }
|
27
27
|
|
28
28
|
if result.empty?
|
29
29
|
puts "\nYou did not select any App, please try again."
|
@@ -44,7 +44,7 @@ Usage:
|
|
44
44
|
end
|
45
45
|
|
46
46
|
def chid_config
|
47
|
-
::
|
47
|
+
::ChidConfig.new
|
48
48
|
end
|
49
49
|
|
50
50
|
def select_apps_on_osx
|
@@ -56,7 +56,7 @@ Options:
|
|
56
56
|
end
|
57
57
|
|
58
58
|
def chid_config
|
59
|
-
::
|
59
|
+
::ChidConfig.new
|
60
60
|
end
|
61
61
|
|
62
62
|
def workstations
|
@@ -74,11 +74,11 @@ Options:
|
|
74
74
|
puts "\nOpening all Apps"
|
75
75
|
apps = workstations[workstation_name.to_sym]
|
76
76
|
apps.each do |app_name|
|
77
|
-
|
77
|
+
::ChidConfig.on_osx do
|
78
78
|
system("open -a #{app_name}")
|
79
79
|
end
|
80
80
|
|
81
|
-
|
81
|
+
::ChidConfig.on_linux do
|
82
82
|
system("#{app_name} >/dev/null 2>&1 &")
|
83
83
|
end
|
84
84
|
end
|
data/lib/chid/version.rb
CHANGED