neo4j_spatial 0.0.3 → 1.0.0
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 +4 -4
- data/.idea/.name +1 -0
- data/.idea/.rakeTasks +7 -0
- data/.idea/encodings.xml +5 -0
- data/.idea/misc.xml +22 -0
- data/.idea/modules.xml +9 -0
- data/.idea/neo4j_spatial.iml +52 -0
- data/.idea/scopes/scope_settings.xml +5 -0
- data/.idea/vcs.xml +7 -0
- data/.idea/workspace.xml +260 -0
- data/VERSION +1 -1
- data/lib/neo4j_spatial.rb +14 -19
- data/neo4j_spatial.gemspec +11 -2
- metadata +11 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c615da578195713250d779f5ea5e9269458ee199
|
|
4
|
+
data.tar.gz: bbe85ae18baaef6926ff11668a8574a5138415ea
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7f8b0f0cfc5b0814d3d3f4b781718ef309333ce20bd08620dab7c72397d812c738bfd482fa7b5a4858df74b27d094d2601f83c14d2a6947ae41059f0b579a905
|
|
7
|
+
data.tar.gz: d9523610dc2b3df9e5150e2bfac64af611ee986cf3b844d8c02d4d1a2765ccd408149480c1e2f42ec0aee44c7eb9760adb44c187b98dfc7962b669fd102fef49
|
data/.idea/.name
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
neo4j_spatial
|
data/.idea/.rakeTasks
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<Settings><!--This file was automatically generated by Ruby plugin.
|
|
3
|
+
You are allowed to:
|
|
4
|
+
1. Remove rake task
|
|
5
|
+
2. Add existing rake tasks
|
|
6
|
+
To add existing rake tasks automatically delete this file and reload the project.
|
|
7
|
+
--><RakeGroup description="" fullCmd="" taksId="rake"><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="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 tests" fullCmd="test" taksId="test" /><RakeTask description="Displays the current version" fullCmd="version" taksId="version" /><RakeGroup description="" fullCmd="" taksId="version"><RakeGroup description="" fullCmd="" taksId="bump"><RakeTask description="Bump the major version by 1" fullCmd="version:bump:major" taksId="major" /><RakeTask description="Bump the a minor version by 1" fullCmd="version:bump:minor" taksId="minor" /><RakeTask description="Bump the patch version by 1" fullCmd="version:bump:patch" taksId="patch" /></RakeGroup><RakeTask description="Writes out an explicit version" fullCmd="version:write" taksId="write" /></RakeGroup><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/encodings.xml
ADDED
data/.idea/misc.xml
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="ProjectRootManager" version="2" project-jdk-name="RVM: ruby-2.0.0-p195" project-jdk-type="RUBY_SDK" />
|
|
4
|
+
<component name="SvnConfiguration" maxAnnotateRevisions="500" myUseAcceleration="nothing" myAutoUpdateAfterCommit="false" cleanupOnStartRun="false" SSL_PROTOCOLS="sslv3">
|
|
5
|
+
<option name="USER" value="" />
|
|
6
|
+
<option name="PASSWORD" value="" />
|
|
7
|
+
<option name="mySSHConnectionTimeout" value="30000" />
|
|
8
|
+
<option name="mySSHReadTimeout" value="30000" />
|
|
9
|
+
<option name="LAST_MERGED_REVISION" />
|
|
10
|
+
<option name="MERGE_DRY_RUN" value="false" />
|
|
11
|
+
<option name="MERGE_DIFF_USE_ANCESTRY" value="true" />
|
|
12
|
+
<option name="UPDATE_LOCK_ON_DEMAND" value="false" />
|
|
13
|
+
<option name="IGNORE_SPACES_IN_MERGE" value="false" />
|
|
14
|
+
<option name="CHECK_NESTED_FOR_QUICK_MERGE" value="false" />
|
|
15
|
+
<option name="IGNORE_SPACES_IN_ANNOTATE" value="true" />
|
|
16
|
+
<option name="SHOW_MERGE_SOURCES_IN_ANNOTATE" value="true" />
|
|
17
|
+
<option name="FORCE_UPDATE" value="false" />
|
|
18
|
+
<option name="IGNORE_EXTERNALS" value="false" />
|
|
19
|
+
<myIsUseDefaultProxy>false</myIsUseDefaultProxy>
|
|
20
|
+
</component>
|
|
21
|
+
</project>
|
|
22
|
+
|
data/.idea/modules.xml
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="ProjectModuleManager">
|
|
4
|
+
<modules>
|
|
5
|
+
<module fileurl="file://$PROJECT_DIR$/.idea/neo4j_spatial.iml" filepath="$PROJECT_DIR$/.idea/neo4j_spatial.iml" />
|
|
6
|
+
</modules>
|
|
7
|
+
</component>
|
|
8
|
+
</project>
|
|
9
|
+
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<module type="RUBY_MODULE" version="4">
|
|
3
|
+
<component name="FacetManager">
|
|
4
|
+
<facet type="gem" name="Gem">
|
|
5
|
+
<configuration>
|
|
6
|
+
<option name="GEM_APP_ROOT_PATH" value="$MODULE_DIR$" />
|
|
7
|
+
<option name="GEM_APP_TEST_PATH" value="$MODULE_DIR$/test" />
|
|
8
|
+
<option name="GEM_APP_LIB_PATH" value="$MODULE_DIR$/lib" />
|
|
9
|
+
</configuration>
|
|
10
|
+
</facet>
|
|
11
|
+
</component>
|
|
12
|
+
<component name="NewModuleRootManager">
|
|
13
|
+
<content url="file://$MODULE_DIR$">
|
|
14
|
+
<sourceFolder url="file://$MODULE_DIR$/test" isTestSource="true" />
|
|
15
|
+
</content>
|
|
16
|
+
<orderEntry type="inheritedJdk" />
|
|
17
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
|
18
|
+
<orderEntry type="library" scope="PROVIDED" name="activesupport (v4.0.0, RVM: ruby-2.0.0-p195) [gem]" level="application" />
|
|
19
|
+
<orderEntry type="library" scope="PROVIDED" name="addressable (v2.3.5, RVM: ruby-2.0.0-p195) [gem]" level="application" />
|
|
20
|
+
<orderEntry type="library" scope="PROVIDED" name="atomic (v1.1.12, RVM: ruby-2.0.0-p195) [gem]" level="application" />
|
|
21
|
+
<orderEntry type="library" scope="PROVIDED" name="builder (v3.2.2, RVM: ruby-2.0.0-p195) [gem]" level="application" />
|
|
22
|
+
<orderEntry type="library" scope="PROVIDED" name="bundler (v1.3.5, RVM: ruby-2.0.0-p195) [gem]" level="application" />
|
|
23
|
+
<orderEntry type="library" scope="PROVIDED" name="faraday (v0.8.8, RVM: ruby-2.0.0-p195) [gem]" level="application" />
|
|
24
|
+
<orderEntry type="library" scope="PROVIDED" name="git (v1.2.5, RVM: ruby-2.0.0-p195) [gem]" level="application" />
|
|
25
|
+
<orderEntry type="library" scope="PROVIDED" name="github_api (v0.10.1, RVM: ruby-2.0.0-p195) [gem]" level="application" />
|
|
26
|
+
<orderEntry type="library" scope="PROVIDED" name="hashie (v2.0.5, RVM: ruby-2.0.0-p195) [gem]" level="application" />
|
|
27
|
+
<orderEntry type="library" scope="PROVIDED" name="highline (v1.6.19, RVM: ruby-2.0.0-p195) [gem]" level="application" />
|
|
28
|
+
<orderEntry type="library" scope="PROVIDED" name="httparty (v0.11.0, RVM: ruby-2.0.0-p195) [gem]" level="application" />
|
|
29
|
+
<orderEntry type="library" scope="PROVIDED" name="httpauth (v0.2.0, RVM: ruby-2.0.0-p195) [gem]" level="application" />
|
|
30
|
+
<orderEntry type="library" scope="PROVIDED" name="i18n (v0.6.4, RVM: ruby-2.0.0-p195) [gem]" level="application" />
|
|
31
|
+
<orderEntry type="library" scope="PROVIDED" name="jeweler (v1.8.6, RVM: ruby-2.0.0-p195) [gem]" level="application" />
|
|
32
|
+
<orderEntry type="library" scope="PROVIDED" name="json (v1.8.0, RVM: ruby-2.0.0-p195) [gem]" level="application" />
|
|
33
|
+
<orderEntry type="library" scope="PROVIDED" name="jwt (v0.1.8, RVM: ruby-2.0.0-p195) [gem]" level="application" />
|
|
34
|
+
<orderEntry type="library" scope="PROVIDED" name="minitest (v4.7.5, RVM: ruby-2.0.0-p195) [gem]" level="application" />
|
|
35
|
+
<orderEntry type="library" scope="PROVIDED" name="multi_json (v1.7.8, RVM: ruby-2.0.0-p195) [gem]" level="application" />
|
|
36
|
+
<orderEntry type="library" scope="PROVIDED" name="multi_xml (v0.5.5, RVM: ruby-2.0.0-p195) [gem]" level="application" />
|
|
37
|
+
<orderEntry type="library" scope="PROVIDED" name="multipart-post (v1.2.0, RVM: ruby-2.0.0-p195) [gem]" level="application" />
|
|
38
|
+
<orderEntry type="library" scope="PROVIDED" name="nokogiri (v1.5.10, RVM: ruby-2.0.0-p195) [gem]" level="application" />
|
|
39
|
+
<orderEntry type="library" scope="PROVIDED" name="oauth2 (v0.9.2, RVM: ruby-2.0.0-p195) [gem]" level="application" />
|
|
40
|
+
<orderEntry type="library" scope="PROVIDED" name="rack (v1.5.2, RVM: ruby-2.0.0-p195) [gem]" level="application" />
|
|
41
|
+
<orderEntry type="library" scope="PROVIDED" name="rake (v10.1.0, RVM: ruby-2.0.0-p195) [gem]" level="application" />
|
|
42
|
+
<orderEntry type="library" scope="PROVIDED" name="rdoc (v4.0.1, RVM: ruby-2.0.0-p195) [gem]" level="application" />
|
|
43
|
+
<orderEntry type="library" scope="PROVIDED" name="shoulda (v3.5.0, RVM: ruby-2.0.0-p195) [gem]" level="application" />
|
|
44
|
+
<orderEntry type="library" scope="PROVIDED" name="shoulda-context (v1.1.4, RVM: ruby-2.0.0-p195) [gem]" level="application" />
|
|
45
|
+
<orderEntry type="library" scope="PROVIDED" name="shoulda-matchers (v2.2.0, RVM: ruby-2.0.0-p195) [gem]" level="application" />
|
|
46
|
+
<orderEntry type="library" scope="PROVIDED" name="simplecov (v0.7.1, RVM: ruby-2.0.0-p195) [gem]" level="application" />
|
|
47
|
+
<orderEntry type="library" scope="PROVIDED" name="simplecov-html (v0.7.1, RVM: ruby-2.0.0-p195) [gem]" level="application" />
|
|
48
|
+
<orderEntry type="library" scope="PROVIDED" name="thread_safe (v0.1.2, RVM: ruby-2.0.0-p195) [gem]" level="application" />
|
|
49
|
+
<orderEntry type="library" scope="PROVIDED" name="tzinfo (v0.3.37, RVM: ruby-2.0.0-p195) [gem]" level="application" />
|
|
50
|
+
</component>
|
|
51
|
+
</module>
|
|
52
|
+
|
data/.idea/vcs.xml
ADDED
data/.idea/workspace.xml
ADDED
|
@@ -0,0 +1,260 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="ChangeListManager">
|
|
4
|
+
<list default="true" id="a32ffdc3-cb32-46e6-8ee1-ab15d7e6a919" name="Default" comment="">
|
|
5
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/neo4j_spatial.rb" afterPath="$PROJECT_DIR$/lib/neo4j_spatial.rb" />
|
|
6
|
+
</list>
|
|
7
|
+
<ignored path="neo4j_spatial.iws" />
|
|
8
|
+
<ignored path=".idea/workspace.xml" />
|
|
9
|
+
<file path="/Dummy.txt" changelist="a32ffdc3-cb32-46e6-8ee1-ab15d7e6a919" time="1377201556733" ignored="false" />
|
|
10
|
+
<file path="/neo4j_spatial.rb" changelist="a32ffdc3-cb32-46e6-8ee1-ab15d7e6a919" time="1377202848298" ignored="false" />
|
|
11
|
+
<option name="TRACKING_ENABLED" value="true" />
|
|
12
|
+
<option name="SHOW_DIALOG" value="false" />
|
|
13
|
+
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
14
|
+
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
|
15
|
+
<option name="LAST_RESOLUTION" value="IGNORE" />
|
|
16
|
+
</component>
|
|
17
|
+
<component name="ChangesViewManager" flattened_view="true" show_ignored="false" />
|
|
18
|
+
<component name="CreatePatchCommitExecutor">
|
|
19
|
+
<option name="PATCH_PATH" value="" />
|
|
20
|
+
</component>
|
|
21
|
+
<component name="DaemonCodeAnalyzer">
|
|
22
|
+
<disable_hints />
|
|
23
|
+
</component>
|
|
24
|
+
<component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
|
|
25
|
+
<component name="FavoritesManager">
|
|
26
|
+
<favorites_list name="neo4j_spatial" />
|
|
27
|
+
</component>
|
|
28
|
+
<component name="FileEditorManager">
|
|
29
|
+
<leaf>
|
|
30
|
+
<file leaf-file-name="neo4j_spatial.rb" pinned="false" current="true" current-in-tab="true">
|
|
31
|
+
<entry file="file://$PROJECT_DIR$/lib/neo4j_spatial.rb">
|
|
32
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
33
|
+
<state line="96" column="121" selection-start="3229" selection-end="3229" vertical-scroll-proportion="2.5439332">
|
|
34
|
+
<folding />
|
|
35
|
+
</state>
|
|
36
|
+
</provider>
|
|
37
|
+
</entry>
|
|
38
|
+
</file>
|
|
39
|
+
<file leaf-file-name="Rakefile" pinned="false" current="false" current-in-tab="false">
|
|
40
|
+
<entry file="file://$PROJECT_DIR$/Rakefile">
|
|
41
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
42
|
+
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
|
|
43
|
+
<folding />
|
|
44
|
+
</state>
|
|
45
|
+
</provider>
|
|
46
|
+
</entry>
|
|
47
|
+
</file>
|
|
48
|
+
</leaf>
|
|
49
|
+
</component>
|
|
50
|
+
<component name="FindManager">
|
|
51
|
+
<FindUsagesManager>
|
|
52
|
+
<setting name="OPEN_NEW_TAB" value="false" />
|
|
53
|
+
</FindUsagesManager>
|
|
54
|
+
</component>
|
|
55
|
+
<component name="Git.Settings">
|
|
56
|
+
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
|
57
|
+
</component>
|
|
58
|
+
<component name="GitLogSettings">
|
|
59
|
+
<option name="myDateState">
|
|
60
|
+
<MyDateState />
|
|
61
|
+
</option>
|
|
62
|
+
</component>
|
|
63
|
+
<component name="IdeDocumentHistory">
|
|
64
|
+
<option name="changedFiles">
|
|
65
|
+
<list>
|
|
66
|
+
<option value="$PROJECT_DIR$/lib/neo4j_spatial.rb" />
|
|
67
|
+
</list>
|
|
68
|
+
</option>
|
|
69
|
+
</component>
|
|
70
|
+
<component name="ProjectFrameBounds">
|
|
71
|
+
<option name="x" value="4" />
|
|
72
|
+
<option name="y" value="22" />
|
|
73
|
+
<option name="width" value="1436" />
|
|
74
|
+
<option name="height" value="878" />
|
|
75
|
+
</component>
|
|
76
|
+
<component name="ProjectLevelVcsManager" settingsEditedManually="false">
|
|
77
|
+
<OptionsSetting value="true" id="Add" />
|
|
78
|
+
<OptionsSetting value="true" id="Remove" />
|
|
79
|
+
<OptionsSetting value="true" id="Checkout" />
|
|
80
|
+
<OptionsSetting value="true" id="Update" />
|
|
81
|
+
<OptionsSetting value="true" id="Status" />
|
|
82
|
+
<OptionsSetting value="true" id="Edit" />
|
|
83
|
+
<ConfirmationsSetting value="0" id="Add" />
|
|
84
|
+
<ConfirmationsSetting value="0" id="Remove" />
|
|
85
|
+
</component>
|
|
86
|
+
<component name="ProjectReloadState">
|
|
87
|
+
<option name="STATE" value="0" />
|
|
88
|
+
</component>
|
|
89
|
+
<component name="ProjectView">
|
|
90
|
+
<navigator currentView="ProjectPane" proportions="" version="1" splitterProportion="0.5">
|
|
91
|
+
<flattenPackages />
|
|
92
|
+
<showMembers />
|
|
93
|
+
<showModules />
|
|
94
|
+
<showLibraryContents />
|
|
95
|
+
<hideEmptyPackages />
|
|
96
|
+
<abbreviatePackageNames />
|
|
97
|
+
<autoscrollToSource />
|
|
98
|
+
<autoscrollFromSource />
|
|
99
|
+
<sortByType />
|
|
100
|
+
</navigator>
|
|
101
|
+
<panes>
|
|
102
|
+
<pane id="Scope" />
|
|
103
|
+
<pane id="ProjectPane">
|
|
104
|
+
<subPane>
|
|
105
|
+
<PATH>
|
|
106
|
+
<PATH_ELEMENT>
|
|
107
|
+
<option name="myItemId" value="neo4j_spatial" />
|
|
108
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
|
109
|
+
</PATH_ELEMENT>
|
|
110
|
+
</PATH>
|
|
111
|
+
<PATH>
|
|
112
|
+
<PATH_ELEMENT>
|
|
113
|
+
<option name="myItemId" value="neo4j_spatial" />
|
|
114
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
|
115
|
+
</PATH_ELEMENT>
|
|
116
|
+
<PATH_ELEMENT>
|
|
117
|
+
<option name="myItemId" value="neo4j_spatial" />
|
|
118
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
119
|
+
</PATH_ELEMENT>
|
|
120
|
+
</PATH>
|
|
121
|
+
<PATH>
|
|
122
|
+
<PATH_ELEMENT>
|
|
123
|
+
<option name="myItemId" value="neo4j_spatial" />
|
|
124
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
|
125
|
+
</PATH_ELEMENT>
|
|
126
|
+
<PATH_ELEMENT>
|
|
127
|
+
<option name="myItemId" value="neo4j_spatial" />
|
|
128
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
129
|
+
</PATH_ELEMENT>
|
|
130
|
+
<PATH_ELEMENT>
|
|
131
|
+
<option name="myItemId" value="lib" />
|
|
132
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
133
|
+
</PATH_ELEMENT>
|
|
134
|
+
</PATH>
|
|
135
|
+
</subPane>
|
|
136
|
+
</pane>
|
|
137
|
+
</panes>
|
|
138
|
+
</component>
|
|
139
|
+
<component name="PropertiesComponent">
|
|
140
|
+
<property name="options.splitter.main.proportions" value="0.3" />
|
|
141
|
+
<property name="WebServerToolWindowFactoryState" value="false" />
|
|
142
|
+
<property name="options.lastSelected" value="project.propVCSSupport.Issue.Navigation" />
|
|
143
|
+
<property name="last_opened_file_path" value="$PROJECT_DIR$" />
|
|
144
|
+
<property name="options.splitter.details.proportions" value="0.2" />
|
|
145
|
+
<property name="options.searchVisible" value="true" />
|
|
146
|
+
</component>
|
|
147
|
+
<component name="RunManager">
|
|
148
|
+
<list size="0" />
|
|
149
|
+
</component>
|
|
150
|
+
<component name="ShelveChangesManager" show_recycled="false" />
|
|
151
|
+
<component name="TaskManager">
|
|
152
|
+
<task active="true" id="Default" summary="Default task">
|
|
153
|
+
<changelist id="a32ffdc3-cb32-46e6-8ee1-ab15d7e6a919" name="Default" comment="" />
|
|
154
|
+
<created>1377201555997</created>
|
|
155
|
+
<updated>1377201555997</updated>
|
|
156
|
+
</task>
|
|
157
|
+
<servers />
|
|
158
|
+
</component>
|
|
159
|
+
<component name="ToolWindowManager">
|
|
160
|
+
<frame x="4" y="22" width="1436" height="878" extended-state="6" />
|
|
161
|
+
<editor active="true" />
|
|
162
|
+
<layout>
|
|
163
|
+
<window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
|
164
|
+
<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" />
|
|
165
|
+
<window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
|
166
|
+
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
|
167
|
+
<window_info id="Code Outline" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
|
168
|
+
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.24964029" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
|
|
169
|
+
<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" />
|
|
170
|
+
<window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
|
|
171
|
+
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
|
|
172
|
+
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
|
|
173
|
+
<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" />
|
|
174
|
+
<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" />
|
|
175
|
+
<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" />
|
|
176
|
+
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
|
177
|
+
<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" />
|
|
178
|
+
<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" />
|
|
179
|
+
<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" />
|
|
180
|
+
<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" />
|
|
181
|
+
</layout>
|
|
182
|
+
</component>
|
|
183
|
+
<component name="VcsContentAnnotationSettings">
|
|
184
|
+
<option name="myLimit" value="2678400000" />
|
|
185
|
+
</component>
|
|
186
|
+
<component name="VcsManagerConfiguration">
|
|
187
|
+
<option name="OFFER_MOVE_TO_ANOTHER_CHANGELIST_ON_PARTIAL_COMMIT" value="true" />
|
|
188
|
+
<option name="CHECK_CODE_SMELLS_BEFORE_PROJECT_COMMIT" value="false" />
|
|
189
|
+
<option name="CHECK_NEW_TODO" value="true" />
|
|
190
|
+
<option name="myTodoPanelSettings">
|
|
191
|
+
<value>
|
|
192
|
+
<are-packages-shown value="false" />
|
|
193
|
+
<are-modules-shown value="false" />
|
|
194
|
+
<flatten-packages value="false" />
|
|
195
|
+
<is-autoscroll-to-source value="false" />
|
|
196
|
+
</value>
|
|
197
|
+
</option>
|
|
198
|
+
<option name="PERFORM_UPDATE_IN_BACKGROUND" value="true" />
|
|
199
|
+
<option name="PERFORM_COMMIT_IN_BACKGROUND" value="true" />
|
|
200
|
+
<option name="PERFORM_EDIT_IN_BACKGROUND" value="true" />
|
|
201
|
+
<option name="PERFORM_CHECKOUT_IN_BACKGROUND" value="true" />
|
|
202
|
+
<option name="PERFORM_ADD_REMOVE_IN_BACKGROUND" value="true" />
|
|
203
|
+
<option name="PERFORM_ROLLBACK_IN_BACKGROUND" value="false" />
|
|
204
|
+
<option name="CHECK_LOCALLY_CHANGED_CONFLICTS_IN_BACKGROUND" value="false" />
|
|
205
|
+
<option name="CHANGED_ON_SERVER_INTERVAL" value="60" />
|
|
206
|
+
<option name="SHOW_ONLY_CHANGED_IN_SELECTION_DIFF" value="true" />
|
|
207
|
+
<option name="CHECK_COMMIT_MESSAGE_SPELLING" value="true" />
|
|
208
|
+
<option name="DEFAULT_PATCH_EXTENSION" value="patch" />
|
|
209
|
+
<option name="SHORT_DIFF_HORIZONTALLY" value="true" />
|
|
210
|
+
<option name="SHORT_DIFF_EXTRA_LINES" value="2" />
|
|
211
|
+
<option name="SOFT_WRAPS_IN_SHORT_DIFF" value="true" />
|
|
212
|
+
<option name="INCLUDE_TEXT_INTO_PATCH" value="false" />
|
|
213
|
+
<option name="INCLUDE_TEXT_INTO_SHELF" value="false" />
|
|
214
|
+
<option name="SHOW_FILE_HISTORY_DETAILS" value="true" />
|
|
215
|
+
<option name="SHOW_VCS_ERROR_NOTIFICATIONS" value="true" />
|
|
216
|
+
<option name="SHOW_DIRTY_RECURSIVELY" value="false" />
|
|
217
|
+
<option name="LIMIT_HISTORY" value="true" />
|
|
218
|
+
<option name="MAXIMUM_HISTORY_ROWS" value="1000" />
|
|
219
|
+
<option name="UPDATE_FILTER_SCOPE_NAME" />
|
|
220
|
+
<option name="USE_COMMIT_MESSAGE_MARGIN" value="false" />
|
|
221
|
+
<option name="COMMIT_MESSAGE_MARGIN_SIZE" value="72" />
|
|
222
|
+
<option name="WRAP_WHEN_TYPING_REACHES_RIGHT_MARGIN" value="false" />
|
|
223
|
+
<option name="FORCE_NON_EMPTY_COMMENT" value="false" />
|
|
224
|
+
<option name="CLEAR_INITIAL_COMMIT_MESSAGE" value="false" />
|
|
225
|
+
<option name="LAST_COMMIT_MESSAGE" />
|
|
226
|
+
<option name="MAKE_NEW_CHANGELIST_ACTIVE" value="false" />
|
|
227
|
+
<option name="OPTIMIZE_IMPORTS_BEFORE_PROJECT_COMMIT" value="false" />
|
|
228
|
+
<option name="CHECK_FILES_UP_TO_DATE_BEFORE_COMMIT" value="false" />
|
|
229
|
+
<option name="REFORMAT_BEFORE_PROJECT_COMMIT" value="false" />
|
|
230
|
+
<option name="REFORMAT_BEFORE_FILE_COMMIT" value="false" />
|
|
231
|
+
<option name="FILE_HISTORY_DIALOG_COMMENTS_SPLITTER_PROPORTION" value="0.8" />
|
|
232
|
+
<option name="FILE_HISTORY_DIALOG_SPLITTER_PROPORTION" value="0.5" />
|
|
233
|
+
<option name="ACTIVE_VCS_NAME" />
|
|
234
|
+
<option name="UPDATE_GROUP_BY_PACKAGES" value="false" />
|
|
235
|
+
<option name="UPDATE_GROUP_BY_CHANGELIST" value="false" />
|
|
236
|
+
<option name="UPDATE_FILTER_BY_SCOPE" value="false" />
|
|
237
|
+
<option name="SHOW_FILE_HISTORY_AS_TREE" value="false" />
|
|
238
|
+
<option name="FILE_HISTORY_SPLITTER_PROPORTION" value="0.6" />
|
|
239
|
+
</component>
|
|
240
|
+
<component name="XDebuggerManager">
|
|
241
|
+
<breakpoint-manager />
|
|
242
|
+
</component>
|
|
243
|
+
<component name="editorHistoryManager">
|
|
244
|
+
<entry file="file://$PROJECT_DIR$/Rakefile">
|
|
245
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
246
|
+
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
|
|
247
|
+
<folding />
|
|
248
|
+
</state>
|
|
249
|
+
</provider>
|
|
250
|
+
</entry>
|
|
251
|
+
<entry file="file://$PROJECT_DIR$/lib/neo4j_spatial.rb">
|
|
252
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
253
|
+
<state line="96" column="121" selection-start="3229" selection-end="3229" vertical-scroll-proportion="2.5439332">
|
|
254
|
+
<folding />
|
|
255
|
+
</state>
|
|
256
|
+
</provider>
|
|
257
|
+
</entry>
|
|
258
|
+
</component>
|
|
259
|
+
</project>
|
|
260
|
+
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.0
|
|
1
|
+
1.0.0
|
data/lib/neo4j_spatial.rb
CHANGED
|
@@ -2,7 +2,11 @@ module Neo4jSpatial
|
|
|
2
2
|
require 'httparty'
|
|
3
3
|
require 'json'
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
if ENV['NEO4J_URL']
|
|
6
|
+
$base_url = "http://#{ENV["NEO4J_URL"].to_s.sub(/^https?\:\/\//, '')}/db/data/ext/SpatialPlugin/graphdb/"
|
|
7
|
+
else
|
|
8
|
+
$base_url = "http://localhost:7474/db/data/ext/SpatialPlugin/graphdb/"
|
|
9
|
+
end
|
|
6
10
|
|
|
7
11
|
##
|
|
8
12
|
# Adds an editable +layer+
|
|
@@ -10,8 +14,7 @@ module Neo4jSpatial
|
|
|
10
14
|
# +layer+::
|
|
11
15
|
# +format+::
|
|
12
16
|
def self.add_editable_layer(layer, format)
|
|
13
|
-
response = HTTParty.post(("#{$base_url}addEditableLayer"), :
|
|
14
|
-
JSON.parse(response)
|
|
17
|
+
response = HTTParty.post(("#{$base_url}addEditableLayer"), :body => {:layer => layer, :format => format}).parsed_response
|
|
15
18
|
end
|
|
16
19
|
|
|
17
20
|
##
|
|
@@ -22,8 +25,7 @@ module Neo4jSpatial
|
|
|
22
25
|
# +geometry+::
|
|
23
26
|
# +layer+::
|
|
24
27
|
def self.add_clq_dynamic_layer(master_layer, name, geometry, layer)
|
|
25
|
-
response = HTTParty.post(("#{$base_url}addCQLDynamicLayer"), :
|
|
26
|
-
JSON.parse(response)
|
|
28
|
+
response = HTTParty.post(("#{$base_url}addCQLDynamicLayer"), :body => {:masterLayer => master_layer, :name => name, :geometry => geometry, :layer => layer}).parsed_response
|
|
27
29
|
end
|
|
28
30
|
|
|
29
31
|
##
|
|
@@ -34,8 +36,7 @@ module Neo4jSpatial
|
|
|
34
36
|
# +distance_in_km+::
|
|
35
37
|
# +layer+::
|
|
36
38
|
def self.find_geometries_within_distance(point_x, point_y, distance_in_km, layer)
|
|
37
|
-
response = HTTParty.get(("#{$base_url}findGeometriesWithinDistance"), :query => {:pointX => point_x, :pointY => point_y, :distanceInKm => distance_in_km, :layer => layer})
|
|
38
|
-
JSON.parse(response)
|
|
39
|
+
response = HTTParty.get(("#{$base_url}findGeometriesWithinDistance"), :query => {:pointX => point_x, :pointY => point_y, :distanceInKm => distance_in_km, :layer => layer}).parsed_response
|
|
39
40
|
end
|
|
40
41
|
|
|
41
42
|
##
|
|
@@ -45,8 +46,7 @@ module Neo4jSpatial
|
|
|
45
46
|
# +node+::
|
|
46
47
|
# +layer+::
|
|
47
48
|
def self.update_geometry_from_wkt(geometry, node, layer)
|
|
48
|
-
response = HTTParty.post(("#{$base_url}updateGeometryFromWKT"), :
|
|
49
|
-
JSON.parse(response)
|
|
49
|
+
response = HTTParty.post(("#{$base_url}updateGeometryFromWKT"), :body => {:geometry => layer, :node => node, :layer => layer}).parsed_response
|
|
50
50
|
end
|
|
51
51
|
|
|
52
52
|
##
|
|
@@ -55,8 +55,7 @@ module Neo4jSpatial
|
|
|
55
55
|
# +geometry+::
|
|
56
56
|
# +layer+::
|
|
57
57
|
def self.add_geometry_wkt_to_layer(geometry, layer)
|
|
58
|
-
response = post(("http://#{$base_url}addGeometryWKTToLayer"), :
|
|
59
|
-
JSON.parse(response)
|
|
58
|
+
response = post(("http://#{$base_url}addGeometryWKTToLayer"), :body => {:geometry => geometry, :layer => layer}).parsed_response
|
|
60
59
|
end
|
|
61
60
|
|
|
62
61
|
##
|
|
@@ -64,8 +63,7 @@ module Neo4jSpatial
|
|
|
64
63
|
# Params:
|
|
65
64
|
# +layer+::
|
|
66
65
|
def self.get_layer(layer)
|
|
67
|
-
response = HTTParty.get(("#{$base_url}getLayer"), :query => {:layer => layer})
|
|
68
|
-
JSON.parse(response)
|
|
66
|
+
response = HTTParty.get(("#{$base_url}getLayer"), :query => {:layer => layer}).parsed_response
|
|
69
67
|
end
|
|
70
68
|
|
|
71
69
|
##
|
|
@@ -75,8 +73,7 @@ module Neo4jSpatial
|
|
|
75
73
|
# +lat+::
|
|
76
74
|
# +lon+::
|
|
77
75
|
def self.add_simple_point_layer(layer, lat, lon)
|
|
78
|
-
response = HTTParty.post(("#{$base_url}addSimplePointLayer"), :
|
|
79
|
-
JSON.parse(response)
|
|
76
|
+
response = HTTParty.post(("#{$base_url}addSimplePointLayer"), :body => {:layer => layer, :lat => lat, :lon => lon}).parsed_response
|
|
80
77
|
end
|
|
81
78
|
|
|
82
79
|
##
|
|
@@ -88,8 +85,7 @@ module Neo4jSpatial
|
|
|
88
85
|
# +max_x+::
|
|
89
86
|
# +layer+::
|
|
90
87
|
def self.find_geometries_in_b_box(min_x, max_x, min_y, max_y, layer)
|
|
91
|
-
response = HTTParty.get(("#{$base_url}findGeometriesInBBox"), :query => {:minx => min_x, :maxx => max_x, :miny => min_y, :maxy => max_y, :layer => layer})
|
|
92
|
-
JSON.parse(response)
|
|
88
|
+
response = HTTParty.get(("#{$base_url}findGeometriesInBBox"), :query => {:minx => min_x, :maxx => max_x, :miny => min_y, :maxy => max_y, :layer => layer}).parsed_response
|
|
93
89
|
end
|
|
94
90
|
|
|
95
91
|
##
|
|
@@ -98,7 +94,6 @@ module Neo4jSpatial
|
|
|
98
94
|
# +node+::
|
|
99
95
|
# +layer+::
|
|
100
96
|
def self.add_node_to_layer(node, layer)
|
|
101
|
-
response = HTTParty.post(("#{$base_url}addNodeToLayer"), :
|
|
102
|
-
JSON.parse(response)
|
|
97
|
+
response = HTTParty.post(("#{$base_url}addNodeToLayer"), :body => {:node => node, :layer => layer}).parsed_response
|
|
103
98
|
end
|
|
104
99
|
end
|
data/neo4j_spatial.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = "neo4j_spatial"
|
|
8
|
-
s.version = "0.0
|
|
8
|
+
s.version = "1.0.0"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Kyle Lucas", "Bang With Friends"]
|
|
12
|
-
s.date = "2013-08-
|
|
12
|
+
s.date = "2013-08-22"
|
|
13
13
|
s.description = "A simple wrapper for the neo4j-spatial plugin REST API"
|
|
14
14
|
s.email = "kl@bangwithfriends.com"
|
|
15
15
|
s.extra_rdoc_files = [
|
|
@@ -18,6 +18,15 @@ Gem::Specification.new do |s|
|
|
|
18
18
|
]
|
|
19
19
|
s.files = [
|
|
20
20
|
".document",
|
|
21
|
+
".idea/.name",
|
|
22
|
+
".idea/.rakeTasks",
|
|
23
|
+
".idea/encodings.xml",
|
|
24
|
+
".idea/misc.xml",
|
|
25
|
+
".idea/modules.xml",
|
|
26
|
+
".idea/neo4j_spatial.iml",
|
|
27
|
+
".idea/scopes/scope_settings.xml",
|
|
28
|
+
".idea/vcs.xml",
|
|
29
|
+
".idea/workspace.xml",
|
|
21
30
|
"Gemfile",
|
|
22
31
|
"Gemfile.lock",
|
|
23
32
|
"LICENSE.txt",
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: neo4j_spatial
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0
|
|
4
|
+
version: 1.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kyle Lucas
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2013-08-
|
|
12
|
+
date: 2013-08-22 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: httparty
|
|
@@ -118,6 +118,15 @@ extra_rdoc_files:
|
|
|
118
118
|
- README.rdoc
|
|
119
119
|
files:
|
|
120
120
|
- .document
|
|
121
|
+
- .idea/.name
|
|
122
|
+
- .idea/.rakeTasks
|
|
123
|
+
- .idea/encodings.xml
|
|
124
|
+
- .idea/misc.xml
|
|
125
|
+
- .idea/modules.xml
|
|
126
|
+
- .idea/neo4j_spatial.iml
|
|
127
|
+
- .idea/scopes/scope_settings.xml
|
|
128
|
+
- .idea/vcs.xml
|
|
129
|
+
- .idea/workspace.xml
|
|
121
130
|
- Gemfile
|
|
122
131
|
- Gemfile.lock
|
|
123
132
|
- LICENSE.txt
|