gem-wrappers 0.9.2 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d423d6f96ec3e23a453107398fef0bb959d5ef8e
4
- data.tar.gz: 83fc827de94e35bd01e335b6c5fe301cf13b4064
3
+ metadata.gz: 2ecbfee7aff12296b947d5f855e213e007338e73
4
+ data.tar.gz: dd477920b03c899371a29062196f3724efa1d4a6
5
5
  SHA512:
6
- metadata.gz: 242f4fad5a2ef694fc87163a6344c9abac7fc8891dcd85ef5b6895786b2d0530e3e9eb8d5b3e592db38a814e801bd9f25eb11d5493bd9be560874644794ba124
7
- data.tar.gz: 9414a9bbb70eca272a63c2c8296b3a7307c668fe5ba98642a3b7848c88b2b2d4dd0bbe8c59bb6c422417314f69848ddf8d46259566d71cac582e4fdcc56c37f5
6
+ metadata.gz: d7d118bc7c48759d0101d43d1d1eb402828a79367898344162777e2615b268bd4b996a04348672e85f841b06bdf20980301124d2121715845aa710866b210367
7
+ data.tar.gz: 043aff18b4f7c0f211e03e6909e22e8aed7826b9488ac0aaa4d41ff8dc8e7fdb1273ab68e0c8188022550919d3c4ebc16bb7fc00b3d59f539d562638373b910b
@@ -57,7 +57,8 @@ DOC
57
57
  private
58
58
 
59
59
  def executables
60
- @executables ||= installed_gems.map(&:executables).inject(&:+) || []
60
+ # do not use map(&:...) - for ruby 1.8.6 compatibility
61
+ @executables ||= installed_gems.map{|gem| gem.executables }.inject{|sum, n| sum + n } || []
61
62
  end
62
63
 
63
64
  def installed_gems
@@ -1,3 +1,3 @@
1
1
  module GemWrappers
2
- VERSION = "0.9.2"
2
+ VERSION = "1.0.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gem-wrappers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.2
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michal Papis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-11 00:00:00.000000000 Z
11
+ date: 2013-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -129,7 +129,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
129
129
  version: '0'
130
130
  requirements: []
131
131
  rubyforge_project:
132
- rubygems_version: 2.2.0
132
+ rubygems_version: 2.0.14
133
133
  signing_key:
134
134
  specification_version: 4
135
135
  summary: Create gem wrappers for easy use of gems in cron and other system locations.