bc-rspec-matchers 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -13,7 +13,7 @@ Gem::Specification.new do |gem|
13
13
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
14
14
  gem.name = "bc-rspec-matchers"
15
15
  gem.require_paths = ["lib"]
16
- gem.version = Bc::Rspec::Matchers::VERSION
16
+ gem.version = Bc::RSpec::Matchers::VERSION
17
17
 
18
18
  gem.add_development_dependency "rake"
19
19
  gem.add_development_dependency "ruby-debug"
@@ -8,12 +8,14 @@ module Bc
8
8
  @pattern = pattern
9
9
  end
10
10
 
11
- def matches?(actual)
11
+ def matches?(actual) # uses failure_message_for_should
12
12
  @actual = actual
13
13
 
14
14
  is_match(@actual, @pattern)
15
15
  end
16
16
 
17
+ # does_not_maches?(actual) # uses failure_message_for_should_not
18
+
17
19
  def description
18
20
  "match to #{@pattern.inspect}"
19
21
  end
@@ -1,7 +1,7 @@
1
1
  module Bc
2
- module Rspec
2
+ module RSpec
3
3
  module Matchers
4
- VERSION = "0.0.1"
4
+ VERSION = "0.0.2"
5
5
  end
6
6
  end
7
7
  end
@@ -1,10 +1,4 @@
1
- require "bc-rspec-matchers/version"
1
+ $:.unshift(File.dirname(__FILE__))
2
2
 
3
+ require "bc-rspec-matchers/version"
3
4
  require "bc-rspec-matchers/data_structure"
4
-
5
- module Bc
6
- module RSpec
7
- module Matchers
8
- end
9
- end
10
- end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bc-rspec-matchers
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 1
10
- version: 0.0.1
9
+ - 2
10
+ version: 0.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Byclosure