File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 1
1
# -*- coding: utf-8 -*-
2
2
# Name:: Automatic::Plugin::Publish::Eject
3
3
# Author:: soramugi <http://soramugi.net>
4
+ # 774 <http://id774.net>
4
5
# Created:: Jun 9, 2013
5
- # Updated:: Jan 15 , 2014
6
+ # Updated:: May 16 , 2014
6
7
# Copyright:: Copyright (c) 2012-2014 Automatic Ruby Developers.
7
8
# License:: Licensed under the GNU GENERAL PUBLIC LICENSE, Version 3.0.
8
9
@@ -32,9 +33,9 @@ def run
32
33
end
33
34
34
35
def eject_cmd
35
- if `type -P eject` != '' # linux
36
+ if `which eject` != '' # linux
36
37
'eject ; eject -t'
37
- elsif `type -P drutil` != '' # mac
38
+ elsif `which drutil` != '' # mac
38
39
'drutil tray eject ; drutil tray close'
39
40
end
40
41
end
Original file line number Diff line number Diff line change 23
23
kickstart () {
24
24
export RACK_ROOT=" ."
25
25
export RACK_ENV=" test"
26
- export DATABASE_URL=" $RACK_ROOT /db"
26
+ # export DATABASE_URL="$RACK_ROOT/db"
27
27
ruby -v
28
28
test_subcommand log info started.
29
29
}
30
30
31
31
exec_rspec () {
32
32
$RACK_ROOT /bin/automatic -v
33
- bundle install --path vendor/gems
33
+ # bundle install --path vendor/gems
34
34
bundle update
35
35
bundle exec rake simplecov
36
36
}
You can’t perform that action at this time.
0 commit comments