script_executor 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/.idea/.name ADDED
@@ -0,0 +1 @@
1
+ script_executor
data/.idea/.rakeTasks ADDED
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <Settings><!--This file was automatically generated by Ruby plugin.
3
+ You are allowed to:
4
+ 1. Remove rake task
5
+ 2. Add existing rake tasks
6
+ To add existing rake tasks automatically delete this file and reload the project.
7
+ --><RakeGroup description="" fullCmd="" taksId="rake" /></Settings>
@@ -0,0 +1,5 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="Encoding" useUTFGuessing="true" native2AsciiForPropertiesFiles="false" />
4
+ </project>
5
+
data/.idea/misc.xml ADDED
@@ -0,0 +1,5 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectRootManager" version="2" project-jdk-name="RVM: ruby-1.9.3-p327 [script_executor]" project-jdk-type="RUBY_SDK" />
4
+ </project>
5
+
data/.idea/modules.xml ADDED
@@ -0,0 +1,9 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectModuleManager">
4
+ <modules>
5
+ <module fileurl="file://$PROJECT_DIR$/.idea/script_executor.iml" filepath="$PROJECT_DIR$/.idea/script_executor.iml" />
6
+ </modules>
7
+ </component>
8
+ </project>
9
+
@@ -0,0 +1,5 @@
1
+ <component name="DependencyValidationManager">
2
+ <state>
3
+ <option name="SKIP_IMPORT_STATEMENTS" value="false" />
4
+ </state>
5
+ </component>
@@ -0,0 +1,31 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module type="RUBY_MODULE" version="4">
3
+ <component name="FacetManager">
4
+ <facet type="gem" name="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="NewModuleRootManager">
13
+ <content url="file://$MODULE_DIR$" />
14
+ <orderEntry type="inheritedJdk" />
15
+ <orderEntry type="sourceFolder" forTests="false" />
16
+ <orderEntry type="library" scope="PROVIDED" name="bundler (v1.2.3, RVM: ruby-1.9.3-p327 [script_executor]) [gem]" level="application" />
17
+ <orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.1.3, RVM: ruby-1.9.3-p327 [script_executor]) [gem]" level="application" />
18
+ <orderEntry type="library" scope="PROVIDED" name="file_utils (v1.0.5, RVM: ruby-1.9.3-p327 [script_executor]) [gem]" level="application" />
19
+ <orderEntry type="library" scope="PROVIDED" name="gemcutter (v0.7.1, RVM: ruby-1.9.3-p327 [script_executor]) [gem]" level="application" />
20
+ <orderEntry type="library" scope="PROVIDED" name="gemspec_deps_gen (v1.0.5, RVM: ruby-1.9.3-p327 [script_executor]) [gem]" level="application" />
21
+ <orderEntry type="library" scope="PROVIDED" name="highline (v1.6.15, RVM: ruby-1.9.3-p327 [script_executor]) [gem]" level="application" />
22
+ <orderEntry type="library" scope="PROVIDED" name="metaclass (v0.0.1, RVM: ruby-1.9.3-p327 [script_executor]) [gem]" level="application" />
23
+ <orderEntry type="library" scope="PROVIDED" name="mocha (v0.13.1, RVM: ruby-1.9.3-p327 [script_executor]) [gem]" level="application" />
24
+ <orderEntry type="library" scope="PROVIDED" name="net-ssh (v2.6.2, RVM: ruby-1.9.3-p327 [script_executor]) [gem]" level="application" />
25
+ <orderEntry type="library" scope="PROVIDED" name="rspec (v2.12.0, RVM: ruby-1.9.3-p327 [script_executor]) [gem]" level="application" />
26
+ <orderEntry type="library" scope="PROVIDED" name="rspec-core (v2.12.1, RVM: ruby-1.9.3-p327 [script_executor]) [gem]" level="application" />
27
+ <orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v2.12.0, RVM: ruby-1.9.3-p327 [script_executor]) [gem]" level="application" />
28
+ <orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v2.12.0, RVM: ruby-1.9.3-p327 [script_executor]) [gem]" level="application" />
29
+ </component>
30
+ </module>
31
+
data/.idea/vcs.xml ADDED
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="VcsDirectoryMappings">
4
+ <mapping directory="$PROJECT_DIR$" vcs="Git" />
5
+ </component>
6
+ </project>
7
+
@@ -0,0 +1,593 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ChangeListManager">
4
+ <list default="true" id="6995392e-f204-4557-be32-fd20f300d877" name="Default" comment="">
5
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/CHANGES" afterPath="$PROJECT_DIR$/CHANGES" />
6
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/Gemfile.lock" afterPath="$PROJECT_DIR$/Gemfile.lock" />
7
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/Gemfile" afterPath="$PROJECT_DIR$/Gemfile" />
8
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/Rakefile" afterPath="$PROJECT_DIR$/Rakefile" />
9
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/script_executor.gemspec" afterPath="$PROJECT_DIR$/script_executor.gemspec" />
10
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/script_executor/script_executor.rb" afterPath="$PROJECT_DIR$/lib/script_executor/script_executor.rb" />
11
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/spec/script_executor_spec.rb" afterPath="$PROJECT_DIR$/spec/script_executor_spec.rb" />
12
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/script_executor/version.rb" afterPath="$PROJECT_DIR$/lib/script_executor/version.rb" />
13
+ </list>
14
+ <ignored path="script_executor.iws" />
15
+ <ignored path=".idea/workspace.xml" />
16
+ <file path="/Dummy.txt" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355016192912" ignored="false" />
17
+ <file path="/Gemfile" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355063712662" ignored="false" />
18
+ <file path="/script_executor_spec.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355059359540" ignored="false" />
19
+ <file path="$PROJECT_DIR$/../../ui/src/thor/oracle_client.thor" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355059278885" ignored="false" />
20
+ <file path="/oracle_client.thor" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355059278885" ignored="false" />
21
+ <file path="$PROJECT_DIR$/../../ui/src/docs/how-to-install-tools-on-mountain-lion.txt" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355061472364" ignored="false" />
22
+ <file path="/how-to-install-tools-on-mountain-lion.txt" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355061463842" ignored="false" />
23
+ <file path="$USER_HOME$/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/rubygems.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355061482853" ignored="false" />
24
+ <file path="$USER_HOME$/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/syck.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355061482853" ignored="false" />
25
+ <file path="$USER_HOME$/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/mkmf.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355061482853" ignored="false" />
26
+ <file path="$USER_HOME$/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/multi-tk.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355061482853" ignored="false" />
27
+ <file path="$USER_HOME$/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/set.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355061482854" ignored="false" />
28
+ <file path="$USER_HOME$/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/json/common.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355061482854" ignored="false" />
29
+ <file path="$USER_HOME$/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/tkextlib/tile.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355061482854" ignored="false" />
30
+ <file path="$USER_HOME$/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/rexml/xpath_parser.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355061482854" ignored="false" />
31
+ <file path="$USER_HOME$/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/tk.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355061482854" ignored="false" />
32
+ <file path="$USER_HOME$/.rvm/gems/ruby-1.9.3-p327@script_executor/gems/rspec-expectations-2.12.0/lib/rspec/matchers.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355061696975" ignored="false" />
33
+ <file path="$USER_HOME$/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/tk/autoload.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355061482854" ignored="false" />
34
+ <file path="$USER_HOME$/.rvm/gems/ruby-1.9.3-p327@script_executor/gems/mocha-0.13.1/lib/mocha/object_methods.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355061696975" ignored="false" />
35
+ <file path="$USER_HOME$/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/tk/validation.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355061482854" ignored="false" />
36
+ <file path="$USER_HOME$/.rvm/gems/ruby-1.9.3-p327@global/gems/bundler-1.2.3/lib/bundler/dsl.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355061482854" ignored="false" />
37
+ <file path="$USER_HOME$/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/tk/variable.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355061482855" ignored="false" />
38
+ <file path="$USER_HOME$/.rvm/gems/ruby-1.9.3-p327@script_executor/gems/mocha-0.13.1/lib/mocha/inspect.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355061696975" ignored="false" />
39
+ <file path="$USER_HOME$/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/tkextlib/version.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355061482855" ignored="false" />
40
+ <file path="$USER_HOME$/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/tkextlib/bwidget/buttonbox.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355061482855" ignored="false" />
41
+ <file path="$USER_HOME$/.rvm/gems/ruby-1.9.3-p327@script_executor/gems/rspec-expectations-2.12.0/lib/rspec/matchers/built_in/cover.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355061696974" ignored="false" />
42
+ <file path="$USER_HOME$/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/tkextlib/blt/vector.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355061482855" ignored="false" />
43
+ <file path="$USER_HOME$/.rvm/gems/ruby-1.9.3-p327@script_executor/gems/rspec-core-2.12.1/lib/rspec/core/extensions/kernel.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355061696975" ignored="false" />
44
+ <file path="$USER_HOME$/.rvm/gems/ruby-1.9.3-p327@script_executor/gems/rspec-expectations-2.12.0/lib/rspec/matchers/built_in/have.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355061696975" ignored="false" />
45
+ <file path="$USER_HOME$/.rvm/gems/ruby-1.9.3-p327@script_executor/gems/rspec-expectations-2.12.0/lib/rspec/matchers/generated_descriptions.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355061696976" ignored="false" />
46
+ <file path="$USER_HOME$/.rvm/gems/ruby-1.9.3-p327@script_executor/gems/rspec-expectations-2.12.0/lib/rspec/matchers/matcher.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355061696976" ignored="false" />
47
+ <file path="$USER_HOME$/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/tkextlib/tile/tnotebook.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355061482855" ignored="false" />
48
+ <file path="$USER_HOME$/.rvm/gems/ruby-1.9.3-p327@script_executor/gems/mocha-0.13.1/lib/mocha/parameter_matchers/object.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355061696975" ignored="false" />
49
+ <file path="$USER_HOME$/.rvm/gems/ruby-1.9.3-p327@script_executor/gems/rspec-expectations-2.12.0/lib/rspec/matchers/built_in/respond_to.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355061696975" ignored="false" />
50
+ <file path="$USER_HOME$/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/tkextlib/tile/tradiobutton.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355061482855" ignored="false" />
51
+ <file path="$USER_HOME$/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/tkextlib/tile/treeview.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355061482855" ignored="false" />
52
+ <file path="$USER_HOME$/.rvm/gems/ruby-1.9.3-p327@script_executor/gems/rspec-expectations-2.12.0/lib/rspec/expectations/syntax.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355061696975" ignored="false" />
53
+ <file path="$USER_HOME$/.rvm/gems/ruby-1.9.3-p327@script_executor/gems/rspec-expectations-2.12.0/lib/rspec/matchers/extensions/instance_eval_with_args.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355061696975" ignored="false" />
54
+ <file path="$USER_HOME$/.rvm/gems/ruby-1.9.3-p327@script_executor/gems/rspec-expectations-2.12.0/lib/rspec/expectations/version.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355061482855" ignored="false" />
55
+ <file path="$USER_HOME$/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/tkextlib/tile/dialog.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355061482855" ignored="false" />
56
+ <file path="$USER_HOME$/.rvm/gems/ruby-1.9.3-p327@script_executor/gems/rspec-expectations-2.12.0/lib/rspec/matchers/built_in/be_within.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355061696974" ignored="false" />
57
+ <file path="$USER_HOME$/.rvm/gems/ruby-1.9.3-p327@script_executor/gems/rspec-core-2.12.1/lib/rspec/core/formatters/base_text_formatter.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355061483227" ignored="false" />
58
+ <file path="$USER_HOME$/.rvm/gems/ruby-1.9.3-p327@script_executor/gems/rspec-core-2.12.1/lib/rspec/core/mocking/with_flexmock.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355061696975" ignored="false" />
59
+ <file path="$USER_HOME$/.rvm/gems/ruby-1.9.3-p327@script_executor/gems/rspec-expectations-2.12.0/lib/rspec/matchers/built_in/be.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355061696974" ignored="false" />
60
+ <file path="$USER_HOME$/.rvm/gems/ruby-1.9.3-p327@script_executor/gems/rspec-expectations-2.12.0/lib/rspec/matchers/built_in/be_instance_of.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355061696974" ignored="false" />
61
+ <file path="$USER_HOME$/.rvm/gems/ruby-1.9.3-p327@script_executor/gems/rspec-expectations-2.12.0/lib/rspec/matchers/built_in/eq.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355061696975" ignored="false" />
62
+ <file path="$USER_HOME$/.rvm/gems/ruby-1.9.3-p327@script_executor/gems/rspec-expectations-2.12.0/lib/rspec/matchers/built_in/eql.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355061696975" ignored="false" />
63
+ <file path="$USER_HOME$/.rvm/gems/ruby-1.9.3-p327@script_executor/gems/rspec-expectations-2.12.0/lib/rspec/matchers/built_in/exist.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355061696975" ignored="false" />
64
+ <file path="$USER_HOME$/.rvm/gems/ruby-1.9.3-p327@script_executor/gems/rspec-expectations-2.12.0/lib/rspec/matchers/built_in/include.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355061696975" ignored="false" />
65
+ <file path="$USER_HOME$/.rvm/gems/ruby-1.9.3-p327@script_executor/gems/rspec-expectations-2.12.0/lib/rspec/matchers/built_in/match_array.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355061696975" ignored="false" />
66
+ <file path="$USER_HOME$/.rvm/gems/ruby-1.9.3-p327@script_executor/gems/rspec-expectations-2.12.0/lib/rspec/expectations/deprecation.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355061696975" ignored="false" />
67
+ <file path="$USER_HOME$/.rvm/gems/ruby-1.9.3-p327@script_executor/gems/rspec-expectations-2.12.0/lib/rspec/expectations/differ.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355061696975" ignored="false" />
68
+ <file path="$USER_HOME$/.rvm/gems/ruby-1.9.3-p327@script_executor/gems/rspec-expectations-2.12.0/lib/rspec/expectations/expectation_target.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355061696975" ignored="false" />
69
+ <file path="$USER_HOME$/.rvm/gems/ruby-1.9.3-p327@script_executor/gems/rspec-expectations-2.12.0/lib/rspec/matchers/configuration.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355061696976" ignored="false" />
70
+ <file path="$USER_HOME$/.rvm/gems/ruby-1.9.3-p327@script_executor/gems/rspec-expectations-2.12.0/lib/rspec/matchers/dsl.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355061696976" ignored="false" />
71
+ <file path="$USER_HOME$/.rvm/gems/ruby-1.9.3-p327@script_executor/gems/rspec-expectations-2.12.0/lib/rspec/matchers/operator_matcher.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355061696976" ignored="false" />
72
+ <file path="$USER_HOME$/.rvm/gems/ruby-1.9.3-p327@script_executor/gems/rspec-expectations-2.12.0/lib/rspec/matchers/pretty.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355061696976" ignored="false" />
73
+ <file path="$PROJECT_DIR$/../../ui/src/Gemfile" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355062244364" ignored="false" />
74
+ <file path="/fragment.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355062484724" ignored="false" />
75
+ <file path="/script_executor.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355062643063" ignored="false" />
76
+ <file path="/CHANGES" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355062946290" ignored="false" />
77
+ <option name="TRACKING_ENABLED" value="true" />
78
+ <option name="SHOW_DIALOG" value="false" />
79
+ <option name="HIGHLIGHT_CONFLICTS" value="true" />
80
+ <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
81
+ <option name="LAST_RESOLUTION" value="IGNORE" />
82
+ </component>
83
+ <component name="ChangesViewManager" flattened_view="true" show_ignored="false" />
84
+ <component name="CreatePatchCommitExecutor">
85
+ <option name="PATCH_PATH" value="" />
86
+ </component>
87
+ <component name="DaemonCodeAnalyzer">
88
+ <disable_hints />
89
+ </component>
90
+ <component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
91
+ <component name="FileEditorManager">
92
+ <leaf>
93
+ <file leaf-file-name="script_executor_spec.rb" pinned="false" current="false" current-in-tab="false">
94
+ <entry file="file://$PROJECT_DIR$/spec/script_executor_spec.rb">
95
+ <provider selected="true" editor-type-id="text-editor">
96
+ <state line="44" column="129" selection-start="1112" selection-end="1112" vertical-scroll-proportion="0.0">
97
+ <folding />
98
+ </state>
99
+ </provider>
100
+ </entry>
101
+ </file>
102
+ <file leaf-file-name="spec_helper.rb" pinned="false" current="false" current-in-tab="false">
103
+ <entry file="file://$PROJECT_DIR$/spec/spec_helper.rb">
104
+ <provider selected="true" editor-type-id="text-editor">
105
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
106
+ <folding />
107
+ </state>
108
+ </provider>
109
+ </entry>
110
+ </file>
111
+ <file leaf-file-name="script_executor.rb" pinned="false" current="false" current-in-tab="false">
112
+ <entry file="file://$PROJECT_DIR$/lib/script_executor.rb">
113
+ <provider selected="true" editor-type-id="text-editor">
114
+ <state line="2" column="0" selection-start="55" selection-end="55" vertical-scroll-proportion="0.0">
115
+ <folding />
116
+ </state>
117
+ </provider>
118
+ </entry>
119
+ </file>
120
+ <file leaf-file-name="script_executor.rb" pinned="false" current="false" current-in-tab="false">
121
+ <entry file="file://$PROJECT_DIR$/lib/script_executor/script_executor.rb">
122
+ <provider selected="true" editor-type-id="text-editor">
123
+ <state line="159" column="32" selection-start="3474" selection-end="3474" vertical-scroll-proportion="0.0">
124
+ <folding />
125
+ </state>
126
+ </provider>
127
+ </entry>
128
+ </file>
129
+ <file leaf-file-name="version.rb" pinned="false" current="false" current-in-tab="false">
130
+ <entry file="file://$PROJECT_DIR$/lib/script_executor/version.rb">
131
+ <provider selected="true" editor-type-id="text-editor">
132
+ <state line="1" column="18" selection-start="40" selection-end="40" vertical-scroll-proportion="0.0">
133
+ <folding />
134
+ </state>
135
+ </provider>
136
+ </entry>
137
+ </file>
138
+ <file leaf-file-name="Rakefile" pinned="false" current="false" current-in-tab="false">
139
+ <entry file="file://$PROJECT_DIR$/Rakefile">
140
+ <provider selected="true" editor-type-id="text-editor">
141
+ <state line="31" column="121" selection-start="675" selection-end="675" vertical-scroll-proportion="0.0">
142
+ <folding />
143
+ </state>
144
+ </provider>
145
+ </entry>
146
+ </file>
147
+ <file leaf-file-name="CHANGES" pinned="false" current="false" current-in-tab="false">
148
+ <entry file="file://$PROJECT_DIR$/CHANGES">
149
+ <provider selected="true" editor-type-id="text-editor">
150
+ <state line="9" column="43" selection-start="154" selection-end="154" vertical-scroll-proportion="0.0">
151
+ <folding />
152
+ </state>
153
+ </provider>
154
+ </entry>
155
+ </file>
156
+ <file leaf-file-name="Gemfile" pinned="false" current="true" current-in-tab="true">
157
+ <entry file="file://$PROJECT_DIR$/Gemfile">
158
+ <provider selected="true" editor-type-id="text-editor">
159
+ <state line="8" column="24" selection-start="120" selection-end="120" vertical-scroll-proportion="0.2158516">
160
+ <folding />
161
+ </state>
162
+ </provider>
163
+ </entry>
164
+ </file>
165
+ </leaf>
166
+ </component>
167
+ <component name="FindManager">
168
+ <FindUsagesManager>
169
+ <setting name="OPEN_NEW_TAB" value="false" />
170
+ </FindUsagesManager>
171
+ </component>
172
+ <component name="Git.Settings">
173
+ <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
174
+ </component>
175
+ <component name="GitLogSettings">
176
+ <option name="myDateState">
177
+ <MyDateState />
178
+ </option>
179
+ </component>
180
+ <component name="IdeDocumentHistory">
181
+ <option name="changedFiles">
182
+ <list>
183
+ <option value="$PROJECT_DIR$/spec/script_executor_spec.rb" />
184
+ <option value="$PROJECT_DIR$/lib/script_executor/script_executor.rb" />
185
+ <option value="$PROJECT_DIR$/lib/script_executor/version.rb" />
186
+ <option value="$PROJECT_DIR$/CHANGES" />
187
+ <option value="$PROJECT_DIR$/Rakefile" />
188
+ <option value="$PROJECT_DIR$/Gemfile" />
189
+ </list>
190
+ </option>
191
+ </component>
192
+ <component name="ProjectFrameBounds">
193
+ <option name="x" value="416" />
194
+ <option name="y" value="22" />
195
+ <option name="width" value="1506" />
196
+ <option name="height" value="1170" />
197
+ </component>
198
+ <component name="ProjectLevelVcsManager" settingsEditedManually="false">
199
+ <OptionsSetting value="true" id="Add" />
200
+ <OptionsSetting value="true" id="Remove" />
201
+ <OptionsSetting value="true" id="Checkout" />
202
+ <OptionsSetting value="true" id="Update" />
203
+ <OptionsSetting value="true" id="Status" />
204
+ <OptionsSetting value="true" id="Edit" />
205
+ <ConfirmationsSetting value="0" id="Add" />
206
+ <ConfirmationsSetting value="0" id="Remove" />
207
+ </component>
208
+ <component name="ProjectReloadState">
209
+ <option name="STATE" value="0" />
210
+ </component>
211
+ <component name="ProjectView">
212
+ <navigator currentView="ProjectPane" proportions="" version="1" splitterProportion="0.5">
213
+ <flattenPackages />
214
+ <showMembers />
215
+ <showModules />
216
+ <showLibraryContents />
217
+ <hideEmptyPackages />
218
+ <abbreviatePackageNames />
219
+ <autoscrollToSource />
220
+ <autoscrollFromSource ProjectPane="true" />
221
+ <sortByType />
222
+ </navigator>
223
+ <panes>
224
+ <pane id="ProjectPane">
225
+ <subPane>
226
+ <PATH>
227
+ <PATH_ELEMENT>
228
+ <option name="myItemId" value="script_executor" />
229
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
230
+ </PATH_ELEMENT>
231
+ <PATH_ELEMENT>
232
+ <option name="myItemId" value="External Libraries" />
233
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ExternalLibrariesNode" />
234
+ </PATH_ELEMENT>
235
+ </PATH>
236
+ <PATH>
237
+ <PATH_ELEMENT>
238
+ <option name="myItemId" value="script_executor" />
239
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
240
+ </PATH_ELEMENT>
241
+ <PATH_ELEMENT>
242
+ <option name="myItemId" value="script_executor" />
243
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
244
+ </PATH_ELEMENT>
245
+ </PATH>
246
+ <PATH>
247
+ <PATH_ELEMENT>
248
+ <option name="myItemId" value="script_executor" />
249
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
250
+ </PATH_ELEMENT>
251
+ <PATH_ELEMENT>
252
+ <option name="myItemId" value="script_executor" />
253
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
254
+ </PATH_ELEMENT>
255
+ <PATH_ELEMENT>
256
+ <option name="myItemId" value="spec" />
257
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
258
+ </PATH_ELEMENT>
259
+ </PATH>
260
+ <PATH>
261
+ <PATH_ELEMENT>
262
+ <option name="myItemId" value="script_executor" />
263
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
264
+ </PATH_ELEMENT>
265
+ <PATH_ELEMENT>
266
+ <option name="myItemId" value="script_executor" />
267
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
268
+ </PATH_ELEMENT>
269
+ <PATH_ELEMENT>
270
+ <option name="myItemId" value="lib" />
271
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
272
+ </PATH_ELEMENT>
273
+ </PATH>
274
+ <PATH>
275
+ <PATH_ELEMENT>
276
+ <option name="myItemId" value="script_executor" />
277
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
278
+ </PATH_ELEMENT>
279
+ <PATH_ELEMENT>
280
+ <option name="myItemId" value="script_executor" />
281
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
282
+ </PATH_ELEMENT>
283
+ <PATH_ELEMENT>
284
+ <option name="myItemId" value="lib" />
285
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
286
+ </PATH_ELEMENT>
287
+ <PATH_ELEMENT>
288
+ <option name="myItemId" value="script_executor" />
289
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
290
+ </PATH_ELEMENT>
291
+ </PATH>
292
+ </subPane>
293
+ </pane>
294
+ <pane id="Scope" />
295
+ </panes>
296
+ </component>
297
+ <component name="PropertiesComponent">
298
+ <property name="options.splitter.main.proportions" value="0.3" />
299
+ <property name="WebServerToolWindowFactoryState" value="false" />
300
+ <property name="options.lastSelected" value="org.jetbrains.plugins.ruby.settings.RubyIdeSdkConfigurable" />
301
+ <property name="recentsLimit" value="5" />
302
+ <property name="restartRequiresConfirmation" value="true" />
303
+ <property name="options.searchVisible" value="true" />
304
+ <property name="options.splitter.details.proportions" value="0.2" />
305
+ </component>
306
+ <component name="RunManager" selected="Ruby remote debug.remote">
307
+ <configuration default="false" name="ScriptExecutor should execute commands from :script parameter" type="RSpecRunConfigurationType" factoryName="RSpec" temporary="true">
308
+ <predefined_log_file id="RUBY_RSPEC" enabled="true" />
309
+ <module name="script_executor" />
310
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
311
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="$PROJECT_DIR$/spec" />
312
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
313
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
314
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
315
+ <envs>
316
+ <env name="RUBYLIB" value="$USER_HOME$/.rvm/gems/ruby-1.9.3-p327@script_executor/gems/ruby-debug-base19x-0.11.30.pre11/lib:$USER_HOME$/.rvm/gems/ruby-1.9.3-p327@script_executor/gems/ruby-debug-ide-0.4.17.beta14/lib:$USER_HOME$/.rvm/gems/ruby-1.9.3-p327@script_executor/gems/ruby-debug-base19x-0.11.30.pre11/lib:$USER_HOME$/.rvm/gems/ruby-1.9.3-p327@script_executor/gems/ruby-debug-ide-0.4.17.beta14/lib" />
317
+ <env name="JRUBY_OPTS" value="-X+O" />
318
+ </envs>
319
+ <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
320
+ <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
321
+ <COVERAGE_PATTERN ENABLED="true">
322
+ <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
323
+ </COVERAGE_PATTERN>
324
+ </EXTENSION>
325
+ <EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
326
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
327
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="$PROJECT_DIR$/spec/script_executor_spec.rb" />
328
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
329
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb" />
330
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="ScriptExecutor should execute commands from :script parameter" />
331
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
332
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_ARGS" VALUE="" />
333
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
334
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_SPEC_RUNNER" VALUE="false" />
335
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
336
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
337
+ <RunnerSettings RunnerId="RubyDebugRunner" />
338
+ <RunnerSettings RunnerId="RubyRunner" />
339
+ <ConfigurationWrapper RunnerId="RubyDebugRunner" />
340
+ <ConfigurationWrapper RunnerId="RubyRunner" />
341
+ <method />
342
+ </configuration>
343
+ <configuration default="false" name="ScriptExecutor should execute commands locally from the block of code as sudo" type="RSpecRunConfigurationType" factoryName="RSpec" temporary="true">
344
+ <predefined_log_file id="RUBY_RSPEC" enabled="true" />
345
+ <module name="script_executor" />
346
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
347
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="$PROJECT_DIR$/spec" />
348
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
349
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
350
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
351
+ <envs>
352
+ <env name="JRUBY_OPTS" value="-X+O" />
353
+ </envs>
354
+ <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
355
+ <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
356
+ <COVERAGE_PATTERN ENABLED="true">
357
+ <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
358
+ </COVERAGE_PATTERN>
359
+ </EXTENSION>
360
+ <EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
361
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
362
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="$PROJECT_DIR$/spec/script_executor_spec.rb" />
363
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
364
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb" />
365
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="ScriptExecutor should execute commands locally from the block of code as sudo" />
366
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
367
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_ARGS" VALUE="" />
368
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
369
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_SPEC_RUNNER" VALUE="false" />
370
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
371
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
372
+ <RunnerSettings RunnerId="RubyRunner" />
373
+ <ConfigurationWrapper RunnerId="RubyRunner" />
374
+ <method />
375
+ </configuration>
376
+ <configuration default="true" type="RSpecRunConfigurationType" factoryName="RSpec">
377
+ <predefined_log_file id="RUBY_RSPEC" enabled="true" />
378
+ <module name="" />
379
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
380
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
381
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
382
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
383
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
384
+ <envs />
385
+ <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
386
+ <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
387
+ <COVERAGE_PATTERN ENABLED="true">
388
+ <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
389
+ </COVERAGE_PATTERN>
390
+ </EXTENSION>
391
+ <EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
392
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
393
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
394
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
395
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb" />
396
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="" />
397
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
398
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_ARGS" VALUE="" />
399
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
400
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_SPEC_RUNNER" VALUE="false" />
401
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
402
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
403
+ <method />
404
+ </configuration>
405
+ <configuration default="true" type="RubyRemoteDebugConfigurationType" factoryName="Ruby remote debug">
406
+ <RUBY_REMOTE_DEBUG_CONFIG NAME="REMOTE_HOST" VALUE="localhost" />
407
+ <RUBY_REMOTE_DEBUG_CONFIG NAME="PORT" VALUE="1234" />
408
+ <RUBY_REMOTE_DEBUG_CONFIG NAME="DISPATCHER_PORT" VALUE="26162" />
409
+ <RUBY_REMOTE_DEBUG_CONFIG NAME="REMOTE_ROOT" VALUE="" />
410
+ <RUBY_REMOTE_DEBUG_CONFIG NAME="LOCAL_ROOT" VALUE="" />
411
+ <method />
412
+ </configuration>
413
+ <configuration default="false" name="remote" type="RubyRemoteDebugConfigurationType" factoryName="Ruby remote debug">
414
+ <RUBY_REMOTE_DEBUG_CONFIG NAME="REMOTE_HOST" VALUE="localhost" />
415
+ <RUBY_REMOTE_DEBUG_CONFIG NAME="PORT" VALUE="1234" />
416
+ <RUBY_REMOTE_DEBUG_CONFIG NAME="DISPATCHER_PORT" VALUE="26162" />
417
+ <RUBY_REMOTE_DEBUG_CONFIG NAME="REMOTE_ROOT" VALUE="$PROJECT_DIR$" />
418
+ <RUBY_REMOTE_DEBUG_CONFIG NAME="LOCAL_ROOT" VALUE="$PROJECT_DIR$" />
419
+ <RunnerSettings RunnerId="RubyRemoteDebugRunner" />
420
+ <ConfigurationWrapper RunnerId="RubyRemoteDebugRunner" />
421
+ <method />
422
+ </configuration>
423
+ <list size="3">
424
+ <item index="0" class="java.lang.String" itemvalue="RSpec.ScriptExecutor should execute commands from :script parameter" />
425
+ <item index="1" class="java.lang.String" itemvalue="RSpec.ScriptExecutor should execute commands locally from the block of code as sudo" />
426
+ <item index="2" class="java.lang.String" itemvalue="Ruby remote debug.remote" />
427
+ </list>
428
+ <recent_temporary>
429
+ <list size="2">
430
+ <item index="0" class="java.lang.String" itemvalue="RSpec.ScriptExecutor should execute commands from :script parameter" />
431
+ <item index="1" class="java.lang.String" itemvalue="RSpec.ScriptExecutor should execute commands locally from the block of code as sudo" />
432
+ </list>
433
+ </recent_temporary>
434
+ </component>
435
+ <component name="ShelveChangesManager" show_recycled="false" />
436
+ <component name="TaskManager">
437
+ <task active="true" id="Default" summary="Default task">
438
+ <changelist id="6995392e-f204-4557-be32-fd20f300d877" name="Default" comment="" />
439
+ <created>1355016192045</created>
440
+ <updated>1355016192045</updated>
441
+ </task>
442
+ <servers />
443
+ </component>
444
+ <component name="ToolWindowManager">
445
+ <frame x="416" y="22" width="1506" height="1170" extended-state="0" />
446
+ <editor active="true" />
447
+ <layout>
448
+ <window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32925683" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
449
+ <window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
450
+ <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
451
+ <window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
452
+ <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="true" content_ui="tabs" />
453
+ <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.31164384" sideWeight="0.6001864" order="0" side_tool="false" content_ui="combo" />
454
+ <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.3998136" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
455
+ <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
456
+ <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
457
+ <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32618827" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
458
+ <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
459
+ <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
460
+ <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
461
+ <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
462
+ <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
463
+ <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="SLIDING" type="SLIDING" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
464
+ <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
465
+ <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
466
+ </layout>
467
+ </component>
468
+ <component name="VcsContentAnnotationSettings">
469
+ <option name="myLimit" value="2678400000" />
470
+ </component>
471
+ <component name="VcsManagerConfiguration">
472
+ <option name="OFFER_MOVE_TO_ANOTHER_CHANGELIST_ON_PARTIAL_COMMIT" value="true" />
473
+ <option name="CHECK_CODE_SMELLS_BEFORE_PROJECT_COMMIT" value="false" />
474
+ <option name="CHECK_NEW_TODO" value="true" />
475
+ <option name="myTodoPanelSettings">
476
+ <value>
477
+ <are-packages-shown value="false" />
478
+ <are-modules-shown value="false" />
479
+ <flatten-packages value="false" />
480
+ <is-autoscroll-to-source value="false" />
481
+ </value>
482
+ </option>
483
+ <option name="PERFORM_UPDATE_IN_BACKGROUND" value="true" />
484
+ <option name="PERFORM_COMMIT_IN_BACKGROUND" value="true" />
485
+ <option name="PERFORM_EDIT_IN_BACKGROUND" value="true" />
486
+ <option name="PERFORM_CHECKOUT_IN_BACKGROUND" value="true" />
487
+ <option name="PERFORM_ADD_REMOVE_IN_BACKGROUND" value="true" />
488
+ <option name="PERFORM_ROLLBACK_IN_BACKGROUND" value="false" />
489
+ <option name="CHECK_LOCALLY_CHANGED_CONFLICTS_IN_BACKGROUND" value="false" />
490
+ <option name="CHANGED_ON_SERVER_INTERVAL" value="60" />
491
+ <option name="SHOW_ONLY_CHANGED_IN_SELECTION_DIFF" value="true" />
492
+ <option name="CHECK_COMMIT_MESSAGE_SPELLING" value="true" />
493
+ <option name="DEFAULT_PATCH_EXTENSION" value="patch" />
494
+ <option name="SHORT_DIFF_HORISONTALLY" value="true" />
495
+ <option name="SHORT_DIFF_EXTRA_LINES" value="2" />
496
+ <option name="SOFT_WRAPS_IN_SHORT_DIFF" value="true" />
497
+ <option name="INCLUDE_TEXT_INTO_PATCH" value="false" />
498
+ <option name="INCLUDE_TEXT_INTO_SHELF" value="false" />
499
+ <option name="SHOW_FILE_HISTORY_DETAILS" value="true" />
500
+ <option name="SHOW_VCS_ERROR_NOTIFICATIONS" value="true" />
501
+ <option name="SHOW_DIRTY_RECURSIVELY" value="false" />
502
+ <option name="FORCE_NON_EMPTY_COMMENT" value="false" />
503
+ <option name="CLEAR_INITIAL_COMMIT_MESSAGE" value="false" />
504
+ <option name="LAST_COMMIT_MESSAGE" />
505
+ <option name="MAKE_NEW_CHANGELIST_ACTIVE" value="false" />
506
+ <option name="OPTIMIZE_IMPORTS_BEFORE_PROJECT_COMMIT" value="false" />
507
+ <option name="CHECK_FILES_UP_TO_DATE_BEFORE_COMMIT" value="false" />
508
+ <option name="REFORMAT_BEFORE_PROJECT_COMMIT" value="false" />
509
+ <option name="REFORMAT_BEFORE_FILE_COMMIT" value="false" />
510
+ <option name="FILE_HISTORY_DIALOG_COMMENTS_SPLITTER_PROPORTION" value="0.8" />
511
+ <option name="FILE_HISTORY_DIALOG_SPLITTER_PROPORTION" value="0.5" />
512
+ <option name="ACTIVE_VCS_NAME" />
513
+ <option name="UPDATE_GROUP_BY_PACKAGES" value="false" />
514
+ <option name="UPDATE_GROUP_BY_CHANGELIST" value="false" />
515
+ <option name="SHOW_FILE_HISTORY_AS_TREE" value="false" />
516
+ <option name="FILE_HISTORY_SPLITTER_PROPORTION" value="0.6" />
517
+ </component>
518
+ <component name="XDebuggerManager">
519
+ <breakpoint-manager>
520
+ <breakpoints>
521
+ <line-breakpoint enabled="true" type="ruby-line">
522
+ <url>file://$PROJECT_DIR$/spec/script_executor_spec.rb</url>
523
+ <line>42</line>
524
+ </line-breakpoint>
525
+ <line-breakpoint enabled="true" type="ruby-line">
526
+ <url>file://$PROJECT_DIR$/lib/script_executor/script_executor.rb</url>
527
+ <line>31</line>
528
+ <option name="timeStamp" value="1" />
529
+ </line-breakpoint>
530
+ </breakpoints>
531
+ <option name="time" value="2" />
532
+ </breakpoint-manager>
533
+ </component>
534
+ <component name="editorHistoryManager">
535
+ <entry file="file://$PROJECT_DIR$/spec/spec_helper.rb">
536
+ <provider selected="true" editor-type-id="text-editor">
537
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
538
+ <folding />
539
+ </state>
540
+ </provider>
541
+ </entry>
542
+ <entry file="file://$PROJECT_DIR$/lib/script_executor.rb">
543
+ <provider selected="true" editor-type-id="text-editor">
544
+ <state line="2" column="0" selection-start="55" selection-end="55" vertical-scroll-proportion="0.0">
545
+ <folding />
546
+ </state>
547
+ </provider>
548
+ </entry>
549
+ <entry file="file://$PROJECT_DIR$/spec/script_executor_spec.rb">
550
+ <provider selected="true" editor-type-id="text-editor">
551
+ <state line="44" column="129" selection-start="1112" selection-end="1112" vertical-scroll-proportion="0.0">
552
+ <folding />
553
+ </state>
554
+ </provider>
555
+ </entry>
556
+ <entry file="file://$PROJECT_DIR$/lib/script_executor/script_executor.rb">
557
+ <provider selected="true" editor-type-id="text-editor">
558
+ <state line="159" column="32" selection-start="3474" selection-end="3474" vertical-scroll-proportion="0.0">
559
+ <folding />
560
+ </state>
561
+ </provider>
562
+ </entry>
563
+ <entry file="file://$PROJECT_DIR$/CHANGES">
564
+ <provider selected="true" editor-type-id="text-editor">
565
+ <state line="9" column="43" selection-start="154" selection-end="154" vertical-scroll-proportion="0.0">
566
+ <folding />
567
+ </state>
568
+ </provider>
569
+ </entry>
570
+ <entry file="file://$PROJECT_DIR$/lib/script_executor/version.rb">
571
+ <provider selected="true" editor-type-id="text-editor">
572
+ <state line="1" column="18" selection-start="40" selection-end="40" vertical-scroll-proportion="0.0">
573
+ <folding />
574
+ </state>
575
+ </provider>
576
+ </entry>
577
+ <entry file="file://$PROJECT_DIR$/Rakefile">
578
+ <provider selected="true" editor-type-id="text-editor">
579
+ <state line="31" column="121" selection-start="675" selection-end="675" vertical-scroll-proportion="0.0">
580
+ <folding />
581
+ </state>
582
+ </provider>
583
+ </entry>
584
+ <entry file="file://$PROJECT_DIR$/Gemfile">
585
+ <provider selected="true" editor-type-id="text-editor">
586
+ <state line="8" column="24" selection-start="120" selection-end="120" vertical-scroll-proportion="0.2158516">
587
+ <folding />
588
+ </state>
589
+ </provider>
590
+ </entry>
591
+ </component>
592
+ </project>
593
+
data/CHANGES CHANGED
@@ -3,3 +3,8 @@
3
3
  == Version 1.0.0
4
4
 
5
5
  * Initial release.
6
+
7
+ == Version 1.0.1
8
+
9
+ * Add missing dependency.
10
+ * Fix issue when sudo has multiple commands
data/Gemfile CHANGED
@@ -2,6 +2,7 @@ source :rubygems
2
2
 
3
3
  group :default do
4
4
  gem "highline"
5
+ gem "net-ssh"
5
6
  end
6
7
 
7
8
  group :development do
@@ -14,3 +15,10 @@ group :test do
14
15
  gem "mocha"
15
16
  end
16
17
 
18
+ group :debug do
19
+ if RUBY_VERSION.include? "1.9"
20
+ #gem "ruby-debug-base19x", "0.11.30.pre11"
21
+ #gem "ruby-debug-ide", "0.4.17.beta14"
22
+ end
23
+ end
24
+
data/Gemfile.lock CHANGED
@@ -4,23 +4,23 @@ GEM
4
4
  diff-lcs (1.1.3)
5
5
  file_utils (1.0.5)
6
6
  gemcutter (0.7.1)
7
- gemspec_deps_gen (1.0.3)
7
+ gemspec_deps_gen (1.0.5)
8
8
  file_utils
9
9
  highline (1.6.15)
10
10
  metaclass (0.0.1)
11
- mocha (0.13.0)
11
+ mocha (0.13.1)
12
12
  metaclass (~> 0.0.1)
13
- rspec (2.11.0)
14
- rspec-core (~> 2.11.0)
15
- rspec-expectations (~> 2.11.0)
16
- rspec-mocks (~> 2.11.0)
17
- rspec-core (2.11.1)
18
- rspec-expectations (2.11.3)
13
+ net-ssh (2.6.2)
14
+ rspec (2.12.0)
15
+ rspec-core (~> 2.12.0)
16
+ rspec-expectations (~> 2.12.0)
17
+ rspec-mocks (~> 2.12.0)
18
+ rspec-core (2.12.1)
19
+ rspec-expectations (2.12.0)
19
20
  diff-lcs (~> 1.1.3)
20
- rspec-mocks (2.11.3)
21
+ rspec-mocks (2.12.0)
21
22
 
22
23
  PLATFORMS
23
- java
24
24
  ruby
25
25
 
26
26
  DEPENDENCIES
@@ -28,4 +28,5 @@ DEPENDENCIES
28
28
  gemspec_deps_gen
29
29
  highline
30
30
  mocha
31
+ net-ssh
31
32
  rspec
data/Rakefile CHANGED
@@ -15,6 +15,7 @@ def project_name
15
15
  end
16
16
 
17
17
  task :build do
18
+ system "rm #{project_name}.gemspec"
18
19
  generator = GemspecDepsGen.new
19
20
 
20
21
  generator.generate_dependencies "#{project_name}.gemspec.erb", "#{project_name}.gemspec"
@@ -22,6 +23,10 @@ task :build do
22
23
  system "gem build #{project_name}.gemspec"
23
24
  end
24
25
 
26
+ task :install do
27
+ system "gem install #{project_name}-#{version}.gem"
28
+ end
29
+
25
30
  task :release => :build do
26
31
  system "gem push #{project_name}-#{version}.gem"
27
32
  end
@@ -157,7 +157,7 @@ class ScriptExecutor
157
157
  end
158
158
 
159
159
  def sudo commands
160
- "sudo -S -p 'sudo password: ' #{commands}"
160
+ "sudo -S -p 'sudo password: ' -s -- '#{commands}'"
161
161
  end
162
162
 
163
163
  end
@@ -1,3 +1,3 @@
1
1
  module ScriptExecutor
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
@@ -16,6 +16,7 @@ Gem::Specification.new do |spec|
16
16
  spec.version = ScriptExecutor::VERSION
17
17
 
18
18
  spec.add_runtime_dependency "highline", [">= 0"]
19
+ spec.add_runtime_dependency "net-ssh", [">= 0"]
19
20
  spec.add_development_dependency "gemspec_deps_gen", [">= 0"]
20
21
  spec.add_development_dependency "gemcutter", [">= 0"]
21
22
 
@@ -7,7 +7,7 @@ describe ScriptExecutor do
7
7
  :simulate => false,
8
8
  :domain => "localhost",
9
9
  :user => "user",
10
- :remote => truez
10
+ :remote => true
11
11
  }
12
12
 
13
13
  subject { ScriptExecutor.new }
@@ -39,6 +39,15 @@ describe ScriptExecutor do
39
39
  end
40
40
  end
41
41
 
42
+ it "should execute commands locally from the block of code as sudo" do
43
+ subject.execute :sudo => true do
44
+ %Q(
45
+ cp /Users/oshvets/work/dev_contrib/installs/oracle-client/instantclient-basic-10.2.0.4.0-macosx-x86.zip /usr/local/oracle
46
+ cp /Users/oshvets/work/dev_contrib/installs/oracle-client/instantclient-sdk-10.2.0.4.0-macosx-x86.zip /usr/local/oracle
47
+ )
48
+ end
49
+ end
50
+
42
51
  it "should execute sudo command locally" do
43
52
  subject.execute :sudo => true, :simulate => false, :remote => false do
44
53
  %Q(
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: script_executor
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-11-14 00:00:00.000000000 Z
12
+ date: 2012-12-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: highline
@@ -27,6 +27,22 @@ dependencies:
27
27
  - - ! '>='
28
28
  - !ruby/object:Gem::Version
29
29
  version: '0'
30
+ - !ruby/object:Gem::Dependency
31
+ name: net-ssh
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ type: :runtime
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
30
46
  - !ruby/object:Gem::Dependency
31
47
  name: gemspec_deps_gen
32
48
  requirement: !ruby/object:Gem::Requirement
@@ -66,6 +82,15 @@ extensions: []
66
82
  extra_rdoc_files: []
67
83
  files:
68
84
  - .gitignore
85
+ - .idea/.name
86
+ - .idea/.rakeTasks
87
+ - .idea/encodings.xml
88
+ - .idea/misc.xml
89
+ - .idea/modules.xml
90
+ - .idea/scopes/scope_settings.xml
91
+ - .idea/script_executor.iml
92
+ - .idea/vcs.xml
93
+ - .idea/workspace.xml
69
94
  - .rbenv-gemsets
70
95
  - .rbenv-version
71
96
  - .rvmrc