mls 0.3.6 → 0.3.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: 7cfa543ecd44d4d2add19d03647a43aa1c4543ca
4
- data.tar.gz: 293481eaf899f435f677cca02f91095fbbfeaa3c
3
+ metadata.gz: b43d5456977e263e3116cc120363ca1cbc387f14
4
+ data.tar.gz: 8125740a8358e17fa6d6d8f9a1b5307d59d66265
5
5
  SHA512:
6
- metadata.gz: 3be215f3fdc596723c2f03a3f35f6f70d7857006c614047cbfd75036ff322425c170f9c18649cf62849c4b3c4ea8d1c5a9d8a85d65b78cb671ed791767ceef5b
7
- data.tar.gz: f5678d5640e6d8432467a6a3c631d73a59d4bcf49affaf4667a9a433355e98ba05f3d3423a77ade12903997fe7b0dc034c7085b2c44cb249b668ce564f4a1638
6
+ metadata.gz: 6d8b7ce7d78a8d06c21731a76e572cdf6f058d51351e1171baa72f4d8fea72dab165b649a64a7d43c35f5d0d10588229754327f9be2677a1b14e54026054728f
7
+ data.tar.gz: 22186dfa298684ec2e6a09d0353761338504dd598545bd314b86c81d6f81419f5965b324b1d3d55fa4f3093810890b196d4729517c484d72fa39ee34c0b2ccf1
data/Rakefile CHANGED
@@ -1,6 +1,7 @@
1
+ require 'bundler/setup'
1
2
  require "bundler/gem_tasks"
3
+ Bundler.require(:development)
2
4
  require 'rake/testtask'
3
- require 'sdoc'
4
5
  require 'rdoc/task'
5
6
 
6
7
  task :console do
@@ -32,8 +32,8 @@ class MLS::TourRequest < MLS::Resource
32
32
  end
33
33
  end
34
34
 
35
- def mark_viewed(agent)
36
- MLS.post("/tour_requests/#{token}/mark_viewed", {:agent_id => agent.id}) do |response, code|
35
+ def view(agent)
36
+ MLS.post("/tour_requests/#{token}/view", {:agent_id => agent.id}) do |response, code|
37
37
  return code == 200
38
38
  end
39
39
  end
data/mls.gemspec CHANGED
@@ -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.3.6'
6
+ s.version = '0.3.7'
7
7
  s.authors = ["James R. Bracy", "Jon Bracy"]
8
8
  s.email = ["james@42floors.com"]
9
9
  s.homepage = "http://mls.42floors.com"
@@ -20,8 +20,9 @@ Gem::Specification.new do |s|
20
20
  # Developoment
21
21
  s.add_development_dependency 'rake'
22
22
  s.add_development_dependency 'rdoc'
23
+ s.add_development_dependency 'sdoc'
23
24
  s.add_development_dependency 'bundler'
24
- s.add_development_dependency 'minitest'
25
+ s.add_development_dependency 'minitest', '4.7.4'
25
26
  s.add_development_dependency 'turn'
26
27
  s.add_development_dependency 'faker'
27
28
  s.add_development_dependency 'factory_girl'
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.3.6
4
+ version: 0.3.7
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-05-30 00:00:00.000000000 Z
12
+ date: 2013-06-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
@@ -40,7 +40,7 @@ dependencies:
40
40
  - !ruby/object:Gem::Version
41
41
  version: '0'
42
42
  - !ruby/object:Gem::Dependency
43
- name: bundler
43
+ name: sdoc
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
46
  - - '>='
@@ -54,7 +54,7 @@ dependencies:
54
54
  - !ruby/object:Gem::Version
55
55
  version: '0'
56
56
  - !ruby/object:Gem::Dependency
57
- name: minitest
57
+ name: bundler
58
58
  requirement: !ruby/object:Gem::Requirement
59
59
  requirements:
60
60
  - - '>='
@@ -67,6 +67,20 @@ dependencies:
67
67
  - - '>='
68
68
  - !ruby/object:Gem::Version
69
69
  version: '0'
70
+ - !ruby/object:Gem::Dependency
71
+ name: minitest
72
+ requirement: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - '='
75
+ - !ruby/object:Gem::Version
76
+ version: 4.7.4
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - '='
82
+ - !ruby/object:Gem::Version
83
+ version: 4.7.4
70
84
  - !ruby/object:Gem::Dependency
71
85
  name: turn
72
86
  requirement: !ruby/object:Gem::Requirement