caboose-rets 0.0.33 → 0.0.34

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NzkxMWRlMzdkMWNmZWE1NjE0MDY5NzMxMmUwYWFkOWZkMThmNGU5MQ==
4
+ ODU0YWZlMTJkN2VkZDg0MDUzYjNhMzM1YmE5ZTA5MWRhOWJlZjAwZQ==
5
5
  data.tar.gz: !binary |-
6
- YTk4YjllYzgwZDkwMmE2MjM4ZDBlNTU1YzJlYzgzZTdjMzc2ZTA1Mg==
6
+ ZTZlYzA3MzNmOTRiZDUwYzVjNTgyMTBjNzZjNjkwYzZiYjc1OGY5Zg==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- ZGJmOTY5YWJmODA1ZTU4NWI1NDM1YjczOGUwOTU4OThhZmU2MmUyOGZhYWE2
10
- YjdmMDZlMGM5NzAwYTJhZjRkZjBkYjQxYThiYjc1MDY1OTI2NjA3MTBmOGQ0
11
- OWQxZjgyZmM4MTk4YjM4ZGUwMzU0ZjZhYTk3MTdmMWFjMjg2Y2Q=
9
+ NzkxNjMwNzQwYWFiZWFlZTQwNTc2NWI4NGJiYzZhNmVmNjRiNWI1MWFlM2Zh
10
+ MWRiMTBlMWViZTRmNTc0ZDBhNDAxMzI1MDEzNDRmMzVlNmU3YWIzMmZmODgx
11
+ YTE0OTViODA3YTJiZmI3MTY3ZmYzMDA5YTE0NmUyMGEyNDhjZmE=
12
12
  data.tar.gz: !binary |-
13
- NTk4NGE1NmJlNDVkYzY3Y2Q2OThkYzg4NDc1MWI2YjUzYjIxODJmMjE4MWUw
14
- MjEzODUzYWYyMzg3M2Y4NzkxM2YyN2NiYmFiMjliNTFjMjZjMjAzYmU0Mzcy
15
- OTRhNTlkM2E0OWZlZDViNGQ3MGE3OTg0MzY2M2M1MDE2YjZkN2I=
13
+ MmU4N2E4OTM3NWRiNjM4YTRjMmI4ODhkZTdiNTBkNWU3NTg1YjhjNzM5YWI3
14
+ ODM5NDFlZjQ0ZWZmOTRhNTY4MjAzODM3ZjRmNDNkY2Y5ZDA1NGI3MzQxZDhk
15
+ YzA0YWIzZGM2MDg4ZjMyOTQ1MDhkYWUzM2FmYzdjYzBmOTczZTc=
@@ -11,6 +11,10 @@ class CabooseRets::Agent < ActiveRecord::Base
11
11
  :large => '200x300>'
12
12
  }
13
13
  after_initialize :fix_name
14
+
15
+ def assistants
16
+ CabooseRets::Agent.where(:assistant_to => self.la_code).reorder(:last_name, :first_name).all
17
+ end
14
18
 
15
19
  def office
16
20
  CabooseRets::Office.where(:lo_code => self.lo_code).first
@@ -1,3 +1,3 @@
1
1
  module CabooseRets
2
- VERSION = '0.0.33'
2
+ VERSION = '0.0.34'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caboose-rets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.33
4
+ version: 0.0.34
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-16 00:00:00.000000000 Z
11
+ date: 2014-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: caboose-cms