validation_matcher 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/validation_matcher/version.rb +1 -1
- data/spec/spec_helper.rb +11 -1
- data/validation_matcher.gemspec +2 -1
- metadata +18 -2
data/spec/spec_helper.rb
CHANGED
@@ -1,4 +1,14 @@
|
|
1
|
-
%w[
|
1
|
+
libs = %w[
|
2
|
+
active_model
|
3
|
+
active_support/core_ext
|
4
|
+
pry
|
5
|
+
pry-nav
|
6
|
+
rspec
|
7
|
+
rspec-expectations
|
8
|
+
validation_matcher
|
9
|
+
]
|
10
|
+
|
11
|
+
libs.each { |lib| require lib }
|
2
12
|
|
3
13
|
class Thing
|
4
14
|
|
data/validation_matcher.gemspec
CHANGED
@@ -18,7 +18,8 @@ Gem::Specification.new do |s|
|
|
18
18
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
19
19
|
s.require_paths = ['lib']
|
20
20
|
|
21
|
-
s.add_dependency 'rspec',
|
21
|
+
s.add_dependency 'rspec-core', '~> 2'
|
22
|
+
s.add_dependency 'rspec-expectations', '~> 2'
|
22
23
|
|
23
24
|
s.add_dependency 'activemodel', '~> 3'
|
24
25
|
s.add_dependency 'activesupport', '~> 3'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: validation_matcher
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -12,7 +12,23 @@ cert_chain: []
|
|
12
12
|
date: 2012-07-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
|
-
name: rspec
|
15
|
+
name: rspec-core
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '2'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '2'
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: rspec-expectations
|
16
32
|
requirement: !ruby/object:Gem::Requirement
|
17
33
|
none: false
|
18
34
|
requirements:
|