echoe 2.7.4 → 2.7.5

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,6 +1,8 @@
1
1
 
2
2
  vSVN. support compiling without extension registration for win32 and java targets.
3
3
 
4
+ v2.7.5. Fix bug when MultiRails isn't installed; remove "test" from platform targets.
5
+
4
6
  v2.7.4. Ensured teardown.rb just like setup.rb. Load multi_rails automatically if its available. ENV['VERBOSE'] obeyed for Echoe.silence.
5
7
 
6
8
  v2.7.3. Put some handy things in lib/echoe/extensions.rb; use Rake::TestTask instead of screwing around in the shell. Automatically run test/setup.rb before the test task, if it exists.
@@ -197,14 +197,14 @@ class Echoe
197
197
  self.include_rakefile = false
198
198
  self.include_gemspec = true
199
199
  self.gemspec_name = "#{name}.gemspec"
200
-
200
+
201
201
  yield self if block_given?
202
202
 
203
203
  # legacy compatibility
204
204
  self.dependencies = extra_deps if extra_deps and dependencies.empty?
205
205
  self.project = rubyforge_name if rubyforge_name
206
206
  self.rdoc_pattern = rdoc_files if rdoc_files
207
- self.extension_pattern = extensions if extensions
207
+ self.extension_pattern = extensions if extensions
208
208
 
209
209
  # read manifest
210
210
  begin
@@ -618,7 +618,7 @@ class Echoe
618
618
  ### Testing
619
619
 
620
620
  Rake::TestTask.new(:test_inner) do |t|
621
- t.libs += ['lib', 'ext', 'bin', 'test']
621
+ t.libs = ['lib', 'ext', 'bin', 'test']
622
622
  t.test_files = test_pattern
623
623
  t.verbose = true
624
624
  end
@@ -631,8 +631,12 @@ class Echoe
631
631
  end
632
632
  end
633
633
  begin
634
- Rake::Task[:test_inner].already_invoked = false
635
- Rake::Task[:test_inner].invoke
634
+ test = Rake::Task[:test_inner]
635
+ if test.respond_to? :already_invoked=
636
+ # Method provided by MultiRails
637
+ test.already_invoked = false
638
+ end
639
+ test.invoke
636
640
  ensure
637
641
  if File.exist? 'test/teardown.rb'
638
642
  Echoe.silence do
@@ -6,7 +6,7 @@ module Gem
6
6
 
7
7
  alias :old_validate :validate
8
8
 
9
- PLATFORM_CROSS_TARGETS = ["aix", "cygwin", "darwin", "freebsd", "hpux", "java", "linux", "mingw", "mswin", "netbsdelf", "openbsd", "solaris", "test", "_platform", "jruby"]
9
+ PLATFORM_CROSS_TARGETS = ["aix", "cygwin", "darwin", "freebsd", "hpux", "java", "linux", "mingw", "mswin", "netbsdelf", "openbsd", "solaris", "_platform", "jruby"]
10
10
 
11
11
  def validate
12
12
  begin
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: echoe
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.7.4
4
+ version: 2.7.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Evan Weaver
@@ -30,7 +30,7 @@ cert_chain:
30
30
  yZ0=
31
31
  -----END CERTIFICATE-----
32
32
 
33
- date: 2007-12-13 00:00:00 -05:00
33
+ date: 2007-12-15 00:00:00 -05:00
34
34
  default_executable:
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
metadata.gz.sig CHANGED
Binary file