brew-gem 0.7.2 → 0.7.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -0
- data/lib/brew/gem/formula.rb.erb +3 -1
- data/lib/brew/gem/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0b98d4bf81184caf4b20bbd22da2e1330ab15af4
|
4
|
+
data.tar.gz: 1b71b15e529c93502d8c15b536748bd0137a54bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3514488a6d2300184867f2a5a71f0fc4e915149fccef20733ffb60b87f14b79eae2746d5486b43eb7e3adfe2b0a0e82d226642bb13e33f4a4b63701547f26d60
|
7
|
+
data.tar.gz: 02e8d8d7c198fbfb06bd83a435a19d49936be6716792d660c4882313aedeec85af511f4625b9fd50a7babeef717098064f18f2b3ff6be57921b46a88dc2a0a14
|
data/README.md
CHANGED
@@ -37,6 +37,10 @@ There are two ways to install `brew-gem`, via Homebrew or via Rubygems. Usually
|
|
37
37
|
the Rubygems release will track ahead of the Homebrew recipe, so to receive the
|
38
38
|
latest features, use the Rubygems install instructions.
|
39
39
|
|
40
|
+
*Warning*: If you previously installed `brew-gem` with Homebrew, the Rubygems
|
41
|
+
install method will fail. Run `brew unlink brew-gem` or `brew uninstall
|
42
|
+
brew-gem` first.
|
43
|
+
|
40
44
|
Via Rubygems:
|
41
45
|
|
42
46
|
gem install brew-gem
|
data/lib/brew/gem/formula.rb.erb
CHANGED
@@ -61,8 +61,10 @@ class <%= klass %> < Formula
|
|
61
61
|
].first
|
62
62
|
zsh_completion.install completion_for_zsh if completion_for_zsh
|
63
63
|
|
64
|
+
gemspec = Gem::Specification::load("#{prefix}/specifications/<%= name %>-#{version}.gemspec")
|
64
65
|
ruby_libs = Dir.glob("#{prefix}/gems/*/lib")
|
65
|
-
|
66
|
+
gemspec.executables.each do |exe|
|
67
|
+
file = Pathname.new("#{brew_gem_prefix}/#{gemspec.bindir}/#{exe}")
|
66
68
|
(bin+file.basename).open('w') do |f|
|
67
69
|
f << <<-RUBY
|
68
70
|
#!/usr/bin/ruby
|
data/lib/brew/gem/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: brew-gem
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nick Sieger
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-05-
|
11
|
+
date: 2016-05-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|