trinidad_daemon_extension 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,3 +1,8 @@
1
+ == 0.3.1 (2012-05-06)
2
+
3
+ * Update jna.jar 3.4.0 from https://github.com/twall/jna/downloads (#9)
4
+ * Allow overriding of jars location with a constant
5
+
1
6
  == 0.3.0 (2012-03-06)
2
7
 
3
8
  * Update akuma.jar to latest release 1.7 - fixes init exec issue
@@ -0,0 +1,9 @@
1
+ require 'java'
2
+
3
+ trinidad_libs =
4
+ defined?(Trinidad::Extensions::Daemon::TRINIDAD_LIBS) ?
5
+ Trinidad::Extensions::Daemon::TRINIDAD_LIBS :
6
+ File.expand_path('../../../trinidad-libs', __FILE__)
7
+
8
+ require File.join(trinidad_libs, 'akuma.jar')
9
+ require File.join(trinidad_libs, 'jna.jar')
@@ -1,7 +1,7 @@
1
1
  module Trinidad
2
2
  module Extensions
3
3
  module Daemon
4
- VERSION = '0.3.0'
4
+ VERSION = '0.3.1'
5
5
  end
6
6
  end
7
7
  end
@@ -1,16 +1,10 @@
1
- require 'rubygems'
2
-
3
1
  require 'trinidad'
4
2
  require 'trinidad/jars'
5
3
  require 'trinidad/extensions'
6
4
 
7
- require 'java'
8
-
9
- require File.expand_path('../../trinidad-libs/akuma', __FILE__)
10
- require File.expand_path('../../trinidad-libs/jna', __FILE__)
11
-
12
- require 'trinidad_daemon_extension/version'
5
+ require 'trinidad_daemon_extension/jars'
13
6
  require 'trinidad_daemon_extension/tomcat_wrapper'
7
+ require 'trinidad_daemon_extension/version'
14
8
 
15
9
  module Trinidad
16
10
  module Extensions
Binary file
@@ -29,8 +29,7 @@ Gem::Specification.new do |s|
29
29
 
30
30
  s.files = `git ls-files`.split("\n").sort.
31
31
  reject { |file| file =~ /^\./ }.
32
- reject { |file| file =~ /^(rdoc|pkg|src|git-hooks)/ }.
33
- reject { |file| file =~ /tomcat-core.jar/ } # only for compiling !
32
+ reject { |file| file =~ /^(rdoc|pkg|src|git-hooks)/ }
34
33
 
35
34
  s.test_files = s.files.select { |path| path =~ /^spec\/.*_spec\.rb/ }
36
35
 
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: trinidad_daemon_extension
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.3.0
5
+ version: 0.3.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - David Calavera
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2012-03-06 00:00:00 Z
13
+ date: 2012-05-06 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: trinidad_jars
@@ -61,6 +61,7 @@ files:
61
61
  - README.md
62
62
  - Rakefile
63
63
  - lib/trinidad_daemon_extension.rb
64
+ - lib/trinidad_daemon_extension/jars.rb
64
65
  - lib/trinidad_daemon_extension/tomcat_wrapper.rb
65
66
  - lib/trinidad_daemon_extension/version.rb
66
67
  - spec/spec_helper.rb