norikra 1.4.0-java → 1.5.0-java

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 594b7ff8b47b9244aec8b1c1557118398d38cd6f
4
- data.tar.gz: a175ef83ae11f3253337b3c827b74e96a6cade22
2
+ SHA256:
3
+ metadata.gz: 97f08b7ade0b66754cf7278e9e69c14adb2a457419c034cab01326d335af0862
4
+ data.tar.gz: 8f2b4052fb8985df6f29f058085407d4444e9f9dd67d7a2f54b621978ae6904c
5
5
  SHA512:
6
- metadata.gz: 2157ac962cee967607c357c065039c1b6c8844703a1d5023ffd91415c021741427c442d6689b5de1a6fc2b399c7a4faf5de65ad56b2980ab303c1fadb6af0848
7
- data.tar.gz: 0cdeb1f5572a3909ecdce291ab3638793db913bacd88ae8e3fceca02ffd47c26c484c0b11d3adcbf447213c713dc757b3c1193e9ce29bc569d88489e3fee4503
6
+ metadata.gz: 151733296bbb9bd1cfa8c0ade3271ed62e9b161817144a6f39f6f51da6043bb3fd07ec1abe33b85ecaa04e4d46f918e78f3426deb8d3060c4186784af24a14cc
7
+ data.tar.gz: 9654bae98847e2b356989780685fcb487b50f2243b7ab97a876951f5ab36d0d4ce46c89040bdb29d43e0533be15c8835c4ef2f4dd1ba7c6a71c21c77d2deac13
@@ -1 +1 @@
1
- jruby-1.7.20
1
+ jruby-9.1.13.0
@@ -4,9 +4,7 @@ rvm:
4
4
  - jruby-head
5
5
  jdk:
6
6
  - oraclejdk8
7
- - oraclejdk7
8
7
  - openjdk7
9
- - openjdk6
10
8
  matrix:
11
9
  allow_failures:
12
10
  - rvm: jruby-head
data/README.md CHANGED
@@ -64,7 +64,11 @@ See: http://norikra.github.io/
64
64
 
65
65
  ## Changes
66
66
 
67
+ * v1.5
68
+ * Fix a bug not to shutdown correctly
69
+ * Fix a bug to handle paths in logging incorrectly
67
70
  * v1.4
71
+ * Add option handling about `-D` and `-agentlib` for JVM
68
72
  * Dependency update for msgpack.gem
69
73
  * v1.3
70
74
  * Dynamic plugin reloading by SIGHUP
@@ -78,17 +78,18 @@ module Norikra
78
78
  else
79
79
  # DailyRollingFileAppender ?
80
80
  # http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/DailyRollingFileAppender.html
81
+ max_backup_index = opts[:backups] || LOGFILE_DEFAULT_MAX_BACKUP_INDEX
81
82
  norikra_log = File.join(logdir, 'norikra.log')
82
83
  p.setProperty('log4j.appender.default', 'org.apache.log4j.RollingFileAppender')
83
84
  p.setProperty('log4j.appender.default.File', norikra_log)
84
85
  p.setProperty('log4j.appender.default.MaxFileSize', opts[:filesize] || LOGFILE_DEFAULT_MAX_SIZE)
85
- p.setProperty('log4j.appender.default.MaxBackupIndex', opts[:backups].to_s || LOGFILE_DEFAULT_MAX_BACKUP_INDEX.to_s)
86
+ p.setProperty('log4j.appender.default.MaxBackupIndex', max_backup_index.to_s)
86
87
 
87
88
  builtin_log = File.join(logdir, 'builtin.log')
88
89
  p.setProperty('log4j.appender.builtin', 'org.apache.log4j.RollingFileAppender')
89
90
  p.setProperty('log4j.appender.builtin.File', builtin_log)
90
91
  p.setProperty('log4j.appender.builtin.MaxFileSize', opts[:filesize] || LOGFILE_DEFAULT_MAX_SIZE)
91
- p.setProperty('log4j.appender.builtin.MaxBackupIndex', opts[:backups].to_s || LOGFILE_DEFAULT_MAX_BACKUP_INDEX.to_s)
92
+ p.setProperty('log4j.appender.builtin.MaxBackupIndex', max_backup_index.to_s)
92
93
  end
93
94
  p.setProperty('log4j.rootLogger', "#{level},default")
94
95
  org.apache.log4j.PropertyConfigurator.configure(p)
@@ -166,7 +166,7 @@ module Norikra
166
166
  @running = true
167
167
  info "Norikra server started."
168
168
 
169
- shutdown_proc = ->{ @running = false }
169
+ shutdown_proc = proc{ @running = false }
170
170
  # JVM uses SIGQUIT / SIGUSR1 for thread/heap state dumping
171
171
  [:INT, :TERM].each do |s|
172
172
  Signal.trap(s, shutdown_proc)
@@ -178,10 +178,10 @@ module Norikra
178
178
  else
179
179
  nil
180
180
  end
181
- Signal.trap(:USR2, ->{ @dump_stats = true })
181
+ Signal.trap(:USR2, proc{ @dump_stats = true })
182
182
 
183
183
  @reload_plugins = false
184
- Signal.trap(:HUP, ->{ @reload_plugins = true })
184
+ Signal.trap(:HUP, proc{ @reload_plugins = true })
185
185
 
186
186
  memory_stat_next = Time.now
187
187
  shut_off_mode = false
@@ -1,3 +1,3 @@
1
1
  module Norikra
2
- VERSION = "1.4.0"
2
+ VERSION = "1.5.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: norikra
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.5.0
5
5
  platform: java
6
6
  authors:
7
7
  - TAGOMORI Satoshi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-19 00:00:00.000000000 Z
11
+ date: 2017-10-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -178,7 +178,8 @@ dependencies:
178
178
  - - ">="
179
179
  - !ruby/object:Gem::Version
180
180
  version: '0'
181
- description: Norikra is a open source server software provides "Schema-les Stream Processing" with SQL, written in JRuby, runs on JVM, licensed under GPLv2.
181
+ description: Norikra is a open source server software provides "Schema-les Stream
182
+ Processing" with SQL, written in JRuby, runs on JVM, licensed under GPLv2.
182
183
  email:
183
184
  - tagomoris@gmail.com
184
185
  executables:
@@ -295,7 +296,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
295
296
  version: '0'
296
297
  requirements: []
297
298
  rubyforge_project:
298
- rubygems_version: 2.4.8
299
+ rubygems_version: 2.6.13
299
300
  signing_key:
300
301
  specification_version: 4
301
302
  summary: Schema-less stream processing server with SQL
@@ -313,4 +314,3 @@ test_files:
313
314
  - spec/target_spec.rb
314
315
  - spec/typedef_manager_spec.rb
315
316
  - spec/typedef_spec.rb
316
- has_rdoc: