rubydoop 1.1.1 → 1.1.2

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 631a50b25123f743ebae1c25c91a655ab26d6713
4
+ data.tar.gz: b873beaefb8d11b66fb5889cec65a1ad0b074b96
5
+ SHA512:
6
+ metadata.gz: 89cfe28d20808999207b5b82742dce85609f5119adc8a4cff354fd9ca85e0be5c4e558d65c79a9334f42f01ed2c13f925fca095bb2634f4ffb468ea7c0b90713
7
+ data.tar.gz: ea2a258f1068a68a1c87bdcbdbe2fab03bd64da7deca4a67314821390f475ca0f0fbefbcd5a9d9e99f141961967316bf6ba8a4ee30aa725d4d95fc817fa5a7ba
@@ -129,7 +129,10 @@ module Rubydoop
129
129
  zipfileset dir: rubydoop_lib, excludes: '*.jar', prefix: "gems/rubydoop-#{Rubydoop::VERSION}/lib"
130
130
 
131
131
  gem_specs.each do |gem_spec|
132
- zipfileset dir: gem_spec.full_gem_path, prefix: "gems/#{File.basename(gem_spec.full_gem_path)}"
132
+ default_gem = gem_spec.respond_to?(:default_gem?) && gem_spec.default_gem?
133
+ if !default_gem || File.directory?(gem_spec.full_gem_path)
134
+ zipfileset dir: gem_spec.full_gem_path, prefix: "gems/#{File.basename(gem_spec.full_gem_path)}"
135
+ end
133
136
  end
134
137
 
135
138
  extra_jars.each do |extra_jar|
@@ -146,9 +149,12 @@ module Rubydoop
146
149
  File.open(path, 'w') do |io|
147
150
  io.puts("$LOAD_PATH << 'gems/rubydoop-#{Rubydoop::VERSION}/lib'")
148
151
  @options[:gem_specs].each do |gem_spec|
149
- gem_spec.require_paths.each do |path|
150
- relative_path = File.join(File.basename(gem_spec.full_gem_path), path)
151
- io.puts("$LOAD_PATH << 'gems/#{relative_path}'")
152
+ default_gem = gem_spec.respond_to?(:default_gem?) && gem_spec.default_gem?
153
+ if !default_gem || File.directory?(gem_spec.full_gem_path)
154
+ gem_spec.require_paths.each do |path|
155
+ relative_path = File.join(File.basename(gem_spec.full_gem_path), path)
156
+ io.puts("$LOAD_PATH << 'gems/#{relative_path}'")
157
+ end
152
158
  end
153
159
  end
154
160
  end
@@ -1,4 +1,4 @@
1
1
  module Rubydoop
2
2
  # @private
3
- VERSION = '1.1.1'
3
+ VERSION = '1.1.2'
4
4
  end
data/lib/rubydoop.jar CHANGED
Binary file
metadata CHANGED
@@ -1,15 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubydoop
3
3
  version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 1.1.1
4
+ version: 1.1.2
6
5
  platform: ruby
7
6
  authors:
8
7
  - Theo Hultberg
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2014-01-21 00:00:00.000000000 Z
11
+ date: 2014-01-27 00:00:00.000000000 Z
13
12
  dependencies: []
14
13
  description: Rubydoop embeds a JRuby runtime in Hadoop, letting you write map reduce code in Ruby without using the streaming APIs
15
14
  email:
@@ -26,6 +25,7 @@ files:
26
25
  - lib/rubydoop.jar
27
26
  homepage: http://github.com/iconara/rubydoop
28
27
  licenses: []
28
+ metadata: {}
29
29
  post_install_message:
30
30
  rdoc_options: []
31
31
  require_paths:
@@ -34,22 +34,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
34
34
  requirements:
35
35
  - - '>='
36
36
  - !ruby/object:Gem::Version
37
- segments:
38
- - 0
39
- hash: 2
40
37
  version: '0'
41
- none: false
42
38
  required_rubygems_version: !ruby/object:Gem::Requirement
43
39
  requirements:
44
40
  - - '>='
45
41
  - !ruby/object:Gem::Version
46
42
  version: '0'
47
- none: false
48
43
  requirements: []
49
44
  rubyforge_project: rubydoop
50
- rubygems_version: 1.8.24
45
+ rubygems_version: 2.1.10
51
46
  signing_key:
52
- specification_version: 3
47
+ specification_version: 4
53
48
  summary: Write Hadoop jobs in Ruby
54
49
  test_files: []
55
50
  has_rdoc: