haplo 2.1.2-java → 2.1.3-java

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6a2f0dd377f5dc1d5dd435130c07eaffa306fc79
4
- data.tar.gz: 4b877e349ec978326c979a8dc3f6b206ada6866f
3
+ metadata.gz: 44039bac7161d320c4953fadca10cd0a99e1a6ab
4
+ data.tar.gz: c35e2b0305765eb0f17ba4f95e735fd7b3baded3
5
5
  SHA512:
6
- metadata.gz: 5cd67599a9849cda64de748545bab75d7b53210400cf5ef86b8cf6220f08af89a56eb308d192d7a0fca245dfa16bc8407e1098ebc244583c8c1e4da6c6c13990
7
- data.tar.gz: 0ead1a51973702025efd910d4880bfdba097cc560092f6758ff900e7e19822b4bba290d5532487721786388a8c4c02bf4520a911f3d2adccd0e03a72e654abea
6
+ metadata.gz: 724b1e1f8944bb6040445baa038df7920b6cd9e1888b1c09f49ab51bda147c328f226f088345969ba12fe6e34a72245d1fd6a81451a4cf3fe9bb4dc4a730aa14
7
+ data.tar.gz: a1fbe535acea52e111c316dc4671a005d276bd68e08fc75f7d65be8be9d0a843ef3944dadc3a845459d15086079b2a5bb09bdd16b6de973309a05095360d091b
@@ -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.2'
7
- s.date = '2016-01-18'
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"]
Binary file
@@ -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 Emacs backup files
19
- next if pathname =~ /\~\z/
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-z0-9_-]+\.[a-z0-9]+)\z/
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
@@ -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.html",'w') do |file|
55
+ File.open("#{plugin_name}/template/example.hsvt",'w') do |file|
56
56
  file.write(<<__E)
57
- <p>This is an example template.</p>
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|
@@ -1 +1 @@
1
- 4625c85
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.2
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-18 00:00:00.000000000 Z
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