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: 2ccada7ec3ff5e03b4ec9558080fe93be00c88326544b796612bdb22d470fec5
4
- data.tar.gz: 2dae7d98b4f2b41c1d48a2c1276f899610832b44b93c97515f31d2726ed228b9
3
+ metadata.gz: 302e84247d319913b2709f901d64d151ea8356b1a0020c9bce060ef31f54c09f
4
+ data.tar.gz: f513f6414c055d4f5e9c56786e95f6ca8225465f3f5336129c6bec2fbdeb445d
5
5
  SHA512:
6
- metadata.gz: 9e8dfb7a099a8a7837d52a8bb125c3e6e908e9f566a0ff6b47322b8e070d0343097211b0e5e0673fa79d8b85c6c4fdec7d56d7a0cf003fe37675d8dacdd864ce
7
- data.tar.gz: cf7e3cca3f6261f1a12750f5aac0ecd07c67c0b932428158e2bd38d9e2f4746ed6dc3ff89e57d2d2ae8e732cacd5e53dd11c6a4c3739f08109872817b0a20ead
6
+ metadata.gz: 31c0da9120b6a007dd008b8ef566098d5309bc46609a023351a14e61f43c28534b021f9006b60b00d105aa42da13f114dacb52b13cd3ffabdb9c37bf2145512e
7
+ data.tar.gz: 74f02f3751b3a70bed7585b165bb9035c93a7eda44eb558cde93b5cf69b027c7ef99549f891c0a5ae6a91ab3504f0b6adf00f91252bb56ccaf02d4d92d0d0b61
@@ -1,3 +1,8 @@
1
+ ### 0.2.1
2
+
3
+ * Update:
4
+ - Way to get correctly the ChidConfig instance for Tmux and Workstation Commands
5
+
1
6
  ### 0.2.0
2
7
 
3
8
  * Add:
@@ -56,7 +56,7 @@ Options:
56
56
  end
57
57
 
58
58
  def chid_config
59
- ::Chid.chid_config
59
+ ::ChidConfig.new
60
60
  end
61
61
 
62
62
  def templates
@@ -23,7 +23,7 @@ Usage:
23
23
 
24
24
  def run
25
25
  workstation_name = get_workstation_name
26
- result = chid_config.on_osx { select_apps_on_osx }
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
- ::Chid.chid_config
47
+ ::ChidConfig.new
48
48
  end
49
49
 
50
50
  def select_apps_on_osx
@@ -43,7 +43,7 @@ Usage:
43
43
  end
44
44
 
45
45
  def chid_config
46
- ::Chid.chid_config
46
+ ::ChidConfig.new
47
47
  end
48
48
 
49
49
  def select_workstations
@@ -56,7 +56,7 @@ Options:
56
56
  end
57
57
 
58
58
  def chid_config
59
- ::Chid.chid_config
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
- chid_config.on_osx do
77
+ ::ChidConfig.on_osx do
78
78
  system("open -a #{app_name}")
79
79
  end
80
80
 
81
- chid_config.on_linux do
81
+ ::ChidConfig.on_linux do
82
82
  system("#{app_name} >/dev/null 2>&1 &")
83
83
  end
84
84
  end
@@ -1,3 +1,3 @@
1
1
  module Chid
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chid
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rachid Calazans