rspectacular 0.22.1 → 0.22.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fd7871c2fbf168675dfc03614d1e98dae20475f2
4
- data.tar.gz: 8a80d68326d13d3e974497a97456e6de47ebd807
3
+ metadata.gz: ac997e50d9b3ae271885569ae0b5d8c4a01cd883
4
+ data.tar.gz: 3494db0f2430b472f57781b3a759f31b355a2560
5
5
  SHA512:
6
- metadata.gz: 7dba8eafcc1456e7b5601a96ee5be239972c65169b5ac392ba70ba768c6385f1c6af368a680b31a68e6e09af5e2edefc91632c2a563361f087d1e0851908595c
7
- data.tar.gz: 820096dd7d9fe49e011bb1e965c50a6a753e4d0502575c52f426ad1f17fed97d2e659ea03bbd24038b25db8781cbaed5a3600709b634e44115eeafe4165f6621
6
+ metadata.gz: 19619cbaff671a2ec1ab069f45c9d46684d07e884a320a7777a77c306c009543d0c12da65f9aa0c0a86a6c3514f8ff0b59505d7db87cc95e78c1ee95e3cb1d8c
7
+ data.tar.gz: 3bda1cbf2b39594c3ae60c17a05ec093676ed35c750d013e68d9d0620c9f0eb5e627aef4441dcfd847056ef64f2bb1190823bc98c605d52379e6333a9705e0c5
@@ -2,10 +2,13 @@
2
2
  # Shoulda Plugin
3
3
  ##############################################################################
4
4
 
5
- if defined? RSpec::Rails
6
- begin
7
- require 'shoulda-matchers'
5
+ begin
6
+ require 'shoulda-matchers'
7
+ rescue LoadError
8
+ end
8
9
 
10
+ if defined? Shoulda
11
+ if defined? RSpec::Rails
9
12
  module ShouldaRoutingMatchers
10
13
  def route(method, path)
11
14
  Shoulda::Matchers::ActionController::RouteMatcher.new(method, path, self)
@@ -19,6 +22,5 @@ if defined? RSpec::Rails
19
22
  end
20
23
  end
21
24
  end
22
- rescue LoadError
23
25
  end
24
26
  end
@@ -1,3 +1,3 @@
1
1
  module RSpectacular
2
- VERSION = '0.22.1'
2
+ VERSION = '0.22.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspectacular
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.22.1
4
+ version: 0.22.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - jfelchner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-27 00:00:00.000000000 Z
11
+ date: 2014-03-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec