husky 0.1.9 → 0.2.0

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: e427216170b3e782dd8af00f3cf775ee151845bf
4
- data.tar.gz: 4ad10354c1faf617c5d64a0877c534d2924ce21a
3
+ metadata.gz: a6fef1730b1863ac7aab7931b0ec3726f9e6b4a5
4
+ data.tar.gz: 0bdc028622391edd72dc091e56f11015ea25c7bf
5
5
  SHA512:
6
- metadata.gz: a18295ea4754fb394792ffde5243ee83d2d21f0363b5442e663a1b94907d1e9bd63fc57b5344fc3a9e487f096477a35e0122d03bb0722066f2c0749eb15203e5
7
- data.tar.gz: b8ddf6b17dcc016f209388b0dd1b7a46b7f9a3bf8d9c556643e5b130cceee1976d06c4d62987264a5732a66676b306c6d71b965d9bd6015e5e9bf9e432b05730
6
+ metadata.gz: fcaf796fab39b50b23e531b2f2557cc75bb608c4ccc462c371c414b005624715d5361edbc1360816a1907239f9e7a48fbe390ff41c25bc80d2640062900dfb29
7
+ data.tar.gz: 01106404bab685110f5aa5d83694eece1b6ed7c3fb0ea7de097affb939393202489a9774bf4187ecc2741cebdba7246d8efda500fae9a7cb431ca3aa9cffc7e7
@@ -10,7 +10,7 @@ module Husky
10
10
  define_method association do
11
11
  singular_association = association.to_s[0..-2].to_sym
12
12
  klass_id = "#{self.class.name.split('::')[1].downcase}_id".to_sym
13
- Repository.for(singular_association).all.select { |k,v| v.send(klass_id) == self.id }
13
+ Husky::Repo::Registry.for(singular_association).all.select { |k,v| v.send(klass_id) == self.id }
14
14
  end
15
15
  end
16
16
 
data/lib/husky/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Husky
2
- VERSION = "0.1.9"
2
+ VERSION = "0.2.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: husky
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen Fiser