embark-journey 0.1.6 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 177f36337f55709ec264098ecc3f810226a77c30
4
- data.tar.gz: f33b30380f80fb669218b4bc72be8c1f1562325d
3
+ metadata.gz: bc3442c576cca9a1d226240c75698f6bd3aedfbb
4
+ data.tar.gz: a1deb2ac3523e3bb1b19b8c863fb134d44c7a514
5
5
  SHA512:
6
- metadata.gz: 925c574614b4e687671dd66fc8fd752e64a01fd34060ffc236d62d6ba8420bd5ee14e6e27214d0b4ee6cb6aac38a500d3dedfa86aecb5bc9c73e0f6cd1df2846
7
- data.tar.gz: 75eec0780c5007d96a2ebb4e13c6d62ca752bd65a05094a71dcb5f49e2ce3e92babb15d32ccc310ef0708be1058a012f09d182cae61532f1bb98ab52f88bfd2e
6
+ metadata.gz: 077244ca5e2e6b3e14d4474068678e968eb55304d7ddb5a13226a866f126cb53ed9293b080f79b28528fc84751d32cdca7295ef4937a4c9ca023367da9513149
7
+ data.tar.gz: 87d6e48a1182b6f5f7d07ddd142deefc9c4f6e51dac81f6294224492df47babb1b3a4769f9ddb6d63f3b0ebdc1bf57e613f95d890557f4ee182cd48813d9a0bf
@@ -1,3 +1,9 @@
1
+ v0.1.7
2
+ - Actually fixed denormalization issues. Fixed a nasty bug where an associated resource 404 would cause an infinite loop of GET requests.
3
+
4
+ v0.1.6
5
+ - Attempted to fix denormalization issues (based on embedded objects and association ids)
6
+
1
7
  v0.1.5
2
8
  - Fixed a bug where in `where_multiple` and `count_multiple` that performed destructive options on the argument hash (methods now use `dup`)
3
9
 
@@ -126,8 +126,8 @@ module ActiveResource::Associations
126
126
  end
127
127
 
128
128
  define_method(method_name) do
129
- if ivar = instance_variable_get(ivar_name)
130
- ivar
129
+ if instance_variable_defined?(ivar_name)
130
+ instance_variable_get(ivar_name)
131
131
  elsif attributes.include?(method_name)
132
132
  attributes[method_name]
133
133
  elsif association_id = send(finder_key)
@@ -2,7 +2,7 @@ module Journey
2
2
  module VERSION
3
3
  MAJOR = 0
4
4
  MINOR = 1
5
- TINY = 6
5
+ TINY = 7
6
6
  PRE = nil
7
7
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: embark-journey
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Davey
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-13 00:00:00.000000000 Z
11
+ date: 2015-12-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: active_attr