brewbygems 0.1 → 0.2.0

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.
data/Rakefile CHANGED
@@ -1,14 +1,13 @@
1
1
  begin
2
2
  require 'jeweler'
3
- Jeweler::Tasks.new do |gemspec|
4
- gemspec.name = "brewbygems"
5
- gemspec.version = "0.1"
6
- gemspec.summary = "Makes sure RubyGems plays nice with Homebrew"
7
- gemspec.description = "Adds RubyGems post-install and post-uninstall hooks to update Homebrew bin/ symlinks"
3
+ Jeweler::Tasks.new do |gem|
4
+ gem.name = "brewbygems"
5
+ gem.summary = "Makes sure RubyGems plays nice with Homebrew"
6
+ gem.description = "Adds RubyGems post-install and post-uninstall hooks to update Homebrew bin/ symlinks"
8
7
 
9
- gemspec.authors = ["Andre Arko"]
10
- gemspec.email = "andre@arko.net"
11
- gemspec.homepage = "http://github.com/indirect/brewbygems"
8
+ gem.authors = ["Andre Arko"]
9
+ gem.email = "andre@arko.net"
10
+ gem.homepage = "http://github.com/indirect/brewbygems"
12
11
  end
13
12
  Jeweler::GemcutterTasks.new
14
13
  rescue LoadError
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.2.0
data/brewbygems.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{brewbygems}
8
- s.version = "0.1"
8
+ s.version = "0.2.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Andre Arko"]
12
- s.date = %q{2009-12-04}
12
+ s.date = %q{2009-12-07}
13
13
  s.description = %q{Adds RubyGems post-install and post-uninstall hooks to update Homebrew bin/ symlinks}
14
14
  s.email = %q{andre@arko.net}
15
15
  s.extra_rdoc_files = [
@@ -19,6 +19,7 @@ Gem::Specification.new do |s|
19
19
  ".gitignore",
20
20
  "README.md",
21
21
  "Rakefile",
22
+ "VERSION",
22
23
  "brewbygems.gemspec",
23
24
  "lib/rubygems_plugin.rb"
24
25
  ]
@@ -1,11 +1,11 @@
1
1
  Gem::post_install do |installer|
2
2
  unless system("brew link gems")
3
3
  puts "brewbygems: Sorry, you don't seem to have Homebrew installed."
4
- end
4
+ end if installer.spec.executables.any?
5
5
  end
6
6
 
7
7
  Gem::post_uninstall do |installer|
8
8
  unless system("brew prune")
9
9
  puts "brewbygems: Sorry, you don't seem to have Homebrew installed."
10
- end
10
+ end if installer.spec.executables.any?
11
11
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brewbygems
3
3
  version: !ruby/object:Gem::Version
4
- version: "0.1"
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andre Arko
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-12-04 00:00:00 -08:00
12
+ date: 2009-12-07 00:00:00 -08:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -25,6 +25,7 @@ files:
25
25
  - .gitignore
26
26
  - README.md
27
27
  - Rakefile
28
+ - VERSION
28
29
  - brewbygems.gemspec
29
30
  - lib/rubygems_plugin.rb
30
31
  has_rdoc: true