unique_validation_inspector 0.1.2 → 0.1.3
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/CHANGELOG.md +17 -0
- data/CONTRIBUTING.md +1 -0
- data/lib/tasks/inspect_unique_validations.rake +1 -0
- data/lib/unique_validation_inspector.rb +5 -0
- data/lib/unique_validation_inspector/version.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 46a8e208afca114d0cf07b514a54fb91bc0f9d02
|
4
|
+
data.tar.gz: b34defca8e956fd5a338cc38c8bd5684243e5f30
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed84da62e136620b773e90f2658beb41b697d6cd899030d86d282a41b3dd58e3f516f3e1540b901281f947604122a194de4715cc72270c46189476c10400c392
|
7
|
+
data.tar.gz: a8c57932bc049e372ed622320c90c5fdd02f1a4c870eb56cede6513c394fadbf85bb965501de5d7da12f49c525c9f1def18e0c7bceff85f21d3c66b9375993a3
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
## 0.1.3 (August 23, 2017)
|
2
|
+
|
3
|
+
#### Fixes
|
4
|
+
|
5
|
+
* No models are loaded on some apps (https://github.com/soulfly/unique_validation_inspector/pull/2)
|
6
|
+
|
7
|
+
## 0.1.2 (August 14, 2017)
|
8
|
+
|
9
|
+
#### Fixes
|
10
|
+
|
11
|
+
* Task fails with abstract model with no table on db (https://github.com/soulfly/unique_validation_inspector/issues/1)
|
12
|
+
|
13
|
+
## 0.1.1 (August 11, 2017)
|
14
|
+
|
15
|
+
#### Features
|
16
|
+
|
17
|
+
* Initial version
|
data/CONTRIBUTING.md
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
Fork, patch, then send me a pull request.
|
@@ -1,6 +1,7 @@
|
|
1
1
|
desc 'Finds unique validations in models that do not have DB indexes.'
|
2
2
|
task :inspect_unique_validations => :environment do
|
3
3
|
inspector = UniqueValidationInspector::Inspector.new Rails.application
|
4
|
+
inspector.load_everything!
|
4
5
|
|
5
6
|
defined_unique_validations = inspector.defined_unique_validations
|
6
7
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: unique_validation_inspector
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Igor Khomenko
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-08-
|
11
|
+
date: 2017-08-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -90,6 +90,8 @@ extra_rdoc_files: []
|
|
90
90
|
files:
|
91
91
|
- ".gitignore"
|
92
92
|
- ".travis.yml"
|
93
|
+
- CHANGELOG.md
|
94
|
+
- CONTRIBUTING.md
|
93
95
|
- Gemfile
|
94
96
|
- LICENSE
|
95
97
|
- README.md
|