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: cbf466af0152a14ef3bc8c347801fde6920ed6e9
4
- data.tar.gz: 376e2f08164ead08c9c45b40dbb905059b3604c3
3
+ metadata.gz: 29c1c209fa47ee1227c9385fdb0381a81eda028f
4
+ data.tar.gz: 8e7c6a833de4df42900de5e57fa48b1bc7ce4590
5
5
  SHA512:
6
- metadata.gz: fb509c9eadc232566f2e7cd186ae526f3985c22afc507a3f4773236155ed9e173e0858b1125186831897fa75571d7c477d87e91a07052e6c30390cf9f30faa60
7
- data.tar.gz: bf36d933af302a1f19266b148631c7c023ae855433bfa3e888e88f11287048bac924e221cb2e30c0d0ea7ce2e340098611e4b3b80e1365747cf67ea00e86c052
6
+ metadata.gz: ea8a1a387419691c5ade0edb948b331415aa4b4e56bfbcf24cb51144d3f1c7f8b2a2a429b2d0d1cac7e8177357084336bba42eaf23a8a5e7d4ddc6677e3b20af
7
+ data.tar.gz: 99ce1c09c14adbe4a14291a7bef9551172a84c694e856b13e028069ede03aef6a9eefb052a4c360b14ef0faff11aa93210df536cf160dac186b9d07498a3cb69
data/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Changelog
2
2
 
3
- ## 2.0.0.alpha
3
+ ## 2.0.0
4
4
 
5
5
  Update the entire library to support RSpec 3. Most of the updates are purely
6
6
  internal, but there are a few changes that are not backward compatible to be
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
- @actual.invalid? && attributes_have_errors?
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
@@ -2,6 +2,6 @@
2
2
 
3
3
  module RSpec
4
4
  module SleepingKingStudios
5
- VERSION = '2.0.0.alpha'
5
+ VERSION = '2.0.0.beta.0'
6
6
  end # module
7
7
  end # module
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.alpha
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-06-18 00:00:00.000000000 Z
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.1
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: