neo4j-rake_tasks 0.7.10 → 0.7.11
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5903137904171e505442856ac49dc73d4932b112
|
4
|
+
data.tar.gz: c3fafc51f682c8d3347ba595cb2b460fdc2d8a50
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a4a3db4b64048e5f7239519a8a8d0b282eb7136250ac0b8eb1b0e9c6c53813e16d6f880e89b90923dbf5f8c3579b16fc289549450f8f3357351cf0a5c24171a
|
7
|
+
data.tar.gz: ec69f5727d5ff082ca8a56979463b5833d642498667a1992dda6cd6fc4e4165040efe8fe25991de9da6ab07eb5ea8e35e6a3957aba13870f8dd95659fa54f5d9
|
@@ -20,10 +20,6 @@ namespace :neo4j do
|
|
20
20
|
::Neo4j::RakeTasks::ServerManager.new_for_os(server_path(environment))
|
21
21
|
end
|
22
22
|
|
23
|
-
def edition_supports_auth?(edition_string)
|
24
|
-
!/-2\.0|1\.[0-9]/.match(edition_string)
|
25
|
-
end
|
26
|
-
|
27
23
|
desc 'Install Neo4j with auth disabled in v2.2+'
|
28
24
|
task :install, :edition, :environment do |_, args|
|
29
25
|
args.with_defaults(edition: 'community-latest', environment: 'development')
|
@@ -32,7 +28,8 @@ namespace :neo4j do
|
|
32
28
|
|
33
29
|
server_manager = server_manager(args[:environment])
|
34
30
|
server_manager.install(args[:edition])
|
35
|
-
|
31
|
+
|
32
|
+
if server_manager.supports_auth?
|
36
33
|
server_manager.config_auth_enabeled!(false)
|
37
34
|
end
|
38
35
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: neo4j-rake_tasks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Underwood
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-03-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: colored
|