Permalink
Browse files

! Fix how rspec matchers are loaded.

  • Loading branch information...
1 parent e771a0a commit 2c2c2cc9472c581e29658c50c093ea3091d749c3 @floere committed Jan 29, 2014
Showing with 13 additions and 2 deletions.
  1. +6 −0 CHANGELOG.md
  2. +6 −1 client/lib/picky-client/spec/support/matchers/have_categories.rb
  3. +1 −1 version.rb
View
@@ -1,3 +1,9 @@
+## 4.19.7
+
+###### [Client](https://github.com/floere/picky/tree/master/client)
+
+- Fix rspec matcher loading.
+
## 4.19.6
- Loosen gem restrictions on activesupport.
@@ -1,4 +1,9 @@
-require 'rspec/matchers' rescue nil
+begin
+ require 'rspec/matchers'
+rescue LoadError
+
+end
+
if defined? RSpec::Matchers
RSpec::Matchers.define :have_categories do |*expected|
View
@@ -1,3 +1,3 @@
module Picky
- VERSION = '4.19.6'
+ VERSION = '4.19.7'
end

0 comments on commit 2c2c2cc

Please sign in to comment.