pwork 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 12fc46646afad842b2d26d7b4f73e71f05508331
4
- data.tar.gz: 8204dcfb88889545c61c5a4777a72ac7f5c8e52a
3
+ metadata.gz: e211f06213c82dc2719245bd2864d1c078673518
4
+ data.tar.gz: 8851cd0e4e76fcfb68650361532f6da630fff5dc
5
5
  SHA512:
6
- metadata.gz: c5b91b4ad0f0d3fcfe2472f6da54a31f144f8f0dfe7767f1f23cbe977e5f502946cb9327c4ada5d0b08a8b5cd15111dfe850cdf00cb8d1c5ceffb25802f70508
7
- data.tar.gz: 4618f27997ed76d4f68881227fcaaba9c75fae7a715722b842c1908a139400a034e4d473c8296ed9400af70047fbe602f2bb53daaadea213e5c40d0350f0b15c
6
+ metadata.gz: beffa0245050025c639207ca9a0b9124ae70fbb6ba1c4290e80ee92a309d93c27db4f793bbcff160e6d14418ae1d34bd5943f5dfe89681299292ecdffa1311f6
7
+ data.tar.gz: 63b0f7feca632604e96239f6a380e8063dbb35939155d232535a9e0a5d7f94af5948701e78a558a9cb798782e58b713e6883295696a5e3aee3c02c84463f4777
data/.gitignore CHANGED
@@ -2,3 +2,4 @@ src/.DS_Store
2
2
  .DS_Store
3
3
  src/log/*
4
4
  src/tmp/*
5
+ .idea
data/Gemfile.lock CHANGED
@@ -1,12 +1,18 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- pwork (0.1.0)
4
+ pwork (0.1.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
+ coderay (1.1.1)
9
10
  diff-lcs (1.2.5)
11
+ method_source (0.8.2)
12
+ pry (0.10.3)
13
+ coderay (~> 1.1.0)
14
+ method_source (~> 0.8.1)
15
+ slop (~> 3.4)
10
16
  rake (10.5.0)
11
17
  rspec (3.4.0)
12
18
  rspec-core (~> 3.4.0)
@@ -21,12 +27,14 @@ GEM
21
27
  diff-lcs (>= 1.2.0, < 2.0)
22
28
  rspec-support (~> 3.4.0)
23
29
  rspec-support (3.4.1)
30
+ slop (3.6.0)
24
31
 
25
32
  PLATFORMS
26
33
  ruby
27
34
 
28
35
  DEPENDENCIES
29
- bundler (~> 1.11)
36
+ bundler (~> 1.11.2)
37
+ pry
30
38
  pwork!
31
39
  rake (~> 10.0)
32
40
  rspec
data/lib/pwork.rb CHANGED
@@ -30,12 +30,12 @@ class Array
30
30
 
31
31
  #This method is called to loop over each item in this array in parallel threads
32
32
  def peach(thread_count = 5, &block)
33
- mutex = Mutex.new
34
- index_count = -1
33
+ @mutex = Mutex.new
34
+ @index_count = -1
35
35
  threads = []
36
36
  thread_count.times.each do
37
37
  thread = Thread.new do
38
- thread_process(index_count, mutex, &block)
38
+ thread_process(&block)
39
39
  end
40
40
  threads.push(thread)
41
41
  end
@@ -44,26 +44,28 @@ class Array
44
44
  end
45
45
 
46
46
  #This method is used to recursively process an item on a thread
47
- def thread_process(index_count, mutex, &block)
47
+ def thread_process(&block)
48
48
 
49
49
  item = nil
50
50
 
51
51
  #use a mutex to get the next item from the array to ensure thread safety
52
- mutex.synchronize do
53
- index_count += 1
52
+ @mutex.synchronize do
53
+ @index_count += 1
54
54
 
55
- if index_count > self.length - 1
56
- return
55
+ if @index_count <= self.length - 1
56
+ item = self[@index_count]
57
57
  end
58
+ end
58
59
 
59
- item = self[index_count]
60
+ if item == nil
61
+ return
60
62
  end
61
63
 
62
64
  #execute the block for the current item
63
65
  yield item
64
66
 
65
67
  #recursively attempt to process another item from the array opn this thread
66
- thread_process(index_count, mutex, &block)
68
+ thread_process(&block)
67
69
  end
68
70
 
69
71
  end
data/lib/pwork/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Pwork
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
data/pwork.gemspec CHANGED
@@ -19,7 +19,8 @@ Gem::Specification.new do |spec|
19
19
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
20
  spec.require_paths = ["lib"]
21
21
 
22
- spec.add_development_dependency "bundler", "~> 1.11"
22
+ spec.add_development_dependency "bundler", "~> 1.11.2"
23
23
  spec.add_development_dependency "rake", "~> 10.0"
24
24
  spec.add_development_dependency "rspec"
25
+ spec.add_development_dependency 'pry'
25
26
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pwork
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - vaughanbrittonage
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-03-29 00:00:00.000000000 Z
11
+ date: 2016-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.11'
19
+ version: 1.11.2
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.11'
26
+ version: 1.11.2
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -52,6 +52,20 @@ dependencies:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: pry
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
55
69
  description: This is a library to facilitate with the execution of work on parallel
56
70
  threads.
57
71
  email:
@@ -66,10 +80,7 @@ files:
66
80
  - ".idea/.rakeTasks"
67
81
  - ".idea/encodings.xml"
68
82
  - ".idea/misc.xml"
69
- - ".idea/modules.xml"
70
- - ".idea/pworker.iml"
71
83
  - ".idea/vcs.xml"
72
- - ".idea/workspace.xml"
73
84
  - ".rspec"
74
85
  - CODE_OF_CONDUCT.md
75
86
  - Gemfile
@@ -107,4 +118,3 @@ signing_key:
107
118
  specification_version: 4
108
119
  summary: This is a library to facilitate with the execution of work on parallel threads.
109
120
  test_files: []
110
- has_rdoc:
data/.idea/modules.xml DELETED
@@ -1,8 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ProjectModuleManager">
4
- <modules>
5
- <module fileurl="file://$USER_HOME$/Documents/Projects/pwork/.idea/pworker.iml" filepath="$USER_HOME$/Documents/Projects/pwork/.idea/pworker.iml" />
6
- </modules>
7
- </component>
8
- </project>
data/.idea/pworker.iml DELETED
@@ -1,25 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <module type="RUBY_MODULE" version="4">
3
- <component name="FacetManager">
4
- <facet type="gem" name="Ruby Gem">
5
- <configuration>
6
- <option name="GEM_APP_ROOT_PATH" value="$MODULE_DIR$/../pworker" />
7
- <option name="GEM_APP_TEST_PATH" value="" />
8
- <option name="GEM_APP_LIB_PATH" value="$MODULE_DIR$/../pworker/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.11.2, rbenv: 2.1.5) [gem]" level="application" />
17
- <orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.2.5, rbenv: 2.1.5) [gem]" level="application" />
18
- <orderEntry type="library" scope="PROVIDED" name="rake (v10.5.0, rbenv: 2.1.5) [gem]" level="application" />
19
- <orderEntry type="library" scope="PROVIDED" name="rspec (v3.4.0, rbenv: 2.1.5) [gem]" level="application" />
20
- <orderEntry type="library" scope="PROVIDED" name="rspec-core (v3.4.4, rbenv: 2.1.5) [gem]" level="application" />
21
- <orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v3.4.0, rbenv: 2.1.5) [gem]" level="application" />
22
- <orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v3.4.1, rbenv: 2.1.5) [gem]" level="application" />
23
- <orderEntry type="library" scope="PROVIDED" name="rspec-support (v3.4.1, rbenv: 2.1.5) [gem]" level="application" />
24
- </component>
25
- </module>
data/.idea/workspace.xml DELETED
@@ -1,508 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ChangeListManager">
4
- <list default="true" id="db89e2dd-d181-494e-8b26-1703e9d201f2" name="Default" comment="">
5
- <change type="NEW" beforePath="" afterPath="$USER_HOME$/Documents/Projects/pwork/.gitignore" />
6
- <change type="NEW" beforePath="" afterPath="$USER_HOME$/Documents/Projects/pwork/CODE_OF_CONDUCT.md" />
7
- <change type="NEW" beforePath="" afterPath="$USER_HOME$/Documents/Projects/pwork/Gemfile" />
8
- <change type="NEW" beforePath="" afterPath="$USER_HOME$/Documents/Projects/pwork/LICENSE.txt" />
9
- <change type="NEW" beforePath="" afterPath="$USER_HOME$/Documents/Projects/pwork/README.md" />
10
- <change type="NEW" beforePath="" afterPath="$USER_HOME$/Documents/Projects/pwork/Rakefile" />
11
- <change type="NEW" beforePath="" afterPath="$USER_HOME$/Documents/Projects/pwork/bin/console" />
12
- <change type="NEW" beforePath="" afterPath="$USER_HOME$/Documents/Projects/pwork/lib/pwork.rb" />
13
- <change type="NEW" beforePath="" afterPath="$USER_HOME$/Documents/Projects/pwork/spec/pwork_spec.rb" />
14
- <change type="NEW" beforePath="" afterPath="$USER_HOME$/Documents/Projects/pwork/pwork.gemspec" />
15
- <change type="NEW" beforePath="" afterPath="$USER_HOME$/Documents/Projects/pwork/bin/setup" />
16
- <change type="NEW" beforePath="" afterPath="$USER_HOME$/Documents/Projects/pwork/lib/pwork/version.rb" />
17
- </list>
18
- <ignored path="pworker.iws" />
19
- <ignored path=".idea/workspace.xml" />
20
- <ignored path=".idea/dataSources.local.xml" />
21
- <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
22
- <option name="TRACKING_ENABLED" value="true" />
23
- <option name="SHOW_DIALOG" value="false" />
24
- <option name="HIGHLIGHT_CONFLICTS" value="true" />
25
- <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
26
- <option name="LAST_RESOLUTION" value="IGNORE" />
27
- </component>
28
- <component name="ChangesViewManager" flattened_view="true" show_ignored="false" />
29
- <component name="CreatePatchCommitExecutor">
30
- <option name="PATCH_PATH" value="" />
31
- </component>
32
- <component name="FavoritesManager">
33
- <favorites_list name="pworker" />
34
- </component>
35
- <component name="FileEditorManager">
36
- <leaf>
37
- <file leaf-file-name="pwork.gemspec" pinned="false" current-in-tab="false">
38
- <entry file="file://$USER_HOME$/Documents/Projects/pwork/pwork.gemspec">
39
- <provider selected="true" editor-type-id="text-editor">
40
- <state vertical-scroll-proportion="0.0">
41
- <caret line="13" column="52" selection-start-line="13" selection-start-column="52" selection-end-line="13" selection-end-column="52" />
42
- <folding />
43
- </state>
44
- </provider>
45
- </entry>
46
- </file>
47
- <file leaf-file-name="spec_helper.rb" pinned="false" current-in-tab="false">
48
- <entry file="file://$USER_HOME$/Documents/Projects/pwork/spec/spec_helper.rb">
49
- <provider selected="true" editor-type-id="text-editor">
50
- <state vertical-scroll-proportion="0.0">
51
- <caret line="1" column="0" selection-start-line="1" selection-start-column="0" selection-end-line="1" selection-end-column="0" />
52
- <folding />
53
- </state>
54
- </provider>
55
- </entry>
56
- </file>
57
- <file leaf-file-name="pwork.rb" pinned="false" current-in-tab="false">
58
- <entry file="file://$USER_HOME$/Documents/Projects/pwork/lib/pwork.rb">
59
- <provider selected="true" editor-type-id="text-editor">
60
- <state vertical-scroll-proportion="0.0">
61
- <caret line="21" column="7" selection-start-line="21" selection-start-column="7" selection-end-line="21" selection-end-column="7" />
62
- <folding />
63
- </state>
64
- </provider>
65
- </entry>
66
- </file>
67
- <file leaf-file-name="version.rb" pinned="false" current-in-tab="false">
68
- <entry file="file://$USER_HOME$/Documents/Projects/pwork/lib/pwork/version.rb">
69
- <provider selected="true" editor-type-id="text-editor">
70
- <state vertical-scroll-proportion="0.0">
71
- <caret line="0" column="12" selection-start-line="0" selection-start-column="12" selection-end-line="0" selection-end-column="12" />
72
- <folding />
73
- </state>
74
- </provider>
75
- </entry>
76
- </file>
77
- <file leaf-file-name="CODE_OF_CONDUCT.md" pinned="false" current-in-tab="false">
78
- <entry file="file://$USER_HOME$/Documents/Projects/pwork/CODE_OF_CONDUCT.md">
79
- <provider editor-type-id="com.intellij.database.editor.CsvTableFileEditorProvider">
80
- <state />
81
- </provider>
82
- <provider selected="true" editor-type-id="text-editor">
83
- <state vertical-scroll-proportion="-0.0">
84
- <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
85
- <folding />
86
- </state>
87
- </provider>
88
- </entry>
89
- </file>
90
- <file leaf-file-name=".rspec" pinned="false" current-in-tab="false">
91
- <entry file="file://$USER_HOME$/Documents/Projects/pwork/.rspec">
92
- <provider selected="true" editor-type-id="text-editor">
93
- <state vertical-scroll-proportion="0.0">
94
- <caret line="2" column="12" selection-start-line="2" selection-start-column="12" selection-end-line="2" selection-end-column="12" />
95
- <folding />
96
- </state>
97
- </provider>
98
- </entry>
99
- </file>
100
- <file leaf-file-name="pwork_spec.rb" pinned="false" current-in-tab="false">
101
- <entry file="file://$USER_HOME$/Documents/Projects/pwork/spec/pwork_spec.rb">
102
- <provider selected="true" editor-type-id="text-editor">
103
- <state vertical-scroll-proportion="0.0">
104
- <caret line="3" column="0" selection-start-line="3" selection-start-column="0" selection-end-line="3" selection-end-column="0" />
105
- <folding>
106
- <element signature="e#182#786#0" expanded="false" />
107
- <element signature="e#893#1500#0" expanded="false" />
108
- <element signature="e#1672#4847#0" expanded="false" />
109
- <element signature="e#4984#8164#0" expanded="false" />
110
- </folding>
111
- </state>
112
- </provider>
113
- </entry>
114
- </file>
115
- <file leaf-file-name=".gitignore" pinned="false" current-in-tab="false">
116
- <entry file="file://$USER_HOME$/Documents/Projects/pwork/.gitignore">
117
- <provider selected="true" editor-type-id="text-editor">
118
- <state vertical-scroll-proportion="-1.6666666">
119
- <caret line="3" column="9" selection-start-line="3" selection-start-column="9" selection-end-line="3" selection-end-column="9" />
120
- <folding />
121
- </state>
122
- </provider>
123
- </entry>
124
- </file>
125
- <file leaf-file-name="README.md" pinned="false" current-in-tab="true">
126
- <entry file="file://$USER_HOME$/Documents/Projects/pwork/README.md">
127
- <provider selected="true" editor-type-id="text-editor">
128
- <state vertical-scroll-proportion="0.9764706">
129
- <caret line="93" column="109" selection-start-line="93" selection-start-column="109" selection-end-line="93" selection-end-column="109" />
130
- <folding />
131
- </state>
132
- </provider>
133
- </entry>
134
- </file>
135
- </leaf>
136
- </component>
137
- <component name="Git.Settings">
138
- <option name="RECENT_GIT_ROOT_PATH" value="$USER_HOME$/Documents/Projects/pworker" />
139
- </component>
140
- <component name="IdeDocumentHistory">
141
- <option name="CHANGED_PATHS">
142
- <list>
143
- <option value="$USER_HOME$/Documents/Projects/pworker/pworker.gemspec" />
144
- <option value="$USER_HOME$/Documents/Projects/pworker/spec/spec_helper.rb" />
145
- <option value="$USER_HOME$/Documents/Projects/pworker/.rspec" />
146
- <option value="$USER_HOME$/Documents/Projects/pworker/spec/pworker_spec.rb" />
147
- <option value="$USER_HOME$/Documents/Projects/pworker/lib/pworker.rb" />
148
- <option value="$USER_HOME$/Documents/Projects/pwork/lib/pwork/version.rb" />
149
- <option value="$USER_HOME$/Documents/Projects/pwork/spec/pwork_spec.rb" />
150
- <option value="$USER_HOME$/Documents/Projects/pwork/.gitignore" />
151
- <option value="$USER_HOME$/Documents/Projects/pwork/pwork.gemspec" />
152
- <option value="$USER_HOME$/Documents/Projects/pwork/README.md" />
153
- </list>
154
- </option>
155
- </component>
156
- <component name="JsBuildToolGruntFileManager" detection-done="true" />
157
- <component name="JsGulpfileManager">
158
- <detection-done>true</detection-done>
159
- </component>
160
- <component name="NamedScopeManager">
161
- <order />
162
- </component>
163
- <component name="ProjectFrameBounds">
164
- <option name="x" value="1935" />
165
- <option name="y" value="30" />
166
- <option name="width" value="2479" />
167
- <option name="height" value="1396" />
168
- </component>
169
- <component name="ProjectLevelVcsManager" settingsEditedManually="false">
170
- <OptionsSetting value="true" id="Add" />
171
- <OptionsSetting value="true" id="Remove" />
172
- <OptionsSetting value="true" id="Checkout" />
173
- <OptionsSetting value="true" id="Update" />
174
- <OptionsSetting value="true" id="Status" />
175
- <OptionsSetting value="true" id="Edit" />
176
- <ConfirmationsSetting value="0" id="Add" />
177
- <ConfirmationsSetting value="0" id="Remove" />
178
- </component>
179
- <component name="ProjectView">
180
- <navigator currentView="ProjectPane" proportions="" version="1">
181
- <flattenPackages />
182
- <showMembers />
183
- <showModules />
184
- <showLibraryContents />
185
- <hideEmptyPackages />
186
- <abbreviatePackageNames />
187
- <autoscrollToSource />
188
- <autoscrollFromSource />
189
- <sortByType />
190
- </navigator>
191
- <panes>
192
- <pane id="Scope" />
193
- <pane id="ProjectPane">
194
- <subPane>
195
- <PATH>
196
- <PATH_ELEMENT>
197
- <option name="myItemId" value="pworker" />
198
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
199
- </PATH_ELEMENT>
200
- <PATH_ELEMENT>
201
- <option name="myItemId" value="pwork" />
202
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
203
- </PATH_ELEMENT>
204
- </PATH>
205
- <PATH>
206
- <PATH_ELEMENT>
207
- <option name="myItemId" value="pworker" />
208
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
209
- </PATH_ELEMENT>
210
- <PATH_ELEMENT>
211
- <option name="myItemId" value="pwork" />
212
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
213
- </PATH_ELEMENT>
214
- <PATH_ELEMENT>
215
- <option name="myItemId" value="spec" />
216
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
217
- </PATH_ELEMENT>
218
- </PATH>
219
- <PATH>
220
- <PATH_ELEMENT>
221
- <option name="myItemId" value="pworker" />
222
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
223
- </PATH_ELEMENT>
224
- <PATH_ELEMENT>
225
- <option name="myItemId" value="pwork" />
226
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
227
- </PATH_ELEMENT>
228
- <PATH_ELEMENT>
229
- <option name="myItemId" value="lib" />
230
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
231
- </PATH_ELEMENT>
232
- </PATH>
233
- <PATH>
234
- <PATH_ELEMENT>
235
- <option name="myItemId" value="pworker" />
236
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
237
- </PATH_ELEMENT>
238
- <PATH_ELEMENT>
239
- <option name="myItemId" value="pwork" />
240
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
241
- </PATH_ELEMENT>
242
- <PATH_ELEMENT>
243
- <option name="myItemId" value="lib" />
244
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
245
- </PATH_ELEMENT>
246
- <PATH_ELEMENT>
247
- <option name="myItemId" value="pwork" />
248
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
249
- </PATH_ELEMENT>
250
- </PATH>
251
- </subPane>
252
- </pane>
253
- <pane id="Scratches" />
254
- </panes>
255
- </component>
256
- <component name="PropertiesComponent">
257
- <property name="settings.editor.selected.configurable" value="org.jetbrains.plugins.ruby.settings.RubyActiveModuleSdkConfigurable" />
258
- <property name="settings.editor.splitter.proportion" value="0.2" />
259
- <property name="last_opened_file_path" value="$USER_HOME$/Documents/Projects/pworker" />
260
- <property name="WebServerToolWindowFactoryState" value="false" />
261
- </component>
262
- <component name="RunManager">
263
- <configuration default="true" type="CucumberRunConfigurationType" factoryName="Cucumber">
264
- <predefined_log_file id="RUBY_CUCUMBER" enabled="true" />
265
- <module name="" />
266
- <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
267
- <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
268
- <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
269
- <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
270
- <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
271
- <envs />
272
- <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
273
- <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
274
- <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
275
- <COVERAGE_PATTERN ENABLED="true">
276
- <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
277
- </COVERAGE_PATTERN>
278
- </EXTENSION>
279
- <EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
280
- <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*.feature" />
281
- <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
282
- <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
283
- <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
284
- <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_TAGS_FILTER" VALUE="" />
285
- <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_NAME_FILTER" VALUE="" />
286
- <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="CUCUMBER_ARGS" VALUE="--color -r features" />
287
- <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
288
- <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
289
- <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="VERBOSE_OPTION" VALUE="false" />
290
- <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
291
- <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
292
- <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
293
- <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="CUCUMBER_RUNNER_PATH" VALUE="" />
294
- <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_RUNNER" VALUE="false" />
295
- <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SETTINGS_VERSION" VALUE="2" />
296
- <method />
297
- </configuration>
298
- <configuration default="true" type="JavascriptDebugType" factoryName="JavaScript Debug">
299
- <method />
300
- </configuration>
301
- <configuration default="true" type="RSpecRunConfigurationType" factoryName="RSpec">
302
- <predefined_log_file id="RUBY_RSPEC" enabled="true" />
303
- <module name="" />
304
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
305
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
306
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
307
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
308
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
309
- <envs />
310
- <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
311
- <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
312
- <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
313
- <COVERAGE_PATTERN ENABLED="true">
314
- <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
315
- </COVERAGE_PATTERN>
316
- </EXTENSION>
317
- <EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
318
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
319
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
320
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
321
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb" />
322
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="" />
323
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
324
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_ARGS" VALUE="" />
325
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
326
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_SPEC_RUNNER" VALUE="false" />
327
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
328
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
329
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
330
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
331
- <method />
332
- </configuration>
333
- <configuration default="true" type="RubyRunConfigurationType" factoryName="Ruby">
334
- <module name="" />
335
- <RUBY_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
336
- <RUBY_RUN_CONFIG NAME="WORK DIR" VALUE="" />
337
- <RUBY_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="false" />
338
- <RUBY_RUN_CONFIG NAME="ALTERN_SDK_NAME" VALUE="" />
339
- <RUBY_RUN_CONFIG NAME="myPassParentEnvs" VALUE="true" />
340
- <envs />
341
- <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
342
- <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
343
- <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
344
- <COVERAGE_PATTERN ENABLED="true">
345
- <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
346
- </COVERAGE_PATTERN>
347
- </EXTENSION>
348
- <EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
349
- <RUBY_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="" />
350
- <RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="" />
351
- <method />
352
- </configuration>
353
- <configuration default="true" type="TestUnitRunConfigurationType" factoryName="Test::Unit/Shoulda/Minitest">
354
- <predefined_log_file id="RUBY_TESTUNIT" enabled="true" />
355
- <module name="" />
356
- <RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
357
- <RTEST_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
358
- <RTEST_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
359
- <RTEST_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
360
- <RTEST_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
361
- <envs />
362
- <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
363
- <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
364
- <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
365
- <COVERAGE_PATTERN ENABLED="true">
366
- <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
367
- </COVERAGE_PATTERN>
368
- </EXTENSION>
369
- <EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
370
- <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
371
- <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
372
- <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="" />
373
- <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_METHOD_NAME" VALUE="" />
374
- <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
375
- <RTEST_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
376
- <RTEST_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
377
- <RTEST_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
378
- <RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_OPTIONS" VALUE="" />
379
- <method />
380
- </configuration>
381
- <configuration default="true" type="js.build_tools.gulp" factoryName="Gulp.js">
382
- <method />
383
- </configuration>
384
- </component>
385
- <component name="ShelveChangesManager" show_recycled="false" />
386
- <component name="TaskManager">
387
- <task active="true" id="Default" summary="Default task">
388
- <changelist id="db89e2dd-d181-494e-8b26-1703e9d201f2" name="Default" comment="" />
389
- <created>1459235375829</created>
390
- <option name="number" value="Default" />
391
- <updated>1459235375829</updated>
392
- </task>
393
- <servers />
394
- </component>
395
- <component name="ToolWindowManager">
396
- <frame x="1935" y="30" width="2479" height="1396" extended-state="0" />
397
- <editor active="true" />
398
- <layout>
399
- <window_info id="Terminal" 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" />
400
- <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" />
401
- <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32932332" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
402
- <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" />
403
- <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="false" content_ui="tabs" />
404
- <window_info id="Application Servers" 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" />
405
- <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.24989742" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
406
- <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
407
- <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
408
- <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" />
409
- <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" />
410
- <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" />
411
- <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" />
412
- <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" />
413
- <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" />
414
- <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
415
- <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" />
416
- <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" />
417
- </layout>
418
- </component>
419
- <component name="VcsContentAnnotationSettings">
420
- <option name="myLimit" value="2678400000" />
421
- </component>
422
- <component name="XDebuggerManager">
423
- <breakpoint-manager />
424
- <watches-manager />
425
- </component>
426
- <component name="editorHistoryManager">
427
- <entry file="file://$USER_HOME$/Documents/Projects/pwork/CODE_OF_CONDUCT.md">
428
- <provider editor-type-id="com.intellij.database.editor.CsvTableFileEditorProvider">
429
- <state />
430
- </provider>
431
- <provider selected="true" editor-type-id="text-editor">
432
- <state vertical-scroll-proportion="-0.0">
433
- <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
434
- <folding />
435
- </state>
436
- </provider>
437
- </entry>
438
- <entry file="file://$USER_HOME$/Documents/Projects/pwork/.rspec">
439
- <provider selected="true" editor-type-id="text-editor">
440
- <state vertical-scroll-proportion="0.0">
441
- <caret line="2" column="12" selection-start-line="2" selection-start-column="12" selection-end-line="2" selection-end-column="12" />
442
- <folding />
443
- </state>
444
- </provider>
445
- </entry>
446
- <entry file="file://$USER_HOME$/Documents/Projects/pwork/spec/spec_helper.rb">
447
- <provider selected="true" editor-type-id="text-editor">
448
- <state vertical-scroll-proportion="0.0">
449
- <caret line="1" column="0" selection-start-line="1" selection-start-column="0" selection-end-line="1" selection-end-column="0" />
450
- <folding />
451
- </state>
452
- </provider>
453
- </entry>
454
- <entry file="file://$USER_HOME$/Documents/Projects/pwork/lib/pwork/version.rb">
455
- <provider selected="true" editor-type-id="text-editor">
456
- <state vertical-scroll-proportion="0.0">
457
- <caret line="0" column="12" selection-start-line="0" selection-start-column="12" selection-end-line="0" selection-end-column="12" />
458
- <folding />
459
- </state>
460
- </provider>
461
- </entry>
462
- <entry file="file://$USER_HOME$/Documents/Projects/pwork/spec/pwork_spec.rb">
463
- <provider selected="true" editor-type-id="text-editor">
464
- <state vertical-scroll-proportion="0.0">
465
- <caret line="3" column="0" selection-start-line="3" selection-start-column="0" selection-end-line="3" selection-end-column="0" />
466
- <folding>
467
- <element signature="e#182#786#0" expanded="false" />
468
- <element signature="e#893#1500#0" expanded="false" />
469
- <element signature="e#1672#4847#0" expanded="false" />
470
- <element signature="e#4984#8164#0" expanded="false" />
471
- </folding>
472
- </state>
473
- </provider>
474
- </entry>
475
- <entry file="file://$USER_HOME$/Documents/Projects/pwork/.gitignore">
476
- <provider selected="true" editor-type-id="text-editor">
477
- <state vertical-scroll-proportion="-1.6666666">
478
- <caret line="3" column="9" selection-start-line="3" selection-start-column="9" selection-end-line="3" selection-end-column="9" />
479
- <folding />
480
- </state>
481
- </provider>
482
- </entry>
483
- <entry file="file://$USER_HOME$/Documents/Projects/pwork/pwork.gemspec">
484
- <provider selected="true" editor-type-id="text-editor">
485
- <state vertical-scroll-proportion="0.0">
486
- <caret line="13" column="52" selection-start-line="13" selection-start-column="52" selection-end-line="13" selection-end-column="52" />
487
- <folding />
488
- </state>
489
- </provider>
490
- </entry>
491
- <entry file="file://$USER_HOME$/Documents/Projects/pwork/lib/pwork.rb">
492
- <provider selected="true" editor-type-id="text-editor">
493
- <state vertical-scroll-proportion="0.0">
494
- <caret line="21" column="7" selection-start-line="21" selection-start-column="7" selection-end-line="21" selection-end-column="7" />
495
- <folding />
496
- </state>
497
- </provider>
498
- </entry>
499
- <entry file="file://$USER_HOME$/Documents/Projects/pwork/README.md">
500
- <provider selected="true" editor-type-id="text-editor">
501
- <state vertical-scroll-proportion="0.9764706">
502
- <caret line="93" column="109" selection-start-line="93" selection-start-column="109" selection-end-line="93" selection-end-column="109" />
503
- <folding />
504
- </state>
505
- </provider>
506
- </entry>
507
- </component>
508
- </project>