reso_api 0.2.0 → 0.2.1

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
  SHA256:
3
- metadata.gz: e51657547bb2a45e16490860b4aded5a31d850ba2a3d7a15b224e36ea25fd402
4
- data.tar.gz: 6948ea2f8c1144cf48969a384ee692ce2a43470b17efa9e87779b0263067d192
3
+ metadata.gz: cd054df51a2872e84c6828f7feb57c73657d5d8f0b81ee8635c42373f5b8cdaf
4
+ data.tar.gz: 5cbab3e17c508eafe75757797a9ff7201652b7fb3aed8643634d86899627ad5e
5
5
  SHA512:
6
- metadata.gz: 42bec1b92b962854d32eedb70b938418c8bd403542508e6339ebf1282f4dcfc8ed085de96c46aebc1fc7684f55408d82466ff3a146b40d97e7a3634892545b7a
7
- data.tar.gz: a174d7fab55595c742da77961e81b5520d6ba48c2aba2c5ba18fd9a89ebff657f42c0d180e68b104ae8b8fffc963bddebb469b09fff648c87e655be23de0e21e
6
+ metadata.gz: ab2cc31aa83fea44277e85e90969090a11262aaa3a6d6878e910599a516d47229878411f94fad9ad5f242a44029e62dab90e75437f5d297d3c35cfc4653b7632
7
+ data.tar.gz: b4763063bd29b3899229c19521d0b841050027e9e4c101bc49a36b4f79cbb418df93b50646de7d99bd4129caea183b4a89bdc2fae4b4ccb46a97cc61315b9b05
data/Gemfile.lock CHANGED
@@ -1,62 +1,81 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- reso_api (0.2.0)
4
+ reso_api (0.2.1)
5
5
  activesupport
6
6
  oauth2
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- activesupport (5.2.3)
11
+ activesupport (6.1.4.1)
12
12
  concurrent-ruby (~> 1.0, >= 1.0.2)
13
- i18n (>= 0.7, < 2)
14
- minitest (~> 5.1)
15
- tzinfo (~> 1.1)
16
- concurrent-ruby (1.1.5)
17
- diff-lcs (1.3)
18
- faraday (0.15.4)
13
+ i18n (>= 1.6, < 2)
14
+ minitest (>= 5.1)
15
+ tzinfo (~> 2.0)
16
+ zeitwerk (~> 2.3)
17
+ concurrent-ruby (1.1.9)
18
+ diff-lcs (1.4.4)
19
+ faraday (1.8.0)
20
+ faraday-em_http (~> 1.0)
21
+ faraday-em_synchrony (~> 1.0)
22
+ faraday-excon (~> 1.1)
23
+ faraday-httpclient (~> 1.0.1)
24
+ faraday-net_http (~> 1.0)
25
+ faraday-net_http_persistent (~> 1.1)
26
+ faraday-patron (~> 1.0)
27
+ faraday-rack (~> 1.0)
19
28
  multipart-post (>= 1.2, < 3)
20
- i18n (1.6.0)
29
+ ruby2_keywords (>= 0.0.4)
30
+ faraday-em_http (1.0.0)
31
+ faraday-em_synchrony (1.0.0)
32
+ faraday-excon (1.1.0)
33
+ faraday-httpclient (1.0.1)
34
+ faraday-net_http (1.0.1)
35
+ faraday-net_http_persistent (1.2.0)
36
+ faraday-patron (1.0.0)
37
+ faraday-rack (1.0.0)
38
+ i18n (1.8.10)
21
39
  concurrent-ruby (~> 1.0)
22
- jwt (2.1.0)
23
- minitest (5.11.3)
24
- multi_json (1.13.1)
40
+ jwt (2.2.3)
41
+ minitest (5.14.4)
42
+ multi_json (1.15.0)
25
43
  multi_xml (0.6.0)
26
- multipart-post (2.0.0)
27
- oauth2 (1.4.1)
28
- faraday (>= 0.8, < 0.16.0)
44
+ multipart-post (2.1.1)
45
+ oauth2 (1.4.7)
46
+ faraday (>= 0.8, < 2.0)
29
47
  jwt (>= 1.0, < 3.0)
30
48
  multi_json (~> 1.3)
31
49
  multi_xml (~> 0.5)
32
50
  rack (>= 1.2, < 3)
33
- rack (2.0.7)
34
- rake (10.5.0)
35
- rspec (3.8.0)
36
- rspec-core (~> 3.8.0)
37
- rspec-expectations (~> 3.8.0)
38
- rspec-mocks (~> 3.8.0)
39
- rspec-core (3.8.0)
40
- rspec-support (~> 3.8.0)
41
- rspec-expectations (3.8.3)
51
+ rack (2.2.3)
52
+ rake (13.0.6)
53
+ rspec (3.10.0)
54
+ rspec-core (~> 3.10.0)
55
+ rspec-expectations (~> 3.10.0)
56
+ rspec-mocks (~> 3.10.0)
57
+ rspec-core (3.10.1)
58
+ rspec-support (~> 3.10.0)
59
+ rspec-expectations (3.10.1)
42
60
  diff-lcs (>= 1.2.0, < 2.0)
43
- rspec-support (~> 3.8.0)
44
- rspec-mocks (3.8.0)
61
+ rspec-support (~> 3.10.0)
62
+ rspec-mocks (3.10.2)
45
63
  diff-lcs (>= 1.2.0, < 2.0)
46
- rspec-support (~> 3.8.0)
47
- rspec-support (3.8.0)
48
- thread_safe (0.3.6)
49
- tzinfo (1.2.5)
50
- thread_safe (~> 0.1)
64
+ rspec-support (~> 3.10.0)
65
+ rspec-support (3.10.2)
66
+ ruby2_keywords (0.0.5)
67
+ tzinfo (2.0.4)
68
+ concurrent-ruby (~> 1.0)
69
+ zeitwerk (2.4.2)
51
70
 
52
71
  PLATFORMS
53
- ruby
72
+ x86_64-linux
54
73
 
55
74
  DEPENDENCIES
56
- bundler (~> 1.16)
57
- rake (~> 10.0)
75
+ bundler (>= 2.2.10)
76
+ rake (>= 12.3.3)
58
77
  reso_api!
59
78
  rspec (~> 3.0)
60
79
 
61
80
  BUNDLED WITH
62
- 1.16.1
81
+ 2.2.27
data/README.md CHANGED
@@ -132,6 +132,14 @@ You can order the results by a field using `$orderby`:
132
132
  client.properties(orderby: "City desc")
133
133
  ```
134
134
 
135
+ #### $expand
136
+
137
+ $expand in oData is meant to join two resources together. For the Syndication API this means you can bring in photos to any property query.
138
+
139
+ ```ruby
140
+ client.properties(еxpand: "Media")
141
+ ```
142
+
135
143
  #### Pagination, $top, and $skip
136
144
 
137
145
  The default number of results returned is 100. You can override the default limit using the `$top` parameter. The higher the number specific for `$top`, the longer the API response will take, and pay attention to that different services does enforce a cap for number of records returned.
@@ -1,3 +1,3 @@
1
1
  module ResoApi
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
data/reso_api.gemspec CHANGED
@@ -20,8 +20,8 @@ Gem::Specification.new do |spec|
20
20
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
21
21
  spec.require_paths = ["lib"]
22
22
 
23
- spec.add_development_dependency "bundler", "~> 1.16"
24
- spec.add_development_dependency "rake", "~> 10.0"
23
+ spec.add_development_dependency "bundler", ">= 2.2.10"
24
+ spec.add_development_dependency "rake", ">= 12.3.3"
25
25
  spec.add_development_dependency "rspec", "~> 3.0"
26
26
  spec.add_dependency 'activesupport'
27
27
  spec.add_dependency "oauth2"
metadata CHANGED
@@ -1,43 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: reso_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Edlund
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-05-08 00:00:00.000000000 Z
11
+ date: 2021-09-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '1.16'
19
+ version: 2.2.10
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '1.16'
26
+ version: 2.2.10
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '10.0'
33
+ version: 12.3.3
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: '10.0'
40
+ version: 12.3.3
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rspec
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -122,8 +122,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
122
122
  - !ruby/object:Gem::Version
123
123
  version: '0'
124
124
  requirements: []
125
- rubyforge_project:
126
- rubygems_version: 2.7.6
125
+ rubygems_version: 3.1.4
127
126
  signing_key:
128
127
  specification_version: 4
129
128
  summary: RESO Web API Wrapper