haplo 2.1.2-java → 2.1.3-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/haplo.gemspec +2 -2
- data/lib/haplo-templates.jar +0 -0
- data/lib/manifest.rb +3 -3
- data/lib/new_plugin.rb +4 -2
- data/lib/version.txt +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: 44039bac7161d320c4953fadca10cd0a99e1a6ab
|
4
|
+
data.tar.gz: c35e2b0305765eb0f17ba4f95e735fd7b3baded3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 724b1e1f8944bb6040445baa038df7920b6cd9e1888b1c09f49ab51bda147c328f226f088345969ba12fe6e34a72245d1fd6a81451a4cf3fe9bb4dc4a730aa14
|
7
|
+
data.tar.gz: a1fbe535acea52e111c316dc4671a005d276bd68e08fc75f7d65be8be9d0a843ef3944dadc3a845459d15086079b2a5bb09bdd16b6de973309a05095360d091b
|
data/haplo.gemspec
CHANGED
@@ -3,8 +3,8 @@ 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.1.
|
7
|
-
s.date = '2016-01
|
6
|
+
s.version = '2.1.3'
|
7
|
+
s.date = '2016-02-01'
|
8
8
|
s.summary = "Haplo Plugin Tool"
|
9
9
|
s.description = "Development tools for developing Haplo plugins, see http://haplo.org"
|
10
10
|
s.licenses = ["MPL-2.0"]
|
data/lib/haplo-templates.jar
CHANGED
Binary file
|
data/lib/manifest.rb
CHANGED
@@ -15,11 +15,11 @@ module PluginTool
|
|
15
15
|
Dir.glob("#{directory}/**/*").sort.each do |pathname|
|
16
16
|
# Ignore directories
|
17
17
|
next unless File.file? pathname
|
18
|
-
# Ignore
|
19
|
-
next if pathname =~
|
18
|
+
# Ignore temporary files
|
19
|
+
next if pathname =~ /\~/
|
20
20
|
# Check file
|
21
21
|
filename = pathname.slice(directory.length + 1, pathname.length)
|
22
|
-
raise "Bad filename for #{filename}" unless filename =~ /\A([a-zA-Z0-9_\/\-]+\/)?([a-
|
22
|
+
raise "Bad filename for #{filename}" unless filename =~ /\A([a-zA-Z0-9_\/\-]+\/)?([a-zA-Z0-9_-]+\.[a-z0-9]+)\z/
|
23
23
|
dir = $1
|
24
24
|
name = $2
|
25
25
|
if dir != nil
|
data/lib/new_plugin.rb
CHANGED
@@ -52,9 +52,11 @@ P.respond("GET", "/do/#{plugin_url_fragment}/example", [
|
|
52
52
|
|
53
53
|
__E
|
54
54
|
end
|
55
|
-
File.open("#{plugin_name}/template/example.
|
55
|
+
File.open("#{plugin_name}/template/example.hsvt",'w') do |file|
|
56
56
|
file.write(<<__E)
|
57
|
-
|
57
|
+
// HSVT documentation: http://docs.haplo.org/dev/plugin/templates
|
58
|
+
|
59
|
+
<p class="example"> "This is an example template." </p>
|
58
60
|
__E
|
59
61
|
end
|
60
62
|
File.open("#{plugin_name}/test/#{plugin_name}_test1.js",'w') do |file|
|
data/lib/version.txt
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
e388b40
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: haplo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.3
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Haplo Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-01
|
11
|
+
date: 2016-02-01 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Development tools for developing Haplo plugins, see http://haplo.org
|
14
14
|
email: client.services@haplo-services.com
|