neo4apis 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6703750242a5bf7db9c935381dd13a2a02a3dd80
4
- data.tar.gz: e2c20ffd72feac0aceaef04e20b543abbae9dd8d
3
+ metadata.gz: ce1c0386a3c09c46b8f6121ec5365767cf3fa6c0
4
+ data.tar.gz: b5fc80eab66e2437df93b80710862cbd01ce37e0
5
5
  SHA512:
6
- metadata.gz: 4a468fa6fa75440aafde30ab50af48cffffb46f80df45830ae98005280e860034896c2464efa01c7841d1d4746fc06b7cf9e14ed971a031cddc61a2f8ca83368
7
- data.tar.gz: 64f6bdcfb90480b494f141d2458e978556dc31d2671e4d056845b40f3e67570a601c804f072cd2f1529fc5267b5067ab61de17032c71458cea1384bb26ab2186
6
+ metadata.gz: a843d25cf552b8768ac50409674769d86f909127935e91e79aa93260e8db16b58222a1e84307bfdf0c95f9e3e27c6cdadf10d62aba23b9131d3443a4ec1b33a4
7
+ data.tar.gz: b975297653c2c9cedd06a68dbd8db4c71cd7045649edf1c49bf8b1fb752807783f78cd44c43228abaa68d06ad28de45ceda2a0bfcae7d1e7f3b0d2739202f1a7
data/Gemfile CHANGED
@@ -2,8 +2,6 @@ source 'https://rubygems.org'
2
2
 
3
3
  gemspec
4
4
 
5
- gem 'neo4j-core', '~> 3.0.0', path: '/Users/brian/github/neo4jrb/neo4j-core'
6
-
7
5
  gem 'twitter'
8
6
 
9
7
  group :development do
data/lib/neo4apis/base.rb CHANGED
@@ -104,7 +104,8 @@ module Neo4Apis
104
104
  Neo4j::Core::Query.new.
105
105
  match(source: {self.class.full_label(source.label) => {source.uuid_field => source.uuid_value}}).
106
106
  match(target: {self.class.full_label(target.label) => {target.uuid_field => target.uuid_value}}).
107
- merge("source-[:#{type}]->target")
107
+ merge("source-[rel:#{type}]->target").
108
+ on_create_set(rel: props)
108
109
  end
109
110
 
110
111
  def create_constraint_query(label, uuid_field)
@@ -9,7 +9,6 @@ module Neo4Apis
9
9
 
10
10
  @faraday_connection = Faraday.new(:url => "#{uri.scheme}://#{uri.host}:#{uri.port}") do |faraday|
11
11
  faraday.request :url_encoded # form-encode POST params
12
- faraday.response :logger # log requests to STDOUT
13
12
  faraday.adapter Faraday.default_adapter # make requests with Net::HTTP
14
13
  end
15
14
 
data/neo4apis.gemspec CHANGED
@@ -3,7 +3,7 @@ $:.unshift lib unless $:.include?(lib)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "neo4apis"
6
- s.version = '0.0.3'
6
+ s.version = '0.0.4'
7
7
  s.required_ruby_version = ">= 1.9.1"
8
8
 
9
9
  s.authors = "Brian Underwood"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: neo4apis
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Underwood