warp-dir 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -1
- data/Rakefile +5 -2
- data/bin/console +1 -0
- data/bin/setup +1 -0
- data/bin/warp-dir +3 -4
- data/bin/warp-dir.bash +13 -4
- data/lib/warp/dir/app/response.rb +1 -1
- data/lib/warp/dir/command/help.rb +6 -5
- data/lib/warp/dir/version.rb +37 -1
- data/warp-dir.gemspec +3 -27
- metadata +13 -30
- data/.idea/warp-dir.iml +0 -238
- data/Gemfile +0 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 85f7d0d955f09ea1659fe34174a10a36840d7ded
|
4
|
+
data.tar.gz: 7ae441238d30b5795d4f309530338f09fa8ec4e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cc00a401aebc98c4135ef1a04456896d32baa3cb772d821b5674448cac040a43935a3b63db6428b64d2e2767600cd3fd454b8a94392b0e5ac1779723d67d086b
|
7
|
+
data.tar.gz: f7cd6f85fdec69f52301d802eb5186cadcf7f566bb5f3c537c2b73b425a255a54b50803679d6a2d0484300872b28ecf62c5d4f51eb129fce4c23813818eeb9cd
|
data/.gitignore
CHANGED
data/Rakefile
CHANGED
@@ -1,5 +1,4 @@
|
|
1
1
|
task :default => [:rspec ]
|
2
|
-
|
3
2
|
task :install do
|
4
3
|
[
|
5
4
|
%q(chmod -R o+r .),
|
@@ -13,7 +12,11 @@ task :install do
|
|
13
12
|
sh <<-EOF
|
14
13
|
export gem_file=$(ls -1 *.gem | tail -1)
|
15
14
|
export gem_name=${gem_file//.gem/}
|
16
|
-
|
15
|
+
if [ "$(which ruby)" == "/usr/bin/ruby" ]; then
|
16
|
+
gem install $gem_file -n /usr/local/bin --no-ri --no-rdoc
|
17
|
+
else
|
18
|
+
gem install $gem_file --no-ri --no-rdoc
|
19
|
+
fi
|
17
20
|
EOF
|
18
21
|
exit 0
|
19
22
|
end
|
data/bin/console
CHANGED
data/bin/setup
CHANGED
data/bin/warp-dir
CHANGED
@@ -1,13 +1,12 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
|
3
|
-
require 'bundler/setup'
|
4
|
-
|
5
3
|
lib_path = File.dirname(__FILE__) + '/../lib'
|
6
4
|
if File.exist?(lib_path)
|
7
5
|
$LOAD_PATH << lib_path
|
8
|
-
require 'warp/dir'
|
9
|
-
require 'warp/dir/app/cli'
|
10
6
|
end
|
11
7
|
|
8
|
+
require 'warp/dir'
|
9
|
+
require 'warp/dir/app/cli'
|
10
|
+
|
12
11
|
response = Warp::Dir::App::CLI.new(ARGV.dup).run
|
13
12
|
response.print.exit! if response
|
data/bin/warp-dir.bash
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
# warp-dir shell wrapper
|
4
4
|
wd() {
|
5
|
-
if [ -z "${warp_dir_exec_installed}" ]; then
|
5
|
+
if [ -z "${warp_dir_exec_installed}" -o "${warp_dir_exec_installed}" == "1" ]; then
|
6
6
|
$(which 'warp-dir') 2>&1 > /dev/null
|
7
7
|
export warp_dir_exec_installed=$?
|
8
8
|
fi
|
@@ -12,14 +12,23 @@ wd() {
|
|
12
12
|
IFS="+"
|
13
13
|
output=$(WARP_DIR_SHELL=yes warp-dir $@ 2>&1)
|
14
14
|
code=$?
|
15
|
-
|
16
|
-
|
15
|
+
if [ $code -eq 127 ]; then
|
16
|
+
unset warp_dir_exec_installed
|
17
|
+
wd_not_found
|
18
|
+
else
|
19
|
+
eval ${output}
|
20
|
+
IFS=$IFS_BACKUP
|
21
|
+
fi
|
17
22
|
else
|
23
|
+
wd_not_found
|
24
|
+
fi
|
25
|
+
}
|
26
|
+
|
27
|
+
wd_not_found() {
|
18
28
|
printf "\nWhoops – I can't find 'warp-dir' executable.\n"
|
19
29
|
printf "Is the gem properly installed?\n"
|
20
30
|
printf "\nTry reinstalling the gem with, for example:\n\n"
|
21
31
|
printf " $ gem install warp-dir --no-wrappers\n"
|
22
32
|
printf " $ hash -r\n"
|
23
33
|
printf " $ warp-dir install [ --dotfile ~/.bashrc ]\n"
|
24
|
-
fi
|
25
34
|
}
|
@@ -18,7 +18,7 @@ module Warp
|
|
18
18
|
under_shell ? stream.printf(%Q{printf '\\n'; }) : stream.printf("\n")
|
19
19
|
else
|
20
20
|
msg.split("\n").each do |line|
|
21
|
-
under_shell ? stream.printf(%Q{printf -- '#{line}\\n';}) : stream.printf("#{line}\n")
|
21
|
+
under_shell ? stream.printf(%Q{printf -- '#{line.gsub(/['`]/, '\"')}\\n';}) : stream.printf("#{line}\n")
|
22
22
|
end
|
23
23
|
end
|
24
24
|
end
|
@@ -37,6 +37,7 @@ class Warp::Dir::Command::Help < Warp::Dir::Command
|
|
37
37
|
end
|
38
38
|
|
39
39
|
USAGE = <<EOF
|
40
|
+
|
40
41
|
#{"Usage:".bold.green} wd [ --command ] [ list | help ] [ wd-flags ]
|
41
42
|
wd [ --command ] [ [ warp ] | add [-f] | rm | ls ] [ wd flags ] <point> -- [ cmd-flags ]
|
42
43
|
wd --help | help
|
@@ -45,11 +46,11 @@ EOF
|
|
45
46
|
EXAMPLES = <<EOF
|
46
47
|
|
47
48
|
#{'Examples'.bold.green}
|
48
|
-
wd add proj add current directory as a warp point
|
49
|
-
cd
|
50
|
-
wd proj jumps to proj
|
51
|
-
wd list lists all points
|
52
|
-
wd rm proj removes proj
|
49
|
+
wd add proj # add current directory as a warp point
|
50
|
+
wd ~/ # wd works just like 'cd' for regular folders
|
51
|
+
wd proj # jumps to proj
|
52
|
+
wd list # lists all 'bookmarked' points
|
53
|
+
wd rm proj # removes proj
|
53
54
|
EOF
|
54
55
|
|
55
56
|
if ::Warp::Dir::Command::Install.wrapper_installed?
|
data/lib/warp/dir/version.rb
CHANGED
@@ -1,6 +1,42 @@
|
|
1
|
+
require 'colored'
|
1
2
|
module Warp
|
2
3
|
module Dir
|
3
|
-
VERSION = '1.1.
|
4
|
+
VERSION = '1.1.3'
|
5
|
+
|
6
|
+
@install_notice = <<-EOF
|
7
|
+
|
8
|
+
#{'>>> PLEASE READ THIS! '.bold.yellow}
|
9
|
+
|
10
|
+
For this gem to work, you must also install the coupled shell function
|
11
|
+
into your shell initialization file. The following command should complete the
|
12
|
+
setup (but please change '~/.bash_login' with whatever you use for shell
|
13
|
+
initialization, although for most situations ~/.bash_login is good enough).
|
14
|
+
|
15
|
+
EOF
|
16
|
+
@install_notice += <<-EOF.bold.green
|
17
|
+
$ warp-dir install --dotfile ~/.bash_login
|
18
|
+
|
19
|
+
EOF
|
20
|
+
@install_notice += <<-EOF
|
21
|
+
Restart your shell, and you should now have 'wd' shell function that
|
22
|
+
should be used instead of the warp-dir executable.
|
23
|
+
|
24
|
+
Start with:
|
25
|
+
|
26
|
+
EOF
|
27
|
+
@install_notice += <<-EOF.bold.blue
|
28
|
+
$ wd help
|
29
|
+
$ wd <directory> # change directory – works just like "cd"
|
30
|
+
$ wd add <name> # add current directory as a warp point, call it <name>
|
31
|
+
EOF
|
32
|
+
@install_notice += <<-EOF
|
33
|
+
|
34
|
+
Please submit issues to:
|
35
|
+
https://github.com/kigster/warp-dir
|
36
|
+
|
37
|
+
Thank you!
|
38
|
+
EOF
|
39
|
+
INSTALL_NOTICE = @install_notice
|
4
40
|
end
|
5
41
|
end
|
6
42
|
|
data/warp-dir.gemspec
CHANGED
@@ -14,37 +14,13 @@ Gem::Specification.new do |gem|
|
|
14
14
|
gem.description = %q{Warp-Dir is compatible (and inspired by) the popular 'wd' tool available as a ZSH module. This one is written in ruby and so it should work in any shell. Credits for the original zsh-only tool go to (https://github.com/mfaerevaag/wd).}
|
15
15
|
gem.homepage = "https://github.com/kigster/warp-dir"
|
16
16
|
|
17
|
-
gem.files = `git ls-files`.split($\).reject{ |f| f =~ /^doc
|
17
|
+
gem.files = `git ls-files`.split($\).reject{ |f| f =~ /^doc\/|Gemfile/ }
|
18
18
|
gem.executables << 'warp-dir'
|
19
19
|
|
20
|
-
gem.post_install_message
|
21
|
-
|
22
|
-
PLEASE NOTE:
|
23
|
-
|
24
|
-
For this gem to work, you must also install the coupled shell function
|
25
|
-
into your ~/.bashrc file (or any other shell initialization file). The
|
26
|
-
following command should complete the setup.
|
27
|
-
|
28
|
-
$ warp-dir install
|
29
|
-
|
30
|
-
By default, the installer will check common "rc" scripts, but you can
|
31
|
-
tell warp-dir where to add shell wrapper with --dotfile <filename>, i.e.
|
32
|
-
|
33
|
-
$ warp-dir install --dotfile ~/.bashrc
|
34
|
-
|
35
|
-
Restart your shell, and you should now have 'wd' shell function that
|
36
|
-
should be used instead of the warp-dir executable.
|
37
|
-
|
38
|
-
Start with
|
39
|
-
|
40
|
-
$ wd help
|
41
|
-
|
42
|
-
Thank you!
|
43
|
-
|
44
|
-
EOF
|
20
|
+
gem.post_install_message = ::Warp::Dir::INSTALL_NOTICE
|
45
21
|
|
46
22
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
47
|
-
gem.require_paths =
|
23
|
+
gem.require_paths = %w(lib)
|
48
24
|
|
49
25
|
gem.add_dependency('slop', '~> 4.2')
|
50
26
|
gem.add_dependency('colored', '~> 1')
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: warp-dir
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Konstantin Gredeskoul
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-03-
|
11
|
+
date: 2016-03-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: slop
|
@@ -112,11 +112,9 @@ files:
|
|
112
112
|
- ".idea/modules.xml"
|
113
113
|
- ".idea/runConfigurations/All_Specs.xml"
|
114
114
|
- ".idea/vcs.xml"
|
115
|
-
- ".idea/warp-dir.iml"
|
116
115
|
- ".rspec"
|
117
116
|
- ".rubocop.yml"
|
118
117
|
- ".travis.yml"
|
119
|
-
- Gemfile
|
120
118
|
- Guardfile
|
121
119
|
- LICENSE
|
122
120
|
- README.md
|
@@ -167,30 +165,16 @@ homepage: https://github.com/kigster/warp-dir
|
|
167
165
|
licenses:
|
168
166
|
- MIT
|
169
167
|
metadata: {}
|
170
|
-
post_install_message:
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
By default, the installer will check common "rc" scripts, but you can
|
181
|
-
tell warp-dir where to add shell wrapper with --dotfile <filename>, i.e.
|
182
|
-
|
183
|
-
$ warp-dir install --dotfile ~/.bashrc
|
184
|
-
|
185
|
-
Restart your shell, and you should now have 'wd' shell function that
|
186
|
-
should be used instead of the warp-dir executable.
|
187
|
-
|
188
|
-
Start with
|
189
|
-
|
190
|
-
$ wd help
|
191
|
-
|
192
|
-
Thank you!
|
193
|
-
|
168
|
+
post_install_message: "\n\e[33m\e[1m>>> PLEASE READ THIS! \e[0m\e[0m\n\nFor this gem
|
169
|
+
to work, you must also install the coupled shell function\ninto your shell initialization
|
170
|
+
file. The following command should complete the\nsetup (but please change '~/.bash_login'
|
171
|
+
with whatever you use for shell\ninitialization, although for most situations ~/.bash_login
|
172
|
+
is good enough).\n\n\e[32m\e[1m $ warp-dir install --dotfile ~/.bash_login\n\n\e[0m\e[0mRestart
|
173
|
+
your shell, and you should now have 'wd' shell function that\nshould be used instead
|
174
|
+
of the warp-dir executable.\n\nStart with:\n\n\e[34m\e[1m $ wd help\n $ wd <directory>
|
175
|
+
\ # change directory – works just like \"cd\"\n $ wd add <name> # add current
|
176
|
+
directory as a warp point, call it <name>\n\e[0m\e[0m\nPlease submit issues to:\nhttps://github.com/kigster/warp-dir\n\nThank
|
177
|
+
you!\n"
|
194
178
|
rdoc_options: []
|
195
179
|
require_paths:
|
196
180
|
- lib
|
@@ -206,7 +190,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
206
190
|
version: '0'
|
207
191
|
requirements: []
|
208
192
|
rubyforge_project:
|
209
|
-
rubygems_version: 2.
|
193
|
+
rubygems_version: 2.5.1
|
210
194
|
signing_key:
|
211
195
|
specification_version: 4
|
212
196
|
summary: Warp-Dir (aka 'wd') is a command line tool that lets you bookmark any folders,
|
@@ -226,4 +210,3 @@ test_files:
|
|
226
210
|
- spec/warp/dir/formatter_spec.rb
|
227
211
|
- spec/warp/dir/point_spec.rb
|
228
212
|
- spec/warp/dir/store_spec.rb
|
229
|
-
has_rdoc:
|
data/.idea/warp-dir.iml
DELETED
@@ -1,238 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<module type="RUBY_MODULE" version="4">
|
3
|
-
<component name="FacetManager">
|
4
|
-
<facet type="gem" name="New Gem">
|
5
|
-
<configuration>
|
6
|
-
<option name="GEM_APP_ROOT_PATH" value="$MODULE_DIR$" />
|
7
|
-
<option name="GEM_APP_TEST_PATH" value="" />
|
8
|
-
<option name="GEM_APP_LIB_PATH" value="$MODULE_DIR$/lib" />
|
9
|
-
</configuration>
|
10
|
-
</facet>
|
11
|
-
</component>
|
12
|
-
<component name="ModuleRunConfigurationManager">
|
13
|
-
<configuration default="false" name="All Specs" type="RSpecRunConfigurationType" factoryName="RSpec">
|
14
|
-
<predefined_log_file id="RUBY_RSPEC" enabled="true" />
|
15
|
-
<module name="warp-dir" />
|
16
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
17
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="$MODULE_DIR$" />
|
18
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
|
19
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
|
20
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
21
|
-
<envs />
|
22
|
-
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
|
23
|
-
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
24
|
-
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
25
|
-
<COVERAGE_PATTERN ENABLED="true">
|
26
|
-
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
27
|
-
</COVERAGE_PATTERN>
|
28
|
-
</EXTENSION>
|
29
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="$MODULE_DIR$/spec" />
|
30
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
|
31
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
|
32
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb" />
|
33
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="" />
|
34
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="ALL_IN_FOLDER" />
|
35
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_ARGS" VALUE="" />
|
36
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
|
37
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_SPEC_RUNNER" VALUE="false" />
|
38
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
|
39
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
|
40
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
|
41
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="true" />
|
42
|
-
<method />
|
43
|
-
</configuration>
|
44
|
-
<configuration default="false" name="Warp::Dir::Store with no existin warprc file creates the file when adding points: warp-dir" type="RSpecRunConfigurationType" factoryName="RSpec" temporary="true">
|
45
|
-
<predefined_log_file id="RUBY_RSPEC" enabled="true" />
|
46
|
-
<module name="warp-dir" />
|
47
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
48
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="$MODULE_DIR$" />
|
49
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
|
50
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
|
51
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
52
|
-
<envs>
|
53
|
-
<env name="JRUBY_OPTS" value="-X+O" />
|
54
|
-
</envs>
|
55
|
-
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
|
56
|
-
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
57
|
-
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
58
|
-
<COVERAGE_PATTERN ENABLED="true">
|
59
|
-
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
60
|
-
</COVERAGE_PATTERN>
|
61
|
-
</EXTENSION>
|
62
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
|
63
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="$MODULE_DIR$/spec/warp/dir/store_spec.rb" />
|
64
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
|
65
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb" />
|
66
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="Warp::Dir::Store with no existin warprc file creates the file when adding points" />
|
67
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
|
68
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_ARGS" VALUE="" />
|
69
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
|
70
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_SPEC_RUNNER" VALUE="false" />
|
71
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
|
72
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
|
73
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
|
74
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
|
75
|
-
<method />
|
76
|
-
</configuration>
|
77
|
-
<configuration default="false" name="Warp::Dir::Store: warp-dir" type="RSpecRunConfigurationType" factoryName="RSpec" temporary="true">
|
78
|
-
<predefined_log_file id="RUBY_RSPEC" enabled="true" />
|
79
|
-
<module name="warp-dir" />
|
80
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
81
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="$MODULE_DIR$" />
|
82
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
|
83
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
|
84
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
85
|
-
<envs>
|
86
|
-
<env name="JRUBY_OPTS" value="-X+O" />
|
87
|
-
</envs>
|
88
|
-
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
|
89
|
-
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
90
|
-
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
91
|
-
<COVERAGE_PATTERN ENABLED="true">
|
92
|
-
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
93
|
-
</COVERAGE_PATTERN>
|
94
|
-
</EXTENSION>
|
95
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
|
96
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="$MODULE_DIR$/spec/warp/dir/store_spec.rb" />
|
97
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
|
98
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb" />
|
99
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="Warp::Dir::Store" />
|
100
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
|
101
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_ARGS" VALUE="" />
|
102
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
|
103
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_SPEC_RUNNER" VALUE="false" />
|
104
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
|
105
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
|
106
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
|
107
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
|
108
|
-
<method />
|
109
|
-
</configuration>
|
110
|
-
<configuration default="false" name="Warp::Dir::App::CLI: warp-dir" type="RSpecRunConfigurationType" factoryName="RSpec" temporary="true">
|
111
|
-
<predefined_log_file id="RUBY_RSPEC" enabled="true" />
|
112
|
-
<module name="warp-dir" />
|
113
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
114
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="$MODULE_DIR$" />
|
115
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
|
116
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
|
117
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
118
|
-
<envs>
|
119
|
-
<env name="JRUBY_OPTS" value="-X+O" />
|
120
|
-
</envs>
|
121
|
-
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
|
122
|
-
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
123
|
-
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
124
|
-
<COVERAGE_PATTERN ENABLED="true">
|
125
|
-
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
126
|
-
</COVERAGE_PATTERN>
|
127
|
-
</EXTENSION>
|
128
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
|
129
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="$MODULE_DIR$/spec/warp/dir/app/cli_spec.rb" />
|
130
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
|
131
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb" />
|
132
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="Warp::Dir::App::CLI" />
|
133
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
|
134
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_ARGS" VALUE="" />
|
135
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
|
136
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_SPEC_RUNNER" VALUE="false" />
|
137
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
|
138
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
|
139
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
|
140
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
|
141
|
-
<method />
|
142
|
-
</configuration>
|
143
|
-
<configuration default="false" name="Warp::Dir::App::CLI when running command with a point arg, such as warp <point>: warp-dir" type="RSpecRunConfigurationType" factoryName="RSpec" temporary="true">
|
144
|
-
<predefined_log_file id="RUBY_RSPEC" enabled="true" />
|
145
|
-
<module name="warp-dir" />
|
146
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
147
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="$MODULE_DIR$" />
|
148
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
|
149
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
|
150
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
151
|
-
<envs>
|
152
|
-
<env name="JRUBY_OPTS" value="-X+O" />
|
153
|
-
</envs>
|
154
|
-
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
|
155
|
-
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
156
|
-
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
157
|
-
<COVERAGE_PATTERN ENABLED="true">
|
158
|
-
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
159
|
-
</COVERAGE_PATTERN>
|
160
|
-
</EXTENSION>
|
161
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
|
162
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="$MODULE_DIR$/spec/warp/dir/app/cli_spec.rb" />
|
163
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
|
164
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb" />
|
165
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="Warp::Dir::App::CLI when running command with a point arg, such as warp <point>" />
|
166
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
|
167
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_ARGS" VALUE="" />
|
168
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
|
169
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_SPEC_RUNNER" VALUE="false" />
|
170
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
|
171
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
|
172
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
|
173
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
|
174
|
-
<method />
|
175
|
-
</configuration>
|
176
|
-
<configuration default="false" name="Warp::Dir::App::CLI when running command with a point arg, such as warp <point> when using --command: warp-dir" type="RSpecRunConfigurationType" factoryName="RSpec" temporary="true">
|
177
|
-
<predefined_log_file id="RUBY_RSPEC" enabled="true" />
|
178
|
-
<module name="warp-dir" />
|
179
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
180
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="$MODULE_DIR$" />
|
181
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
|
182
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
|
183
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
184
|
-
<envs>
|
185
|
-
<env name="JRUBY_OPTS" value="-X+O" />
|
186
|
-
</envs>
|
187
|
-
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
|
188
|
-
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
189
|
-
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
190
|
-
<COVERAGE_PATTERN ENABLED="true">
|
191
|
-
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
192
|
-
</COVERAGE_PATTERN>
|
193
|
-
</EXTENSION>
|
194
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
|
195
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="$MODULE_DIR$/spec/warp/dir/app/cli_spec.rb" />
|
196
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
|
197
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb" />
|
198
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="Warp::Dir::App::CLI when running command with a point arg, such as warp <point> when using --command" />
|
199
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
|
200
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_ARGS" VALUE="" />
|
201
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
|
202
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_SPEC_RUNNER" VALUE="false" />
|
203
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
|
204
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
|
205
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
|
206
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
|
207
|
-
<method />
|
208
|
-
</configuration>
|
209
|
-
</component>
|
210
|
-
<component name="NewModuleRootManager">
|
211
|
-
<content url="file://$MODULE_DIR$">
|
212
|
-
<sourceFolder url="file://$MODULE_DIR$/spec" isTestSource="true" />
|
213
|
-
<excludeFolder url="file://$MODULE_DIR$/.bundle" />
|
214
|
-
<excludeFolder url="file://$MODULE_DIR$/vendor/bundle" />
|
215
|
-
</content>
|
216
|
-
<orderEntry type="jdk" jdkName="ruby-2.3.0-p0" jdkType="RUBY_SDK" />
|
217
|
-
<orderEntry type="sourceFolder" forTests="false" />
|
218
|
-
<orderEntry type="library" scope="PROVIDED" name="bundler (v1.11.2, ruby-2.3.0-p0) [gem]" level="application" />
|
219
|
-
<orderEntry type="library" scope="PROVIDED" name="chef (v12.6.0, ruby-2.3.0-p0) [gem]" level="application" />
|
220
|
-
<orderEntry type="library" scope="PROVIDED" name="codeclimate-test-reporter (v0.5.0, ruby-2.3.0-p0) [gem]" level="application" />
|
221
|
-
<orderEntry type="library" scope="PROVIDED" name="colored (v1.2, ruby-2.3.0-p0) [gem]" level="application" />
|
222
|
-
<orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.2.5, ruby-2.3.0-p0) [gem]" level="application" />
|
223
|
-
<orderEntry type="library" scope="PROVIDED" name="docile (v1.1.5, ruby-2.3.0-p0) [gem]" level="application" />
|
224
|
-
<orderEntry type="library" scope="PROVIDED" name="rake (v10.5.0, ruby-2.3.0-p0) [gem]" level="application" />
|
225
|
-
<orderEntry type="library" scope="PROVIDED" name="rspec (v3.4.0, ruby-2.3.0-p0) [gem]" level="application" />
|
226
|
-
<orderEntry type="library" scope="PROVIDED" name="rspec-core (v3.4.3, ruby-2.3.0-p0) [gem]" level="application" />
|
227
|
-
<orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v3.4.0, ruby-2.3.0-p0) [gem]" level="application" />
|
228
|
-
<orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v3.4.1, ruby-2.3.0-p0) [gem]" level="application" />
|
229
|
-
<orderEntry type="library" scope="PROVIDED" name="rspec-support (v3.4.1, ruby-2.3.0-p0) [gem]" level="application" />
|
230
|
-
<orderEntry type="library" scope="PROVIDED" name="simplecov (v0.11.2, ruby-2.3.0-p0) [gem]" level="application" />
|
231
|
-
<orderEntry type="library" scope="PROVIDED" name="simplecov-html (v0.10.0, ruby-2.3.0-p0) [gem]" level="application" />
|
232
|
-
<orderEntry type="library" scope="PROVIDED" name="slop (v4.2.1, ruby-2.3.0-p0) [gem]" level="application" />
|
233
|
-
</component>
|
234
|
-
<component name="RModuleSettingsStorage">
|
235
|
-
<LOAD_PATH number="2" string0="$MODULE_DIR$/lib" string1="$MODULE_DIR$/spec" />
|
236
|
-
<I18N_FOLDERS number="0" />
|
237
|
-
</component>
|
238
|
-
</module>
|
data/Gemfile
DELETED