rogue-girl-rails 0.1.1 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rogue/girl/rails/version.rb +1 -1
- data/vendor/assets/javascripts/rogue_girl.js +5 -3
- 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: ce99c0b0bae585f34e2537b451e9b1fa6cebd55d
|
4
|
+
data.tar.gz: 648b105586a3dac9f1c4db1e5d5db51b20e2f347
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fbc6bea287ac5e1061bc1788d6643206dc1bd83d79e4c40d839af95ba6bf6fe2d73d2ecfb338c96d423b8651951e8c2c210237e3d95dfecf4af4ebe92217d767
|
7
|
+
data.tar.gz: f222a9482dcaec777f5160149e4dd07b52e1284e1066ec1ddb0da9660389629489eefb8c7d31bca7a5c727357beb9fb0cd702f620b80f46d8b6f020a95a1e6da
|
@@ -696,7 +696,7 @@ exports = typeof(global) !== 'undefined' ? global : this
|
|
696
696
|
|
697
697
|
VERSION.MAJOR = 0;
|
698
698
|
|
699
|
-
VERSION.MINOR =
|
699
|
+
VERSION.MINOR = 2;
|
700
700
|
|
701
701
|
VERSION.PATCH = 1;
|
702
702
|
|
@@ -805,7 +805,9 @@ exports = typeof(global) !== 'undefined' ? global : this
|
|
805
805
|
this.callback = callback;
|
806
806
|
this.attributes = {};
|
807
807
|
this.traits = {};
|
808
|
-
this.sequences = {
|
808
|
+
this.sequences = {
|
809
|
+
id: 1
|
810
|
+
};
|
809
811
|
this.proxy = new RogueGirl.Definition.Proxy(this, this.attributes);
|
810
812
|
this.proxy.define(function() {
|
811
813
|
return this.sequence('id', function(n) {
|
@@ -1002,7 +1004,7 @@ exports = typeof(global) !== 'undefined' ? global : this
|
|
1002
1004
|
associations = [];
|
1003
1005
|
for (name in attributes) {
|
1004
1006
|
value = attributes[name];
|
1005
|
-
if (value.__association__ != null) {
|
1007
|
+
if ((value != null) && (value.__association__ != null)) {
|
1006
1008
|
associations.push(value.__association__);
|
1007
1009
|
delete attributes[name];
|
1008
1010
|
}
|