default_value_for-matchers 0.1.1 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -7
- data/default_value_for-matchers.gemspec +2 -0
- data/lib/default_value_for/matchers/version.rb +1 -1
- metadata +29 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1bfe681f526721f857c78c0b6ccca414d9ab04b8
|
4
|
+
data.tar.gz: abbf3b45909ef480c7b4bfe30a8f0c6f6c3593fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a7b82fb315e376d5e58780eaca8aecad6ec78c15d310ef1882b47f6f6caa3dbc65c6baa8ef4c913e8c0ac468c930105462821f8be50699434efba103ea3649cb
|
7
|
+
data.tar.gz: 0aec3cf645a628bc726ffe956ccf24afff9df0374b7d5396568bb4d519c757183714dc71b424446e39e17993f817abc912ee65df8817e2cb3b1a8f6e693a75bc
|
data/README.md
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
# default_value_for-matchers
|
2
2
|
|
3
|
+
[![Build Status](https://travis-ci.org/kami30k/default_value_for-matchers.svg)](https://travis-ci.org/kami30k/default_value_for-matchers)
|
3
4
|
[![Gem Version](https://badge.fury.io/rb/default_value_for-matchers.svg)](http://badge.fury.io/rb/default_value_for-matchers)
|
4
5
|
|
5
6
|
This gem is a RSpec matchers for [default_value_for](https://github.com/FooBarWidget/default_value_for) gem.
|
@@ -22,13 +23,7 @@ $ bundle
|
|
22
23
|
|
23
24
|
## Usage
|
24
25
|
|
25
|
-
|
26
|
-
|
27
|
-
```ruby
|
28
|
-
require 'default_value_for/matchers'
|
29
|
-
```
|
30
|
-
|
31
|
-
Then you can use `have_default_value_for` matcher and `with_value`, `and_allow_nil` and `and_disallow_nil` submatchers.
|
26
|
+
You can use `have_default_value_for` matcher and `with_value`, `and_allow_nil`, `and_disallow_nil` submatchers.
|
32
27
|
|
33
28
|
For example:
|
34
29
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: default_value_for-matchers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- kami
|
@@ -38,6 +38,34 @@ dependencies:
|
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rails
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rake
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
41
69
|
- !ruby/object:Gem::Dependency
|
42
70
|
name: sqlite3
|
43
71
|
requirement: !ruby/object:Gem::Requirement
|