haplo 2.4.0-java → 2.4.1-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
  SHA256:
3
- metadata.gz: 46492c3a4a0a11361880fca6b8867f92519a1c22d18dd2d45622f63614243606
4
- data.tar.gz: 1f53526404acf0d48d5b83dc8bd0a5507c1485469db009b94f895319eedfac70
3
+ metadata.gz: 4f31a05fd3051ec0b37547bd85d945e68189b12dbbad4750fe249e85b7c93327
4
+ data.tar.gz: 2a18bdb623aa28ce44eb3f9d4fd16c15ded643e5dd547ad7c8ef1c2f06bd0ad9
5
5
  SHA512:
6
- metadata.gz: 5756f22e3b507f021755eebde4d5eb7f7cb3bf28d52c6c0118132fe78a76cd1a8b17aa561cde910877013839cea9f2033d83c74e1117280759395cc7f0594405
7
- data.tar.gz: add428a9a6c3cd65ed391cde852fd073570c13f1750147062935f922d669f6f849899856538c0ca2adf08a167a09fb499820f7667ed605c26522f7106ca5ccfd
6
+ metadata.gz: ed8e5ae72e0a9903ced3bc25d9bb716d2ac75f623afbffa6ed3cc5f185caa2bbc3b8bf2f2a4648ae21fb6a5e262e7719bedbccbf8479e47575c8120c29ef7528
7
+ data.tar.gz: 3f84cd6d180238698d84dcd69128b85c12f103ea08f6e9a7b49ceac937ad124e0e7c5bf0f1f8a4c72ede326c116947afd9dcd4020bc014d984fe91ea4fd2ee05
data/haplo.gemspec CHANGED
@@ -3,7 +3,7 @@ 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.4.0'
6
+ s.version = '2.4.1'
7
7
  s.date = '2018-06-15'
8
8
  s.summary = "Haplo Plugin Tool"
9
9
  s.description = "Development tools for developing Haplo plugins, see https://haplo.org"
data/lib/packing.rb CHANGED
@@ -40,7 +40,8 @@ module PluginTool
40
40
  minimiser = PluginTool::Minimiser.new
41
41
  files.each do |filename|
42
42
  STDOUT.write("."); STDOUT.flush
43
- data = File.open("#{plugin_dir}/#{filename}", "rb") { |f| f.read }
43
+ mode = (filename =~ /\.(js|json|html|hsvt|css)\Z/i) ? "rb:UTF-8" : "rb"
44
+ data = File.open("#{plugin_dir}/#{filename}", mode) { |f| f.read }
44
45
  # Rewrite plugin.json?
45
46
  if filename == 'plugin.json' && restrict_to_app_id
46
47
  plugin_json = JSON.parse(data)
data/lib/version.txt CHANGED
@@ -1 +1 @@
1
- 8fc7036
1
+ 33a3b9b
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: haplo
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.0
4
+ version: 2.4.1
5
5
  platform: java
6
6
  authors:
7
7
  - Haplo Services