forceful_foreign_key 0.1.0 → 0.1.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/.gitignore +2 -1
- data/forceful_foreign_key.gemspec +3 -2
- data/lib/forceful_foreign_key/version.rb +1 -1
- metadata +7 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '01688e8347aea75ffb36fa4cfc297feff887680c'
|
4
|
+
data.tar.gz: 0f166d17d6c8b3e722f2381e36308cafd9abd00f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d00d3a34cb94cf08372d0079ada16aada05b8eaf902a17486544cc44dc07d1c4dec4e3458ff602ee226f600bc7b947b390efd5353ced530ca1ac05e3a0c595e
|
7
|
+
data.tar.gz: 3caea6da82d36f186023ac3a197f5b4c38ffd3295141be5ffaad0ccc618901eb5820fbdcc69334a8a4d4197ba4e13d0147b627cd92ef280b0990a69b41a3629a
|
data/.gitignore
CHANGED
@@ -9,8 +9,9 @@ Gem::Specification.new do |spec|
|
|
9
9
|
spec.authors = ["shaw3257"]
|
10
10
|
spec.email = ["shaw3257@gmail.com"]
|
11
11
|
|
12
|
-
spec.summary = "
|
13
|
-
spec.description = "
|
12
|
+
spec.summary = "ActiveRecord extension that adds an option to add_foreign_key to delete orphaned data."
|
13
|
+
spec.description = "When force: true is set, It will delete orphaned data before applying the foreign
|
14
|
+
key constraint. Use cautiously!"
|
14
15
|
spec.homepage = "https://github.com/viewthespace/forceful-foreign-key"
|
15
16
|
spec.license = "MIT"
|
16
17
|
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: forceful_foreign_key
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- shaw3257
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-02-
|
11
|
+
date: 2017-02-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -108,7 +108,9 @@ dependencies:
|
|
108
108
|
- - ">="
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0'
|
111
|
-
description:
|
111
|
+
description: |-
|
112
|
+
When force: true is set, It will delete orphaned data before applying the foreign
|
113
|
+
key constraint. Use cautiously!
|
112
114
|
email:
|
113
115
|
- shaw3257@gmail.com
|
114
116
|
executables: []
|
@@ -151,5 +153,6 @@ rubyforge_project:
|
|
151
153
|
rubygems_version: 2.5.2
|
152
154
|
signing_key:
|
153
155
|
specification_version: 4
|
154
|
-
summary:
|
156
|
+
summary: ActiveRecord extension that adds an option to add_foreign_key to delete orphaned
|
157
|
+
data.
|
155
158
|
test_files: []
|