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 +4 -4
- data/lib/rspectacular/plugins/shoulda.rb +6 -4
- data/lib/rspectacular/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ac997e50d9b3ae271885569ae0b5d8c4a01cd883
|
4
|
+
data.tar.gz: 3494db0f2430b472f57781b3a759f31b355a2560
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 19619cbaff671a2ec1ab069f45c9d46684d07e884a320a7777a77c306c009543d0c12da65f9aa0c0a86a6c3514f8ff0b59505d7db87cc95e78c1ee95e3cb1d8c
|
7
|
+
data.tar.gz: 3bda1cbf2b39594c3ae60c17a05ec093676ed35c750d013e68d9d0620c9f0eb5e627aef4441dcfd847056ef64f2bb1190823bc98c605d52379e6333a9705e0c5
|
@@ -2,10 +2,13 @@
|
|
2
2
|
# Shoulda Plugin
|
3
3
|
##############################################################################
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
|
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
|
data/lib/rspectacular/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2014-03-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|