tacoma 1.0.5 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: efbd55211534084016721562a6e93edc3e5faefe
4
- data.tar.gz: 597b94d16b5dd4615a05ac805df49542ae121142
3
+ metadata.gz: fce789d1564fad3825b87873661b003f82160f66
4
+ data.tar.gz: d8d901bd38127bb217000a2d299201d7e26e7e37
5
5
  SHA512:
6
- metadata.gz: f40893334cbe2db53593857a57d13a7c3ae742934fb05371bc38f3206b52ebe2503809f32ce4da7cee6efb31ca1a0ad48e7e4b08b6ba6ef12a3892253a303018
7
- data.tar.gz: 4399cbcb4bc77a3274984fc8082714af7eb356d3775fc3bb0d4b7ca9dc7ff02f64e8c237b693fd42d5fc25aa82de3280cf0d2f5205ec474d548ecf0c954fb6d2
6
+ metadata.gz: f0a3c9de6ffce76985c63b770b698e06060b8a7c563d0c766e1160aaff9f74482fe9150b7a5a60c44f88767af7a806f69941bddeaad8e7cd8066a8060cb0aaac
7
+ data.tar.gz: 77c8932695e405ac2a510fcd42711d2dcdab3affc784fceb88dd7c28f091b5f36bc999564ad5b3476d9ae928f0aab74fa89bdde853a6e96afaa3f72ba2be9560
@@ -69,7 +69,15 @@ module Tacoma
69
69
  switch(environment)
70
70
  Dir.chdir `echo #{@repo}`.strip
71
71
  puts "Welcome to the tacoma shell"
72
- system("bash --login")
72
+ shell = ENV['SHELL'].split('/').last
73
+ options =
74
+ case shell
75
+ when 'zsh'
76
+ ''
77
+ else
78
+ '--login'
79
+ end
80
+ system("#{shell} #{options}")
73
81
  Process.kill(:SIGQUIT, Process.getpgid(Process.ppid))
74
82
  end
75
83
 
@@ -91,4 +99,3 @@ module Tacoma
91
99
  end
92
100
 
93
101
  end
94
-
@@ -1,3 +1,3 @@
1
1
  module Tacoma
2
- VERSION='1.0.5'
2
+ VERSION='1.0.6'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tacoma
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Lupión
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-08 00:00:00.000000000 Z
11
+ date: 2014-04-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor