rspec-sleeping_king_studios 2.0.0.alpha → 2.0.0.beta.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 29c1c209fa47ee1227c9385fdb0381a81eda028f
|
4
|
+
data.tar.gz: 8e7c6a833de4df42900de5e57fa48b1bc7ce4590
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ea8a1a387419691c5ade0edb948b331415aa4b4e56bfbcf24cb51144d3f1c7f8b2a2a429b2d0d1cac7e8177357084336bba42eaf23a8a5e7d4ddc6677e3b20af
|
7
|
+
data.tar.gz: 99ce1c09c14adbe4a14291a7bef9551172a84c694e856b13e028069ede03aef6a9eefb052a4c360b14ef0faff11aa93210df536cf160dac186b9d07498a3cb69
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,9 @@
|
|
1
|
-
# RSpec::SleepingKingStudios
|
1
|
+
# RSpec::SleepingKingStudios [![Build Status](https://travis-ci.org/sleepingkingstudios/rspec-sleeping_king_studios.svg?branch=master)](https://travis-ci.org/sleepingkingstudios/rspec-sleeping_king_studios)
|
2
2
|
|
3
|
-
A collection of matchers and extensions to ease TDD/BDD using RSpec.
|
3
|
+
A collection of matchers and extensions to ease TDD/BDD using RSpec. Extends
|
4
|
+
built-in matchers with new functionality, such as support for Ruby 2.0+ keyword
|
5
|
+
arguments, and adds new matchers for testing boolean-ness, object reader/writer
|
6
|
+
properties, object constructor arguments, ActiveModel validations, and more.
|
4
7
|
|
5
8
|
## Supported Ruby Versions
|
6
9
|
|
@@ -34,7 +34,7 @@ module RSpec::SleepingKingStudios::Matchers::ActiveModel
|
|
34
34
|
|
35
35
|
return false unless @validates = actual.respond_to?(:valid?)
|
36
36
|
|
37
|
-
|
37
|
+
!@actual.valid? && attributes_have_errors?
|
38
38
|
end # method matches?
|
39
39
|
|
40
40
|
# Adds an error expectation. If the actual object does not have an error on
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-sleeping_king_studios
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.0.
|
4
|
+
version: 2.0.0.beta.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rob "Merlin" Smith
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-07-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -24,6 +24,20 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '3.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10.3'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.3'
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: activemodel
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -57,6 +71,9 @@ dependencies:
|
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
58
72
|
requirements:
|
59
73
|
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0.9'
|
76
|
+
- - ">="
|
60
77
|
- !ruby/object:Gem::Version
|
61
78
|
version: 0.9.12
|
62
79
|
type: :development
|
@@ -64,6 +81,9 @@ dependencies:
|
|
64
81
|
version_requirements: !ruby/object:Gem::Requirement
|
65
82
|
requirements:
|
66
83
|
- - "~>"
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: '0.9'
|
86
|
+
- - ">="
|
67
87
|
- !ruby/object:Gem::Version
|
68
88
|
version: 0.9.12
|
69
89
|
description: |2
|
@@ -129,9 +149,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
129
149
|
version: 1.3.1
|
130
150
|
requirements: []
|
131
151
|
rubyforge_project:
|
132
|
-
rubygems_version: 2.2.
|
152
|
+
rubygems_version: 2.2.2
|
133
153
|
signing_key:
|
134
154
|
specification_version: 4
|
135
155
|
summary: A collection of RSpec patches and custom matchers.
|
136
156
|
test_files: []
|
137
|
-
has_rdoc:
|