counter_culture 1.6.1 → 1.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/counter_culture.gemspec +2 -2
- data/lib/counter_culture/reconciler.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c32ed47b22301d4d8c78b84070e31848f83f9400
|
4
|
+
data.tar.gz: e65f3e880c94317dd98ad5ec7f4f47d06af13653
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d6af1fba641af3a199d2e0f9f1a5cfe53e387c585a71dda8395b97f71ff4beccc45c89542dcae6ac9d54c26b1bfa723421c6dd5af1cd25f3a477285862aea908
|
7
|
+
data.tar.gz: 7d73f3bcd4a5671a4c92d69d4155483b44495d2451cb2bf1299f560a3ff03dab824c3c87b375c4ab82953e0a135614feeb78d144eb669a775576190f668f0443
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.6.
|
1
|
+
1.6.2
|
data/counter_culture.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: counter_culture 1.6.
|
5
|
+
# stub: counter_culture 1.6.2 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "counter_culture".freeze
|
9
|
-
s.version = "1.6.
|
9
|
+
s.version = "1.6.2"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib".freeze]
|
@@ -183,7 +183,7 @@ module CounterCulture
|
|
183
183
|
|
184
184
|
source_table_key = association_primary_key
|
185
185
|
target_table_key = reflect.foreign_key
|
186
|
-
if reflect.
|
186
|
+
if !reflect.belongs_to?
|
187
187
|
# a has_one relation flips the location of the keys on the tables
|
188
188
|
# around
|
189
189
|
(source_table_key, target_table_key) =
|