deep_dive 0.0.4 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.idea/.rakeTasks +1 -1
- data/.idea/deep_dive.iml +77 -0
- data/.idea/workspace.xml +322 -57
- data/.semver +1 -1
- data/Gemfile +4 -0
- data/Gemfile.lock +37 -0
- data/Guardfile +24 -0
- data/README.rdoc +20 -2
- data/deep_dive.gemspec +12 -2
- data/lib/deep_dive/deep_dive.rb +1 -1
- data/spec/lib/deep_dive/deep_dive_spec.rb +12 -7
- metadata +45 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf7e34fb7d7bfd4c9a9f9f19c82519c5072b8a9a
|
4
|
+
data.tar.gz: 2597b060bd75b63e691d9c7c06763dc1c92f3633
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e012fe5e00b41f663e4b65ee188d352a9fb31e49359e8d3147ecb34989716ee494eff1196639b1f03f3061d6601f0042d8f48549bc43a34a3bcaa3157e43ca9
|
7
|
+
data.tar.gz: b7f698011ccbca7f9d2a0c038c83b0b594d674094e60bcbc3a58169ce3e6b8a1fead40892aa1ffbdbfff0779f1066a331f8f3d1bb024e3c62f34fa9ff34f26aa
|
data/.idea/.rakeTasks
CHANGED
@@ -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 gem into pkg/" fullCmd="build" taksId="build" /><RakeTask description="Remove any temporary products" fullCmd="clean" taksId="clean" /><RakeTask description="Remove any generated file" fullCmd="clobber" taksId="clobber" /><RakeTask description="Remove RDoc HTML files" fullCmd="clobber_rdoc" taksId="clobber_rdoc" /><RakeTask description="Start IRB with all runtime dependencies loaded" fullCmd="console[script]" taksId="console[script]" /><RakeGroup description="" fullCmd="" taksId="gemcutter"><RakeTask description="Release gem to Gemcutter" fullCmd="gemcutter:release" taksId="release" /></RakeGroup><RakeTask description="Generate and validate gemspec" fullCmd="gemspec" taksId="gemspec" /><RakeGroup description="" fullCmd="" taksId="gemspec"><RakeTask description="Display the gemspec for debugging purposes, as jeweler knows it (not from the filesystem)" fullCmd="gemspec:debug" taksId="debug" /><RakeTask description="Regenerate the gemspec on the filesystem" fullCmd="gemspec:generate" taksId="generate" /><RakeTask description="Regenerate and validate gemspec, and then commits and pushes to git" fullCmd="gemspec:release" taksId="release" /><RakeTask description="Validates the gemspec on the filesystem" fullCmd="gemspec:validate" taksId="validate" /></RakeGroup><RakeGroup description="" fullCmd="" taksId="git"><RakeTask description="Tag and push release to git" fullCmd="git:release" taksId="release" /></RakeGroup><RakeTask description="Build and install gem using `gem install`" fullCmd="install" taksId="install" /><RakeTask description="Run RSpec code examples" fullCmd="rcov" taksId="rcov" /><RakeTask description="Build RDoc HTML files" fullCmd="rdoc" taksId="rdoc" /><RakeTask description="Release gem" fullCmd="release" taksId="release" /><RakeTask description="Rebuild RDoc HTML files" fullCmd="rerdoc" taksId="rerdoc" /><RakeTask description="Run RSpec code examples" fullCmd="spec" taksId="spec" /><RakeTask description="Displays the current version" fullCmd="version" taksId="version" /><
|
7
|
+
--><RakeGroup description="" fullCmd="" taksId="rake"><RakeTask description="Build gem into pkg/" fullCmd="build" taksId="build" /><RakeTask description="Remove any temporary products" fullCmd="clean" taksId="clean" /><RakeTask description="Remove any generated file" fullCmd="clobber" taksId="clobber" /><RakeTask description="Remove RDoc HTML files" fullCmd="clobber_rdoc" taksId="clobber_rdoc" /><RakeTask description="Start IRB with all runtime dependencies loaded" fullCmd="console[script]" taksId="console[script]" /><RakeGroup description="" fullCmd="" taksId="gemcutter"><RakeTask description="Release gem to Gemcutter" fullCmd="gemcutter:release" taksId="release" /></RakeGroup><RakeTask description="Generate and validate gemspec" fullCmd="gemspec" taksId="gemspec" /><RakeGroup description="" fullCmd="" taksId="gemspec"><RakeTask description="Display the gemspec for debugging purposes, as jeweler knows it (not from the filesystem)" fullCmd="gemspec:debug" taksId="debug" /><RakeTask description="Regenerate the gemspec on the filesystem" fullCmd="gemspec:generate" taksId="generate" /><RakeTask description="Regenerate and validate gemspec, and then commits and pushes to git" fullCmd="gemspec:release" taksId="release" /><RakeTask description="Validates the gemspec on the filesystem" fullCmd="gemspec:validate" taksId="validate" /></RakeGroup><RakeGroup description="" fullCmd="" taksId="git"><RakeTask description="Tag and push release to git" fullCmd="git:release" taksId="release" /></RakeGroup><RakeTask description="Build and install gem using `gem install`" fullCmd="install" taksId="install" /><RakeTask description="Run RSpec code examples" fullCmd="rcov" taksId="rcov" /><RakeTask description="Build RDoc HTML files" fullCmd="rdoc" taksId="rdoc" /><RakeTask description="Release gem" fullCmd="release" taksId="release" /><RakeTask description="Rebuild RDoc HTML files" fullCmd="rerdoc" taksId="rerdoc" /><RakeTask description="Run RSpec code examples" fullCmd="spec" taksId="spec" /><RakeTask description="Displays the current version" fullCmd="version" taksId="version" /><RakeTask description="" fullCmd="console" taksId="console" /><RakeTask description="" fullCmd="default" taksId="default" /><RakeTask description="" fullCmd="gemspec_required" taksId="gemspec_required" /><RakeTask description="" fullCmd="rdoc/index.html" taksId="rdoc/index.html" /><RakeTask description="" fullCmd="version_required" taksId="version_required" /></RakeGroup></Settings>
|
data/.idea/deep_dive.iml
CHANGED
@@ -9,6 +9,65 @@
|
|
9
9
|
</configuration>
|
10
10
|
</facet>
|
11
11
|
</component>
|
12
|
+
<component name="ModuleRunConfigurationManager">
|
13
|
+
<configuration default="false" name="deep_dive" type="RubyRunConfigurationType" factoryName="Ruby">
|
14
|
+
<module name="deep_dive" />
|
15
|
+
<RUBY_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
16
|
+
<RUBY_RUN_CONFIG NAME="WORK DIR" VALUE="" />
|
17
|
+
<RUBY_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="false" />
|
18
|
+
<RUBY_RUN_CONFIG NAME="ALTERN_SDK_NAME" VALUE="" />
|
19
|
+
<RUBY_RUN_CONFIG NAME="myPassParentEnvs" VALUE="true" />
|
20
|
+
<envs />
|
21
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
22
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
23
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
24
|
+
<COVERAGE_PATTERN ENABLED="true">
|
25
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
26
|
+
</COVERAGE_PATTERN>
|
27
|
+
</EXTENSION>
|
28
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
29
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="" />
|
30
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="" />
|
31
|
+
<RunnerSettings RunnerId="RubyDebugRunner" />
|
32
|
+
<ConfigurationWrapper RunnerId="RubyDebugRunner" />
|
33
|
+
<method />
|
34
|
+
</configuration>
|
35
|
+
<configuration default="false" name="Run spec 'deep_dive_spec': deep_dive" type="RSpecRunConfigurationType" factoryName="RSpec" temporary="true">
|
36
|
+
<predefined_log_file id="RUBY_RSPEC" enabled="true" />
|
37
|
+
<module name="deep_dive" />
|
38
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
39
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="$MODULE_DIR$" />
|
40
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
|
41
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
|
42
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
43
|
+
<envs>
|
44
|
+
<env name="JRUBY_OPTS" value="-X+O" />
|
45
|
+
</envs>
|
46
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
|
47
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
48
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
49
|
+
<COVERAGE_PATTERN ENABLED="true">
|
50
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
51
|
+
</COVERAGE_PATTERN>
|
52
|
+
</EXTENSION>
|
53
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
54
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
|
55
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="$MODULE_DIR$/spec/lib/deep_dive/deep_dive_spec.rb" />
|
56
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
|
57
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb" />
|
58
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="" />
|
59
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
|
60
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_ARGS" VALUE="" />
|
61
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
|
62
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_SPEC_RUNNER" VALUE="false" />
|
63
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
|
64
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
|
65
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
|
66
|
+
<RunnerSettings RunnerId="RubyDebugRunner" />
|
67
|
+
<ConfigurationWrapper RunnerId="RubyDebugRunner" />
|
68
|
+
<method />
|
69
|
+
</configuration>
|
70
|
+
</component>
|
12
71
|
<component name="NewModuleRootManager">
|
13
72
|
<content url="file://$MODULE_DIR$" />
|
14
73
|
<orderEntry type="jdk" jdkName="RVM: ruby-2.0.0-p353" jdkType="RUBY_SDK" />
|
@@ -16,32 +75,50 @@
|
|
16
75
|
<orderEntry type="library" scope="PROVIDED" name="addressable (v2.3.5, RVM: ruby-2.0.0-p353) [gem]" level="application" />
|
17
76
|
<orderEntry type="library" scope="PROVIDED" name="builder (v3.2.2, RVM: ruby-2.0.0-p353) [gem]" level="application" />
|
18
77
|
<orderEntry type="library" scope="PROVIDED" name="bundler (v1.3.5, RVM: ruby-2.0.0-p353) [gem]" level="application" />
|
78
|
+
<orderEntry type="library" scope="PROVIDED" name="celluloid (v0.15.2, RVM: ruby-2.0.0-p353) [gem]" level="application" />
|
79
|
+
<orderEntry type="library" scope="PROVIDED" name="coderay (v1.1.0, RVM: ruby-2.0.0-p353) [gem]" level="application" />
|
80
|
+
<orderEntry type="library" scope="PROVIDED" name="debase (v0.0.9, RVM: ruby-2.0.0-p353) [gem]" level="application" />
|
81
|
+
<orderEntry type="library" scope="PROVIDED" name="debugger-ruby_core_source (v1.3.1, RVM: ruby-2.0.0-p353) [gem]" level="application" />
|
19
82
|
<orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.1.3, RVM: ruby-2.0.0-p353) [gem]" level="application" />
|
20
83
|
<orderEntry type="library" scope="PROVIDED" name="docile (v1.1.1, RVM: ruby-2.0.0-p353) [gem]" level="application" />
|
21
84
|
<orderEntry type="library" scope="PROVIDED" name="faraday (v0.8.8, RVM: ruby-2.0.0-p353) [gem]" level="application" />
|
85
|
+
<orderEntry type="library" scope="PROVIDED" name="ffi (v1.9.3, RVM: ruby-2.0.0-p353) [gem]" level="application" />
|
86
|
+
<orderEntry type="library" scope="PROVIDED" name="formatador (v0.2.4, RVM: ruby-2.0.0-p353) [gem]" level="application" />
|
22
87
|
<orderEntry type="library" scope="PROVIDED" name="git (v1.2.6, RVM: ruby-2.0.0-p353) [gem]" level="application" />
|
23
88
|
<orderEntry type="library" scope="PROVIDED" name="github_api (v0.10.1, RVM: ruby-2.0.0-p353) [gem]" level="application" />
|
89
|
+
<orderEntry type="library" scope="PROVIDED" name="guard (v2.2.5, RVM: ruby-2.0.0-p353) [gem]" level="application" />
|
90
|
+
<orderEntry type="library" scope="PROVIDED" name="guard-rspec (v1.2.1, RVM: ruby-2.0.0-p353) [gem]" level="application" />
|
24
91
|
<orderEntry type="library" scope="PROVIDED" name="hashie (v2.0.5, RVM: ruby-2.0.0-p353) [gem]" level="application" />
|
25
92
|
<orderEntry type="library" scope="PROVIDED" name="highline (v1.6.20, RVM: ruby-2.0.0-p353) [gem]" level="application" />
|
26
93
|
<orderEntry type="library" scope="PROVIDED" name="httpauth (v0.2.0, RVM: ruby-2.0.0-p353) [gem]" level="application" />
|
27
94
|
<orderEntry type="library" scope="PROVIDED" name="jeweler (v1.8.8, RVM: ruby-2.0.0-p353) [gem]" level="application" />
|
28
95
|
<orderEntry type="library" scope="PROVIDED" name="json (v1.8.1, RVM: ruby-2.0.0-p353) [gem]" level="application" />
|
29
96
|
<orderEntry type="library" scope="PROVIDED" name="jwt (v0.1.8, RVM: ruby-2.0.0-p353) [gem]" level="application" />
|
97
|
+
<orderEntry type="library" scope="PROVIDED" name="listen (v2.4.0, RVM: ruby-2.0.0-p353) [gem]" level="application" />
|
98
|
+
<orderEntry type="library" scope="PROVIDED" name="lumberjack (v1.0.4, RVM: ruby-2.0.0-p353) [gem]" level="application" />
|
99
|
+
<orderEntry type="library" scope="PROVIDED" name="method_source (v0.8.2, RVM: ruby-2.0.0-p353) [gem]" level="application" />
|
30
100
|
<orderEntry type="library" scope="PROVIDED" name="multi_json (v1.8.2, RVM: ruby-2.0.0-p353) [gem]" level="application" />
|
31
101
|
<orderEntry type="library" scope="PROVIDED" name="multi_xml (v0.5.5, RVM: ruby-2.0.0-p353) [gem]" level="application" />
|
32
102
|
<orderEntry type="library" scope="PROVIDED" name="multipart-post (v1.2.0, RVM: ruby-2.0.0-p353) [gem]" level="application" />
|
33
103
|
<orderEntry type="library" scope="PROVIDED" name="nokogiri (v1.5.10, RVM: ruby-2.0.0-p353) [gem]" level="application" />
|
34
104
|
<orderEntry type="library" scope="PROVIDED" name="oauth2 (v0.9.2, RVM: ruby-2.0.0-p353) [gem]" level="application" />
|
105
|
+
<orderEntry type="library" scope="PROVIDED" name="pry (v0.9.12.4, RVM: ruby-2.0.0-p353) [gem]" level="application" />
|
35
106
|
<orderEntry type="library" scope="PROVIDED" name="rack (v1.5.2, RVM: ruby-2.0.0-p353) [gem]" level="application" />
|
36
107
|
<orderEntry type="library" scope="PROVIDED" name="rake (v10.1.1, RVM: ruby-2.0.0-p353) [gem]" level="application" />
|
108
|
+
<orderEntry type="library" scope="PROVIDED" name="rb-fsevent (v0.9.4, RVM: ruby-2.0.0-p353) [gem]" level="application" />
|
109
|
+
<orderEntry type="library" scope="PROVIDED" name="rb-inotify (v0.9.3, RVM: ruby-2.0.0-p353) [gem]" level="application" />
|
37
110
|
<orderEntry type="library" scope="PROVIDED" name="rdoc (v3.12.2, RVM: ruby-2.0.0-p353) [gem]" level="application" />
|
38
111
|
<orderEntry type="library" scope="PROVIDED" name="rspec (v2.8.0, RVM: ruby-2.0.0-p353) [gem]" level="application" />
|
39
112
|
<orderEntry type="library" scope="PROVIDED" name="rspec-core (v2.8.0, RVM: ruby-2.0.0-p353) [gem]" level="application" />
|
40
113
|
<orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v2.8.0, RVM: ruby-2.0.0-p353) [gem]" level="application" />
|
41
114
|
<orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v2.8.0, RVM: ruby-2.0.0-p353) [gem]" level="application" />
|
115
|
+
<orderEntry type="library" scope="PROVIDED" name="ruby-debug-ide (v0.4.22, RVM: ruby-2.0.0-p353) [gem]" level="application" />
|
42
116
|
<orderEntry type="library" scope="PROVIDED" name="semver (v1.0.1, RVM: ruby-2.0.0-p353) [gem]" level="application" />
|
43
117
|
<orderEntry type="library" scope="PROVIDED" name="simplecov (v0.8.2, RVM: ruby-2.0.0-p353) [gem]" level="application" />
|
44
118
|
<orderEntry type="library" scope="PROVIDED" name="simplecov-html (v0.8.0, RVM: ruby-2.0.0-p353) [gem]" level="application" />
|
119
|
+
<orderEntry type="library" scope="PROVIDED" name="slop (v3.4.7, RVM: ruby-2.0.0-p353) [gem]" level="application" />
|
120
|
+
<orderEntry type="library" scope="PROVIDED" name="thor (v0.18.1, RVM: ruby-2.0.0-p353) [gem]" level="application" />
|
121
|
+
<orderEntry type="library" scope="PROVIDED" name="timers (v1.1.0, RVM: ruby-2.0.0-p353) [gem]" level="application" />
|
45
122
|
</component>
|
46
123
|
</module>
|
47
124
|
|
data/.idea/workspace.xml
CHANGED
@@ -11,6 +11,10 @@
|
|
11
11
|
<option name="LAST_RESOLUTION" value="IGNORE" />
|
12
12
|
</component>
|
13
13
|
<component name="ChangesViewManager" flattened_view="true" show_ignored="false" />
|
14
|
+
<component name="CoverageDataManager">
|
15
|
+
<SUITE FILE_PATH="coverage/deep_dive@deep_dive.coverage" NAME="deep_dive Coverage Results" MODIFIED="1388700129166" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="" MODULE_NAME="deep_dive" />
|
16
|
+
<SUITE FILE_PATH="coverage/deep_dive@Run_spec__deep_dive_spec___deep_dive.coverage" NAME="Run spec 'deep_dive_spec': deep_dive Coverage Results" MODIFIED="1388702531930" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="deep_dive" />
|
17
|
+
</component>
|
14
18
|
<component name="CreatePatchCommitExecutor">
|
15
19
|
<option name="PATCH_PATH" value="" />
|
16
20
|
</component>
|
@@ -25,28 +29,19 @@
|
|
25
29
|
<splitter split-orientation="horizontal" split-proportion="0.5">
|
26
30
|
<split-first>
|
27
31
|
<leaf>
|
28
|
-
<file leaf-file-name="Gemfile" pinned="false" current="false" current-in-tab="false">
|
29
|
-
<entry file="file://$PROJECT_DIR$/Gemfile">
|
30
|
-
<provider selected="true" editor-type-id="text-editor">
|
31
|
-
<state line="17" column="0" selection-start="412" selection-end="412" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="345">
|
32
|
-
<folding />
|
33
|
-
</state>
|
34
|
-
</provider>
|
35
|
-
</entry>
|
36
|
-
</file>
|
37
32
|
<file leaf-file-name="deep_dive.rb" pinned="false" current="false" current-in-tab="false">
|
38
33
|
<entry file="file://$PROJECT_DIR$/lib/deep_dive/deep_dive.rb">
|
39
34
|
<provider selected="true" editor-type-id="text-editor">
|
40
|
-
<state line="
|
35
|
+
<state line="91" column="63" selection-start="2859" selection-end="2859" vertical-scroll-proportion="0.0" vertical-offset="768" max-vertical-offset="2100">
|
41
36
|
<folding />
|
42
37
|
</state>
|
43
38
|
</provider>
|
44
39
|
</entry>
|
45
40
|
</file>
|
46
|
-
<file leaf-file-name="deep_dive.
|
47
|
-
<entry file="file
|
41
|
+
<file leaf-file-name="deep_dive.rb" pinned="false" current="false" current-in-tab="true">
|
42
|
+
<entry file="file:///bigoldsystem/home/trader/dev/ruby_projects/deep_dive/lib/deep_dive/deep_dive.rb">
|
48
43
|
<provider selected="true" editor-type-id="text-editor">
|
49
|
-
<state line="
|
44
|
+
<state line="105" column="0" selection-start="3471" selection-end="3471" vertical-scroll-proportion="0.33275563" vertical-offset="1383" max-vertical-offset="2100">
|
50
45
|
<folding />
|
51
46
|
</state>
|
52
47
|
</provider>
|
@@ -59,7 +54,7 @@
|
|
59
54
|
<file leaf-file-name="README.rdoc" pinned="false" current="true" current-in-tab="true">
|
60
55
|
<entry file="file://$PROJECT_DIR$/README.rdoc">
|
61
56
|
<provider selected="true" editor-type-id="text-editor">
|
62
|
-
<state line="
|
57
|
+
<state line="46" column="20" selection-start="1480" selection-end="1480" vertical-scroll-proportion="1.1958406" vertical-offset="0" max-vertical-offset="1335">
|
63
58
|
<folding />
|
64
59
|
</state>
|
65
60
|
</provider>
|
@@ -68,7 +63,16 @@
|
|
68
63
|
<file leaf-file-name="deep_dive_spec.rb" pinned="false" current="false" current-in-tab="false">
|
69
64
|
<entry file="file://$PROJECT_DIR$/spec/lib/deep_dive/deep_dive_spec.rb">
|
70
65
|
<provider selected="true" editor-type-id="text-editor">
|
71
|
-
<state line="
|
66
|
+
<state line="86" column="28" selection-start="2034" selection-end="2034" vertical-scroll-proportion="0.0" vertical-offset="895" max-vertical-offset="1485">
|
67
|
+
<folding />
|
68
|
+
</state>
|
69
|
+
</provider>
|
70
|
+
</entry>
|
71
|
+
</file>
|
72
|
+
<file leaf-file-name="Gemfile" pinned="false" current="false" current-in-tab="false">
|
73
|
+
<entry file="file://$PROJECT_DIR$/Gemfile">
|
74
|
+
<provider selected="true" editor-type-id="text-editor">
|
75
|
+
<state line="21" column="0" selection-start="469" selection-end="469" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="405">
|
72
76
|
<folding />
|
73
77
|
</state>
|
74
78
|
</provider>
|
@@ -86,13 +90,14 @@
|
|
86
90
|
<component name="IdeDocumentHistory">
|
87
91
|
<option name="changedFiles">
|
88
92
|
<list>
|
89
|
-
<option value="$PROJECT_DIR$/Gemfile" />
|
90
93
|
<option value="$PROJECT_DIR$/lib/deep_dive/version.rb" />
|
91
94
|
<option value="$PROJECT_DIR$/Rakefile" />
|
92
95
|
<option value="$PROJECT_DIR$/lib/deep_dive/deep_dive.rb" />
|
93
|
-
<option value="$PROJECT_DIR$/spec/lib/deep_dive/deep_dive_spec.rb" />
|
94
96
|
<option value="$PROJECT_DIR$/deep_dive.gemspec" />
|
95
97
|
<option value="$PROJECT_DIR$/README.rdoc" />
|
98
|
+
<option value="$PROJECT_DIR$/Gemfile" />
|
99
|
+
<option value="/bigoldsystem/home/trader/dev/ruby_projects/deep_dive/lib/deep_dive/deep_dive.rb" />
|
100
|
+
<option value="$PROJECT_DIR$/spec/lib/deep_dive/deep_dive_spec.rb" />
|
96
101
|
</list>
|
97
102
|
</option>
|
98
103
|
</component>
|
@@ -144,6 +149,7 @@
|
|
144
149
|
<sortByType />
|
145
150
|
</navigator>
|
146
151
|
<panes>
|
152
|
+
<pane id="Scope" />
|
147
153
|
<pane id="ProjectPane">
|
148
154
|
<subPane>
|
149
155
|
<PATH>
|
@@ -232,17 +238,124 @@
|
|
232
238
|
</PATH>
|
233
239
|
</subPane>
|
234
240
|
</pane>
|
235
|
-
<pane id="Scope" />
|
236
241
|
</panes>
|
237
242
|
</component>
|
238
243
|
<component name="PropertiesComponent">
|
239
244
|
<property name="WebServerToolWindowFactoryState" value="false" />
|
240
|
-
<property name="options.lastSelected" value="
|
245
|
+
<property name="options.lastSelected" value="ruby.debug.configurable" />
|
241
246
|
<property name="options.splitter.main.proportions" value="0.3" />
|
242
247
|
<property name="options.splitter.details.proportions" value="0.2" />
|
243
248
|
<property name="options.searchVisible" value="true" />
|
249
|
+
<property name="FullScreen" value="false" />
|
250
|
+
<property name="recentsLimit" value="5" />
|
251
|
+
<property name="last_opened_file_path" value="$PROJECT_DIR$/spec/lib/deep_dive/deep_dive_spec.rb" />
|
252
|
+
<property name="restartRequiresConfirmation" value="true" />
|
244
253
|
</component>
|
245
|
-
<component name="RunManager">
|
254
|
+
<component name="RunManager" selected="RSpec.Run spec 'deep_dive_spec': deep_dive">
|
255
|
+
<configuration default="false" name="Run spec 'deep_dive_spec': deep_dive" type="RSpecRunConfigurationType" factoryName="RSpec" temporary="true">
|
256
|
+
<predefined_log_file id="RUBY_RSPEC" enabled="true" />
|
257
|
+
<module name="deep_dive" />
|
258
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
259
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="$MODULE_DIR$" />
|
260
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
|
261
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
|
262
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
263
|
+
<envs>
|
264
|
+
<env name="JRUBY_OPTS" value="-X+O" />
|
265
|
+
</envs>
|
266
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
|
267
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
268
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
269
|
+
<COVERAGE_PATTERN ENABLED="true">
|
270
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
271
|
+
</COVERAGE_PATTERN>
|
272
|
+
</EXTENSION>
|
273
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
274
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
|
275
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="$MODULE_DIR$/spec/lib/deep_dive/deep_dive_spec.rb" />
|
276
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
|
277
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb" />
|
278
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="" />
|
279
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
|
280
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_ARGS" VALUE="" />
|
281
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
|
282
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_SPEC_RUNNER" VALUE="false" />
|
283
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
|
284
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
|
285
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
|
286
|
+
<RunnerSettings RunnerId="RubyDebugRunner" />
|
287
|
+
<ConfigurationWrapper RunnerId="RubyDebugRunner" />
|
288
|
+
<method />
|
289
|
+
</configuration>
|
290
|
+
<configuration default="true" type="CommandRunConfigurationType" factoryName="Gem Command">
|
291
|
+
<module name="" />
|
292
|
+
<COMMAND_RUN_CONFIGURATION NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
293
|
+
<COMMAND_RUN_CONFIGURATION NAME="WORK DIR" VALUE="" />
|
294
|
+
<COMMAND_RUN_CONFIGURATION NAME="SHOULD_USE_SDK" VALUE="false" />
|
295
|
+
<COMMAND_RUN_CONFIGURATION NAME="ALTERN_SDK_NAME" VALUE="" />
|
296
|
+
<COMMAND_RUN_CONFIGURATION NAME="myPassParentEnvs" VALUE="true" />
|
297
|
+
<envs />
|
298
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
299
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
300
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
301
|
+
<COVERAGE_PATTERN ENABLED="true">
|
302
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
303
|
+
</COVERAGE_PATTERN>
|
304
|
+
</EXTENSION>
|
305
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
306
|
+
<COMMAND_CONFIG_SETTINGS_ID NAME="GEM_NAME" VALUE="" />
|
307
|
+
<COMMAND_CONFIG_SETTINGS_ID NAME="EXECUTABLE_NAME" VALUE="" />
|
308
|
+
<COMMAND_CONFIG_SETTINGS_ID NAME="EXECUTABLE_ARGS" VALUE="" />
|
309
|
+
<COMMAND_CONFIG_SETTINGS_ID NAME="WORKING_DIR" VALUE="" />
|
310
|
+
<method />
|
311
|
+
</configuration>
|
312
|
+
<configuration default="true" type="RailsRunConfigurationType" factoryName="Rails">
|
313
|
+
<predefined_log_file id="RUBY_RAILS_SERVER" enabled="true" />
|
314
|
+
<module name="" />
|
315
|
+
<RAILS_SERVER_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
316
|
+
<RAILS_SERVER_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
|
317
|
+
<RAILS_SERVER_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
|
318
|
+
<RAILS_SERVER_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
|
319
|
+
<RAILS_SERVER_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
320
|
+
<envs />
|
321
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
322
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
323
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
324
|
+
<COVERAGE_PATTERN ENABLED="true">
|
325
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
326
|
+
</COVERAGE_PATTERN>
|
327
|
+
</EXTENSION>
|
328
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
329
|
+
<RAILS_SERVER_CONFIG_SETTINGS_ID NAME="SCRIPT_ARGS" VALUE="" />
|
330
|
+
<RAILS_SERVER_CONFIG_SETTINGS_ID NAME="PORT" VALUE="3000" />
|
331
|
+
<RAILS_SERVER_CONFIG_SETTINGS_ID NAME="IP" VALUE="0.0.0.0" />
|
332
|
+
<RAILS_SERVER_CONFIG_SETTINGS_ID NAME="DUMMY_APP" VALUE="test/dummy" />
|
333
|
+
<RAILS_SERVER_CONFIG_SETTINGS_ID NAME="RAILS_SERVER_TYPE" VALUE="Default" />
|
334
|
+
<RAILS_SERVER_CONFIG_SETTINGS_ID NAME="ENVIRONMENT_TYPE" VALUE="development" />
|
335
|
+
<RAILS_SERVER_CONFIG_SETTINGS_ID NAME="LAUNCH_JS" VALUE="false" />
|
336
|
+
<method />
|
337
|
+
</configuration>
|
338
|
+
<configuration default="true" type="CapistranoRunConfigurationType" factoryName="Capistrano">
|
339
|
+
<module name="" />
|
340
|
+
<CAPISTRANO_RUN_CONFIGURATION NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
341
|
+
<CAPISTRANO_RUN_CONFIGURATION NAME="WORK DIR" VALUE="" />
|
342
|
+
<CAPISTRANO_RUN_CONFIGURATION NAME="SHOULD_USE_SDK" VALUE="false" />
|
343
|
+
<CAPISTRANO_RUN_CONFIGURATION NAME="ALTERN_SDK_NAME" VALUE="" />
|
344
|
+
<CAPISTRANO_RUN_CONFIGURATION NAME="myPassParentEnvs" VALUE="true" />
|
345
|
+
<envs />
|
346
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
347
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
348
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
349
|
+
<COVERAGE_PATTERN ENABLED="true">
|
350
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
351
|
+
</COVERAGE_PATTERN>
|
352
|
+
</EXTENSION>
|
353
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
354
|
+
<CAPISTRANO_RUN_CONFIG_SETTINGS_ID NAME="CAPISTRANO_TASK_NAME" VALUE="" />
|
355
|
+
<CAPISTRANO_RUN_CONFIG_SETTINGS_ID NAME="CAPISTRANO_TASK_ARGS" VALUE="" />
|
356
|
+
<CAPISTRANO_RUN_CONFIG_SETTINGS_ID NAME="CAPISTRANO_STAGE" VALUE="" />
|
357
|
+
<method />
|
358
|
+
</configuration>
|
246
359
|
<configuration default="true" type="RSpecRunConfigurationType" factoryName="RSpec">
|
247
360
|
<predefined_log_file id="RUBY_RSPEC" enabled="true" />
|
248
361
|
<module name="" />
|
@@ -274,8 +387,24 @@
|
|
274
387
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
|
275
388
|
<method />
|
276
389
|
</configuration>
|
277
|
-
<configuration default="true" type="
|
390
|
+
<configuration default="true" type="ZeusRunConfigurationType" factoryName="Zeus Server">
|
278
391
|
<module name="" />
|
392
|
+
<ZEUS_RUN_CONFIGURATION NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
393
|
+
<ZEUS_RUN_CONFIGURATION NAME="WORK DIR" VALUE="" />
|
394
|
+
<ZEUS_RUN_CONFIGURATION NAME="SHOULD_USE_SDK" VALUE="false" />
|
395
|
+
<ZEUS_RUN_CONFIGURATION NAME="ALTERN_SDK_NAME" VALUE="" />
|
396
|
+
<ZEUS_RUN_CONFIGURATION NAME="myPassParentEnvs" VALUE="true" />
|
397
|
+
<envs />
|
398
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
399
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
400
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" runner="rcov" />
|
401
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
402
|
+
<ZEUS_RUN_CONFIG_SETTING NAME="ZEUS_COMMAND_NAME" VALUE="" />
|
403
|
+
<ZEUS_RUN_CONFIG_SETTING NAME="ZEUS_COMMAND_ARGS" VALUE="" />
|
404
|
+
<method />
|
405
|
+
</configuration>
|
406
|
+
<configuration default="true" type="RubyRunConfigurationType" factoryName="Ruby">
|
407
|
+
<module name="deep_dive" />
|
279
408
|
<RUBY_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
280
409
|
<RUBY_RUN_CONFIG NAME="WORK DIR" VALUE="" />
|
281
410
|
<RUBY_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="false" />
|
@@ -290,7 +419,7 @@
|
|
290
419
|
</COVERAGE_PATTERN>
|
291
420
|
</EXTENSION>
|
292
421
|
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
293
|
-
<RUBY_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="" />
|
422
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="$MODULE_DIR$/spec/lib/deep_dive/deep_dive_spec.rb" />
|
294
423
|
<RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="" />
|
295
424
|
<method />
|
296
425
|
</configuration>
|
@@ -324,7 +453,68 @@
|
|
324
453
|
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_OPTIONS" VALUE="" />
|
325
454
|
<method />
|
326
455
|
</configuration>
|
327
|
-
<
|
456
|
+
<configuration default="true" type="RubyRemoteDebugConfigurationType" factoryName="Ruby remote debug">
|
457
|
+
<RUBY_REMOTE_DEBUG_CONFIG NAME="REMOTE_HOST" VALUE="localhost" />
|
458
|
+
<RUBY_REMOTE_DEBUG_CONFIG NAME="PORT" VALUE="1234" />
|
459
|
+
<RUBY_REMOTE_DEBUG_CONFIG NAME="DISPATCHER_PORT" VALUE="26162" />
|
460
|
+
<RUBY_REMOTE_DEBUG_CONFIG NAME="REMOTE_ROOT" VALUE="" />
|
461
|
+
<RUBY_REMOTE_DEBUG_CONFIG NAME="LOCAL_ROOT" VALUE="" />
|
462
|
+
<method />
|
463
|
+
</configuration>
|
464
|
+
<configuration default="true" type="RackRunConfigurationType" factoryName="Rack">
|
465
|
+
<module name="" />
|
466
|
+
<RACK_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
467
|
+
<RACK_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="$MODULE_DIR$" />
|
468
|
+
<RACK_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
|
469
|
+
<RACK_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
|
470
|
+
<RACK_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
471
|
+
<envs />
|
472
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
473
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
474
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
475
|
+
<COVERAGE_PATTERN ENABLED="true">
|
476
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
477
|
+
</COVERAGE_PATTERN>
|
478
|
+
</EXTENSION>
|
479
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
480
|
+
<RACK_CONFIG_SETTINGS_ID NAME="PORT" VALUE="9292" />
|
481
|
+
<RACK_CONFIG_SETTINGS_ID NAME="IP" VALUE="0.0.0.0" />
|
482
|
+
<RACK_CONFIG_SETTINGS_ID NAME="CONFIG_FILE" VALUE="" />
|
483
|
+
<RACK_CONFIG_SETTINGS_ID NAME="RACK_SERVER_TYPE" VALUE="Default" />
|
484
|
+
<RACK_CONFIG_SETTINGS_ID NAME="LAUNCH_JS" VALUE="false" />
|
485
|
+
<method />
|
486
|
+
</configuration>
|
487
|
+
<configuration default="false" name="deep_dive" type="RubyRunConfigurationType" factoryName="Ruby">
|
488
|
+
<module name="deep_dive" />
|
489
|
+
<RUBY_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
490
|
+
<RUBY_RUN_CONFIG NAME="WORK DIR" VALUE="" />
|
491
|
+
<RUBY_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="false" />
|
492
|
+
<RUBY_RUN_CONFIG NAME="ALTERN_SDK_NAME" VALUE="" />
|
493
|
+
<RUBY_RUN_CONFIG NAME="myPassParentEnvs" VALUE="true" />
|
494
|
+
<envs />
|
495
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
496
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
497
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
498
|
+
<COVERAGE_PATTERN ENABLED="true">
|
499
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
500
|
+
</COVERAGE_PATTERN>
|
501
|
+
</EXTENSION>
|
502
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
503
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="" />
|
504
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="" />
|
505
|
+
<RunnerSettings RunnerId="RubyDebugRunner" />
|
506
|
+
<ConfigurationWrapper RunnerId="RubyDebugRunner" />
|
507
|
+
<method />
|
508
|
+
</configuration>
|
509
|
+
<list size="2">
|
510
|
+
<item index="0" class="java.lang.String" itemvalue="Ruby.deep_dive" />
|
511
|
+
<item index="1" class="java.lang.String" itemvalue="RSpec.Run spec 'deep_dive_spec': deep_dive" />
|
512
|
+
</list>
|
513
|
+
<recent_temporary>
|
514
|
+
<list size="1">
|
515
|
+
<item index="0" class="java.lang.String" itemvalue="RSpec.Run spec 'deep_dive_spec': deep_dive" />
|
516
|
+
</list>
|
517
|
+
</recent_temporary>
|
328
518
|
</component>
|
329
519
|
<component name="ShelveChangesManager" show_recycled="false" />
|
330
520
|
<component name="SvnConfiguration" maxAnnotateRevisions="500" myUseAcceleration="nothing" myAutoUpdateAfterCommit="false" cleanupOnStartRun="false" SSL_PROTOCOLS="all">
|
@@ -376,24 +566,24 @@
|
|
376
566
|
<frame x="-3" y="-3" width="1926" height="1172" extended-state="6" />
|
377
567
|
<editor active="true" />
|
378
568
|
<layout>
|
379
|
-
<window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="
|
380
|
-
<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="
|
569
|
+
<window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
|
570
|
+
<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" />
|
381
571
|
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3294347" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
|
382
|
-
<window_info id="
|
383
|
-
<window_info id="
|
384
|
-
<window_info id="
|
385
|
-
<window_info id="
|
386
|
-
<window_info id="
|
387
|
-
<window_info id="
|
388
|
-
<window_info id="
|
389
|
-
<window_info id="
|
390
|
-
<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" />
|
572
|
+
<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" />
|
573
|
+
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.1970181" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
574
|
+
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.18423855" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
|
575
|
+
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.39980546" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
|
576
|
+
<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" />
|
577
|
+
<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" />
|
578
|
+
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32879376" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
|
579
|
+
<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="7" side_tool="false" content_ui="tabs" />
|
391
580
|
<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" />
|
392
581
|
<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" />
|
582
|
+
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3294347" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
393
583
|
<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" />
|
394
584
|
<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" />
|
395
|
-
<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" />
|
396
585
|
<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" />
|
586
|
+
<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" />
|
397
587
|
</layout>
|
398
588
|
</component>
|
399
589
|
<component name="Vcs.Log.UiProperties">
|
@@ -410,64 +600,77 @@
|
|
410
600
|
</option>
|
411
601
|
</component>
|
412
602
|
<component name="XDebuggerManager">
|
413
|
-
<breakpoint-manager
|
603
|
+
<breakpoint-manager>
|
604
|
+
<option name="time" value="6" />
|
605
|
+
</breakpoint-manager>
|
414
606
|
</component>
|
415
607
|
<component name="editorHistoryManager">
|
416
|
-
<entry file="file://$PROJECT_DIR
|
608
|
+
<entry file="file://$PROJECT_DIR$/lib/deep_dive/deep_dive.rb">
|
417
609
|
<provider selected="true" editor-type-id="text-editor">
|
418
|
-
<state line="
|
610
|
+
<state line="52" column="16" selection-start="1585" selection-end="1585" vertical-scroll-proportion="0.0" vertical-offset="780" max-vertical-offset="2100">
|
419
611
|
<folding />
|
420
612
|
</state>
|
421
613
|
</provider>
|
422
614
|
</entry>
|
423
|
-
<entry file="file://$PROJECT_DIR$/
|
615
|
+
<entry file="file://$PROJECT_DIR$/README.rdoc">
|
424
616
|
<provider selected="true" editor-type-id="text-editor">
|
425
|
-
<state line="
|
617
|
+
<state line="76" column="61" selection-start="2381" selection-end="2381" vertical-scroll-proportion="0.0" vertical-offset="311" max-vertical-offset="1335">
|
426
618
|
<folding />
|
427
619
|
</state>
|
428
620
|
</provider>
|
429
621
|
</entry>
|
430
|
-
<entry file="file://$PROJECT_DIR$/
|
431
|
-
<provider editor-type-id="
|
432
|
-
<state
|
622
|
+
<entry file="file://$PROJECT_DIR$/spec/lib/deep_dive/deep_dive_spec.rb">
|
623
|
+
<provider selected="true" editor-type-id="text-editor">
|
624
|
+
<state line="34" column="0" selection-start="357" selection-end="770" vertical-scroll-proportion="0.0" vertical-offset="45" max-vertical-offset="1410">
|
625
|
+
<folding />
|
626
|
+
</state>
|
433
627
|
</provider>
|
628
|
+
</entry>
|
629
|
+
<entry file="file://$PROJECT_DIR$/lib/deep_dive/deep_dive.rb">
|
434
630
|
<provider selected="true" editor-type-id="text-editor">
|
435
|
-
<state line="
|
631
|
+
<state line="52" column="16" selection-start="1585" selection-end="1585" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="2100">
|
436
632
|
<folding />
|
437
633
|
</state>
|
438
634
|
</provider>
|
439
635
|
</entry>
|
440
|
-
<entry file="file://$PROJECT_DIR
|
636
|
+
<entry file="file://$PROJECT_DIR$/README.rdoc">
|
441
637
|
<provider selected="true" editor-type-id="text-editor">
|
442
|
-
<state line="
|
638
|
+
<state line="76" column="61" selection-start="2381" selection-end="2381" vertical-scroll-proportion="0.0" vertical-offset="311" max-vertical-offset="1335">
|
443
639
|
<folding />
|
444
640
|
</state>
|
445
641
|
</provider>
|
446
642
|
</entry>
|
447
|
-
<entry file="file://$PROJECT_DIR$/lib/deep_dive.rb">
|
643
|
+
<entry file="file://$PROJECT_DIR$/spec/lib/deep_dive/deep_dive_spec.rb">
|
448
644
|
<provider selected="true" editor-type-id="text-editor">
|
449
|
-
<state line="
|
645
|
+
<state line="34" column="0" selection-start="357" selection-end="770" vertical-scroll-proportion="0.0" vertical-offset="45" max-vertical-offset="1410">
|
450
646
|
<folding />
|
451
647
|
</state>
|
452
648
|
</provider>
|
453
649
|
</entry>
|
454
|
-
<entry file="file://$PROJECT_DIR
|
650
|
+
<entry file="file://$PROJECT_DIR$/lib/deep_dive/deep_dive.rb">
|
455
651
|
<provider selected="true" editor-type-id="text-editor">
|
456
|
-
<state line="
|
652
|
+
<state line="52" column="16" selection-start="1585" selection-end="1585" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="2100">
|
457
653
|
<folding />
|
458
654
|
</state>
|
459
655
|
</provider>
|
460
656
|
</entry>
|
461
|
-
<entry file="file://$PROJECT_DIR$/
|
657
|
+
<entry file="file://$PROJECT_DIR$/README.rdoc">
|
462
658
|
<provider selected="true" editor-type-id="text-editor">
|
463
|
-
<state line="
|
659
|
+
<state line="76" column="61" selection-start="2381" selection-end="2381" vertical-scroll-proportion="0.0" vertical-offset="1140" max-vertical-offset="1335">
|
464
660
|
<folding />
|
465
661
|
</state>
|
466
662
|
</provider>
|
467
663
|
</entry>
|
468
|
-
<entry file="file://$PROJECT_DIR$/
|
664
|
+
<entry file="file://$PROJECT_DIR$/spec/lib/deep_dive/deep_dive_spec.rb">
|
665
|
+
<provider selected="true" editor-type-id="text-editor">
|
666
|
+
<state line="34" column="0" selection-start="357" selection-end="770" vertical-scroll-proportion="0.0" vertical-offset="45" max-vertical-offset="1410">
|
667
|
+
<folding />
|
668
|
+
</state>
|
669
|
+
</provider>
|
670
|
+
</entry>
|
671
|
+
<entry file="file://$PROJECT_DIR$/Gemfile">
|
469
672
|
<provider selected="true" editor-type-id="text-editor">
|
470
|
-
<state line="
|
673
|
+
<state line="17" column="0" selection-start="412" selection-end="412" vertical-scroll-proportion="0.0" vertical-offset="255" max-vertical-offset="345">
|
471
674
|
<folding />
|
472
675
|
</state>
|
473
676
|
</provider>
|
@@ -481,21 +684,83 @@
|
|
481
684
|
</entry>
|
482
685
|
<entry file="file://$PROJECT_DIR$/deep_dive.gemspec">
|
483
686
|
<provider selected="true" editor-type-id="text-editor">
|
484
|
-
<state line="28" column="26" selection-start="1199" selection-end="1199" vertical-scroll-proportion="0.
|
687
|
+
<state line="28" column="26" selection-start="1199" selection-end="1199" vertical-scroll-proportion="0.0" vertical-offset="420" max-vertical-offset="1230" />
|
688
|
+
</provider>
|
689
|
+
</entry>
|
690
|
+
<entry file="file://$PROJECT_DIR$/.rspec">
|
691
|
+
<provider selected="true" editor-type-id="text-editor">
|
692
|
+
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="999" />
|
693
|
+
</provider>
|
694
|
+
</entry>
|
695
|
+
<entry file="file://$PROJECT_DIR$/spec/spec_helper.rb">
|
696
|
+
<provider selected="true" editor-type-id="text-editor">
|
697
|
+
<state line="12" column="0" selection-start="359" selection-end="359" vertical-scroll-proportion="0.18018018" vertical-offset="0" max-vertical-offset="999" />
|
698
|
+
</provider>
|
699
|
+
</entry>
|
700
|
+
<entry file="file://$PROJECT_DIR$/LICENSE.txt">
|
701
|
+
<provider selected="true" editor-type-id="text-editor">
|
702
|
+
<state line="20" column="0" selection-start="1057" selection-end="1057" vertical-scroll-proportion="0.30832475" vertical-offset="0" max-vertical-offset="973" />
|
703
|
+
</provider>
|
704
|
+
<provider editor-type-id="com.intellij.persistence.database.editor.CsvTableFileEditorProvider">
|
705
|
+
<state />
|
706
|
+
</provider>
|
707
|
+
</entry>
|
708
|
+
<entry file="file://$PROJECT_DIR$/.document">
|
709
|
+
<provider selected="true" editor-type-id="text-editor">
|
710
|
+
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="999" />
|
711
|
+
</provider>
|
712
|
+
</entry>
|
713
|
+
<entry file="file://$PROJECT_DIR$/lib/deep_dive.rb">
|
714
|
+
<provider selected="true" editor-type-id="text-editor">
|
715
|
+
<state line="1" column="0" selection-start="30" selection-end="30" vertical-scroll-proportion="0.015015015" vertical-offset="0" max-vertical-offset="999" />
|
716
|
+
</provider>
|
717
|
+
</entry>
|
718
|
+
<entry file="file://$PROJECT_DIR$/.semver">
|
719
|
+
<provider selected="true" editor-type-id="text-editor">
|
720
|
+
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="999" />
|
721
|
+
</provider>
|
722
|
+
</entry>
|
723
|
+
<entry file="file://$PROJECT_DIR$/Rakefile">
|
724
|
+
<provider selected="true" editor-type-id="text-editor">
|
725
|
+
<state line="8" column="3" selection-start="125" selection-end="125" vertical-scroll-proportion="0.121703856" vertical-offset="0" max-vertical-offset="1035" />
|
726
|
+
</provider>
|
727
|
+
</entry>
|
728
|
+
<entry file="file://$PROJECT_DIR$/deep_dive.gemspec">
|
729
|
+
<provider selected="true" editor-type-id="text-editor">
|
730
|
+
<state line="28" column="26" selection-start="1199" selection-end="1199" vertical-scroll-proportion="0.42510122" vertical-offset="0" max-vertical-offset="1230" />
|
731
|
+
</provider>
|
732
|
+
</entry>
|
733
|
+
<entry file="file://$PROJECT_DIR$/Gemfile">
|
734
|
+
<provider selected="true" editor-type-id="text-editor">
|
735
|
+
<state line="21" column="0" selection-start="469" selection-end="469" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="405">
|
736
|
+
<folding />
|
737
|
+
</state>
|
738
|
+
</provider>
|
739
|
+
</entry>
|
740
|
+
<entry file="file://$PROJECT_DIR$/lib/deep_dive/deep_dive.rb">
|
741
|
+
<provider selected="true" editor-type-id="text-editor">
|
742
|
+
<state line="91" column="63" selection-start="2859" selection-end="2859" vertical-scroll-proportion="0.0" vertical-offset="768" max-vertical-offset="2100">
|
743
|
+
<folding />
|
744
|
+
</state>
|
745
|
+
</provider>
|
746
|
+
</entry>
|
747
|
+
<entry file="file:///bigoldsystem/home/trader/dev/ruby_projects/deep_dive/lib/deep_dive/deep_dive.rb">
|
748
|
+
<provider selected="true" editor-type-id="text-editor">
|
749
|
+
<state line="105" column="0" selection-start="3471" selection-end="3471" vertical-scroll-proportion="0.33275563" vertical-offset="1383" max-vertical-offset="2100">
|
485
750
|
<folding />
|
486
751
|
</state>
|
487
752
|
</provider>
|
488
753
|
</entry>
|
489
754
|
<entry file="file://$PROJECT_DIR$/spec/lib/deep_dive/deep_dive_spec.rb">
|
490
755
|
<provider selected="true" editor-type-id="text-editor">
|
491
|
-
<state line="
|
756
|
+
<state line="86" column="28" selection-start="2034" selection-end="2034" vertical-scroll-proportion="0.0" vertical-offset="895" max-vertical-offset="1485">
|
492
757
|
<folding />
|
493
758
|
</state>
|
494
759
|
</provider>
|
495
760
|
</entry>
|
496
761
|
<entry file="file://$PROJECT_DIR$/README.rdoc">
|
497
762
|
<provider selected="true" editor-type-id="text-editor">
|
498
|
-
<state line="
|
763
|
+
<state line="46" column="20" selection-start="1480" selection-end="1480" vertical-scroll-proportion="1.1958406" vertical-offset="0" max-vertical-offset="1335">
|
499
764
|
<folding />
|
500
765
|
</state>
|
501
766
|
</provider>
|
data/.semver
CHANGED
data/Gemfile
CHANGED
@@ -5,6 +5,8 @@ source "http://rubygems.org"
|
|
5
5
|
|
6
6
|
ruby '2.0.0'
|
7
7
|
|
8
|
+
gem 'debase'
|
9
|
+
|
8
10
|
# Add dependencies to develop your gem here.
|
9
11
|
# Include everything needed to run rake, tests, features, etc.
|
10
12
|
group :development do
|
@@ -14,4 +16,6 @@ group :development do
|
|
14
16
|
gem "jeweler", "~> 1.8.7"
|
15
17
|
gem "simplecov"
|
16
18
|
gem 'semver'
|
19
|
+
gem 'guard-rspec'
|
20
|
+
gem 'ruby-debug-ide'
|
17
21
|
end
|
data/Gemfile.lock
CHANGED
@@ -3,10 +3,18 @@ GEM
|
|
3
3
|
specs:
|
4
4
|
addressable (2.3.5)
|
5
5
|
builder (3.2.2)
|
6
|
+
celluloid (0.15.2)
|
7
|
+
timers (~> 1.1.0)
|
8
|
+
coderay (1.1.0)
|
9
|
+
debase (0.0.9)
|
10
|
+
debugger-ruby_core_source
|
11
|
+
debugger-ruby_core_source (1.3.1)
|
6
12
|
diff-lcs (1.1.3)
|
7
13
|
docile (1.1.1)
|
8
14
|
faraday (0.8.8)
|
9
15
|
multipart-post (~> 1.2.0)
|
16
|
+
ffi (1.9.3)
|
17
|
+
formatador (0.2.4)
|
10
18
|
git (1.2.6)
|
11
19
|
github_api (0.10.1)
|
12
20
|
addressable
|
@@ -15,6 +23,14 @@ GEM
|
|
15
23
|
multi_json (~> 1.4)
|
16
24
|
nokogiri (~> 1.5.2)
|
17
25
|
oauth2
|
26
|
+
guard (2.2.5)
|
27
|
+
formatador (>= 0.2.4)
|
28
|
+
listen (~> 2.1)
|
29
|
+
lumberjack (~> 1.0)
|
30
|
+
pry (>= 0.9.12)
|
31
|
+
thor (>= 0.18.1)
|
32
|
+
guard-rspec (1.2.1)
|
33
|
+
guard (>= 1.1)
|
18
34
|
hashie (2.0.5)
|
19
35
|
highline (1.6.20)
|
20
36
|
httpauth (0.2.0)
|
@@ -30,6 +46,12 @@ GEM
|
|
30
46
|
json (1.8.1)
|
31
47
|
jwt (0.1.8)
|
32
48
|
multi_json (>= 1.5)
|
49
|
+
listen (2.4.0)
|
50
|
+
celluloid (>= 0.15.2)
|
51
|
+
rb-fsevent (>= 0.9.3)
|
52
|
+
rb-inotify (>= 0.9)
|
53
|
+
lumberjack (1.0.4)
|
54
|
+
method_source (0.8.2)
|
33
55
|
multi_json (1.8.2)
|
34
56
|
multi_xml (0.5.5)
|
35
57
|
multipart-post (1.2.0)
|
@@ -41,8 +63,15 @@ GEM
|
|
41
63
|
multi_json (~> 1.0)
|
42
64
|
multi_xml (~> 0.5)
|
43
65
|
rack (~> 1.2)
|
66
|
+
pry (0.9.12.4)
|
67
|
+
coderay (~> 1.0)
|
68
|
+
method_source (~> 0.8)
|
69
|
+
slop (~> 3.4)
|
44
70
|
rack (1.5.2)
|
45
71
|
rake (10.1.1)
|
72
|
+
rb-fsevent (0.9.4)
|
73
|
+
rb-inotify (0.9.3)
|
74
|
+
ffi (>= 0.5.0)
|
46
75
|
rdoc (3.12.2)
|
47
76
|
json (~> 1.4)
|
48
77
|
rspec (2.8.0)
|
@@ -53,20 +82,28 @@ GEM
|
|
53
82
|
rspec-expectations (2.8.0)
|
54
83
|
diff-lcs (~> 1.1.2)
|
55
84
|
rspec-mocks (2.8.0)
|
85
|
+
ruby-debug-ide (0.4.22)
|
86
|
+
rake (>= 0.8.1)
|
56
87
|
semver (1.0.1)
|
57
88
|
simplecov (0.8.2)
|
58
89
|
docile (~> 1.1.0)
|
59
90
|
multi_json
|
60
91
|
simplecov-html (~> 0.8.0)
|
61
92
|
simplecov-html (0.8.0)
|
93
|
+
slop (3.4.7)
|
94
|
+
thor (0.18.1)
|
95
|
+
timers (1.1.0)
|
62
96
|
|
63
97
|
PLATFORMS
|
64
98
|
ruby
|
65
99
|
|
66
100
|
DEPENDENCIES
|
67
101
|
bundler (~> 1.0)
|
102
|
+
debase
|
103
|
+
guard-rspec
|
68
104
|
jeweler (~> 1.8.7)
|
69
105
|
rdoc (~> 3.12)
|
70
106
|
rspec (~> 2.8.0)
|
107
|
+
ruby-debug-ide
|
71
108
|
semver
|
72
109
|
simplecov
|
data/Guardfile
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
# A sample Guardfile
|
2
|
+
# More info at https://github.com/guard/guard#readme
|
3
|
+
|
4
|
+
guard :rspec do
|
5
|
+
watch(%r{^spec/.+_spec\.rb$})
|
6
|
+
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
|
7
|
+
watch('spec/spec_helper.rb') { "spec" }
|
8
|
+
|
9
|
+
# Rails example
|
10
|
+
watch(%r{^app/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
|
11
|
+
watch(%r{^app/(.*)(\.erb|\.haml|\.slim)$}) { |m| "spec/#{m[1]}#{m[2]}_spec.rb" }
|
12
|
+
watch(%r{^app/controllers/(.+)_(controller)\.rb$}) { |m| ["spec/routing/#{m[1]}_routing_spec.rb", "spec/#{m[2]}s/#{m[1]}_#{m[2]}_spec.rb", "spec/acceptance/#{m[1]}_spec.rb"] }
|
13
|
+
watch(%r{^spec/support/(.+)\.rb$}) { "spec" }
|
14
|
+
watch('config/routes.rb') { "spec/routing" }
|
15
|
+
watch('app/controllers/application_controller.rb') { "spec/controllers" }
|
16
|
+
|
17
|
+
# Capybara features specs
|
18
|
+
watch(%r{^app/views/(.+)/.*\.(erb|haml|slim)$}) { |m| "spec/features/#{m[1]}_spec.rb" }
|
19
|
+
|
20
|
+
# Turnip features and steps
|
21
|
+
watch(%r{^spec/acceptance/(.+)\.feature$})
|
22
|
+
watch(%r{^spec/acceptance/steps/(.+)_steps\.rb$}) { |m| Dir[File.join("**/#{m[1]}.feature")][0] || 'spec/acceptance' }
|
23
|
+
end
|
24
|
+
|
data/README.rdoc
CHANGED
@@ -7,6 +7,9 @@ not want to clone, but maintain references to. And some references you may not w
|
|
7
7
|
Enter DeepDive. Allows you a means by which you can do controlled deep cloning or
|
8
8
|
copying of your complex interconnected objects.
|
9
9
|
|
10
|
+
== Gem Version
|
11
|
+
{<img src="https://badge.fury.io/rb/deep_dive.png" alt="Gem Version" />}[http://badge.fury.io/rb/deep_dive]
|
12
|
+
|
10
13
|
== Usage
|
11
14
|
Simply include DeepDive in your base class. All classes derived will be set
|
12
15
|
for deep cloning or deep duping.
|
@@ -53,13 +56,28 @@ So now if you do:
|
|
53
56
|
nfoo = @foo.dclone
|
54
57
|
|
55
58
|
@foo.c will refer to the same object as nfoo.c,
|
56
|
-
but @foo.b and nfoo.b will be different, as nfoo.b will be a clone of @foo.b.
|
59
|
+
but @foo.b and nfoo.b will be different, as nfoo.b will be a deep clone of @foo.b.
|
60
|
+
|
61
|
+
Also, you may do:
|
62
|
+
mfoo = @foo.ddup
|
63
|
+
|
64
|
+
which will basically do a deep dup of @foo.
|
57
65
|
|
58
66
|
Please see spec/lib/deep_dive/deep_dive_spec.rb for a more comprehensve example
|
59
67
|
of the above. Better documentation will be supplied shortly.
|
60
68
|
|
69
|
+
== Future Proposals
|
70
|
+
|
71
|
+
It may be desirable to be able to pass a block into the 'exclude' DSL for more
|
72
|
+
fine-grained control of whether a instance variable is copied or referenced.
|
73
|
+
|
74
|
+
== Note Well
|
75
|
+
|
76
|
+
DeepDive is expected to undergo rapid evolution until it hits 1.0.0. I will take
|
77
|
+
every effort to keep the API backwards compatable until then.
|
78
|
+
|
61
79
|
== Copyright
|
62
80
|
|
63
|
-
Copyright (c) 2013 Fred Mitchell. See LICENSE.txt for
|
81
|
+
Copyright (c) 2013-2014 Fred Mitchell. See LICENSE.txt for
|
64
82
|
further details.
|
65
83
|
|
data/deep_dive.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "deep_dive"
|
8
|
-
s.version = "0.0.
|
8
|
+
s.version = "0.0.6"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Fred Mitchell"]
|
12
|
-
s.date = "
|
12
|
+
s.date = "2014-01-02"
|
13
13
|
s.description = "\n When you have a system of objects that have many references to each other, it becomes an\n issue to be able to clone properly that object graph. There may be control objects you may\n not want to clone, but maintain references to. And some references you may not wish to clone at all.\n\n Enter DeepDive. Allows you a means by which you can do controlled deep cloning or\n copying of your complex interconnected objects.\n "
|
14
14
|
s.email = "fred@lrcsoft.com"
|
15
15
|
s.extra_rdoc_files = [
|
@@ -31,6 +31,7 @@ Gem::Specification.new do |s|
|
|
31
31
|
".semver",
|
32
32
|
"Gemfile",
|
33
33
|
"Gemfile.lock",
|
34
|
+
"Guardfile",
|
34
35
|
"LICENSE.txt",
|
35
36
|
"README.rdoc",
|
36
37
|
"Rakefile",
|
@@ -50,27 +51,36 @@ Gem::Specification.new do |s|
|
|
50
51
|
s.specification_version = 4
|
51
52
|
|
52
53
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
54
|
+
s.add_runtime_dependency(%q<debase>, [">= 0"])
|
53
55
|
s.add_development_dependency(%q<rspec>, ["~> 2.8.0"])
|
54
56
|
s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
|
55
57
|
s.add_development_dependency(%q<bundler>, ["~> 1.0"])
|
56
58
|
s.add_development_dependency(%q<jeweler>, ["~> 1.8.7"])
|
57
59
|
s.add_development_dependency(%q<simplecov>, [">= 0"])
|
58
60
|
s.add_development_dependency(%q<semver>, [">= 0"])
|
61
|
+
s.add_development_dependency(%q<guard-rspec>, [">= 0"])
|
62
|
+
s.add_development_dependency(%q<ruby-debug-ide>, [">= 0"])
|
59
63
|
else
|
64
|
+
s.add_dependency(%q<debase>, [">= 0"])
|
60
65
|
s.add_dependency(%q<rspec>, ["~> 2.8.0"])
|
61
66
|
s.add_dependency(%q<rdoc>, ["~> 3.12"])
|
62
67
|
s.add_dependency(%q<bundler>, ["~> 1.0"])
|
63
68
|
s.add_dependency(%q<jeweler>, ["~> 1.8.7"])
|
64
69
|
s.add_dependency(%q<simplecov>, [">= 0"])
|
65
70
|
s.add_dependency(%q<semver>, [">= 0"])
|
71
|
+
s.add_dependency(%q<guard-rspec>, [">= 0"])
|
72
|
+
s.add_dependency(%q<ruby-debug-ide>, [">= 0"])
|
66
73
|
end
|
67
74
|
else
|
75
|
+
s.add_dependency(%q<debase>, [">= 0"])
|
68
76
|
s.add_dependency(%q<rspec>, ["~> 2.8.0"])
|
69
77
|
s.add_dependency(%q<rdoc>, ["~> 3.12"])
|
70
78
|
s.add_dependency(%q<bundler>, ["~> 1.0"])
|
71
79
|
s.add_dependency(%q<jeweler>, ["~> 1.8.7"])
|
72
80
|
s.add_dependency(%q<simplecov>, [">= 0"])
|
73
81
|
s.add_dependency(%q<semver>, [">= 0"])
|
82
|
+
s.add_dependency(%q<guard-rspec>, [">= 0"])
|
83
|
+
s.add_dependency(%q<ruby-debug-ide>, [">= 0"])
|
74
84
|
end
|
75
85
|
end
|
76
86
|
|
data/lib/deep_dive/deep_dive.rb
CHANGED
@@ -78,7 +78,7 @@ module DeepDive
|
|
78
78
|
raise DeepDiveException.new("Don't know how to add new elements for class #{self.class}")
|
79
79
|
end
|
80
80
|
else
|
81
|
-
self[v.first] = _ob_maybe_repl(v: v, dupit: dupit, oc: oc)
|
81
|
+
self[v.first] = _ob_maybe_repl(v: v.last, dupit: dupit, oc: oc)
|
82
82
|
end
|
83
83
|
end
|
84
84
|
|
@@ -6,11 +6,11 @@ class FooBase
|
|
6
6
|
end
|
7
7
|
|
8
8
|
class Foo < FooBase
|
9
|
-
attr_accessor :a, :b, :c, :changeme
|
9
|
+
attr_accessor :a, :b, :c, :changeme, :h
|
10
10
|
end
|
11
11
|
|
12
12
|
class Bar < FooBase
|
13
|
-
attr_accessor :a, :b, :c, :changeme
|
13
|
+
attr_accessor :a, :b, :c, :changeme, :h
|
14
14
|
end
|
15
15
|
|
16
16
|
class FooBar < FooBase
|
@@ -31,6 +31,7 @@ describe DeepDive do
|
|
31
31
|
@foo.b = @bar
|
32
32
|
@bar.b = @foo
|
33
33
|
@foo.c = @bar.c = @foobar.c = @foobar
|
34
|
+
@foo.h = @bar.h = {1 => "one", 2 => "two", 3 => "three"}
|
34
35
|
@foo.changeme = @bar.changeme = @foobar.changeme = "initial"
|
35
36
|
end
|
36
37
|
|
@@ -55,6 +56,11 @@ describe DeepDive do
|
|
55
56
|
cfoo = @foo.dclone
|
56
57
|
cfoo.a.should_not == @foo.a
|
57
58
|
end
|
59
|
+
|
60
|
+
it 'handles hash cloning properly' do
|
61
|
+
cfoo = @foo.dclone
|
62
|
+
cfoo.h[1].should == "one"
|
63
|
+
end
|
58
64
|
end
|
59
65
|
|
60
66
|
context 'dup' do
|
@@ -62,7 +68,6 @@ describe DeepDive do
|
|
62
68
|
cfoo = @foo.ddup
|
63
69
|
cfoo.should_not == nil
|
64
70
|
end
|
65
|
-
it 'deep'
|
66
71
|
end
|
67
72
|
|
68
73
|
context 'enumerables' do
|
@@ -78,10 +83,10 @@ describe DeepDive do
|
|
78
83
|
end
|
79
84
|
|
80
85
|
it 'makes copies of the hashed objects' do
|
81
|
-
cfb = @
|
82
|
-
cfb.
|
83
|
-
cfb.
|
84
|
-
cfb.
|
86
|
+
cfb = @foo.dclone
|
87
|
+
cfb.h.size.should == 3
|
88
|
+
cfb.h.each do |k, o|
|
89
|
+
cfb.h[k].should == @foo.h[k]
|
85
90
|
end
|
86
91
|
end
|
87
92
|
end
|
metadata
CHANGED
@@ -1,15 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: deep_dive
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Fred Mitchell
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-01-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: debase
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '>='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '>='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
13
27
|
- !ruby/object:Gem::Dependency
|
14
28
|
name: rspec
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -94,6 +108,34 @@ dependencies:
|
|
94
108
|
- - '>='
|
95
109
|
- !ruby/object:Gem::Version
|
96
110
|
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: guard-rspec
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - '>='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - '>='
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: ruby-debug-ide
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - '>='
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - '>='
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
97
139
|
description: "\n When you have a system of objects that have many references to each
|
98
140
|
other, it becomes an\n issue to be able to clone properly that object graph. There
|
99
141
|
may be control objects you may\n not want to clone, but maintain references to.
|
@@ -121,6 +163,7 @@ files:
|
|
121
163
|
- .semver
|
122
164
|
- Gemfile
|
123
165
|
- Gemfile.lock
|
166
|
+
- Guardfile
|
124
167
|
- LICENSE.txt
|
125
168
|
- README.rdoc
|
126
169
|
- Rakefile
|