echoe 4.3 → 4.3.1

Sign up to get free protection for your applications and to get access to all the features.
data.tar.gz.sig CHANGED
Binary file
data/CHANGELOG CHANGED
@@ -1,3 +1,4 @@
1
+ v4.3.1. Don't stop if gemcutter's plugin cannot be loaded, don't define RSpec tasks if RSpec is not present (Flameeyes). Use Dir.tmpdir.
1
2
 
2
3
  v4.3. Don't use sudo if the GEM_HOME is local. Support prerelease gem versions.
3
4
 
data/echoe.gemspec CHANGED
@@ -2,12 +2,12 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{echoe}
5
- s.version = "4.3"
5
+ s.version = "4.3.1"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Evan Weaver"]
9
9
  s.cert_chain = ["/Users/eweaver/p/configuration/gem_certificates/evan_weaver-original-public_cert.pem"]
10
- s.date = %q{2010-03-07}
10
+ s.date = %q{2010-05-01}
11
11
  s.description = %q{A Rubygems packaging tool that provides Rake tasks for documentation, extension compiling, testing, and deployment.}
12
12
  s.email = %q{}
13
13
  s.extra_rdoc_files = ["CHANGELOG", "LICENSE", "README", "TODO", "lib/echoe.rb", "lib/echoe/extensions.rb", "lib/echoe/platform.rb", "lib/echoe/rubygems.rb"]
data/lib/echoe.rb CHANGED
@@ -23,7 +23,11 @@ require 'rubyforge'
23
23
  Echoe.silence { require 'rubygems/specification' }
24
24
 
25
25
  require "#{$HERE}/echoe/rubygems"
26
- require 'rubygems_plugin'
26
+ begin
27
+ gem 'gemcutter'
28
+ require 'rubygems_plugin'
29
+ rescue Gem::LoadError
30
+ end
27
31
 
28
32
  begin; require 'rcov/rcovtask'; rescue LoadError; end
29
33
  begin; require 'load_multi_rails_rake_tasks'; rescue LoadError; end
@@ -599,7 +603,7 @@ private
599
603
  desc 'Generate a release announcement, edit it, and post it to Rubyforge.'
600
604
  task :announce do
601
605
 
602
- filename = "/tmp/#{name}_#{version}_announcement.txt"
606
+ filename = "#{Dir.tmpdir}/#{name}_#{version}_announcement.txt"
603
607
 
604
608
  if File.exist?(filename)
605
609
  puts "Announcement file already exists. Please delete #{filename.inspect} first."
@@ -723,7 +727,7 @@ private
723
727
  task :default => :test
724
728
  end
725
729
 
726
- if spec_pattern.any?
730
+ if defined? Spec and spec_pattern.any?
727
731
  desc "Run the spec suite"
728
732
  Spec::Rake::SpecTask.new('spec') do |t|
729
733
  t.spec_files = spec_pattern
@@ -14,8 +14,8 @@ class Echoe
14
14
  def self.silence
15
15
  if !ENV['VERBOSE']
16
16
  stdout, stderr = $stdout.clone, $stderr.clone
17
- $stdout.reopen(File.new('/tmp/stdout.echoe', 'w'))
18
- $stderr.reopen(File.new('/tmp/stderr.echoe', 'w'))
17
+ $stdout.reopen(File.new("#{Dir.tmpdir}/stdout.echoe", 'w'))
18
+ $stderr.reopen(File.new("#{Dir.tmpdir}/stderr.echoe", 'w'))
19
19
  begin
20
20
  yield
21
21
  ensure
metadata CHANGED
@@ -5,7 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 4
7
7
  - 3
8
- version: "4.3"
8
+ - 1
9
+ version: 4.3.1
9
10
  platform: ruby
10
11
  authors:
11
12
  - Evan Weaver
@@ -34,7 +35,7 @@ cert_chain:
34
35
  yZ0=
35
36
  -----END CERTIFICATE-----
36
37
 
37
- date: 2010-03-07 00:00:00 -08:00
38
+ date: 2010-05-01 00:00:00 -07:00
38
39
  default_executable:
39
40
  dependencies:
40
41
  - !ruby/object:Gem::Dependency
metadata.gz.sig CHANGED
Binary file