rspec-instafail 0.1.5 → 0.1.6

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/Readme.md CHANGED
@@ -41,6 +41,7 @@ Authors
41
41
  - [Matthew Willhite](http://github.com/miwillhite)
42
42
  - [Jeff Kreeftmeijer](http://jeffkreeftmeijer.com)
43
43
  - [Steve Tooke](http://tooky.github.com)
44
+ - [Josh Ellithorpe](https://github.com/zquestz)
44
45
 
45
46
 
46
47
  [Michael Grosser](http://pragmatig.wordpress.com)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.5
1
+ 0.1.6
@@ -1,8 +1,11 @@
1
1
  module RSpec
2
+ # when installed as plugin in jruby, lib is not in load-path
3
+ # https://github.com/grosser/rspec-instafail/pull/3
4
+ lib = File.dirname(File.dirname(__FILE__))
2
5
  begin
3
- require 'rspec/instafail/rspec_2'
6
+ require "#{lib}/rspec/instafail/rspec_2"
4
7
  rescue LoadError # try rspec 1
5
- require 'rspec/instafail/rspec_1'
8
+ require "#{lib}/rspec/instafail/rspec_1"
6
9
  end
7
10
 
8
11
  Instafail::VERSION = File.read( File.join(File.dirname(__FILE__),'..','..','VERSION') ).strip
@@ -1,45 +1,43 @@
1
1
  # Generated by jeweler
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{rspec-instafail}
8
- s.version = "0.1.5"
8
+ s.version = "0.1.6"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Michael Grosser"]
12
- s.date = %q{2010-11-29}
12
+ s.date = %q{2011-01-25}
13
13
  s.email = %q{grosser.michael@gmail.com}
14
14
  s.files = [
15
15
  "Rakefile",
16
- "Readme.md",
17
- "VERSION",
18
- "lib/rspec/instafail.rb",
19
- "lib/rspec/instafail/rspec_1.rb",
20
- "lib/rspec/instafail/rspec_2.rb",
21
- "rspec-instafail.gemspec",
22
- "spec/instafail_spec.rb",
23
- "spec/rspec_1/Gemfile",
24
- "spec/rspec_1/Gemfile.lock",
25
- "spec/rspec_1/a_test.rb",
26
- "spec/rspec_2/Gemfile",
27
- "spec/rspec_2/Gemfile.lock",
28
- "spec/rspec_2/a_test.rb"
16
+ "Readme.md",
17
+ "VERSION",
18
+ "lib/rspec/instafail.rb",
19
+ "lib/rspec/instafail/rspec_1.rb",
20
+ "lib/rspec/instafail/rspec_2.rb",
21
+ "rspec-instafail.gemspec",
22
+ "spec/instafail_spec.rb",
23
+ "spec/rspec_1/Gemfile",
24
+ "spec/rspec_1/Gemfile.lock",
25
+ "spec/rspec_1/a_test.rb",
26
+ "spec/rspec_2/Gemfile",
27
+ "spec/rspec_2/Gemfile.lock",
28
+ "spec/rspec_2/a_test.rb"
29
29
  ]
30
30
  s.homepage = %q{http://github.com/grosser/rspec-instafail}
31
- s.rdoc_options = ["--charset=UTF-8"]
32
31
  s.require_paths = ["lib"]
33
- s.rubygems_version = %q{1.3.7}
32
+ s.rubygems_version = %q{1.4.2}
34
33
  s.summary = %q{Show failing specs instantly}
35
34
  s.test_files = [
35
+ "spec/instafail_spec.rb",
36
36
  "spec/rspec_1/a_test.rb",
37
- "spec/rspec_2/a_test.rb",
38
- "spec/instafail_spec.rb"
37
+ "spec/rspec_2/a_test.rb"
39
38
  ]
40
39
 
41
40
  if s.respond_to? :specification_version then
42
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
43
41
  s.specification_version = 3
44
42
 
45
43
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-instafail
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
5
- prerelease: false
4
+ hash: 23
5
+ prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 5
10
- version: 0.1.5
9
+ - 6
10
+ version: 0.1.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Michael Grosser
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-11-29 00:00:00 +01:00
18
+ date: 2011-01-25 00:00:00 +01:00
19
19
  default_executable:
20
20
  dependencies: []
21
21
 
@@ -47,8 +47,8 @@ homepage: http://github.com/grosser/rspec-instafail
47
47
  licenses: []
48
48
 
49
49
  post_install_message:
50
- rdoc_options:
51
- - --charset=UTF-8
50
+ rdoc_options: []
51
+
52
52
  require_paths:
53
53
  - lib
54
54
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -72,11 +72,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
72
72
  requirements: []
73
73
 
74
74
  rubyforge_project:
75
- rubygems_version: 1.3.7
75
+ rubygems_version: 1.4.2
76
76
  signing_key:
77
77
  specification_version: 3
78
78
  summary: Show failing specs instantly
79
79
  test_files:
80
+ - spec/instafail_spec.rb
80
81
  - spec/rspec_1/a_test.rb
81
82
  - spec/rspec_2/a_test.rb
82
- - spec/instafail_spec.rb