activemodel_unique_errors 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -1
- data/README.markdown +1 -0
- data/VERSION +1 -1
- data/activemodel_unique_errors.gemspec +4 -4
- metadata +6 -6
data/Gemfile
CHANGED
data/README.markdown
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
# activemodel_unique_error
|
2
2
|
|
3
3
|
[![Build Status](https://travis-ci.org/soemo/activemodel_unique_errors.svg?branch=master)](https://travis-ci.org/soemo/activemodel_unique_errors)
|
4
|
+
[![Gem Version](https://badge.fury.io/rb/activemodel_unique_errors.svg)](http://badge.fury.io/rb/activemodel_unique_errors)
|
4
5
|
|
5
6
|
Only add a error messages for one model attribute if this error message not exists for the model attribute
|
6
7
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.2.0
|
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "activemodel_unique_errors"
|
8
|
-
s.version = "0.
|
8
|
+
s.version = "0.2.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["soeren mothes"]
|
@@ -41,18 +41,18 @@ Gem::Specification.new do |s|
|
|
41
41
|
s.specification_version = 3
|
42
42
|
|
43
43
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
44
|
-
s.add_runtime_dependency(%q<activemodel>, ["
|
44
|
+
s.add_runtime_dependency(%q<activemodel>, [">= 0"])
|
45
45
|
s.add_development_dependency(%q<bundler>, ["~> 1.0"])
|
46
46
|
s.add_development_dependency(%q<jeweler>, ["~> 2.0.1"])
|
47
47
|
s.add_development_dependency(%q<rspec>, ["~> 2.8.0"])
|
48
48
|
else
|
49
|
-
s.add_dependency(%q<activemodel>, ["
|
49
|
+
s.add_dependency(%q<activemodel>, [">= 0"])
|
50
50
|
s.add_dependency(%q<bundler>, ["~> 1.0"])
|
51
51
|
s.add_dependency(%q<jeweler>, ["~> 2.0.1"])
|
52
52
|
s.add_dependency(%q<rspec>, ["~> 2.8.0"])
|
53
53
|
end
|
54
54
|
else
|
55
|
-
s.add_dependency(%q<activemodel>, ["
|
55
|
+
s.add_dependency(%q<activemodel>, [">= 0"])
|
56
56
|
s.add_dependency(%q<bundler>, ["~> 1.0"])
|
57
57
|
s.add_dependency(%q<jeweler>, ["~> 2.0.1"])
|
58
58
|
s.add_dependency(%q<rspec>, ["~> 2.8.0"])
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activemodel_unique_errors
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -16,17 +16,17 @@ dependencies:
|
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
|
-
- -
|
19
|
+
- - ! '>='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version:
|
21
|
+
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
none: false
|
26
26
|
requirements:
|
27
|
-
- -
|
27
|
+
- - ! '>='
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
29
|
+
version: '0'
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: bundler
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
@@ -112,7 +112,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
112
112
|
version: '0'
|
113
113
|
segments:
|
114
114
|
- 0
|
115
|
-
hash:
|
115
|
+
hash: -846135823
|
116
116
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
117
117
|
none: false
|
118
118
|
requirements:
|