rrepo 0.2.8 → 0.2.9

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: 89873ed098ba32208c31ceaae415605d5cd6f4aa
4
- data.tar.gz: 82feca29e6fdf69dd31babc5d720bd0bf871b19a
3
+ metadata.gz: c2117b207c07eace01e3bc67e81426370a195033
4
+ data.tar.gz: 588666bab9cbb710062f755d1d1e796aa98b3d4d
5
5
  SHA512:
6
- metadata.gz: da16c7cfa53a57293d345c77dec8bc8d17b7dcf7d37e6bba1525d763d98661e812b9e8f23eb0e22b541b87fdb58fbeee6f2009128e77c66d58b84bf324f6f510
7
- data.tar.gz: 5a329c7a8ecf75c61f7f6232b7f55037bd93872c252818c0baab9c842fc7155e3ef4c0bca52ac90608ceb8f4a5a130f23219cad55ff3109dd7d95a3e68cd3f12
6
+ metadata.gz: 1d222c2dd003f998cff59152496d70c89e63317e0d4b31af1b605658513b78dbcf789578d399b6666cdcb547f0cfc4dcb2bc3aafb0224eccc10f9e093dbba5f9
7
+ data.tar.gz: 3b296f6012888f7ee61e52d76adaac38d6521350c682bece5943f5844599777f8f1d2e6e714bb8d0d8dee422954963ea0a013f7b444e6d32adb44395e46e9262
@@ -61,6 +61,7 @@ module RRepo
61
61
  else
62
62
  result = adapter.find(collection, id)
63
63
  end
64
+ return if result.blank?
64
65
  model_for(result)
65
66
  end
66
67
 
data/lib/rrepo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module RRepo
2
- VERSION = '0.2.8'.freeze
2
+ VERSION = '0.2.9'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rrepo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.8
4
+ version: 0.2.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joakim Reinert