validation_examples_matcher 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.travis.yml +3 -2
- data/CHANGELOG.md +12 -4
- data/LICENSE.txt +1 -1
- data/README.md +3 -3
- data/lib/validation_examples_matcher/version.rb +1 -1
- data/validation_examples_matcher.gemspec +8 -8
- metadata +20 -20
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 42ddfa8cea3f3f87663e87c6b7f00a763a6a3ce3
|
|
4
|
+
data.tar.gz: f4a29bee6ae425ba212cb45fab649e7818a87292
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e0c6dd3c866cbfbccd550f14afb268e003d04d5a32a918ea7808404f0508ab173c7e372e90584b80972f43d500b8ee0feb6196297ab942f83cc02403e559a8ba
|
|
7
|
+
data.tar.gz: 29a7ebc1d41d9ab354c29b5677b8f2ff9aba1ca52b35dc4ce92a0a7b6c81a55d3905989ea7fb540068d078249f0e5273b6c8cafab4b98c201c7f019f9d93299b
|
data/.travis.yml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
language: ruby
|
|
2
2
|
rvm:
|
|
3
|
-
- 2.3.
|
|
3
|
+
- 2.3.1
|
|
4
4
|
- 2.2.4
|
|
5
5
|
- 2.1.8
|
|
6
6
|
- 2.0.0
|
|
@@ -10,4 +10,5 @@ env:
|
|
|
10
10
|
- RSPEC_VERSION=3.2.0
|
|
11
11
|
- RSPEC_VERSION=3.3.0
|
|
12
12
|
- RSPEC_VERSION=3.4.0
|
|
13
|
-
|
|
13
|
+
- RSPEC_VERSION=3.5.0
|
|
14
|
+
before_install: gem install bundler -v 1.13.3
|
data/CHANGELOG.md
CHANGED
|
@@ -1,14 +1,22 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## [v1.0.
|
|
3
|
+
## [v1.0.2](https://github.com/speee/validation_examples_matcher/tree/v1.0.2)
|
|
4
|
+
|
|
5
|
+
2016-10-13
|
|
6
|
+
|
|
7
|
+
- NOTHING changed in production code
|
|
8
|
+
- Transfer repository from [nisshiee](https://github.com/nisshiee) to [speee](https://github.com/speee)
|
|
9
|
+
- [[#13](https://github.com/speee/validation_examples_matcher/pull/13)] Update gems for development
|
|
10
|
+
|
|
11
|
+
## [v1.0.1](https://github.com/speee/validation_examples_matcher/tree/v1.0.1)
|
|
4
12
|
|
|
5
13
|
2016-01-31
|
|
6
14
|
|
|
7
15
|
- NOTHING changed in production code
|
|
8
|
-
- [[#6](https://github.com/
|
|
9
|
-
- [[#8](https://github.com/
|
|
16
|
+
- [[#6](https://github.com/speee/validation_examples_matcher/pull/6)] Add README
|
|
17
|
+
- [[#8](https://github.com/speee/validation_examples_matcher/pull/8)] Mesure coverage
|
|
10
18
|
|
|
11
|
-
## [v1.0.0](https://github.com/
|
|
19
|
+
## [v1.0.0](https://github.com/speee/validation_examples_matcher/tree/v1.0.0)
|
|
12
20
|
|
|
13
21
|
2016-01-26
|
|
14
22
|
|
data/LICENSE.txt
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
The MIT License (MIT)
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2016 Hirokazu Nishioka
|
|
3
|
+
Copyright (c) 2016 Hirokazu Nishioka and Speee, Inc.
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
data/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# ValidationExamplesMatcher
|
|
2
2
|
|
|
3
|
-
[](https://travis-ci.org/speee/validation_examples_matcher)
|
|
4
4
|
|
|
5
5
|
ValidationExamplesMatcher supports writing rails model's validation specs.
|
|
6
6
|
|
|
@@ -38,7 +38,7 @@ Let me show how to use ValidationExamplesMatcher in case of following model.
|
|
|
38
38
|
```ruby
|
|
39
39
|
class MyModel < ActiveRecord::Base
|
|
40
40
|
validates :name, presence: true
|
|
41
|
-
validates :name, length: {
|
|
41
|
+
validates :name, length: { maximum: 4 }, on: :create
|
|
42
42
|
end
|
|
43
43
|
```
|
|
44
44
|
|
|
@@ -93,7 +93,7 @@ see [CHANGELOG.md](./CHANGELOG.md)
|
|
|
93
93
|
|
|
94
94
|
## Contributing
|
|
95
95
|
|
|
96
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
|
96
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/speee/validation_examples_matcher.
|
|
97
97
|
|
|
98
98
|
|
|
99
99
|
## License
|
|
@@ -5,12 +5,12 @@ require 'validation_examples_matcher/version'
|
|
|
5
5
|
Gem::Specification.new do |spec|
|
|
6
6
|
spec.name = 'validation_examples_matcher'
|
|
7
7
|
spec.version = ValidationExamplesMatcher::VERSION
|
|
8
|
-
spec.authors = ['Hirokazu Nishioka']
|
|
8
|
+
spec.authors = ['Hirokazu Nishioka', 'Speee, Inc.']
|
|
9
9
|
spec.email = ['hiro@nisshiee.org']
|
|
10
10
|
|
|
11
11
|
spec.summary = 'Validation matcher with examples for RSpec'
|
|
12
12
|
spec.description = 'validation_examples_matcher provides rspec matcher testing validations with examples.'
|
|
13
|
-
spec.homepage = 'https://github.com/
|
|
13
|
+
spec.homepage = 'https://github.com/speee/validation_examples_matcher'
|
|
14
14
|
spec.license = 'MIT'
|
|
15
15
|
|
|
16
16
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
|
@@ -22,11 +22,11 @@ Gem::Specification.new do |spec|
|
|
|
22
22
|
|
|
23
23
|
spec.add_runtime_dependency 'rspec-expectations', '~> 3.0'
|
|
24
24
|
|
|
25
|
-
spec.add_development_dependency 'bundler', '~> 1.
|
|
26
|
-
spec.add_development_dependency 'rake', '~>
|
|
25
|
+
spec.add_development_dependency 'bundler', '~> 1.13'
|
|
26
|
+
spec.add_development_dependency 'rake', '~> 11.3'
|
|
27
27
|
spec.add_development_dependency 'rspec', '~> 3.0'
|
|
28
|
-
spec.add_development_dependency 'simplecov', '>= 0.
|
|
29
|
-
spec.add_development_dependency 'activemodel', '~> 4.2
|
|
30
|
-
spec.add_development_dependency 'pry-byebug', '~> 3.
|
|
31
|
-
spec.add_development_dependency 'rubocop', '>= 0.
|
|
28
|
+
spec.add_development_dependency 'simplecov', '>= 0.12.0', '< 0.13.0'
|
|
29
|
+
spec.add_development_dependency 'activemodel', '~> 4.2'
|
|
30
|
+
spec.add_development_dependency 'pry-byebug', '~> 3.4'
|
|
31
|
+
spec.add_development_dependency 'rubocop', '>= 0.43.0', '< 0.44.0'
|
|
32
32
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: validation_examples_matcher
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Hirokazu Nishioka
|
|
8
|
+
- Speee, Inc.
|
|
8
9
|
autorequire:
|
|
9
10
|
bindir: exe
|
|
10
11
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
12
|
+
date: 2016-10-13 00:00:00.000000000 Z
|
|
12
13
|
dependencies:
|
|
13
14
|
- !ruby/object:Gem::Dependency
|
|
14
15
|
name: rspec-expectations
|
|
@@ -30,28 +31,28 @@ dependencies:
|
|
|
30
31
|
requirements:
|
|
31
32
|
- - "~>"
|
|
32
33
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: '1.
|
|
34
|
+
version: '1.13'
|
|
34
35
|
type: :development
|
|
35
36
|
prerelease: false
|
|
36
37
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
38
|
requirements:
|
|
38
39
|
- - "~>"
|
|
39
40
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: '1.
|
|
41
|
+
version: '1.13'
|
|
41
42
|
- !ruby/object:Gem::Dependency
|
|
42
43
|
name: rake
|
|
43
44
|
requirement: !ruby/object:Gem::Requirement
|
|
44
45
|
requirements:
|
|
45
46
|
- - "~>"
|
|
46
47
|
- !ruby/object:Gem::Version
|
|
47
|
-
version: '
|
|
48
|
+
version: '11.3'
|
|
48
49
|
type: :development
|
|
49
50
|
prerelease: false
|
|
50
51
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
52
|
requirements:
|
|
52
53
|
- - "~>"
|
|
53
54
|
- !ruby/object:Gem::Version
|
|
54
|
-
version: '
|
|
55
|
+
version: '11.3'
|
|
55
56
|
- !ruby/object:Gem::Dependency
|
|
56
57
|
name: rspec
|
|
57
58
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -72,68 +73,68 @@ dependencies:
|
|
|
72
73
|
requirements:
|
|
73
74
|
- - ">="
|
|
74
75
|
- !ruby/object:Gem::Version
|
|
75
|
-
version: 0.
|
|
76
|
+
version: 0.12.0
|
|
76
77
|
- - "<"
|
|
77
78
|
- !ruby/object:Gem::Version
|
|
78
|
-
version: 0.
|
|
79
|
+
version: 0.13.0
|
|
79
80
|
type: :development
|
|
80
81
|
prerelease: false
|
|
81
82
|
version_requirements: !ruby/object:Gem::Requirement
|
|
82
83
|
requirements:
|
|
83
84
|
- - ">="
|
|
84
85
|
- !ruby/object:Gem::Version
|
|
85
|
-
version: 0.
|
|
86
|
+
version: 0.12.0
|
|
86
87
|
- - "<"
|
|
87
88
|
- !ruby/object:Gem::Version
|
|
88
|
-
version: 0.
|
|
89
|
+
version: 0.13.0
|
|
89
90
|
- !ruby/object:Gem::Dependency
|
|
90
91
|
name: activemodel
|
|
91
92
|
requirement: !ruby/object:Gem::Requirement
|
|
92
93
|
requirements:
|
|
93
94
|
- - "~>"
|
|
94
95
|
- !ruby/object:Gem::Version
|
|
95
|
-
version: 4.2
|
|
96
|
+
version: '4.2'
|
|
96
97
|
type: :development
|
|
97
98
|
prerelease: false
|
|
98
99
|
version_requirements: !ruby/object:Gem::Requirement
|
|
99
100
|
requirements:
|
|
100
101
|
- - "~>"
|
|
101
102
|
- !ruby/object:Gem::Version
|
|
102
|
-
version: 4.2
|
|
103
|
+
version: '4.2'
|
|
103
104
|
- !ruby/object:Gem::Dependency
|
|
104
105
|
name: pry-byebug
|
|
105
106
|
requirement: !ruby/object:Gem::Requirement
|
|
106
107
|
requirements:
|
|
107
108
|
- - "~>"
|
|
108
109
|
- !ruby/object:Gem::Version
|
|
109
|
-
version: 3.
|
|
110
|
+
version: '3.4'
|
|
110
111
|
type: :development
|
|
111
112
|
prerelease: false
|
|
112
113
|
version_requirements: !ruby/object:Gem::Requirement
|
|
113
114
|
requirements:
|
|
114
115
|
- - "~>"
|
|
115
116
|
- !ruby/object:Gem::Version
|
|
116
|
-
version: 3.
|
|
117
|
+
version: '3.4'
|
|
117
118
|
- !ruby/object:Gem::Dependency
|
|
118
119
|
name: rubocop
|
|
119
120
|
requirement: !ruby/object:Gem::Requirement
|
|
120
121
|
requirements:
|
|
121
122
|
- - ">="
|
|
122
123
|
- !ruby/object:Gem::Version
|
|
123
|
-
version: 0.
|
|
124
|
+
version: 0.43.0
|
|
124
125
|
- - "<"
|
|
125
126
|
- !ruby/object:Gem::Version
|
|
126
|
-
version: 0.
|
|
127
|
+
version: 0.44.0
|
|
127
128
|
type: :development
|
|
128
129
|
prerelease: false
|
|
129
130
|
version_requirements: !ruby/object:Gem::Requirement
|
|
130
131
|
requirements:
|
|
131
132
|
- - ">="
|
|
132
133
|
- !ruby/object:Gem::Version
|
|
133
|
-
version: 0.
|
|
134
|
+
version: 0.43.0
|
|
134
135
|
- - "<"
|
|
135
136
|
- !ruby/object:Gem::Version
|
|
136
|
-
version: 0.
|
|
137
|
+
version: 0.44.0
|
|
137
138
|
description: validation_examples_matcher provides rspec matcher testing validations
|
|
138
139
|
with examples.
|
|
139
140
|
email:
|
|
@@ -157,7 +158,7 @@ files:
|
|
|
157
158
|
- lib/validation_examples_matcher.rb
|
|
158
159
|
- lib/validation_examples_matcher/version.rb
|
|
159
160
|
- validation_examples_matcher.gemspec
|
|
160
|
-
homepage: https://github.com/
|
|
161
|
+
homepage: https://github.com/speee/validation_examples_matcher
|
|
161
162
|
licenses:
|
|
162
163
|
- MIT
|
|
163
164
|
metadata: {}
|
|
@@ -182,4 +183,3 @@ signing_key:
|
|
|
182
183
|
specification_version: 4
|
|
183
184
|
summary: Validation matcher with examples for RSpec
|
|
184
185
|
test_files: []
|
|
185
|
-
has_rdoc:
|