lock_jar 0.3.2 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.2
1
+ 0.3.3
@@ -78,7 +78,7 @@ module LockJar
78
78
  def to_local_paths( notations )
79
79
  paths = []
80
80
  notations.each do |notation|
81
- if File.directory?(notation)
81
+ if File.exists?(notation)
82
82
  paths << notation
83
83
  else
84
84
  paths = paths + @naether.to_local_paths( [notation] )
data/lock_jar.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "lock_jar"
8
- s.version = "0.3.2"
8
+ s.version = "0.3.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Michael Guymon"]
12
- s.date = "2012-05-17"
12
+ s.date = "2012-05-21"
13
13
  s.description = "Manage Jar files for Ruby. In the spirit of Bundler, a Jarfile\n is used to generate a Jarfile.lock that contains all the resolved jar dependencies for scopes runtime, compile, and test.\n The Jarfile.lock can be used to populate the classpath"
14
14
  s.email = "michael.guymon@gmail.com"
15
15
  s.extra_rdoc_files = [
@@ -65,7 +65,7 @@ module BundlerHelper
65
65
  v == true ? " --#{k}" : " --#{k} #{v}" if v
66
66
  end.join
67
67
 
68
- cmd = "#{env}#{Gem.ruby} -I#{lib} #{requires_str} #{bundle_bin} #{cmd}#{args}"
68
+ cmd = "#{env}#{Gem.ruby} -I#{lib} -I#{root} #{requires_str} #{bundle_bin} #{cmd}#{args}"
69
69
 
70
70
  #puts cmd
71
71
 
@@ -118,7 +118,7 @@ module BundlerHelper
118
118
  expect_err = options.delete(:expect_err)
119
119
  env = (options.delete(:env) || {}).map{|k,v| "#{k}='#{v}' "}.join
120
120
  ruby.gsub!(/["`\$]/) {|m| "\\#{m}" }
121
- lib_option = options[:no_lib] ? "" : " -I#{lib}"
121
+ lib_option = options[:no_lib] ? "" : " -I#{lib} -I#{root}"
122
122
 
123
123
  #puts %{#{env}#{Gem.ruby}#{lib_option} -e "#{ruby}"}
124
124
 
@@ -15,7 +15,7 @@ describe Bundler do
15
15
 
16
16
  before(:each) do
17
17
  gemfile <<-G
18
- require 'lock_jar/bundler'
18
+ require 'lib/lock_jar/bundler'
19
19
  gem "naether"
20
20
 
21
21
  lock_jar do
@@ -82,7 +82,7 @@ describe Bundler do
82
82
  ruby <<-RUBY
83
83
  require 'rubygems'
84
84
  require 'bundler'
85
- require 'lock_jar/bundler'
85
+ require 'lib/lock_jar/bundler'
86
86
  require 'naether/java'
87
87
 
88
88
  LockJar.config( :local_repo => '#{tmp('test-repo')}' )
metadata CHANGED
@@ -1,115 +1,107 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: lock_jar
3
- version: !ruby/object:Gem::Version
4
- hash: 23
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.3.3
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 3
9
- - 2
10
- version: 0.3.2
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Michael Guymon
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2012-05-17 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
21
- prerelease: false
22
- requirement: &id001 !ruby/object:Gem::Requirement
12
+ date: 2012-05-21 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: naether
16
+ requirement: !ruby/object:Gem::Requirement
23
17
  none: false
24
- requirements:
18
+ requirements:
25
19
  - - ~>
26
- - !ruby/object:Gem::Version
27
- hash: 63
28
- segments:
29
- - 0
30
- - 8
31
- - 0
20
+ - !ruby/object:Gem::Version
32
21
  version: 0.8.0
33
22
  type: :runtime
34
- name: naether
35
- version_requirements: *id001
36
- - !ruby/object:Gem::Dependency
37
23
  prerelease: false
38
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: 0.8.0
30
+ - !ruby/object:Gem::Dependency
31
+ name: rspec
32
+ requirement: !ruby/object:Gem::Requirement
39
33
  none: false
40
- requirements:
34
+ requirements:
41
35
  - - ~>
42
- - !ruby/object:Gem::Version
43
- hash: 43
44
- segments:
45
- - 2
46
- - 9
47
- - 0
36
+ - !ruby/object:Gem::Version
48
37
  version: 2.9.0
49
38
  type: :development
50
- name: rspec
51
- version_requirements: *id002
52
- - !ruby/object:Gem::Dependency
53
39
  prerelease: false
54
- requirement: &id003 !ruby/object:Gem::Requirement
40
+ version_requirements: !ruby/object:Gem::Requirement
55
41
  none: false
56
- requirements:
42
+ requirements:
57
43
  - - ~>
58
- - !ruby/object:Gem::Version
59
- hash: 19
60
- segments:
61
- - 1
62
- - 1
63
- - 0
44
+ - !ruby/object:Gem::Version
45
+ version: 2.9.0
46
+ - !ruby/object:Gem::Dependency
47
+ name: bundler
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ~>
52
+ - !ruby/object:Gem::Version
64
53
  version: 1.1.0
65
54
  type: :development
66
- name: bundler
67
- version_requirements: *id003
68
- - !ruby/object:Gem::Dependency
69
55
  prerelease: false
70
- requirement: &id004 !ruby/object:Gem::Requirement
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: 1.1.0
62
+ - !ruby/object:Gem::Dependency
63
+ name: jeweler
64
+ requirement: !ruby/object:Gem::Requirement
71
65
  none: false
72
- requirements:
66
+ requirements:
73
67
  - - ~>
74
- - !ruby/object:Gem::Version
75
- hash: 7
76
- segments:
77
- - 1
78
- - 6
79
- - 4
68
+ - !ruby/object:Gem::Version
80
69
  version: 1.6.4
81
70
  type: :development
82
- name: jeweler
83
- version_requirements: *id004
84
- - !ruby/object:Gem::Dependency
85
71
  prerelease: false
86
- requirement: &id005 !ruby/object:Gem::Requirement
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ version: 1.6.4
78
+ - !ruby/object:Gem::Dependency
79
+ name: yard
80
+ requirement: !ruby/object:Gem::Requirement
87
81
  none: false
88
- requirements:
82
+ requirements:
89
83
  - - ~>
90
- - !ruby/object:Gem::Version
91
- hash: 63
92
- segments:
93
- - 0
94
- - 8
95
- - 0
84
+ - !ruby/object:Gem::Version
96
85
  version: 0.8.0
97
86
  type: :development
98
- name: yard
99
- version_requirements: *id005
100
- description: |-
101
- Manage Jar files for Ruby. In the spirit of Bundler, a Jarfile
102
- is used to generate a Jarfile.lock that contains all the resolved jar dependencies for scopes runtime, compile, and test.
103
- The Jarfile.lock can be used to populate the classpath
87
+ prerelease: false
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ~>
92
+ - !ruby/object:Gem::Version
93
+ version: 0.8.0
94
+ description: ! "Manage Jar files for Ruby. In the spirit of Bundler, a Jarfile\n is
95
+ used to generate a Jarfile.lock that contains all the resolved jar dependencies
96
+ for scopes runtime, compile, and test.\n The Jarfile.lock can be used to populate
97
+ the classpath"
104
98
  email: michael.guymon@gmail.com
105
99
  executables: []
106
-
107
100
  extensions: []
108
-
109
- extra_rdoc_files:
101
+ extra_rdoc_files:
110
102
  - LICENSE
111
103
  - README.rdoc
112
- files:
104
+ files:
113
105
  - Gemfile
114
106
  - LICENSE
115
107
  - README.rdoc
@@ -135,37 +127,31 @@ files:
135
127
  - spec/pom.xml
136
128
  - spec/spec_helper.rb
137
129
  homepage: http://github.com/mguymon/lock_jar
138
- licenses:
130
+ licenses:
139
131
  - Apache
140
132
  post_install_message:
141
133
  rdoc_options: []
142
-
143
- require_paths:
134
+ require_paths:
144
135
  - lib
145
- required_ruby_version: !ruby/object:Gem::Requirement
136
+ required_ruby_version: !ruby/object:Gem::Requirement
146
137
  none: false
147
- requirements:
148
- - - ">="
149
- - !ruby/object:Gem::Version
150
- hash: 3
151
- segments:
138
+ requirements:
139
+ - - ! '>='
140
+ - !ruby/object:Gem::Version
141
+ version: '0'
142
+ segments:
152
143
  - 0
153
- version: "0"
154
- required_rubygems_version: !ruby/object:Gem::Requirement
144
+ hash: 304515307845688125
145
+ required_rubygems_version: !ruby/object:Gem::Requirement
155
146
  none: false
156
- requirements:
157
- - - ">="
158
- - !ruby/object:Gem::Version
159
- hash: 3
160
- segments:
161
- - 0
162
- version: "0"
147
+ requirements:
148
+ - - ! '>='
149
+ - !ruby/object:Gem::Version
150
+ version: '0'
163
151
  requirements: []
164
-
165
152
  rubyforge_project:
166
153
  rubygems_version: 1.8.24
167
154
  signing_key:
168
155
  specification_version: 3
169
156
  summary: Manage Jar files for Ruby
170
157
  test_files: []
171
-