puck 1.0.0.pre2 → 1.0.0.pre3
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.
- checksums.yaml +7 -0
- data/lib/puck.rb +1 -0
- data/lib/puck/jar.rb +3 -4
- data/lib/puck/version.rb +1 -1
- metadata +9 -13
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 432986a4cfe6119ebfc1f5b8c9edb661391c4d3f
|
4
|
+
data.tar.gz: 13ff7d59ffc31670bab672f4e53049c72e4a73c1
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: a4f379593f83a960811fed5754fc009eeb122945cd8a68e3d2feabd6a46a5669afc2fe21519de2c8c9908a979df9524521db67b018afe06fa202f666ef2bd342
|
7
|
+
data.tar.gz: fbf8b392a18397da8c9db81b5e7af6665c314910fa8b306ccf5da3be9081fdc365a84b2b34dc0825a2d616f912451c532615bc4139f514a67d9ac2e0a78de02c
|
data/lib/puck.rb
CHANGED
data/lib/puck/jar.rb
CHANGED
@@ -141,8 +141,7 @@ module Puck
|
|
141
141
|
specs = specs.map do |bundler_spec|
|
142
142
|
case bundler_spec.source
|
143
143
|
when Bundler::Source::Git
|
144
|
-
|
145
|
-
gemspec_path = File.join(ENV['GEM_HOME'], 'bundler', 'gems', "#{bundler_spec.name}-#{revision[0, 12]}", "#{bundler_spec.name}.gemspec")
|
144
|
+
gemspec_path = File.join(ENV['GEM_HOME'], 'bundler', 'gems', "#{bundler_spec.source.extension_dir_name}", "#{bundler_spec.name}.gemspec")
|
146
145
|
base_path = File.dirname(gemspec_path)
|
147
146
|
else
|
148
147
|
gemspec_path = File.join(ENV['GEM_HOME'], 'specifications', "#{bundler_spec.full_name}.gemspec")
|
@@ -164,10 +163,10 @@ module Puck
|
|
164
163
|
:bin_path => bin_path,
|
165
164
|
}
|
166
165
|
else
|
167
|
-
|
166
|
+
raise GemNotFoundError, "Could not package #{bundler_spec.name} because no gemspec could be found at #{gemspec_path}."
|
168
167
|
end
|
169
168
|
end
|
170
|
-
specs.
|
169
|
+
specs.uniq { |s| s[:versioned_name] }
|
171
170
|
end
|
172
171
|
|
173
172
|
def resolve_gem_specs(gem_specs, gem_names)
|
data/lib/puck/version.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: puck
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.
|
5
|
-
prerelease: 6
|
4
|
+
version: 1.0.0.pre3
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Theo Hultberg
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2014-08-27 00:00:00.000000000 Z
|
13
12
|
dependencies: []
|
14
13
|
description: Puck takes your app and packs it along with all your gems and a complete JRuby runtime in a standalone Jar file that can be run with just `java -jar …`
|
15
14
|
email:
|
@@ -19,38 +18,35 @@ executables:
|
|
19
18
|
extensions: []
|
20
19
|
extra_rdoc_files: []
|
21
20
|
files:
|
21
|
+
- bin/puck
|
22
22
|
- lib/puck.rb
|
23
23
|
- lib/puck/bootstrap.rb
|
24
24
|
- lib/puck/configuration.rb
|
25
25
|
- lib/puck/jar.rb
|
26
26
|
- lib/puck/version.rb
|
27
|
-
- bin/puck
|
28
27
|
homepage: http://github.com/iconara/puck
|
29
28
|
licenses:
|
30
29
|
- Apache License 2.0
|
30
|
+
metadata: {}
|
31
31
|
post_install_message:
|
32
32
|
rdoc_options: []
|
33
33
|
require_paths:
|
34
34
|
- lib
|
35
35
|
required_ruby_version: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
|
-
- -
|
37
|
+
- - '>='
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version:
|
40
|
-
MA==
|
41
|
-
none: false
|
39
|
+
version: '0'
|
42
40
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
43
41
|
requirements:
|
44
|
-
- -
|
45
|
-
Pg==
|
42
|
+
- - '>'
|
46
43
|
- !ruby/object:Gem::Version
|
47
44
|
version: 1.3.1
|
48
|
-
none: false
|
49
45
|
requirements: []
|
50
46
|
rubyforge_project: puck
|
51
|
-
rubygems_version:
|
47
|
+
rubygems_version: 2.2.2
|
52
48
|
signing_key:
|
53
|
-
specification_version:
|
49
|
+
specification_version: 4
|
54
50
|
summary: Packs your JRuby app as a standalone Jar file
|
55
51
|
test_files: []
|
56
52
|
has_rdoc:
|