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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b9103e34b3744f24b43bc7d6b5c8bbeff052e7bd
4
- data.tar.gz: fbbb46f768b37161ee05abc657d9ff35cbb8a09c
3
+ metadata.gz: 0b043ebfc469376d47e1a60af8647a94425a38b0
4
+ data.tar.gz: 80a5d65068bf1ab36a2a0c5ced5cd3a65acf217a
5
5
  SHA512:
6
- metadata.gz: 10fe4f821e8aaa584e7bb6a79c771e72c4949e1f10373f86ce016d473198d281e963e9248cb11d6e1b74e1a9fd98fcc17c7dc26ab2f55bf2c845a656de00ddba
7
- data.tar.gz: 538b5d94051fc97a83ec06415a8ae11528c8b6d06f3d3e72ed7cb8d70d43cc135cbaae0c5bce67754bc35fea772f9d021a8626ef7161929c00db339a0b041134
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
- [![Code Climate](https://codeclimate.com/github/owahab/uniqueness/badges/gpa.svg)](https://codeclimate.com/github/owahab/uniqueness)
4
- [![Build Status](https://travis-ci.org/owahab/uniqueness.svg?branch=master)](https://travis-ci.org/owahab/uniqueness)
5
- [![Coverage Status](https://coveralls.io/repos/github/owahab/uniqueness/badge.svg?branch=master)](https://coveralls.io/github/owahab/uniqueness?branch=master)
6
- [![Inline docs](http://inch-ci.org/github/owahab/uniqueness.svg?branch=master)](http://inch-ci.org/github/owahab/uniqueness)
7
- [![security](https://hakiri.io/github/owahab/uniqueness/master.svg)](https://hakiri.io/github/owahab/uniqueness/master)
3
+ [![Gem Version](https://img.shields.io/gem/v/uniqueness.svg)](http://rubygems.org/gems/uniqueness)
4
+ [![Build Status](https://travis-ci.org/eventtus/uniqueness.svg?branch=master)](https://travis-ci.org/eventtus/uniqueness)
5
+ [![Code Climate](https://codeclimate.com/github/eventtus/uniqueness/badges/gpa.svg)](https://codeclimate.com/github/eventtus/uniqueness)
6
+ [![Coverage Status](https://coveralls.io/repos/github/eventtus/uniqueness/badge.svg?branch=master)](https://coveralls.io/github/eventtus/uniqueness?branch=master)
7
+ [![Inline docs](http://inch-ci.org/github/eventtus/uniqueness.svg?branch=master)](http://inch-ci.org/github/eventtus/uniqueness)
8
+ [![security](https://hakiri.io/github/eventtus/uniqueness/master.svg)](https://hakiri.io/github/eventtus/uniqueness/master)
9
+ [![GitHub issues](https://img.shields.io/github/issues/eventtus/uniqueness.svg?maxAge=2592000)](https://github.com/eventtus/uniqueness/issues)
10
+ [![Downloads](https://img.shields.io/gem/dtv/uniqueness.svg)](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/owahab/uniqueness)
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
- [![Eventtus](http://eventtus.com/css/images/logo.png)](http://eventtus.com)
76
+ [![Eventtus](http://assets.eventtus.com/logos/eventtus/standard.png)](http://eventtus.com)
73
77
 
74
78
  Project is sponsored by [Eventtus](http://eventtus.com).
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Uniqueness
2
- VERSION = "0.6.0"
2
+ VERSION = '0.6.1'.freeze
3
3
  end
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 = 'http://github.com/owahab/uniqueness'
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.0
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-04-20 00:00:00.000000000 Z
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: http://github.com/owahab/uniqueness
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.4.5
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.