haplo 2.3.0-java → 2.3.1-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/haplo.gemspec +4 -4
- data/lib/plugin_tool.rb +12 -0
- data/lib/usage.txt +3 -0
- data/lib/version.txt +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 0a3eebc09bdfe324c8aa13c7b7f9582e899403f5c45903a4527969f15530d74e
|
4
|
+
data.tar.gz: 4cf8ad9d7a7948ae4ae0547da98f0e7be55c07d52b93cbe7fd8be0b21cc6c985
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f775a7d57dc82bc722bf86d1cc8e770221571093a4471548e3dc42acb7da919db76629ed2c3e5a85bb594bc1fc6e557e7df73c79fd8e4da9260683ccb23091e
|
7
|
+
data.tar.gz: 9c5028a1077e07bd1f52b748d645524e9d880d080bd9be64b15f7384d554295e1f0239cc4e8a74073f810e47823cb2cd252709c5762e0927e6d99d465f00a92a
|
data/haplo.gemspec
CHANGED
@@ -3,10 +3,10 @@ Gem::Specification.new do |s|
|
|
3
3
|
files = Dir.glob("#{root_dir}/**/*.*").map { |x| x[root_dir.length + 1, x.length]}
|
4
4
|
|
5
5
|
s.name = 'haplo'
|
6
|
-
s.version = '2.3.
|
7
|
-
s.date = '2017-
|
6
|
+
s.version = '2.3.1'
|
7
|
+
s.date = '2017-12-04'
|
8
8
|
s.summary = "Haplo Plugin Tool"
|
9
|
-
s.description = "Development tools for developing Haplo plugins, see
|
9
|
+
s.description = "Development tools for developing Haplo plugins, see https://haplo.org"
|
10
10
|
s.licenses = ["MPL-2.0"]
|
11
11
|
s.authors = ["Haplo Services"]
|
12
12
|
s.email = 'client.services@haplo-services.com'
|
@@ -14,5 +14,5 @@ Gem::Specification.new do |s|
|
|
14
14
|
s.files = files
|
15
15
|
s.executables = ['haplo-plugin']
|
16
16
|
s.default_executable = 'haplo-plugin'
|
17
|
-
s.homepage = "
|
17
|
+
s.homepage = "https://docs.haplo.org/dev/tool/plugin"
|
18
18
|
end
|
data/lib/plugin_tool.rb
CHANGED
@@ -134,6 +134,18 @@ unless LOCAL_ONLY_COMMANDS[PLUGIN_TOOL_COMMAND]
|
|
134
134
|
puts "Remote application name: #{(application_info["name"]||'').to_s.strip.gsub(/\s+/,' ')}"
|
135
135
|
end
|
136
136
|
|
137
|
+
if PLUGIN_TOOL_COMMAND == 'devtools'
|
138
|
+
uninstall = (ARGV[0] == 'disable')
|
139
|
+
puts uninstall ? "Disabling development tools..." : "Enabling development tools..."
|
140
|
+
if 'OK' == PluginTool.post("/api/development-plugin-loader/devtools-#{uninstall ? 'uninstall' : 'install'}")
|
141
|
+
puts "Done"
|
142
|
+
exit 0
|
143
|
+
else
|
144
|
+
puts "Error updating server"
|
145
|
+
exit 1
|
146
|
+
end
|
147
|
+
end
|
148
|
+
|
137
149
|
# If the user didn't requested a plugin, try to use the application info to select the root plugin
|
138
150
|
if requested_plugins.empty? && application_info
|
139
151
|
application_root_plugin = application_info["config"]["applicationRootPlugin"]
|
data/lib/usage.txt
CHANGED
@@ -30,6 +30,9 @@ Commands:
|
|
30
30
|
develop (default command)
|
31
31
|
Developer mode. Push plugin to the specified server.
|
32
32
|
|
33
|
+
devtools [disable]
|
34
|
+
Enable or disable devtools on the server for development with the standard plugins.
|
35
|
+
|
33
36
|
auth [SERVER]
|
34
37
|
Authorise with server. SERVER can optionally include a non-default port number.
|
35
38
|
|
data/lib/version.txt
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
4d92664
|
metadata
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: haplo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.
|
4
|
+
version: 2.3.1
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Haplo Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-12-04 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
|
-
description: Development tools for developing Haplo plugins, see
|
13
|
+
description: Development tools for developing Haplo plugins, see https://haplo.org
|
14
14
|
email: client.services@haplo-services.com
|
15
15
|
executables:
|
16
16
|
- haplo-plugin
|
@@ -49,7 +49,7 @@ files:
|
|
49
49
|
- lib/usage.txt
|
50
50
|
- lib/version.txt
|
51
51
|
- lib/watchers.rb
|
52
|
-
homepage:
|
52
|
+
homepage: https://docs.haplo.org/dev/tool/plugin
|
53
53
|
licenses:
|
54
54
|
- MPL-2.0
|
55
55
|
metadata: {}
|
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
69
69
|
version: '0'
|
70
70
|
requirements: []
|
71
71
|
rubyforge_project:
|
72
|
-
rubygems_version: 2.
|
72
|
+
rubygems_version: 2.6.13
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
75
|
summary: Haplo Plugin Tool
|