neography 1.7.1 → 1.7.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/neography/rest/auth.rb +17 -0
- data/lib/neography/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6a438262c18edc01f4102b1978b185bcf9d1bfed
|
4
|
+
data.tar.gz: 667a480ce9cc3dde1f8601a1030245d7866737fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 93e5b4c9a49772c046bab0f08bb47ac79aff6af70072a14d5735660454c90cbe09ee7f0ce29d5d90d76aef5c8900582484a0d250056ddcc12b366d2d2648fb94
|
7
|
+
data.tar.gz: 61e91cc1f1311e1cfdb62f8c76f4bfae1309b801e75a122dcaf2ef83cf51e7cc94f919a4fecb132035ffadf98eb5510e72a9fe61d0641f5825de825a975e5a6d
|
@@ -0,0 +1,17 @@
|
|
1
|
+
module Neography
|
2
|
+
class Rest
|
3
|
+
module Auth
|
4
|
+
include Neography::Rest::Helpers
|
5
|
+
|
6
|
+
def change_password(password)
|
7
|
+
options = {
|
8
|
+
:body => { :password => password }.to_json,
|
9
|
+
:headers => json_content_type
|
10
|
+
}
|
11
|
+
@connection.post("/user/neo4j/password", options)
|
12
|
+
end
|
13
|
+
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
data/lib/neography/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: neography
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.
|
4
|
+
version: 1.7.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Max De Marzi
|
@@ -194,6 +194,7 @@ files:
|
|
194
194
|
- lib/neography/relationship.rb
|
195
195
|
- lib/neography/relationship_traverser.rb
|
196
196
|
- lib/neography/rest.rb
|
197
|
+
- lib/neography/rest/auth.rb
|
197
198
|
- lib/neography/rest/batch.rb
|
198
199
|
- lib/neography/rest/clean.rb
|
199
200
|
- lib/neography/rest/constraints.rb
|