script_executor 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -13,18 +13,26 @@
13
13
  <content url="file://$MODULE_DIR$" />
14
14
  <orderEntry type="inheritedJdk" />
15
15
  <orderEntry type="sourceFolder" forTests="false" />
16
+ <orderEntry type="library" scope="PROVIDED" name="archive-tar-minitar (v0.5.2, RVM: ruby-1.9.3-p327 [script_executor]) [gem]" level="application" />
16
17
  <orderEntry type="library" scope="PROVIDED" name="bundler (v1.2.3, RVM: ruby-1.9.3-p327 [script_executor]) [gem]" level="application" />
18
+ <orderEntry type="library" scope="PROVIDED" name="columnize (v0.3.6, RVM: ruby-1.9.3-p327 [script_executor]) [gem]" level="application" />
17
19
  <orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.1.3, RVM: ruby-1.9.3-p327 [script_executor]) [gem]" level="application" />
20
+ <orderEntry type="library" scope="PROVIDED" name="file_utils (v1.0.6, RVM: ruby-1.9.3-p327 [script_executor]) [gem]" level="application" />
18
21
  <orderEntry type="library" scope="PROVIDED" name="gemcutter (v0.7.1, RVM: ruby-1.9.3-p327 [script_executor]) [gem]" level="application" />
19
22
  <orderEntry type="library" scope="PROVIDED" name="gemspec_deps_gen (v1.0.5, RVM: ruby-1.9.3-p327 [script_executor]) [gem]" level="application" />
20
23
  <orderEntry type="library" scope="PROVIDED" name="highline (v1.6.15, RVM: ruby-1.9.3-p327 [script_executor]) [gem]" level="application" />
24
+ <orderEntry type="library" scope="PROVIDED" name="linecache19 (v0.5.13, RVM: ruby-1.9.3-p327 [script_executor]) [gem]" level="application" />
21
25
  <orderEntry type="library" scope="PROVIDED" name="metaclass (v0.0.1, RVM: ruby-1.9.3-p327 [script_executor]) [gem]" level="application" />
22
26
  <orderEntry type="library" scope="PROVIDED" name="mocha (v0.13.1, RVM: ruby-1.9.3-p327 [script_executor]) [gem]" level="application" />
23
27
  <orderEntry type="library" scope="PROVIDED" name="net-ssh (v2.6.2, RVM: ruby-1.9.3-p327 [script_executor]) [gem]" level="application" />
28
+ <orderEntry type="library" scope="PROVIDED" name="rake (v10.0.3, RVM: ruby-1.9.3-p327 [script_executor]) [gem]" level="application" />
24
29
  <orderEntry type="library" scope="PROVIDED" name="rspec (v2.12.0, RVM: ruby-1.9.3-p327 [script_executor]) [gem]" level="application" />
25
- <orderEntry type="library" scope="PROVIDED" name="rspec-core (v2.12.1, RVM: ruby-1.9.3-p327 [script_executor]) [gem]" level="application" />
26
- <orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v2.12.0, RVM: ruby-1.9.3-p327 [script_executor]) [gem]" level="application" />
30
+ <orderEntry type="library" scope="PROVIDED" name="rspec-core (v2.12.2, RVM: ruby-1.9.3-p327 [script_executor]) [gem]" level="application" />
31
+ <orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v2.12.1, RVM: ruby-1.9.3-p327 [script_executor]) [gem]" level="application" />
27
32
  <orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v2.12.0, RVM: ruby-1.9.3-p327 [script_executor]) [gem]" level="application" />
33
+ <orderEntry type="library" scope="PROVIDED" name="ruby-debug-base19x (v0.11.30.pre10, RVM: ruby-1.9.3-p327 [script_executor]) [gem]" level="application" />
34
+ <orderEntry type="library" scope="PROVIDED" name="ruby-debug-ide (v0.4.17.beta14, RVM: ruby-1.9.3-p327 [script_executor]) [gem]" level="application" />
35
+ <orderEntry type="library" scope="PROVIDED" name="ruby_core_source (v0.1.5, RVM: ruby-1.9.3-p327 [script_executor]) [gem]" level="application" />
28
36
  </component>
29
37
  </module>
30
38
 
data/.idea/workspace.xml CHANGED
@@ -2,22 +2,17 @@
2
2
  <project version="4">
3
3
  <component name="ChangeListManager">
4
4
  <list default="true" id="6995392e-f204-4557-be32-fd20f300d877" name="Default" comment="">
5
- <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/lib/executable.rb" />
6
- <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/lib/script_executor/executable.rb" />
7
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/.rakeTasks" afterPath="$PROJECT_DIR$/.idea/.rakeTasks" />
8
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/script_executor.rb" afterPath="$PROJECT_DIR$/lib/script_executor.rb" />
9
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/script_executor/script_executor.rb" afterPath="$PROJECT_DIR$/lib/script_executor/script_executor.rb" />
10
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/spec/script_executor_spec.rb" afterPath="$PROJECT_DIR$/spec/script_executor_spec.rb" />
11
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/script_executor/version.rb" afterPath="$PROJECT_DIR$/lib/script_executor/version.rb" />
5
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/Gemfile.lock" afterPath="$PROJECT_DIR$/Gemfile.lock" />
6
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/script_executor.iml" afterPath="$PROJECT_DIR$/.idea/script_executor.iml" />
12
7
  <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
13
8
  </list>
14
9
  <ignored path="script_executor.iws" />
15
10
  <ignored path=".idea/workspace.xml" />
16
- <file path="/Dummy.txt" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355411695800" ignored="false" />
17
- <file path="/Gemfile" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355411482839" ignored="false" />
18
- <file path="/script_executor_spec.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355353469670" ignored="false" />
19
- <file path="$PROJECT_DIR$/../../ui/src/thor/oracle_client.thor" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355416098113" ignored="false" />
20
- <file path="/oracle_client.thor" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355170217364" ignored="false" />
11
+ <file path="/Dummy.txt" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355762103123" ignored="false" />
12
+ <file path="/Gemfile" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355437179953" ignored="false" />
13
+ <file path="/script_executor_spec.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355762516678" ignored="false" />
14
+ <file path="$PROJECT_DIR$/../../ui/src/thor/oracle_client.thor" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355417447890" ignored="false" />
15
+ <file path="/oracle_client.thor" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355417361715" ignored="false" />
21
16
  <file path="$PROJECT_DIR$/../../ui/src/docs/how-to-install-tools-on-mountain-lion.txt" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355179284273" ignored="false" />
22
17
  <file path="/how-to-install-tools-on-mountain-lion.txt" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355179183290" ignored="false" />
23
18
  <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" />
@@ -31,11 +26,10 @@
31
26
  <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
27
  <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
28
  <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" />
29
+ <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="1355432956485" ignored="false" />
35
30
  <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
31
  <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" />
32
+ <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="1355432956485" ignored="false" />
39
33
  <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
34
  <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
35
  <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" />
@@ -45,7 +39,7 @@
45
39
  <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
40
  <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
41
  <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" />
42
+ <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="1355432956485" ignored="false" />
49
43
  <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
44
  <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
45
  <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" />
@@ -70,10 +64,10 @@
70
64
  <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
65
  <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
66
  <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="1355412928924" 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="1355415829525" ignored="false" />
76
- <file path="/CHANGES" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355062946290" ignored="false" />
67
+ <file path="$PROJECT_DIR$/../../ui/src/Gemfile" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355507081269" ignored="false" />
68
+ <file path="/fragment.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355433500821" ignored="false" />
69
+ <file path="/script_executor.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355762503911" ignored="false" />
70
+ <file path="/CHANGES" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355762366578" ignored="false" />
77
71
  <file path="$USER_HOME$/.rvm/gems/ruby-1.8.7-p371@r21/gems/rake-0.8.7/lib/rake.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355156976039" ignored="false" />
78
72
  <file path="$USER_HOME$/.rvm/gems/ruby-1.8.7-p371@r21/gems/file_utils-1.0.5/lib/file_utils/file_utils.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355082830869" ignored="false" />
79
73
  <file path="$PROJECT_DIR$/../../ui/src/bin/install_oracle_client.sh" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355179739279" ignored="false" />
@@ -90,7 +84,7 @@
90
84
  <file path="$USER_HOME$/.rvm/gems/ruby-1.8.7-p371@r21/gems/thor-0.16.0/lib/thor/shell.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355156380308" ignored="false" />
91
85
  <file path="$USER_HOME$/.rvm/gems/ruby-1.8.7-p371@r21/gems/thor-0.16.0/lib/thor/util.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355156380308" ignored="false" />
92
86
  <file path="$PROJECT_DIR$/../../ui/src/Gemfile.lock" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355413042305" ignored="false" />
93
- <file path="/a.dummy" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355236966673" ignored="false" />
87
+ <file path="/a.dummy" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355522341269" ignored="false" />
94
88
  <file path="$USER_HOME$/.rvm/gems/ruby-1.8.7-p371@r21/gems/nokogiri-1.5.0/lib/nokogiri/xml/processing_instruction.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355156976039" ignored="false" />
95
89
  <file path="$USER_HOME$/.rvm/gems/ruby-1.8.7-p371@r21/gems/nokogiri-1.5.0/lib/nokogiri/xml/builder.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355156976039" ignored="false" />
96
90
  <file path="$USER_HOME$/.rvm/gems/ruby-1.8.7-p371@r21/gems/nokogiri-1.5.0/lib/nokogiri/xml/attribute_decl.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355156976039" ignored="false" />
@@ -118,24 +112,58 @@
118
112
  <file path="/mysql_client.thor" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355171715036" ignored="false" />
119
113
  <file path="$PROJECT_DIR$/../../ui/src/script/server" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355177080296" ignored="false" />
120
114
  <file path="/server" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355177036710" ignored="false" />
121
- <file path="$PROJECT_DIR$/../../ui/src/config/environment.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355177639518" ignored="false" />
122
- <file path="/environment.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355177191360" ignored="false" />
115
+ <file path="$PROJECT_DIR$/../../ui/src/config/environment.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355499127225" ignored="false" />
116
+ <file path="/environment.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355499100372" ignored="false" />
123
117
  <file path="/how-to-install-project-on-mountain-lion.txt" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355179671697" ignored="false" />
124
118
  <file path="$PROJECT_DIR$/../../ui/src/config/dbauth/proteusui-vdv-dev" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355236982919" ignored="false" />
125
119
  <file path="$PROJECT_DIR$/../../ui/src/config/dbauth/proteusui-billing-dev" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355236991453" ignored="false" />
126
120
  <file path="$PROJECT_DIR$/../../ui/src/config/dbauthfiles/proteusui-billing-dev" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355244789972" ignored="false" />
127
- <file path="$PROJECT_DIR$/../../ui/src/app/domain/partner.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355245302438" ignored="false" />
121
+ <file path="$PROJECT_DIR$/../../ui/src/app/domain/partner.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355762106018" ignored="false" />
128
122
  <file path="/executable.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355416708647" ignored="false" />
129
123
  <file path="$PROJECT_DIR$/../../ui/src/thor/tomcat.thor" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355410403079" ignored="false" />
130
124
  <file path="/tomcat.thor" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355410403079" ignored="false" />
131
- <file path="$PROJECT_DIR$/../../ui/src/thor/ssh.thor" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355415898117" ignored="false" />
132
- <file path="/ssh.thor" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355415893294" ignored="false" />
125
+ <file path="$PROJECT_DIR$/../../ui/src/thor/ssh.thor" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355762752713" ignored="false" />
126
+ <file path="/ssh.thor" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355516960127" ignored="false" />
133
127
  <file path="$PROJECT_DIR$/../../ui/src/thor/homer.thor" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355416035915" ignored="false" />
134
128
  <file path="$PROJECT_DIR$/../../ui/src/vendor/gems/script_executor/lib/script_executor/script_executor.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355415829525" ignored="false" />
135
129
  <file path="$PROJECT_DIR$/../../ui/src/vendor/gems/script_executor/lib/script_executor.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355411914177" ignored="false" />
136
130
  <file path="$PROJECT_DIR$/../../ui/src/vendor/gems/script_executor/lib/executable.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355411904894" ignored="false" />
137
131
  <file path="$PROJECT_DIR$/../../ui/src/vendor/gems/script_executor/lib/script_executor/executable.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355415271960" ignored="false" />
138
132
  <file path="/homer.thor" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355416021332" ignored="false" />
133
+ <file path="$PROJECT_DIR$/../../ui/src/docs/webaccount.txt" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355418506921" ignored="false" />
134
+ <file path="$PROJECT_DIR$/../../ui/src/request1.xml" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355421336860" ignored="false" />
135
+ <file path="$PROJECT_DIR$/../../ui/src/response1.xml" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355421314162" ignored="false" />
136
+ <file path="$PROJECT_DIR$/../../ui/src/response2.xml" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355422124390" ignored="false" />
137
+ <file path="$USER_HOME$/.rvm/gems/ruby-1.9.3-p327@script_executor/gems/highline-1.6.15/lib/highline.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355432956485" ignored="false" />
138
+ <file path="$USER_HOME$/.rvm/gems/ruby-1.9.3-p327@script_executor/gems/ruby-debug-base19x-0.11.30.pre10/lib/ruby-debug-base.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355432956485" ignored="false" />
139
+ <file path="$USER_HOME$/.rvm/gems/ruby-1.9.3-p327@script_executor/gems/diff-lcs-1.1.3/lib/diff/lcs.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355432956485" ignored="false" />
140
+ <file path="$USER_HOME$/.rvm/gems/ruby-1.9.3-p327@script_executor/gems/highline-1.6.15/lib/highline/import.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355432956485" ignored="false" />
141
+ <file path="$PROJECT_DIR$/../../ui/src/thor/ssh.ini" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355437142297" ignored="false" />
142
+ <file path="/devint1_supplement.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355437935026" ignored="false" />
143
+ <file path="$PROJECT_DIR$/../../ui/src/config/environments/supplements/devint1_supplement.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355437942615" ignored="false" />
144
+ <file path="$PROJECT_DIR$/../../ui/src/config/environments/signoff.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355523226802" ignored="false" />
145
+ <file path="$PROJECT_DIR$/../../ui/src/soapui/validate_mac_address.xml" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355438122083" ignored="false" />
146
+ <file path="$PROJECT_DIR$/../../ui/src/soapui/preview_order_request.xml" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355438161298" ignored="false" />
147
+ <file path="$PROJECT_DIR$/../../ui/src/ws/ws.sh" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355438329921" ignored="false" />
148
+ <file path="$PROJECT_DIR$/../../ui/src/thor/tools.thor" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355524523025" ignored="false" />
149
+ <file path="/tools.thor" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355524523025" ignored="false" />
150
+ <file path="$PROJECT_DIR$/../../ui/src/ws/preview_order_request.xml" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355523852604" ignored="false" />
151
+ <file path="$PROJECT_DIR$/../../ui/src/app/services/services/abstract_gateway.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355503445554" ignored="false" />
152
+ <file path="$PROJECT_DIR$/../../ui/src/test.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355504817247" ignored="false" />
153
+ <file path="/test.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355504817247" ignored="false" />
154
+ <file path="/abstract_gateway.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355503195410" ignored="false" />
155
+ <file path="$PROJECT_DIR$/../../ui/src/thor/ws_client.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355524748703" ignored="false" />
156
+ <file path="/ws_client.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355522684055" ignored="false" />
157
+ <file path="$PROJECT_DIR$/../../ui/src/thor/ws_error.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355503654805" ignored="false" />
158
+ <file path="/ws_error.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355503649958" ignored="false" />
159
+ <file path="$PROJECT_DIR$/../../ui/src/ws/validate_mac_address_request.xml" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355521507023" ignored="false" />
160
+ <file path="/validate_mac_address_request.xml" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355504640558" ignored="false" />
161
+ <file path="$PROJECT_DIR$/../../ui/src/test2.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355506792103" ignored="false" />
162
+ <file path="/test2.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355506601837" ignored="false" />
163
+ <file path="/signoff.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355507121000" ignored="false" />
164
+ <file path="/script_helper.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355762300792" ignored="false" />
165
+ <file path="/script_locator_spec.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355766716130" ignored="false" />
166
+ <file path="/script_locator.rb" changelist="6995392e-f204-4557-be32-fd20f300d877" time="1355762926157" ignored="false" />
139
167
  <option name="TRACKING_ENABLED" value="true" />
140
168
  <option name="SHOW_DIALOG" value="false" />
141
169
  <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -152,28 +180,75 @@
152
180
  <component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
153
181
  <component name="FileEditorManager">
154
182
  <leaf>
155
- <file leaf-file-name="script_executor_spec.rb" pinned="false" current="false" current-in-tab="false">
156
- <entry file="file://$PROJECT_DIR$/spec/script_executor_spec.rb">
183
+ <file leaf-file-name="executable_spec.rb" pinned="false" current="false" current-in-tab="false">
184
+ <entry file="file://$PROJECT_DIR$/spec/executable_spec.rb">
157
185
  <provider selected="true" editor-type-id="text-editor">
158
- <state line="9" column="37" selection-start="208" selection-end="208" vertical-scroll-proportion="-5.5384617">
186
+ <state line="7" column="58" selection-start="0" selection-end="2064" vertical-scroll-proportion="0.0">
187
+ <folding />
188
+ </state>
189
+ </provider>
190
+ </entry>
191
+ </file>
192
+ <file leaf-file-name="script_locator_spec.rb" pinned="false" current="false" current-in-tab="false">
193
+ <entry file="file://$PROJECT_DIR$/spec/script_locator_spec.rb">
194
+ <provider selected="true" editor-type-id="text-editor">
195
+ <state line="18" column="13" selection-start="340" selection-end="340" vertical-scroll-proportion="0.0">
196
+ <folding>
197
+ <element signature="e#457#511#0" expanded="true" />
198
+ </folding>
199
+ </state>
200
+ </provider>
201
+ </entry>
202
+ </file>
203
+ <file leaf-file-name=".rvmrc" pinned="false" current="false" current-in-tab="false">
204
+ <entry file="file://$PROJECT_DIR$/.rvmrc">
205
+ <provider selected="true" editor-type-id="text-editor">
206
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
159
207
  <folding />
160
208
  </state>
161
209
  </provider>
162
210
  </entry>
163
211
  </file>
164
212
  <file leaf-file-name="script_executor.rb" pinned="false" current="false" current-in-tab="false">
165
- <entry file="file://$PROJECT_DIR$/lib/script_executor/script_executor.rb">
213
+ <entry file="file://$PROJECT_DIR$/lib/script_executor.rb">
166
214
  <provider selected="true" editor-type-id="text-editor">
167
- <state line="3" column="0" selection-start="43" selection-end="43" vertical-scroll-proportion="0.0">
215
+ <state line="2" column="41" selection-start="96" selection-end="96" vertical-scroll-proportion="0.0">
168
216
  <folding />
169
217
  </state>
170
218
  </provider>
171
219
  </entry>
172
220
  </file>
173
- <file leaf-file-name="executable.rb" pinned="false" current="true" current-in-tab="true">
221
+ <file leaf-file-name="executable.rb" pinned="false" current="false" current-in-tab="false">
174
222
  <entry file="file://$PROJECT_DIR$/lib/script_executor/executable.rb">
175
223
  <provider selected="true" editor-type-id="text-editor">
176
- <state line="108" column="43" selection-start="2606" selection-end="2606" vertical-scroll-proportion="2.860927">
224
+ <state line="175" column="0" selection-start="4090" selection-end="4090" vertical-scroll-proportion="0.0">
225
+ <folding />
226
+ </state>
227
+ </provider>
228
+ </entry>
229
+ </file>
230
+ <file leaf-file-name="script_locator.rb" pinned="false" current="false" current-in-tab="false">
231
+ <entry file="file://$PROJECT_DIR$/lib/script_executor/script_locator.rb">
232
+ <provider selected="true" editor-type-id="text-editor">
233
+ <state line="2" column="6" selection-start="21" selection-end="21" vertical-scroll-proportion="0.0">
234
+ <folding />
235
+ </state>
236
+ </provider>
237
+ </entry>
238
+ </file>
239
+ <file leaf-file-name="CHANGES" pinned="false" current="false" current-in-tab="false">
240
+ <entry file="file://$PROJECT_DIR$/CHANGES">
241
+ <provider selected="true" editor-type-id="text-editor">
242
+ <state line="11" column="30" selection-start="173" selection-end="173" vertical-scroll-proportion="0.0">
243
+ <folding />
244
+ </state>
245
+ </provider>
246
+ </entry>
247
+ </file>
248
+ <file leaf-file-name="Rakefile" pinned="false" current="true" current-in-tab="true">
249
+ <entry file="file://$PROJECT_DIR$/Rakefile">
250
+ <provider selected="true" editor-type-id="text-editor">
251
+ <state line="31" column="3" selection-start="675" selection-end="675" vertical-scroll-proportion="0.51452285">
177
252
  <folding />
178
253
  </state>
179
254
  </provider>
@@ -182,7 +257,16 @@
182
257
  <file leaf-file-name="Gemfile" pinned="false" current="false" current-in-tab="false">
183
258
  <entry file="file://$PROJECT_DIR$/Gemfile">
184
259
  <provider selected="true" editor-type-id="text-editor">
185
- <state line="8" column="24" selection-start="120" selection-end="120" vertical-scroll-proportion="0.0">
260
+ <state line="14" column="28" selection-start="186" selection-end="186" vertical-scroll-proportion="0.0">
261
+ <folding />
262
+ </state>
263
+ </provider>
264
+ </entry>
265
+ </file>
266
+ <file leaf-file-name="dsl.rb" pinned="false" current="false" current-in-tab="false">
267
+ <entry file="file://$USER_HOME$/.rvm/gems/ruby-1.9.3-p327@global/gems/bundler-1.2.3/lib/bundler/dsl.rb">
268
+ <provider selected="true" editor-type-id="text-editor">
269
+ <state line="61" column="8" selection-start="2147" selection-end="2147" vertical-scroll-proportion="0.0">
186
270
  <folding />
187
271
  </state>
188
272
  </provider>
@@ -206,14 +290,17 @@
206
290
  <component name="IdeDocumentHistory">
207
291
  <option name="changedFiles">
208
292
  <list>
209
- <option value="$PROJECT_DIR$/CHANGES" />
210
293
  <option value="$PROJECT_DIR$/Rakefile" />
294
+ <option value="$PROJECT_DIR$/lib/script_executor.rb" />
211
295
  <option value="$PROJECT_DIR$/Gemfile" />
296
+ <option value="$PROJECT_DIR$/lib/script_executor/executable.rb" />
297
+ <option value="$PROJECT_DIR$/lib/script_executor/script_helper.rb" />
212
298
  <option value="$PROJECT_DIR$/lib/script_executor/version.rb" />
213
- <option value="$PROJECT_DIR$/lib/script_executor.rb" />
299
+ <option value="$PROJECT_DIR$/CHANGES" />
214
300
  <option value="$PROJECT_DIR$/lib/script_executor/script_executor.rb" />
215
301
  <option value="$PROJECT_DIR$/spec/script_executor_spec.rb" />
216
- <option value="$PROJECT_DIR$/lib/script_executor/executable.rb" />
302
+ <option value="$PROJECT_DIR$/lib/script_locator.rb" />
303
+ <option value="$PROJECT_DIR$/spec/script_locator_spec.rb" />
217
304
  </list>
218
305
  </option>
219
306
  </component>
@@ -257,6 +344,64 @@
257
344
  <option name="myItemId" value="script_executor" />
258
345
  <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
259
346
  </PATH_ELEMENT>
347
+ <PATH_ELEMENT>
348
+ <option name="myItemId" value="External Libraries" />
349
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ExternalLibrariesNode" />
350
+ </PATH_ELEMENT>
351
+ </PATH>
352
+ <PATH>
353
+ <PATH_ELEMENT>
354
+ <option name="myItemId" value="script_executor" />
355
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
356
+ </PATH_ELEMENT>
357
+ <PATH_ELEMENT>
358
+ <option name="myItemId" value="External Libraries" />
359
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ExternalLibrariesNode" />
360
+ </PATH_ELEMENT>
361
+ <PATH_ELEMENT>
362
+ <option name="myItemId" value="bundler (v1.2.3, RVM: ruby-1.9.3-p327 [script_executor]) [gem]" />
363
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.NamedLibraryElementNode" />
364
+ </PATH_ELEMENT>
365
+ </PATH>
366
+ <PATH>
367
+ <PATH_ELEMENT>
368
+ <option name="myItemId" value="script_executor" />
369
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
370
+ </PATH_ELEMENT>
371
+ <PATH_ELEMENT>
372
+ <option name="myItemId" value="External Libraries" />
373
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ExternalLibrariesNode" />
374
+ </PATH_ELEMENT>
375
+ <PATH_ELEMENT>
376
+ <option name="myItemId" value="bundler (v1.2.3, RVM: ruby-1.9.3-p327 [script_executor]) [gem]" />
377
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.NamedLibraryElementNode" />
378
+ </PATH_ELEMENT>
379
+ <PATH_ELEMENT>
380
+ <option name="myItemId" value="lib" />
381
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
382
+ </PATH_ELEMENT>
383
+ </PATH>
384
+ <PATH>
385
+ <PATH_ELEMENT>
386
+ <option name="myItemId" value="script_executor" />
387
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
388
+ </PATH_ELEMENT>
389
+ <PATH_ELEMENT>
390
+ <option name="myItemId" value="External Libraries" />
391
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ExternalLibrariesNode" />
392
+ </PATH_ELEMENT>
393
+ <PATH_ELEMENT>
394
+ <option name="myItemId" value="bundler (v1.2.3, RVM: ruby-1.9.3-p327 [script_executor]) [gem]" />
395
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.NamedLibraryElementNode" />
396
+ </PATH_ELEMENT>
397
+ <PATH_ELEMENT>
398
+ <option name="myItemId" value="lib" />
399
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
400
+ </PATH_ELEMENT>
401
+ <PATH_ELEMENT>
402
+ <option name="myItemId" value="bundler" />
403
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
404
+ </PATH_ELEMENT>
260
405
  </PATH>
261
406
  <PATH>
262
407
  <PATH_ELEMENT>
@@ -321,13 +466,13 @@
321
466
  <component name="PropertiesComponent">
322
467
  <property name="options.splitter.main.proportions" value="0.3" />
323
468
  <property name="WebServerToolWindowFactoryState" value="false" />
324
- <property name="recentsLimit" value="5" />
325
469
  <property name="options.lastSelected" value="org.jetbrains.plugins.ruby.settings.RubyIdeSdkConfigurable" />
470
+ <property name="recentsLimit" value="5" />
326
471
  <property name="restartRequiresConfirmation" value="true" />
327
- <property name="options.splitter.details.proportions" value="0.2" />
328
472
  <property name="options.searchVisible" value="true" />
473
+ <property name="options.splitter.details.proportions" value="0.2" />
329
474
  </component>
330
- <component name="RunManager" selected="RSpec.script_executor_spec">
475
+ <component name="RunManager" selected="RSpec.executable_spec">
331
476
  <configuration default="false" name="ScriptExecutor should execute commands from :script parameter" type="RSpecRunConfigurationType" factoryName="RSpec" temporary="true">
332
477
  <predefined_log_file id="RUBY_RSPEC" enabled="true" />
333
478
  <module name="script_executor" />
@@ -348,7 +493,7 @@
348
493
  </EXTENSION>
349
494
  <EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
350
495
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
351
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="$PROJECT_DIR$/spec/script_executor_spec.rb" />
496
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="$PROJECT_DIR$/spec/executable_spec.rb" />
352
497
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
353
498
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb" />
354
499
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="ScriptExecutor should execute commands from :script parameter" />
@@ -383,7 +528,7 @@
383
528
  </EXTENSION>
384
529
  <EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
385
530
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
386
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="$PROJECT_DIR$/spec/script_executor_spec.rb" />
531
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="$PROJECT_DIR$/spec/executable_spec.rb" />
387
532
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
388
533
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb" />
389
534
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="ScriptExecutor should execute commands locally from the block of code as sudo" />
@@ -397,7 +542,7 @@
397
542
  <ConfigurationWrapper RunnerId="RubyRunner" />
398
543
  <method />
399
544
  </configuration>
400
- <configuration default="false" name="script_executor_spec" type="RSpecRunConfigurationType" factoryName="RSpec" temporary="true">
545
+ <configuration default="false" name="executable_spec" type="RSpecRunConfigurationType" factoryName="RSpec" temporary="true">
401
546
  <predefined_log_file id="RUBY_RSPEC" enabled="true" />
402
547
  <module name="script_executor" />
403
548
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
@@ -407,6 +552,7 @@
407
552
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
408
553
  <envs>
409
554
  <env name="JRUBY_OPTS" value="-X+O" />
555
+ <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" />
410
556
  </envs>
411
557
  <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
412
558
  <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
@@ -416,7 +562,7 @@
416
562
  </EXTENSION>
417
563
  <EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
418
564
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
419
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="$PROJECT_DIR$/spec/script_executor_spec.rb" />
565
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="$PROJECT_DIR$/spec/executable_spec.rb" />
420
566
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
421
567
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb" />
422
568
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="" />
@@ -426,7 +572,9 @@
426
572
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_SPEC_RUNNER" VALUE="false" />
427
573
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
428
574
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
575
+ <RunnerSettings RunnerId="RubyDebugRunner" />
429
576
  <RunnerSettings RunnerId="RubyRunner" />
577
+ <ConfigurationWrapper RunnerId="RubyDebugRunner" />
430
578
  <ConfigurationWrapper RunnerId="RubyRunner" />
431
579
  <method />
432
580
  </configuration>
@@ -525,12 +673,12 @@
525
673
  <item index="0" class="java.lang.String" itemvalue="Ruby remote debug.remote" />
526
674
  <item index="1" class="java.lang.String" itemvalue="RSpec.ScriptExecutor should execute commands from :script parameter" />
527
675
  <item index="2" class="java.lang.String" itemvalue="RSpec.ScriptExecutor should execute commands locally from the block of code as sudo" />
528
- <item index="3" class="java.lang.String" itemvalue="RSpec.script_executor_spec" />
676
+ <item index="3" class="java.lang.String" itemvalue="RSpec.executable_spec" />
529
677
  </list>
530
678
  <recent_temporary>
531
679
  <list size="4">
532
- <item index="0" class="java.lang.String" itemvalue="RSpec.script_executor_spec" />
533
- <item index="1" class="java.lang.String" itemvalue="RSpec.script_executor_spec" />
680
+ <item index="0" class="java.lang.String" itemvalue="RSpec.executable_spec" />
681
+ <item index="1" class="java.lang.String" itemvalue="RSpec.executable_spec" />
534
682
  <item index="2" class="java.lang.String" itemvalue="RSpec.ScriptExecutor should execute commands from :script parameter" />
535
683
  <item index="3" class="java.lang.String" itemvalue="RSpec.ScriptExecutor should execute commands locally from the block of code as sudo" />
536
684
  </list>
@@ -547,14 +695,14 @@
547
695
  </component>
548
696
  <component name="ToolWindowManager">
549
697
  <frame x="262" y="33" width="1613" height="1087" extended-state="0" />
550
- <editor active="false" />
698
+ <editor active="true" />
551
699
  <layout>
552
- <window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.36161616" sideWeight="0.9955329" order="7" side_tool="false" content_ui="tabs" />
700
+ <window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.36161616" sideWeight="0.9955329" order="7" side_tool="false" content_ui="tabs" />
553
701
  <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" />
554
702
  <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="3" side_tool="false" content_ui="tabs" />
555
703
  <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" />
556
- <window_info id="Project" active="true" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.22463305" sideWeight="0.63838387" order="0" side_tool="false" content_ui="combo" />
557
- <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3989071" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
704
+ <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.22782387" sideWeight="0.6020202" order="0" side_tool="false" content_ui="combo" />
705
+ <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3979798" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
558
706
  <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="2" side_tool="true" content_ui="tabs" />
559
707
  <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="7" side_tool="true" content_ui="tabs" />
560
708
  <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32525253" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
@@ -625,9 +773,9 @@
625
773
  </breakpoint-manager>
626
774
  </component>
627
775
  <component name="editorHistoryManager">
628
- <entry file="file://$PROJECT_DIR$/spec/script_executor_spec.rb">
776
+ <entry file="file://$PROJECT_DIR$/Gemfile">
629
777
  <provider selected="true" editor-type-id="text-editor">
630
- <state line="45" column="14" selection-start="1012" selection-end="1012" vertical-scroll-proportion="0.0">
778
+ <state line="8" column="24" selection-start="120" selection-end="120" vertical-scroll-proportion="0.0">
631
779
  <folding />
632
780
  </state>
633
781
  </provider>
@@ -639,94 +787,102 @@
639
787
  </state>
640
788
  </provider>
641
789
  </entry>
642
- <entry file="file://$PROJECT_DIR$/lib/script_executor.rb">
790
+ <entry file="file://$USER_HOME$/.rvm/gems/ruby-1.9.3-p327@global/gems/bundler-1.2.3/lib/bundler/dsl.rb">
643
791
  <provider selected="true" editor-type-id="text-editor">
644
- <state line="2" column="0" selection-start="55" selection-end="55" vertical-scroll-proportion="0.0">
792
+ <state line="61" column="8" selection-start="2147" selection-end="2147" vertical-scroll-proportion="0.0">
645
793
  <folding />
646
794
  </state>
647
795
  </provider>
648
796
  </entry>
649
- <entry file="file://$PROJECT_DIR$/lib/script_executor/script_executor.rb">
797
+ <entry file="file://$PROJECT_DIR$/lib/script_executor/executable.rb">
650
798
  <provider selected="true" editor-type-id="text-editor">
651
- <state line="159" column="32" selection-start="3474" selection-end="3474" vertical-scroll-proportion="0.0">
799
+ <state line="175" column="0" selection-start="4090" selection-end="4090" vertical-scroll-proportion="0.0">
652
800
  <folding />
653
801
  </state>
654
802
  </provider>
655
803
  </entry>
656
804
  <entry file="file://$PROJECT_DIR$/lib/script_executor/version.rb">
657
805
  <provider selected="true" editor-type-id="text-editor">
658
- <state line="1" column="18" selection-start="40" selection-end="40" vertical-scroll-proportion="0.0">
806
+ <state line="1" column="16" selection-start="38" selection-end="38" vertical-scroll-proportion="0.0">
659
807
  <folding />
660
808
  </state>
661
809
  </provider>
662
810
  </entry>
663
- <entry file="file://$PROJECT_DIR$/Rakefile">
811
+ <entry file="file://$PROJECT_DIR$/lib/script_executor/script_locator.rb">
664
812
  <provider selected="true" editor-type-id="text-editor">
665
- <state line="31" column="3" selection-start="675" selection-end="675" vertical-scroll-proportion="0.0" />
813
+ <state line="2" column="6" selection-start="21" selection-end="21" vertical-scroll-proportion="0.0">
814
+ <folding />
815
+ </state>
666
816
  </provider>
667
817
  </entry>
668
- <entry file="file://$PROJECT_DIR$/Gemfile">
818
+ <entry file="file://$PROJECT_DIR$/lib/script_executor/script_executor.rb">
669
819
  <provider selected="true" editor-type-id="text-editor">
670
- <state line="8" column="24" selection-start="120" selection-end="120" vertical-scroll-proportion="0.0">
820
+ <state line="7" column="20" selection-start="109" selection-end="109" vertical-scroll-proportion="0.0">
671
821
  <folding />
672
822
  </state>
673
823
  </provider>
674
824
  </entry>
675
- <entry file="file://$PROJECT_DIR$/CHANGES">
825
+ <entry file="file://$PROJECT_DIR$/spec/executable_spec.rb">
676
826
  <provider selected="true" editor-type-id="text-editor">
677
- <state line="9" column="43" selection-start="154" selection-end="154" vertical-scroll-proportion="0.0" />
827
+ <state line="7" column="58" selection-start="0" selection-end="2064" vertical-scroll-proportion="0.0">
828
+ <folding />
829
+ </state>
678
830
  </provider>
679
831
  </entry>
680
- <entry file="file://$PROJECT_DIR$/Rakefile">
832
+ <entry file="file://$PROJECT_DIR$/lib/script_locator.rb">
681
833
  <provider selected="true" editor-type-id="text-editor">
682
- <state line="31" column="3" selection-start="675" selection-end="675" vertical-scroll-proportion="0.7178003" />
834
+ <state line="2" column="58" selection-start="95" selection-end="95" vertical-scroll-proportion="0.034006376">
835
+ <folding />
836
+ </state>
683
837
  </provider>
684
838
  </entry>
685
- <entry file="file://$PROJECT_DIR$/lib/script_executor/version.rb">
839
+ <entry file="file://$PROJECT_DIR$/lib/executable.rb">
686
840
  <provider selected="true" editor-type-id="text-editor">
687
- <state line="1" column="18" selection-start="40" selection-end="40" vertical-scroll-proportion="0.023154847">
841
+ <state line="2" column="64" selection-start="91" selection-end="91" vertical-scroll-proportion="0.033195022">
688
842
  <folding />
689
843
  </state>
690
844
  </provider>
691
845
  </entry>
692
- <entry file="file://$PROJECT_DIR$/spec/spec_helper.rb">
846
+ <entry file="file://$PROJECT_DIR$/lib/script_executor.rb">
693
847
  <provider selected="true" editor-type-id="text-editor">
694
- <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
848
+ <state line="2" column="41" selection-start="96" selection-end="96" vertical-scroll-proportion="0.0">
695
849
  <folding />
696
850
  </state>
697
851
  </provider>
698
852
  </entry>
699
- <entry file="file://$PROJECT_DIR$/lib/script_executor/script_executor.rb">
853
+ <entry file="file://$PROJECT_DIR$/spec/script_locator_spec.rb">
700
854
  <provider selected="true" editor-type-id="text-editor">
701
- <state line="3" column="0" selection-start="43" selection-end="43" vertical-scroll-proportion="0.0">
702
- <folding />
855
+ <state line="18" column="13" selection-start="340" selection-end="340" vertical-scroll-proportion="0.0">
856
+ <folding>
857
+ <element signature="e#457#511#0" expanded="true" />
858
+ </folding>
703
859
  </state>
704
860
  </provider>
705
861
  </entry>
706
- <entry file="file://$PROJECT_DIR$/Gemfile">
862
+ <entry file="file://$PROJECT_DIR$/.rvmrc">
707
863
  <provider selected="true" editor-type-id="text-editor">
708
- <state line="8" column="24" selection-start="120" selection-end="120" vertical-scroll-proportion="0.0">
864
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
709
865
  <folding />
710
866
  </state>
711
867
  </provider>
712
868
  </entry>
713
- <entry file="file://$PROJECT_DIR$/lib/script_executor.rb">
869
+ <entry file="file://$PROJECT_DIR$/Gemfile">
714
870
  <provider selected="true" editor-type-id="text-editor">
715
- <state line="2" column="41" selection-start="96" selection-end="96" vertical-scroll-proportion="0.052980132">
871
+ <state line="14" column="28" selection-start="186" selection-end="186" vertical-scroll-proportion="0.0">
716
872
  <folding />
717
873
  </state>
718
874
  </provider>
719
875
  </entry>
720
- <entry file="file://$PROJECT_DIR$/spec/script_executor_spec.rb">
876
+ <entry file="file://$PROJECT_DIR$/CHANGES">
721
877
  <provider selected="true" editor-type-id="text-editor">
722
- <state line="9" column="37" selection-start="208" selection-end="208" vertical-scroll-proportion="-5.5384617">
878
+ <state line="11" column="30" selection-start="173" selection-end="173" vertical-scroll-proportion="0.0">
723
879
  <folding />
724
880
  </state>
725
881
  </provider>
726
882
  </entry>
727
- <entry file="file://$PROJECT_DIR$/lib/script_executor/executable.rb">
883
+ <entry file="file://$PROJECT_DIR$/Rakefile">
728
884
  <provider selected="true" editor-type-id="text-editor">
729
- <state line="108" column="43" selection-start="2606" selection-end="2606" vertical-scroll-proportion="2.860927">
885
+ <state line="31" column="3" selection-start="675" selection-end="675" vertical-scroll-proportion="0.51452285">
730
886
  <folding />
731
887
  </state>
732
888
  </provider>
data/CHANGES CHANGED
@@ -7,4 +7,13 @@
7
7
  == Version 1.0.1
8
8
 
9
9
  * Add missing dependency.
10
- * Fix issue when sudo has multiple commands
10
+ * Fix issue when sudo has multiple commands.
11
+
12
+ == Version 1.1.0
13
+
14
+ * Refactoring code.
15
+ * Introduce Executable module.
16
+
17
+ == Version 1.2.0
18
+
19
+ * Introduce ScriptLocator module.
data/Gemfile CHANGED
@@ -17,8 +17,14 @@ end
17
17
 
18
18
  group :debug do
19
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"
20
+ unless File.exist? "#{ENV['GEM_HOME']}/gems/linecache19-0.5.13/lib/linecache19.rb"
21
+ `curl -OL http://rubyforge.org/frs/download.php/75414/linecache19-0.5.13.gem`
22
+ `gem i linecache19-0.5.13.gem`
23
+ end
24
+
25
+ gem "linecache19", "0.5.13"
26
+ gem "ruby-debug-base19x", "0.11.30.pre10"
27
+ gem "ruby-debug-ide", "0.4.17.beta14"
22
28
  end
23
29
  end
24
30
 
data/Gemfile.lock CHANGED
@@ -1,24 +1,38 @@
1
1
  GEM
2
2
  remote: http://rubygems.org/
3
3
  specs:
4
+ archive-tar-minitar (0.5.2)
5
+ columnize (0.3.6)
4
6
  diff-lcs (1.1.3)
5
- file_utils (1.0.5)
7
+ file_utils (1.0.6)
6
8
  gemcutter (0.7.1)
7
9
  gemspec_deps_gen (1.0.5)
8
10
  file_utils
9
11
  highline (1.6.15)
12
+ linecache19 (0.5.13)
13
+ ruby_core_source (>= 0.1.4)
10
14
  metaclass (0.0.1)
11
15
  mocha (0.13.1)
12
16
  metaclass (~> 0.0.1)
13
17
  net-ssh (2.6.2)
18
+ rake (10.0.3)
14
19
  rspec (2.12.0)
15
20
  rspec-core (~> 2.12.0)
16
21
  rspec-expectations (~> 2.12.0)
17
22
  rspec-mocks (~> 2.12.0)
18
- rspec-core (2.12.1)
19
- rspec-expectations (2.12.0)
23
+ rspec-core (2.12.2)
24
+ rspec-expectations (2.12.1)
20
25
  diff-lcs (~> 1.1.3)
21
26
  rspec-mocks (2.12.0)
27
+ ruby-debug-base19x (0.11.30.pre10)
28
+ columnize (>= 0.3.1)
29
+ linecache19 (>= 0.5.11)
30
+ rake (>= 0.8.1)
31
+ ruby_core_source (>= 0.1.4)
32
+ ruby-debug-ide (0.4.17.beta14)
33
+ rake (>= 0.8.1)
34
+ ruby_core_source (0.1.5)
35
+ archive-tar-minitar (>= 0.5.2)
22
36
 
23
37
  PLATFORMS
24
38
  ruby
@@ -27,6 +41,9 @@ DEPENDENCIES
27
41
  gemcutter
28
42
  gemspec_deps_gen
29
43
  highline
44
+ linecache19 (= 0.5.13)
30
45
  mocha
31
46
  net-ssh
32
47
  rspec
48
+ ruby-debug-base19x (= 0.11.30.pre10)
49
+ ruby-debug-ide (= 0.4.17.beta14)
@@ -1,6 +1,7 @@
1
1
  require 'executable'
2
+ require 'script_locator'
2
3
 
3
4
  class ScriptExecutor
4
- include Executable
5
+ include Executable, ScriptLocator
5
6
 
6
7
  end
@@ -0,0 +1,56 @@
1
+ require 'erb'
2
+
3
+ module ScriptLocator
4
+
5
+ def scripts file, binding
6
+ data = extract_data file
7
+
8
+ locate_scripts(data, binding)
9
+ end
10
+
11
+ private
12
+
13
+ def extract_data file
14
+ content = File.read(file)
15
+
16
+ index = content.index("__END__\n")
17
+
18
+ content[index+9..-1]
19
+ end
20
+
21
+ def locate_scripts data, binding
22
+ scripts = {}
23
+
24
+ stream = StringIO.new data
25
+
26
+ current_key = nil
27
+
28
+ stream.each_line do |line|
29
+ if line =~ /^(\s)*\[[\w\d\s]*\](\s)*$/
30
+ marker = line.strip.gsub(/\[[\w\d\s]*\]/).first
31
+
32
+ if !marker.nil? and marker.strip.length > 0
33
+ key = marker[1..marker.length-2]
34
+
35
+ scripts[key] = ""
36
+ current_key = key
37
+ end
38
+ else
39
+ scripts[current_key] += line if current_key
40
+ end
41
+ end
42
+
43
+ scripts.each do |key, script|
44
+ scripts[key] = execute_template(script, binding).strip
45
+ end
46
+
47
+ scripts
48
+ end
49
+
50
+ def execute_template content, binding
51
+ template = ERB.new content
52
+
53
+ template.result(binding)
54
+ end
55
+
56
+ end
@@ -1,3 +1,3 @@
1
1
  module ScriptExecutor
2
- VERSION = "1.1.0"
2
+ VERSION = "1.2.0"
3
3
  end
@@ -0,0 +1,3 @@
1
+ require 'rubygems' unless Object.const_defined?(:Gem)
2
+
3
+ require 'script_executor/script_locator'
@@ -1,10 +1,14 @@
1
1
  require File.expand_path('spec_helper', File.dirname(__FILE__))
2
2
 
3
- require 'script_executor'
3
+ require 'executable'
4
4
 
5
- describe ScriptExecutor do
5
+ class MyExecutable
6
+ include Executable
7
+ end
8
+
9
+ describe MyExecutable do
6
10
 
7
- subject { ScriptExecutor.new }
11
+ subject { MyExecutable.new }
8
12
 
9
13
  before :all do
10
14
  @password ||= ask("Enter password for #{ENV['USER']}: ") { |q| q.echo = '*' }
@@ -0,0 +1,35 @@
1
+ require File.expand_path('spec_helper', File.dirname(__FILE__))
2
+
3
+ require 'script_locator'
4
+
5
+ class MyScriptLocator
6
+ include ScriptLocator
7
+ end
8
+
9
+ describe MyScriptLocator do
10
+
11
+ subject { MyScriptLocator.new }
12
+
13
+ it "should read after __END__" do
14
+ result = subject.scripts(__FILE__, binding)
15
+
16
+ result.should_not be_nil
17
+ end
18
+
19
+ it "should locate script" do
20
+ result = subject.scripts(__FILE__, binding)
21
+
22
+ result['test1'].should_not be_nil
23
+ end
24
+
25
+ end
26
+
27
+ __END__
28
+
29
+ [test1]
30
+
31
+ echo "test1"
32
+
33
+ [test2]
34
+
35
+ echo "test2"
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.1.0
4
+ version: 1.2.0
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-12-13 00:00:00.000000000 Z
12
+ date: 2012-12-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: highline
@@ -104,10 +104,13 @@ files:
104
104
  - lib/script_executor.rb
105
105
  - lib/script_executor/executable.rb
106
106
  - lib/script_executor/script_executor.rb
107
+ - lib/script_executor/script_locator.rb
107
108
  - lib/script_executor/version.rb
109
+ - lib/script_locator.rb
108
110
  - script_executor.gemspec
109
111
  - script_executor.gemspec.erb
110
- - spec/script_executor_spec.rb
112
+ - spec/executable_spec.rb
113
+ - spec/script_locator_spec.rb
111
114
  - spec/spec_helper.rb
112
115
  homepage: http://github.com/shvets/script_executor
113
116
  licenses: []
@@ -121,6 +124,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
121
124
  - - ! '>='
122
125
  - !ruby/object:Gem::Version
123
126
  version: '0'
127
+ segments:
128
+ - 0
129
+ hash: -2610870684344764088
124
130
  required_rubygems_version: !ruby/object:Gem::Requirement
125
131
  none: false
126
132
  requirements:
@@ -134,5 +140,6 @@ signing_key:
134
140
  specification_version: 3
135
141
  summary: This library helps to execute code, locally or remote over ssh
136
142
  test_files:
137
- - spec/script_executor_spec.rb
143
+ - spec/executable_spec.rb
144
+ - spec/script_locator_spec.rb
138
145
  - spec/spec_helper.rb