ppbench 0.0.1 → 0.0.2.pre.working.pre.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ab7f4671197d7280aad5e38be03aeb77662402f7
4
- data.tar.gz: 112c59fc4cb7c31f59e4c36a653fb8d1e8c41c41
3
+ metadata.gz: 8f1eda630d92b0f06f513db214f81505a2add978
4
+ data.tar.gz: a4ca09d8ca77f1df651f8ad9dd1b4695079d852f
5
5
  SHA512:
6
- metadata.gz: 61ed3a82cd759ed78a84c540485e055a48b1efb3006643369be0019bbb1293759c367d145665e55289f2c62dadf683043ac8f677c760fbec6af55db9b966c1d8
7
- data.tar.gz: 0cde85baee7f87de73f70f33ccb6c3d96da21c152506b49e3cb7372425ecbbc4ea95476d9598ae493f03765e7d20c90f07feb6a9e2efa9fd6fdb2cd7b254efc2
6
+ metadata.gz: 319bd374a52ca30308037dcce2b516b24ac5d9486b4cf1a484263c79cc694791891e79e8fb8c96a928503eafd2fd4195ed8a0fa2934dc8d8b6787f2b32a2ca30
7
+ data.tar.gz: 4c57e2f7a22ed8731e782923802fe4e0addea6d5f58fdb89d10c71f6650ad914425d09758f9c1a4e57b6562dca51a2bc640f2d6807f1d9992912b3416914ed61
@@ -4,4 +4,4 @@ You are allowed to:
4
4
  1. Remove rake task
5
5
  2. Add existing rake tasks
6
6
  To add existing rake tasks automatically delete this file and reload the project.
7
- --><RakeGroup description="" fullCmd="" taksId="rake"><RakeTask description="Build ppbench-0.0.1.gem into the pkg directory" fullCmd="build" taksId="build" /><RakeTask description="Build and install ppbench-0.0.1.gem into system gems" fullCmd="install" taksId="install" /><RakeTask description="Create tag v0.0.1 and build and push ppbench-0.0.1.gem to Rubygems" fullCmd="release" taksId="release" /><RakeGroup description="" fullCmd="" taksId="release"><RakeTask description="" fullCmd="release:guard_clean" taksId="guard_clean" /><RakeTask description="" fullCmd="release:rubygem_push" taksId="rubygem_push" /><RakeTask description="" fullCmd="release:source_control_push" taksId="source_control_push" /></RakeGroup></RakeGroup></Settings>
7
+ --><RakeGroup description="" fullCmd="" taksId="rake"><RakeTask description="Build ppbench-0.0.2.gem into the pkg directory" fullCmd="build" taksId="build" /><RakeTask description="Build and install ppbench-0.0.2.gem into system gems" fullCmd="install" taksId="install" /><RakeTask description="Create tag v0.0.2 and build and push ppbench-0.0.2.gem to Rubygems" fullCmd="release" taksId="release" /><RakeGroup description="" fullCmd="" taksId="release"><RakeTask description="" fullCmd="release:guard_clean" taksId="guard_clean" /><RakeTask description="" fullCmd="release:rubygem_push" taksId="rubygem_push" /><RakeTask description="" fullCmd="release:source_control_push" taksId="source_control_push" /></RakeGroup></RakeGroup></Settings>
@@ -58,6 +58,30 @@
58
58
  <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_PREREQS" VALUE="false" />
59
59
  <method />
60
60
  </configuration>
61
+ <configuration default="false" name="build: ppbench" type="RakeRunConfigurationType" factoryName="Rake" temporary="true">
62
+ <module name="ppbench" />
63
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
64
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="$MODULE_DIR$" />
65
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
66
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
67
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
68
+ <envs />
69
+ <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
70
+ <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
71
+ <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
72
+ <COVERAGE_PATTERN ENABLED="true">
73
+ <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
74
+ </COVERAGE_PATTERN>
75
+ </EXTENSION>
76
+ <EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
77
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_NAME" VALUE="build" />
78
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_ARGS" VALUE="" />
79
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_ATTACHED_TEST_FRAMEWORKS" VALUE="" />
80
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_TRACE" VALUE="false" />
81
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_DRYRUN" VALUE="false" />
82
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_PREREQS" VALUE="false" />
83
+ <method />
84
+ </configuration>
61
85
  </component>
62
86
  <component name="NewModuleRootManager">
63
87
  <content url="file://$MODULE_DIR$">
@@ -68,7 +92,7 @@
68
92
  <orderEntry type="library" scope="PROVIDED" name="bundler (v1.8.3, RVM: ruby-2.2.0) [gem]" level="application" />
69
93
  <orderEntry type="library" scope="PROVIDED" name="commander (v4.3.5, RVM: ruby-2.2.0) [gem]" level="application" />
70
94
  <orderEntry type="library" scope="PROVIDED" name="descriptive_statistics (v2.5.1, RVM: ruby-2.2.0) [gem]" level="application" />
71
- <orderEntry type="library" scope="PROVIDED" name="highline (v1.7.5, RVM: ruby-2.2.0) [gem]" level="application" />
95
+ <orderEntry type="library" scope="PROVIDED" name="highline (v1.7.3, RVM: ruby-2.2.0) [gem]" level="application" />
72
96
  <orderEntry type="library" scope="PROVIDED" name="httpclient (v2.6.0.1, RVM: ruby-2.2.0) [gem]" level="application" />
73
97
  <orderEntry type="library" scope="PROVIDED" name="parallel (v1.6.1, RVM: ruby-2.2.0) [gem]" level="application" />
74
98
  <orderEntry type="library" scope="PROVIDED" name="progressbar (v0.21.0, RVM: ruby-2.2.0) [gem]" level="application" />
@@ -1,7 +1,9 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <project version="4">
3
3
  <component name="ChangeListManager">
4
- <list default="true" id="e428de75-4fac-4ac2-b01b-e1a2bef4983e" name="Default" comment="" />
4
+ <list default="true" id="e428de75-4fac-4ac2-b01b-e1a2bef4983e" name="Default" comment="">
5
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/ppbench/version.rb" afterPath="$PROJECT_DIR$/lib/ppbench/version.rb" />
6
+ </list>
5
7
  <ignored path="ppbench.iws" />
6
8
  <ignored path=".idea/workspace.xml" />
7
9
  <ignored path=".idea/dataSources.local.xml" />
@@ -14,7 +16,8 @@
14
16
  </component>
15
17
  <component name="ChangesViewManager" flattened_view="true" show_ignored="false" />
16
18
  <component name="CoverageDataManager">
17
- <SUITE FILE_PATH="coverage/ppbench@install__ppbench.coverage" NAME="install: ppbench Coverage Results" MODIFIED="1442476134308" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="ppbench" />
19
+ <SUITE FILE_PATH="coverage/ppbench@install__ppbench.coverage" NAME="install: ppbench Coverage Results" MODIFIED="1443434827933" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="ppbench" />
20
+ <SUITE FILE_PATH="coverage/ppbench@build__ppbench.coverage" NAME="build: ppbench Coverage Results" MODIFIED="1442594808344" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="ppbench" />
18
21
  <SUITE FILE_PATH="coverage/ppbench@release__ppbench.coverage" NAME="release: ppbench Coverage Results" MODIFIED="1442475151952" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="ppbench" />
19
22
  </component>
20
23
  <component name="CreatePatchCommitExecutor">
@@ -40,27 +43,27 @@
40
43
  <entry file="file://$PROJECT_DIR$/lib/ppbench.rb">
41
44
  <provider selected="true" editor-type-id="text-editor">
42
45
  <state vertical-scroll-proportion="0.0">
43
- <caret line="422" column="11" selection-start-line="422" selection-start-column="11" selection-end-line="422" selection-end-column="11" />
46
+ <caret line="282" column="27" selection-start-line="282" selection-start-column="27" selection-end-line="282" selection-end-column="27" />
44
47
  <folding />
45
48
  </state>
46
49
  </provider>
47
50
  </entry>
48
51
  </file>
49
- <file leaf-file-name="ppbench.gemspec" pinned="false" current-in-tab="true">
52
+ <file leaf-file-name="ppbench.gemspec" pinned="false" current-in-tab="false">
50
53
  <entry file="file://$PROJECT_DIR$/ppbench.gemspec">
51
54
  <provider selected="true" editor-type-id="text-editor">
52
- <state vertical-scroll-proportion="0.28977272">
53
- <caret line="12" column="62" selection-start-line="12" selection-start-column="62" selection-end-line="12" selection-end-column="62" />
55
+ <state vertical-scroll-proportion="0.0">
56
+ <caret line="20" column="38" selection-start-line="20" selection-start-column="38" selection-end-line="20" selection-end-column="38" />
54
57
  <folding />
55
58
  </state>
56
59
  </provider>
57
60
  </entry>
58
61
  </file>
59
- <file leaf-file-name="version.rb" pinned="false" current-in-tab="false">
62
+ <file leaf-file-name="version.rb" pinned="false" current-in-tab="true">
60
63
  <entry file="file://$PROJECT_DIR$/lib/ppbench/version.rb">
61
64
  <provider selected="true" editor-type-id="text-editor">
62
- <state vertical-scroll-proportion="0.0">
63
- <caret line="1" column="18" selection-start-line="1" selection-start-column="18" selection-end-line="1" selection-end-column="18" />
65
+ <state vertical-scroll-proportion="0.020661157">
66
+ <caret line="1" column="28" selection-start-line="1" selection-start-column="28" selection-end-line="1" selection-end-column="28" />
64
67
  <folding />
65
68
  </state>
66
69
  </provider>
@@ -70,14 +73,8 @@
70
73
  <entry file="file://$PROJECT_DIR$/bin/ppbench.rb">
71
74
  <provider selected="true" editor-type-id="text-editor">
72
75
  <state vertical-scroll-proportion="0.0">
73
- <caret line="79" column="6" selection-start-line="79" selection-start-column="6" selection-end-line="79" selection-end-column="6" />
74
- <folding>
75
- <element signature="e#3404#4603#0" expanded="false" />
76
- <element signature="e#4675#5363#0" expanded="false" />
77
- <element signature="e#5424#6607#0" expanded="false" />
78
- <element signature="e#6673#6984#0" expanded="false" />
79
- <element signature="e#7054#7385#0" expanded="false" />
80
- </folding>
76
+ <caret line="5" column="9" selection-start-line="5" selection-start-column="9" selection-end-line="5" selection-end-column="9" />
77
+ <folding />
81
78
  </state>
82
79
  </provider>
83
80
  </entry>
@@ -110,10 +107,10 @@
110
107
  <component name="IdeDocumentHistory">
111
108
  <option name="CHANGED_PATHS">
112
109
  <list>
113
- <option value="$PROJECT_DIR$/lib/ppbench/version.rb" />
114
110
  <option value="$PROJECT_DIR$/lib/ppbench.rb" />
115
111
  <option value="$PROJECT_DIR$/bin/ppbench.rb" />
116
112
  <option value="$PROJECT_DIR$/ppbench.gemspec" />
113
+ <option value="$PROJECT_DIR$/lib/ppbench/version.rb" />
117
114
  </list>
118
115
  </option>
119
116
  </component>
@@ -185,6 +182,24 @@
185
182
  <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
186
183
  </PATH_ELEMENT>
187
184
  </PATH>
185
+ <PATH>
186
+ <PATH_ELEMENT>
187
+ <option name="myItemId" value="ppbench" />
188
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
189
+ </PATH_ELEMENT>
190
+ <PATH_ELEMENT>
191
+ <option name="myItemId" value="ppbench" />
192
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
193
+ </PATH_ELEMENT>
194
+ <PATH_ELEMENT>
195
+ <option name="myItemId" value="lib" />
196
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
197
+ </PATH_ELEMENT>
198
+ <PATH_ELEMENT>
199
+ <option name="myItemId" value="ppbench" />
200
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
201
+ </PATH_ELEMENT>
202
+ </PATH>
188
203
  <PATH>
189
204
  <PATH_ELEMENT>
190
205
  <option name="myItemId" value="ppbench" />
@@ -201,8 +216,8 @@
201
216
  </PATH>
202
217
  </subPane>
203
218
  </pane>
204
- <pane id="Scratches" />
205
219
  <pane id="Scope" />
220
+ <pane id="Scratches" />
206
221
  </panes>
207
222
  </component>
208
223
  <component name="PropertiesComponent">
@@ -260,15 +275,28 @@
260
275
  <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_PREREQS" VALUE="false" />
261
276
  <method />
262
277
  </configuration>
263
- <configuration default="true" type="BashConfigurationType" factoryName="Bash">
264
- <option name="INTERPRETER_OPTIONS" value="" />
265
- <option name="INTERPRETER_PATH" value="/bin/bash" />
266
- <option name="WORKING_DIRECTORY" value="" />
267
- <option name="PARENT_ENVS" value="true" />
268
- <option name="SCRIPT_NAME" value="" />
269
- <option name="PARAMETERS" value="" />
270
- <module name="" />
278
+ <configuration default="false" name="build: ppbench" type="RakeRunConfigurationType" factoryName="Rake" temporary="true">
279
+ <module name="ppbench" />
280
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
281
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="$MODULE_DIR$" />
282
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
283
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
284
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
271
285
  <envs />
286
+ <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
287
+ <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
288
+ <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
289
+ <COVERAGE_PATTERN ENABLED="true">
290
+ <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
291
+ </COVERAGE_PATTERN>
292
+ </EXTENSION>
293
+ <EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
294
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_NAME" VALUE="build" />
295
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_ARGS" VALUE="" />
296
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_ATTACHED_TEST_FRAMEWORKS" VALUE="" />
297
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_TRACE" VALUE="false" />
298
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_DRYRUN" VALUE="false" />
299
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_PREREQS" VALUE="false" />
272
300
  <method />
273
301
  </configuration>
274
302
  <configuration default="true" type="JavascriptDebugType" factoryName="JavaScript Debug">
@@ -387,14 +415,16 @@
387
415
  <envs />
388
416
  <method />
389
417
  </configuration>
390
- <list size="2">
418
+ <list size="3">
391
419
  <item index="0" class="java.lang.String" itemvalue="Rake.install: ppbench" />
392
420
  <item index="1" class="java.lang.String" itemvalue="Rake.release: ppbench" />
421
+ <item index="2" class="java.lang.String" itemvalue="Rake.build: ppbench" />
393
422
  </list>
394
423
  <recent_temporary>
395
- <list size="2">
424
+ <list size="3">
396
425
  <item index="0" class="java.lang.String" itemvalue="Rake.install: ppbench" />
397
- <item index="1" class="java.lang.String" itemvalue="Rake.release: ppbench" />
426
+ <item index="1" class="java.lang.String" itemvalue="Rake.build: ppbench" />
427
+ <item index="2" class="java.lang.String" itemvalue="Rake.release: ppbench" />
398
428
  </list>
399
429
  </recent_temporary>
400
430
  </component>
@@ -425,22 +455,22 @@
425
455
  <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="7" side_tool="false" content_ui="tabs" />
426
456
  <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" />
427
457
  <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" />
428
- <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.26747242" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
458
+ <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.27320954" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
429
459
  <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="7" side_tool="false" content_ui="tabs" />
430
- <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.28046834" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
460
+ <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.28954282" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
431
461
  <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" />
432
- <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.32662398" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
462
+ <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.3255814" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
433
463
  <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" />
434
464
  <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" />
435
465
  <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32890365" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
436
466
  <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" />
437
467
  <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" />
438
- <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32753888" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
439
468
  <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" />
469
+ <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32753888" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
440
470
  <window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
441
471
  <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="SLIDING" type="SLIDING" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
442
- <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" />
443
472
  <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" />
473
+ <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" />
444
474
  </layout>
445
475
  </component>
446
476
  <component name="Vcs.Log.UiProperties">
@@ -515,13 +545,7 @@
515
545
  <provider selected="true" editor-type-id="text-editor">
516
546
  <state vertical-scroll-proportion="0.0">
517
547
  <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
518
- <folding>
519
- <element signature="e#3404#4603#0" expanded="false" />
520
- <element signature="e#4675#5363#0" expanded="false" />
521
- <element signature="e#5424#6607#0" expanded="false" />
522
- <element signature="e#6673#6984#0" expanded="false" />
523
- <element signature="e#7054#7385#0" expanded="false" />
524
- </folding>
548
+ <folding />
525
549
  </state>
526
550
  </provider>
527
551
  </entry>
@@ -577,13 +601,7 @@
577
601
  <provider selected="true" editor-type-id="text-editor">
578
602
  <state vertical-scroll-proportion="0.0">
579
603
  <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
580
- <folding>
581
- <element signature="e#3404#4603#0" expanded="false" />
582
- <element signature="e#4675#5363#0" expanded="false" />
583
- <element signature="e#5424#6607#0" expanded="false" />
584
- <element signature="e#6673#6984#0" expanded="false" />
585
- <element signature="e#7054#7385#0" expanded="false" />
586
- </folding>
604
+ <folding />
587
605
  </state>
588
606
  </provider>
589
607
  </entry>
@@ -639,13 +657,7 @@
639
657
  <provider selected="true" editor-type-id="text-editor">
640
658
  <state vertical-scroll-proportion="0.0">
641
659
  <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
642
- <folding>
643
- <element signature="e#3404#4603#0" expanded="false" />
644
- <element signature="e#4675#5363#0" expanded="false" />
645
- <element signature="e#5424#6607#0" expanded="false" />
646
- <element signature="e#6673#6984#0" expanded="false" />
647
- <element signature="e#7054#7385#0" expanded="false" />
648
- </folding>
660
+ <folding />
649
661
  </state>
650
662
  </provider>
651
663
  </entry>
@@ -701,13 +713,7 @@
701
713
  <provider selected="true" editor-type-id="text-editor">
702
714
  <state vertical-scroll-proportion="0.0">
703
715
  <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
704
- <folding>
705
- <element signature="e#3404#4603#0" expanded="false" />
706
- <element signature="e#4675#5363#0" expanded="false" />
707
- <element signature="e#5424#6607#0" expanded="false" />
708
- <element signature="e#6673#6984#0" expanded="false" />
709
- <element signature="e#7054#7385#0" expanded="false" />
710
- </folding>
716
+ <folding />
711
717
  </state>
712
718
  </provider>
713
719
  </entry>
@@ -763,13 +769,7 @@
763
769
  <provider selected="true" editor-type-id="text-editor">
764
770
  <state vertical-scroll-proportion="0.0">
765
771
  <caret line="5" column="9" selection-start-line="5" selection-start-column="9" selection-end-line="5" selection-end-column="9" />
766
- <folding>
767
- <element signature="e#3404#4603#0" expanded="false" />
768
- <element signature="e#4675#5363#0" expanded="false" />
769
- <element signature="e#5424#6607#0" expanded="false" />
770
- <element signature="e#6673#6984#0" expanded="false" />
771
- <element signature="e#7054#7385#0" expanded="false" />
772
- </folding>
772
+ <folding />
773
773
  </state>
774
774
  </provider>
775
775
  </entry>
@@ -825,13 +825,7 @@
825
825
  <provider selected="true" editor-type-id="text-editor">
826
826
  <state vertical-scroll-proportion="0.0">
827
827
  <caret line="33" column="43" selection-start-line="33" selection-start-column="43" selection-end-line="33" selection-end-column="43" />
828
- <folding>
829
- <element signature="e#3404#4603#0" expanded="false" />
830
- <element signature="e#4675#5363#0" expanded="false" />
831
- <element signature="e#5424#6607#0" expanded="false" />
832
- <element signature="e#6673#6984#0" expanded="false" />
833
- <element signature="e#7054#7385#0" expanded="false" />
834
- </folding>
828
+ <folding />
835
829
  </state>
836
830
  </provider>
837
831
  </entry>
@@ -851,14 +845,6 @@
851
845
  </state>
852
846
  </provider>
853
847
  </entry>
854
- <entry file="file://$PROJECT_DIR$/lib/ppbench/version.rb">
855
- <provider selected="true" editor-type-id="text-editor">
856
- <state vertical-scroll-proportion="0.0">
857
- <caret line="1" column="18" selection-start-line="1" selection-start-column="18" selection-end-line="1" selection-end-column="18" />
858
- <folding />
859
- </state>
860
- </provider>
861
- </entry>
862
848
  <entry file="file://$PROJECT_DIR$/bin/console">
863
849
  <provider selected="true" editor-type-id="text-editor">
864
850
  <state vertical-scroll-proportion="0.0">
@@ -886,7 +872,7 @@
886
872
  <entry file="file://$PROJECT_DIR$/lib/ppbench.rb">
887
873
  <provider selected="true" editor-type-id="text-editor">
888
874
  <state vertical-scroll-proportion="0.0">
889
- <caret line="422" column="11" selection-start-line="422" selection-start-column="11" selection-end-line="422" selection-end-column="11" />
875
+ <caret line="282" column="27" selection-start-line="282" selection-start-column="27" selection-end-line="282" selection-end-column="27" />
890
876
  <folding />
891
877
  </state>
892
878
  </provider>
@@ -894,21 +880,23 @@
894
880
  <entry file="file://$PROJECT_DIR$/bin/ppbench.rb">
895
881
  <provider selected="true" editor-type-id="text-editor">
896
882
  <state vertical-scroll-proportion="0.0">
897
- <caret line="79" column="6" selection-start-line="79" selection-start-column="6" selection-end-line="79" selection-end-column="6" />
898
- <folding>
899
- <element signature="e#3404#4603#0" expanded="false" />
900
- <element signature="e#4675#5363#0" expanded="false" />
901
- <element signature="e#5424#6607#0" expanded="false" />
902
- <element signature="e#6673#6984#0" expanded="false" />
903
- <element signature="e#7054#7385#0" expanded="false" />
904
- </folding>
883
+ <caret line="5" column="9" selection-start-line="5" selection-start-column="9" selection-end-line="5" selection-end-column="9" />
884
+ <folding />
905
885
  </state>
906
886
  </provider>
907
887
  </entry>
908
888
  <entry file="file://$PROJECT_DIR$/ppbench.gemspec">
909
889
  <provider selected="true" editor-type-id="text-editor">
910
- <state vertical-scroll-proportion="0.28977272">
911
- <caret line="12" column="62" selection-start-line="12" selection-start-column="62" selection-end-line="12" selection-end-column="62" />
890
+ <state vertical-scroll-proportion="0.0">
891
+ <caret line="20" column="38" selection-start-line="20" selection-start-column="38" selection-end-line="20" selection-end-column="38" />
892
+ <folding />
893
+ </state>
894
+ </provider>
895
+ </entry>
896
+ <entry file="file://$PROJECT_DIR$/lib/ppbench/version.rb">
897
+ <provider selected="true" editor-type-id="text-editor">
898
+ <state vertical-scroll-proportion="0.020661157">
899
+ <caret line="1" column="28" selection-start-line="1" selection-start-column="28" selection-end-line="1" selection-end-column="28" />
912
900
  <folding />
913
901
  </state>
914
902
  </provider>
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- require 'bundler/setup'
4
- require 'rubygems'
3
+ # require 'bundler/setup'
4
+ # require 'rubygems'
5
5
 
6
6
  require 'ppbench'
7
7
  require 'commander/import'
@@ -22,6 +22,7 @@ CONFIDENCE_DESCRIPTION = 'Percent value for confidence bands. Defaults to 90%.
22
22
  WITHBANDS_DESCRIPTION = 'Plots confidence bands (confidence bands are _not_ plotted by default).'
23
23
  NOPOINTS_DESCRIPTION = 'Show no points (points are plotted by default).'
24
24
  NAMING_DESCRIPTION = 'Use user defined names via an JSON file.'
25
+ ALPHA_DESCRIPTION = "Transparency (alpha) for points of scatter plots (defaults to 0.05, must be between 0.0 and 1.0)"
25
26
  PDF_DESCRIPTION = 'Adds additional commands to an R script, so that it can be used to generate a PDF file.'
26
27
  PDF_WIDTH_DESCRIPTION = 'Width of plot in inch (defaults to 7 inch, only useful with PDF output).'
27
28
  PDF_HEIGHT_DESCRIPTION = 'Height of plot in inch (defaults to 7 inch, only useful with PDF output).'
@@ -44,6 +45,7 @@ program :help, 'Author', 'Nane Kratzke <nane.kratzke@fh-luebeck.de>'
44
45
 
45
46
  global_option '--precision POINTS', Integer, PRECISION_DESCRIPTION
46
47
  global_option '--naming FILE', String, NAMING_DESCRIPTION
48
+ global_option '--alpha FLOAT', Float, ALPHA_DESCRIPTION
47
49
 
48
50
  default_command :help
49
51
 
@@ -54,6 +56,7 @@ default_command :help
54
56
  def validate_global_options(args, options)
55
57
  options.default :precision => 500
56
58
  options.default :naming => ''
59
+ options.default :alpha => 0.05
57
60
 
58
61
  if options.precision < 20
59
62
  $stderr.puts("Error in --precision flag: Precision must be >= 20 points.\n")
@@ -83,6 +86,13 @@ def validate_global_options(args, options)
83
86
  exit!
84
87
  end
85
88
  end
89
+
90
+ if options.alpha < 0.0 || options.alpha > 1.0
91
+ $stderr.puts("Error in --alpha flag: Alpha must be between 0.0 and 1.0, but alpha was '#{options.alpha}'.")
92
+ exit!
93
+ end
94
+
95
+ Ppbench::alpha = options.alpha
86
96
  end
87
97
 
88
98
  # Validates command line flags of the run command.
@@ -124,8 +134,8 @@ def validate_run_options(args, options)
124
134
  exit!
125
135
  end
126
136
 
127
- if $stderr.args.length > 1
128
- print("You should only specify one log file. You specified #{args.length} logfiles.\n")
137
+ if args.length > 1
138
+ $stderr.puts("You should only specify one log file. You specified #{args.length} logfiles.\n")
129
139
  exit!
130
140
  end
131
141
 
@@ -34,6 +34,14 @@ module Ppbench
34
34
  @precision
35
35
  end
36
36
 
37
+ def self.alpha=(v)
38
+ @alpha = v
39
+ end
40
+
41
+ def self.alpha
42
+ @alpha
43
+ end
44
+
37
45
  def self.precision_error(length)
38
46
  """
39
47
  Sorry, we have not enough data for messages of about #{length} byte length.
@@ -264,7 +272,7 @@ module Ppbench
264
272
  to_plot: :tpr,
265
273
  color: 'grey',
266
274
  symbol: 1,
267
- alpha: 0.15,
275
+ alpha: Ppbench::alpha,
268
276
  length: 500000,
269
277
  confidence: 90,
270
278
  no_points: false,
@@ -339,7 +347,7 @@ module Ppbench
339
347
 
340
348
  # Generates scatter plot of points for plots.
341
349
  #
342
- def self.points(data, to_plot: :tpr, color: 'grey', alpha: 0.15, symbol: 1)
350
+ def self.points(data, to_plot: :tpr, color: 'grey', alpha: Ppbench::alpha, symbol: 1)
343
351
  points = data.map { |v| [v[:length], v[to_plot]] }
344
352
  xs = "c(#{points.map { |e| e[0] } * ','})"
345
353
  ys = "c(#{points.map { |e| e[1] } * ','})"
@@ -1,3 +1,3 @@
1
1
  module Ppbench
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2-working-2"
3
3
  end
@@ -18,6 +18,8 @@ Gem::Specification.new do |spec|
18
18
  spec.homepage = "https://github.com/nkratzke/pingpong"
19
19
  spec.license = "MIT"
20
20
 
21
+ spec.required_ruby_version = "~> 2.2"
22
+
21
23
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
22
24
  spec.bindir = "bin"
23
25
  spec.executables = ["ppbench.rb"]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ppbench
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2.pre.working.pre.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nane Kratzke
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-17 00:00:00.000000000 Z
11
+ date: 2015-09-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -160,14 +160,14 @@ require_paths:
160
160
  - lib
161
161
  required_ruby_version: !ruby/object:Gem::Requirement
162
162
  requirements:
163
- - - ">="
163
+ - - "~>"
164
164
  - !ruby/object:Gem::Version
165
- version: '0'
165
+ version: '2.2'
166
166
  required_rubygems_version: !ruby/object:Gem::Requirement
167
167
  requirements:
168
- - - ">="
168
+ - - ">"
169
169
  - !ruby/object:Gem::Version
170
- version: '0'
170
+ version: 1.3.1
171
171
  requirements: []
172
172
  rubyforge_project:
173
173
  rubygems_version: 2.4.6