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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 96c01f22b3ebabd8305d2b947350974d7acfbf51
4
- data.tar.gz: d5db41babefd12d974777d46ea8c9c9e792294ce
3
+ metadata.gz: 1bfe681f526721f857c78c0b6ccca414d9ab04b8
4
+ data.tar.gz: abbf3b45909ef480c7b4bfe30a8f0c6f6c3593fe
5
5
  SHA512:
6
- metadata.gz: 2f2aa9b9fa41734205774ada718f6d5dbcfe037a8f2af7bbfb2cd721c6e9ed1410780d5388d120aff5840a7d6a784189f029ce6fe01b5492f11faa3d3d42c063
7
- data.tar.gz: 98d6c6adbf8e2ff28ff390f5d5cba618fb99cef8a89040421fe920c775c1439bb7723d04678d60c4426508c46e344c870d248a5d0930e54757715b8f1367d485
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
- Include `default_value_for/matchers` in your `rails_helper.rb`:
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
 
@@ -18,5 +18,7 @@ Gem::Specification.new do |s|
18
18
  s.add_dependency 'default_value_for'
19
19
  s.add_dependency 'rspec'
20
20
 
21
+ s.add_development_dependency 'rails'
22
+ s.add_development_dependency 'rake'
21
23
  s.add_development_dependency 'sqlite3'
22
24
  end
@@ -1,5 +1,5 @@
1
1
  module DefaultValueFor
2
2
  module Matchers
3
- VERSION = '0.1.1'
3
+ VERSION = '0.2.0'
4
4
  end
5
5
  end
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.1.1
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