mls 0.2.47 → 0.2.48

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: fb2a396c4ccae46cec2091d2e5e6dbbcc660639e
4
- data.tar.gz: 60de7725b4fa2f4c5a81d8c359ba4b16840d18a5
3
+ metadata.gz: 07a78557ec33f179ae19cd5f87a72eefacd1016a
4
+ data.tar.gz: 81cc3b886db827f0028ae5cf1f578aba10fdcca9
5
5
  SHA512:
6
- metadata.gz: 8d515068162bb01c50dcd0c833798c16577a77f47e658da0e9d2847a2f1c11e74d8a19476cb3cba4f8b8b3f2c66e436ead463d70d32d68fe0b0594da95dd8fb1
7
- data.tar.gz: 96dd51339fdae2642fddd5335fd332fd75825c64e837482f82eed6b3d68aae45f42d5f269ce5ecc7870317b77067b2250478bbd4e8f80db1e43a1e85da8f416b
6
+ metadata.gz: d4594d5fea09360c4e1401f571961aa26a2623b506ae129de4ab1571d49048675b85015140cbb8d0edc8a5f30f31c025f7c2f510647c6c284a316346b379b470
7
+ data.tar.gz: 7128fcbf7abc82ef7e46196c8e936c3f957ce305e5b025f032d90d0329b3dfabf72de46b9a232f7f07bff012ab13219ebd6b95f9734ccd24f221b2f852e68924
@@ -51,6 +51,10 @@ class MLS::Account < MLS::Resource
51
51
  end
52
52
  end
53
53
 
54
+ def display_name
55
+ name || email
56
+ end
57
+
54
58
  def agent?
55
59
  type == 'Agent'
56
60
  end
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "mls"
6
- s.version = '0.2.47'
6
+ s.version = '0.2.48'
7
7
  s.authors = ["James R. Bracy", "Jon Bracy"]
8
8
  s.email = ["james@42floors.com"]
9
9
  s.homepage = "http://mls.42floors.com"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mls
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.47
4
+ version: 0.2.48
5
5
  platform: ruby
6
6
  authors:
7
7
  - James R. Bracy
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-04-23 00:00:00.000000000 Z
12
+ date: 2013-05-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake