neo4j 6.0.0.alpha.2 → 6.0.0.alpha.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/neo4j/railtie.rb +8 -7
- data/lib/neo4j/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 57610410963cadcd884d3d98a99b4d6e6096f65f
|
4
|
+
data.tar.gz: c5b7fa5ec84dc568de492f8268af1722c81d3079
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce92ab426be488520f21e7303e362797ad7c75f5a36085bbba88cf5b0080118ac401e5088c5ab0de7b90b862e24a80351cd888916a6f3746b199515eac9aac45
|
7
|
+
data.tar.gz: ea9eb580701ad8c463758173562b27e48e14608116ee2760879e1b0eecb073129fdb791344f742e641f462c4e8978e72528851c659c581001c869e4260edc8d8
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file.
|
|
3
3
|
This file should follow the standards specified on [http://keepachangelog.com/]
|
4
4
|
This project adheres to [Semantic Versioning](http://semver.org/).
|
5
5
|
|
6
|
+
## [6.0.0.alpha.3] - 10-14-2015
|
7
|
+
|
8
|
+
### Removed
|
9
|
+
|
10
|
+
- Railtie was removing username/password and putting them into the session options. This has been unneccessary in `neo4j-core` for a while now
|
11
|
+
|
6
12
|
## [6.0.0.alpha.2] - 10-14-2015
|
7
13
|
|
8
14
|
### Added
|
data/lib/neo4j/railtie.rb
CHANGED
@@ -34,18 +34,19 @@ module Neo4j
|
|
34
34
|
end
|
35
35
|
|
36
36
|
def setup_config_defaults!(cfg)
|
37
|
-
cfg.session_type ||=
|
38
|
-
cfg.session_path ||=
|
37
|
+
cfg.session_type ||= default_session_type
|
38
|
+
cfg.session_path ||= default_session_path
|
39
39
|
cfg.session_options ||= {}
|
40
40
|
cfg.sessions ||= []
|
41
|
+
end
|
41
42
|
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
cfg.session_options.reverse_merge!(basic_auth: {username: uri.user, password: uri.password})
|
46
|
-
cfg.session_path = cfg.session_path.gsub("#{uri.user}:#{uri.password}@", '')
|
43
|
+
def default_session_type
|
44
|
+
ENV['NEO4J_PATH'] ? :embedded_db : :server_db
|
47
45
|
end
|
48
46
|
|
47
|
+
def default_session_path
|
48
|
+
ENV['NEO4J_URL'] || ENV['NEO4J_PATH'] || 'http://localhost:7474'
|
49
|
+
end
|
49
50
|
|
50
51
|
def start_embedded_session(session)
|
51
52
|
# See https://github.com/jruby/jruby/wiki/UnlimitedStrengthCrypto
|
data/lib/neo4j/version.rb
CHANGED