dchelimsky-rspec 1.1.99.8 → 1.1.99.9

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/History.txt CHANGED
@@ -13,6 +13,11 @@ WARNINGS:
13
13
 
14
14
  * you can still use setup/teardown if you're using Test::Unit::TestCase as
15
15
  the base ExampleGroup class (which is implicit in rspec-rails)
16
+
17
+ * All references to rubygems have been removed from within rspec's code.
18
+
19
+ * See Ryan Tomayko's http://gist.github.com/54177 for rationale and
20
+ suggestions on alternative approaches to loading rubygems
16
21
 
17
22
  * deprecations
18
23
 
@@ -3,7 +3,6 @@
3
3
  # Created by Jim Weirich on 2007-04-10.
4
4
  # Copyright (c) 2007. All rights reserved.
5
5
 
6
- require 'rubygems'
7
6
  require 'flexmock/rspec'
8
7
 
9
8
  module Spec
@@ -1,4 +1,3 @@
1
- require 'rubygems'
2
1
  require 'mocha/standalone'
3
2
  require 'mocha/object'
4
3
 
@@ -1,4 +1,3 @@
1
- require 'rubygems'
2
1
  require 'rr'
3
2
 
4
3
  patterns = ::Spec::Runner::QuietBacktraceTweaker::IGNORE_PATTERNS
@@ -1,5 +1,4 @@
1
1
  begin
2
- require 'rubygems'
3
2
  require 'diff/lcs' #necessary due to loading bug on some machines - not sure why - DaC
4
3
  require 'diff/lcs/hunk'
5
4
  rescue LoadError ; raise "You must gem install diff-lcs to use diffing" ; end
@@ -48,7 +48,6 @@ module Spec
48
48
  # This task can also be used to run existing Test::Unit tests and get RSpec
49
49
  # output, for example like this:
50
50
  #
51
- # require 'rubygems'
52
51
  # require 'spec/rake/spectask'
53
52
  # Spec::Rake::SpecTask.new do |t|
54
53
  # t.ruby_opts = ['-rtest/unit']
@@ -4,7 +4,7 @@ module Spec
4
4
  # This class extracts code snippets by looking at the backtrace of the passed error
5
5
  class SnippetExtractor #:nodoc:
6
6
  class NullConverter; def convert(code, pre); code; end; end #:nodoc:
7
- begin; require 'rubygems'; require 'syntax/convertors/html'; @@converter = Syntax::Convertors::HTML.for_syntax "ruby"; rescue LoadError => e; @@converter = NullConverter.new; end
7
+ begin; require 'syntax/convertors/html'; @@converter = Syntax::Convertors::HTML.for_syntax "ruby"; rescue LoadError => e; @@converter = NullConverter.new; end
8
8
 
9
9
  def snippet(error)
10
10
  raw_code, line = snippet_for(error.backtrace[0])
@@ -1,6 +1,5 @@
1
1
  if Spec::Ruby.version.to_f < 1.9
2
2
  begin
3
- require 'rubygems'
4
3
  require 'heckle'
5
4
  rescue LoadError ; raise "You must gem install heckle to use --heckle" ; end
6
5
 
@@ -142,7 +142,6 @@ module Spec
142
142
  if @colour && RUBY_PLATFORM =~ /mswin|mingw/ ;\
143
143
  begin ;\
144
144
  replace_output = @output_stream.equal?($stdout) ;\
145
- require 'rubygems' ;\
146
145
  require 'Win32/Console/ANSI' ;\
147
146
  @output_stream = $stdout if replace_output ;\
148
147
  rescue LoadError ;\
data/lib/spec/version.rb CHANGED
@@ -4,7 +4,7 @@ module Spec
4
4
  MAJOR = 1
5
5
  MINOR = 1
6
6
  TINY = 99
7
- MINESCULE = 8
7
+ MINESCULE = 9
8
8
 
9
9
 
10
10
  STRING = [MAJOR, MINOR, TINY, MINESCULE].compact.join('.')
data/rspec.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{rspec}
5
- s.version = "1.1.99.8"
5
+ s.version = "1.1.99.9"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["RSpec Development Team"]
9
- s.date = %q{2009-02-23}
9
+ s.date = %q{2009-02-24}
10
10
  s.description = %q{Behaviour Driven Development for Ruby.}
11
11
  s.email = ["rspec-devel@rubyforge.org"]
12
12
  s.executables = ["autospec", "spec"]
@@ -18,7 +18,7 @@ Gem::Specification.new do |s|
18
18
  s.require_paths = ["lib"]
19
19
  s.rubyforge_project = %q{rspec}
20
20
  s.rubygems_version = %q{1.3.1}
21
- s.summary = %q{rspec 1.1.99.8}
21
+ s.summary = %q{rspec 1.1.99.9}
22
22
 
23
23
  if s.respond_to? :specification_version then
24
24
  current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
@@ -1,4 +1,3 @@
1
- require "rubygems"
2
1
  require 'autotest'
3
2
  dir = File.dirname(__FILE__)
4
3
  require File.expand_path("#{dir}/../spec_helper")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dchelimsky-rspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.99.8
4
+ version: 1.1.99.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - RSpec Development Team
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-02-23 00:00:00 -08:00
12
+ date: 2009-02-24 00:00:00 -08:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -416,6 +416,6 @@ rubyforge_project: rspec
416
416
  rubygems_version: 1.2.0
417
417
  signing_key:
418
418
  specification_version: 2
419
- summary: rspec 1.1.99.8
419
+ summary: rspec 1.1.99.9
420
420
  test_files: []
421
421