rspec-instafail 0.2.0 → 0.2.1

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/Rakefile CHANGED
@@ -16,6 +16,8 @@ rule /^version:bump:.*/ do |t|
16
16
  version_file = File.read(file)
17
17
  old_version, *version_parts = version_file.match(/(\d+)\.(\d+)\.(\d+)/).to_a
18
18
  version_parts[index] = version_parts[index].to_i + 1
19
+ version_parts[2] = 0 if index < 2
20
+ version_parts[1] = 0 if index < 1
19
21
  new_version = version_parts * '.'
20
22
  File.open(file,'w'){|f| f.write(version_file.sub(old_version, new_version)) }
21
23
 
data/Readme.md CHANGED
@@ -44,6 +44,7 @@ Authors
44
44
  - [Josh Ellithorpe](https://github.com/zquestz)
45
45
  - [Raphael Sofaer](https://github.com/rsofaer)
46
46
  - [Mike Mazur](https://github.com/mikem)
47
+ - [vernonR2](https://github.com/vernonR2)
47
48
 
48
49
  [Michael Grosser](http://grosser.it)<br/>
49
50
  michael@grosser.it<br/>
@@ -4,11 +4,11 @@ module RSpec
4
4
  lib = File.expand_path(File.dirname(File.dirname(__FILE__)))
5
5
  $LOAD_PATH << lib unless $LOAD_PATH.include?(lib)
6
6
 
7
- require 'rspec/instafail/version'
8
-
9
7
  begin
10
8
  require "rspec/instafail/rspec_2"
11
9
  rescue LoadError # try rspec 1
12
10
  require "rspec/instafail/rspec_1"
13
11
  end
12
+
13
+ require 'rspec/instafail/version'
14
14
  end
@@ -1,2 +1,2 @@
1
1
  require 'rspec/instafail'
2
- RSpec::Instafail::VERSION = '0.2.0'
2
+ RSpec::Instafail::VERSION = '0.2.1'
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: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 0
10
- version: 0.2.0
9
+ - 1
10
+ version: 0.2.1
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: 2011-11-21 00:00:00 -08:00
18
+ date: 2011-11-22 00:00:00 -08:00
19
19
  default_executable:
20
20
  dependencies: []
21
21