oneis 1.2.0-java → 1.2.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.
data/lib/packing.rb CHANGED
@@ -1,8 +1,8 @@
1
1
 
2
2
  module PluginTool
3
3
 
4
- PACKING_ACCEPTABLE_FILENAME = /\A(plugin\.json|(js|static|template|test|data)\/([a-z0-9_-]+\/)*[a-z0-9_-]+\.[a-z0-9]+)\z/
5
- PACKING_ACCEPTABLE_EXCEPTIONS = ['certificates-temp-http-api.pem']
4
+ PACKING_ACCEPTABLE_FILENAME = /\A(js|static|template|test|data)\/([a-z0-9_-]+\/)*[a-z0-9_-]+\.[a-z0-9]+\z/
5
+ PACKING_ACCEPTABLE_EXCEPTIONS = ['plugin.json', 'global.js', 'certificates-temp-http-api.pem']
6
6
 
7
7
  def self.pack_plugin(plugin_name, output_directory)
8
8
  # Get filenames and sort
@@ -60,6 +60,9 @@ module PluginTool
60
60
  if locals
61
61
  locals.each_key { |local| extra_globals << local }
62
62
  end
63
+ elsif kind == 'test'
64
+ extra_globals << plugin_json["pluginName"]
65
+ extra_globals << 'P'
63
66
  end
64
67
  # global.js requires server side syntax checking, but doesn't have any extra globals, not even the plugin name.
65
68
  kind = 'js' if kind == 'global.js'
data/lib/version.txt CHANGED
@@ -1 +1 @@
1
- 2a2fcaef6e
1
+ 554911e7bf
data/oneis.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 = 'oneis'
6
- s.version = '1.2.0'
7
- s.date = '2014-11-20'
6
+ s.version = '1.2.1'
7
+ s.date = '2014-12-05'
8
8
  s.summary = "ONEIS Tools"
9
9
  s.description = "ONEIS Developer Tools"
10
10
  s.authors = ["ONEIS"]
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: oneis
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.2.0
5
+ version: 1.2.1
6
6
  platform: java
7
7
  authors:
8
8
  - ONEIS
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2014-11-20 00:00:00 Z
13
+ date: 2014-12-05 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: jruby-openssl