jar_wrapper 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
data/jar_wrapper.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{jar_wrapper}
8
- s.version = "0.1.0"
8
+ s.version = "0.1.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = [%q{Alexander Shvets}]
12
- s.date = %q{2011-09-23}
12
+ s.date = %q{2011-09-24}
13
13
  s.description = %q{Jar wrapper for executable java jar.}
14
14
  s.email = %q{alexander.shvets@gmail.com}
15
15
  s.extra_rdoc_files = [
@@ -22,7 +22,7 @@ class JarWrapper
22
22
  command.push(*java_args)
23
23
  # command.push("-Xbootclasspath/a:#{jruby_complete}")
24
24
  # command.push("-Dfile.encoding=UTF8", "-Xmx320m", "-Xss1024k", "-Djruby.memory.max=320m", "-Djruby.stack.max=1024k", "org.jruby.Main")
25
- command.push(*java_opts) if java_opts.length > 0
25
+ command.push(*java_opts) if !java_opts.nil?
26
26
 
27
27
  command.push("-jar", jar_file) if jar_file
28
28
  command.push("-cp", classpath, main_class) if main_class
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jar_wrapper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-09-23 00:00:00.000000000Z
12
+ date: 2011-09-24 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jeweler
16
- requirement: &2157099060 !ruby/object:Gem::Requirement
16
+ requirement: &2153170560 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *2157099060
24
+ version_requirements: *2153170560
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: zip
27
- requirement: &2157097980 !ruby/object:Gem::Requirement
27
+ requirement: &2153169660 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *2157097980
35
+ version_requirements: *2153169660
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: jeweler
38
- requirement: &2157097320 !ruby/object:Gem::Requirement
38
+ requirement: &2153168720 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '0'
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *2157097320
46
+ version_requirements: *2153168720
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: zip
49
- requirement: &2157096540 !ruby/object:Gem::Requirement
49
+ requirement: &2153168000 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,7 +54,7 @@ dependencies:
54
54
  version: '0'
55
55
  type: :runtime
56
56
  prerelease: false
57
- version_requirements: *2157096540
57
+ version_requirements: *2153168000
58
58
  description: Jar wrapper for executable java jar.
59
59
  email: alexander.shvets@gmail.com
60
60
  executables: []