neo4j-rake_tasks 0.7.16 → 0.7.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/neo4j/rake_tasks/neo4j_server.rake +15 -0
- data/lib/neo4j/rake_tasks/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f685285a1ccebb0d9b8a2f02a04fbce9c37f05e4
|
4
|
+
data.tar.gz: dabdf4fab5ceef47402b861662b6149af8cd4379
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 23c5c7e7558e15d63ef8c5cdf245bdae457ee8c303caceb4f2b6d233e8f88021c938fad28c38e6372cb35774e4faf13546d4afb27e9bee76a25b14c986b77ef5
|
7
|
+
data.tar.gz: bf63888038e0cb6ffaec034632237b226df43e24cd1e0aae352179fc590d9525167817cd60d3a793261c44b1b45b9be4c357d61aedec3954500c5d3e21a290c9
|
@@ -23,6 +23,7 @@ namespace :neo4j do
|
|
23
23
|
"\e[36m#{string}\e[0m"
|
24
24
|
end
|
25
25
|
|
26
|
+
Rake::Task['neo4j:install'].clear
|
26
27
|
desc 'Install Neo4j with auth disabled in v2.2+'
|
27
28
|
task :install, :edition, :environment do |_, args|
|
28
29
|
args.with_defaults(edition: 'community-latest', environment: 'development')
|
@@ -43,6 +44,7 @@ namespace :neo4j do
|
|
43
44
|
puts cyanize(' neo4j:config[ENVIRONMENT,PORT]')
|
44
45
|
end
|
45
46
|
|
47
|
+
Rake::Task['neo4j:start'].clear
|
46
48
|
desc 'Start the Neo4j Server'
|
47
49
|
task :start, :environment do |_, args|
|
48
50
|
args.with_defaults(environment: :development)
|
@@ -52,6 +54,7 @@ namespace :neo4j do
|
|
52
54
|
server_manager.start
|
53
55
|
end
|
54
56
|
|
57
|
+
Rake::Task["neo4j:start_no_wait"].clear
|
55
58
|
desc 'Start the Neo4j Server asynchronously'
|
56
59
|
task :start_no_wait, :environment do |_, args|
|
57
60
|
args.with_defaults(environment: :development)
|
@@ -61,6 +64,7 @@ namespace :neo4j do
|
|
61
64
|
server_manager.start(false)
|
62
65
|
end
|
63
66
|
|
67
|
+
Rake::Task['neo4j:console'].clear
|
64
68
|
desc 'Start the Neo4j Server in the foreground'
|
65
69
|
task :console, :environment do |_, args|
|
66
70
|
args.with_defaults(environment: :development)
|
@@ -70,6 +74,7 @@ namespace :neo4j do
|
|
70
74
|
server_manager.console
|
71
75
|
end
|
72
76
|
|
77
|
+
Rake::Task['neo4j:shell'].clear
|
73
78
|
desc 'Open Neo4j REPL Shell'
|
74
79
|
task :shell, :environment do |_, args|
|
75
80
|
args.with_defaults(environment: :development)
|
@@ -79,6 +84,7 @@ namespace :neo4j do
|
|
79
84
|
server_manager.shell
|
80
85
|
end
|
81
86
|
|
87
|
+
Rake::Task['neo4j:config'].clear
|
82
88
|
desc 'Configure Server, e.g. rake neo4j:config[development,8888]'
|
83
89
|
task :config, :environment, :port do |_, args|
|
84
90
|
args.with_defaults(environment: :development, port: 7474)
|
@@ -90,6 +96,7 @@ namespace :neo4j do
|
|
90
96
|
server_manager.config_port!(args[:port].to_i)
|
91
97
|
end
|
92
98
|
|
99
|
+
Rake::Task['neo4j:stop'].clear
|
93
100
|
desc 'Stop the Neo4j Server'
|
94
101
|
task :stop, :environment do |_, args|
|
95
102
|
args.with_defaults(environment: :development)
|
@@ -100,6 +107,7 @@ namespace :neo4j do
|
|
100
107
|
server_manager.stop
|
101
108
|
end
|
102
109
|
|
110
|
+
Rake::Task['neo4j:info'].clear
|
103
111
|
desc 'Get info for the Neo4j Server'
|
104
112
|
task :info, :environment do |_, args|
|
105
113
|
args.with_defaults(environment: :development)
|
@@ -110,6 +118,7 @@ namespace :neo4j do
|
|
110
118
|
server_manager.info
|
111
119
|
end
|
112
120
|
|
121
|
+
Rake::Task['neo4j:indexes'].clear
|
113
122
|
desc 'List indexes for the Neo4j server'
|
114
123
|
task :indexes, :environment do |_, args|
|
115
124
|
args.with_defaults(environment: :development)
|
@@ -120,6 +129,7 @@ namespace :neo4j do
|
|
120
129
|
server_manager.print_indexes
|
121
130
|
end
|
122
131
|
|
132
|
+
Rake::Task['neo4j:constraints'].clear
|
123
133
|
desc 'List constraints for the Neo4j server'
|
124
134
|
task :constraints, :environment do |_, args|
|
125
135
|
args.with_defaults(environment: :development)
|
@@ -130,6 +140,7 @@ namespace :neo4j do
|
|
130
140
|
server_manager.print_constraints
|
131
141
|
end
|
132
142
|
|
143
|
+
Rake::Task['neo4j:restart'].clear
|
133
144
|
desc 'Restart the Neo4j Server'
|
134
145
|
task :restart, :environment do |_, args|
|
135
146
|
args.with_defaults(environment: :development)
|
@@ -140,6 +151,7 @@ namespace :neo4j do
|
|
140
151
|
server_manager.restart
|
141
152
|
end
|
142
153
|
|
154
|
+
Rake::Task['neo4j:reset_yes_i_am_sure'].clear
|
143
155
|
desc 'Reset the Neo4j Server'
|
144
156
|
task :reset_yes_i_am_sure, :environment do |_, args|
|
145
157
|
args.with_defaults(environment: :development)
|
@@ -150,6 +162,7 @@ namespace :neo4j do
|
|
150
162
|
server_manager.reset
|
151
163
|
end
|
152
164
|
|
165
|
+
Rake::Task['neo4j:change_password'].clear
|
153
166
|
desc 'Neo4j 2.2+: Change connection password'
|
154
167
|
task :change_password do |_, _args|
|
155
168
|
# Maybe we should take the environment as an arg and
|
@@ -157,6 +170,7 @@ namespace :neo4j do
|
|
157
170
|
server_manager_class.change_password!
|
158
171
|
end
|
159
172
|
|
173
|
+
Rake::Task['neo4j:enable_auth'].clear
|
160
174
|
desc 'Neo4j 2.2+: Enable Auth'
|
161
175
|
task :enable_auth, :environment do |_, args|
|
162
176
|
args.with_defaults(environment: :development)
|
@@ -167,6 +181,7 @@ namespace :neo4j do
|
|
167
181
|
puts 'Neo4j basic authentication enabled. Restart server to apply.'
|
168
182
|
end
|
169
183
|
|
184
|
+
Rake::Task['neo4j:disable_auth'].clear
|
170
185
|
desc 'Neo4j 2.2+: Disable Auth'
|
171
186
|
task :disable_auth, :environment do |_, args|
|
172
187
|
args.with_defaults(environment: :development)
|
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.17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Underwood
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-10-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|