uniqueness 0.6.0 → 0.6.1
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 +0 -3
- data/README.md +11 -7
- data/lib/uniqueness/model.rb +1 -1
- data/lib/uniqueness/version.rb +1 -1
- data/uniqueness.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0b043ebfc469376d47e1a60af8647a94425a38b0
|
4
|
+
data.tar.gz: 80a5d65068bf1ab36a2a0c5ced5cd3a65acf217a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8510e0540577c7839ea96bd06b95cc527c5fa16e260c47236d164970dbf652a36fb668d9af0d383d0d8a9d2c394c0662bfe67912f4a079aa466be0d133922a1a
|
7
|
+
data.tar.gz: 0f53b82f825eca3eb034225a3c20f1ebd653a1572f055ce25063ed5e5af8ec7ebe5a2151e7a63dd160732af0f785ae573ed5a80c0237c2868bdbdc13f9b57638
|
data/.travis.yml
CHANGED
@@ -4,7 +4,6 @@ rvm:
|
|
4
4
|
- 2.2.4
|
5
5
|
- 2.1.8
|
6
6
|
- 2.0.0
|
7
|
-
- rbx-2
|
8
7
|
before_install:
|
9
8
|
- gem install bundler -v '~> 1.11'
|
10
9
|
gemfile:
|
@@ -18,7 +17,5 @@ matrix:
|
|
18
17
|
gemfile: gemfiles/50.gemfile
|
19
18
|
- rvm: 2.1.8
|
20
19
|
gemfile: gemfiles/50.gemfile
|
21
|
-
- rvm: rbx-2
|
22
|
-
gemfile: gemfiles/50.gemfile
|
23
20
|
cache:
|
24
21
|
- bundler
|
data/README.md
CHANGED
@@ -1,15 +1,19 @@
|
|
1
1
|
# Uniqueness
|
2
2
|
|
3
|
-
[](http://rubygems.org/gems/uniqueness)
|
4
|
+
[](https://travis-ci.org/eventtus/uniqueness)
|
5
|
+
[](https://codeclimate.com/github/eventtus/uniqueness)
|
6
|
+
[](https://coveralls.io/github/eventtus/uniqueness?branch=master)
|
7
|
+
[](http://inch-ci.org/github/eventtus/uniqueness)
|
8
|
+
[](https://hakiri.io/github/eventtus/uniqueness/master)
|
9
|
+
[](https://github.com/eventtus/uniqueness/issues)
|
10
|
+
[](http://rubygems.org/gems/uniqueness)
|
11
|
+
|
8
12
|
|
9
13
|
Rails recently introduced `has_secure_token` but it's very primitive.
|
10
14
|
Meet the competition.
|
11
15
|
|
12
|
-
[Code Documentation](http://www.rubydoc.info/github/
|
16
|
+
[Code Documentation](http://www.rubydoc.info/github/eventtus/uniqueness)
|
13
17
|
|
14
18
|
## Requirements
|
15
19
|
|
@@ -69,6 +73,6 @@ Please see CONTRIBUTING.md for details.
|
|
69
73
|
|
70
74
|
## Credits
|
71
75
|
|
72
|
-
[](http://eventtus.com)
|
73
77
|
|
74
78
|
Project is sponsored by [Eventtus](http://eventtus.com).
|
data/lib/uniqueness/model.rb
CHANGED
@@ -67,7 +67,7 @@ module Uniqueness
|
|
67
67
|
end
|
68
68
|
|
69
69
|
def uniqueness_ambigious_dictionary
|
70
|
-
[:b, :B, :o, :O, :q, :I, :l, :L, :s, :S, :u, :U, :z, :Z].map(&:to_s)
|
70
|
+
[:b, :B, :o, :O, :q, :i, :I, :l, :L, :s, :S, :u, :U, :z, :Z, :g, 1, 2, 9, 5].map(&:to_s)
|
71
71
|
end
|
72
72
|
|
73
73
|
def uniqueness_validation
|
data/lib/uniqueness/version.rb
CHANGED
data/uniqueness.gemspec
CHANGED
@@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
|
|
9
9
|
spec.email = ['owahab@gmail.com']
|
10
10
|
|
11
11
|
spec.summary = 'Adds unique attribute support to ActiveModel models.'
|
12
|
-
spec.homepage = '
|
12
|
+
spec.homepage = 'https://github.com/eventtus/uniqueness'
|
13
13
|
|
14
14
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
15
15
|
spec.bindir = 'exe'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: uniqueness
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Omar Abdel-Wahab
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-11-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -155,7 +155,7 @@ files:
|
|
155
155
|
- lib/uniqueness/model.rb
|
156
156
|
- lib/uniqueness/version.rb
|
157
157
|
- uniqueness.gemspec
|
158
|
-
homepage:
|
158
|
+
homepage: https://github.com/eventtus/uniqueness
|
159
159
|
licenses:
|
160
160
|
- MIT
|
161
161
|
metadata: {}
|
@@ -175,7 +175,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
175
175
|
version: '0'
|
176
176
|
requirements: []
|
177
177
|
rubyforge_project:
|
178
|
-
rubygems_version: 2.
|
178
|
+
rubygems_version: 2.5.1
|
179
179
|
signing_key:
|
180
180
|
specification_version: 4
|
181
181
|
summary: Adds unique attribute support to ActiveModel models.
|