immoscout 1.0.0 → 1.1.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
- SHA256:
3
- metadata.gz: d84665a17f30c2eaf4eb162387b47477327c6aeaabe848cd3407c58454164850
4
- data.tar.gz: 36645bd40f2b0734d1ea0409f60b752a282e2bb5cdceb0bd7d61658197a4ebbf
2
+ SHA1:
3
+ metadata.gz: 1cf89223af1887705e7bd11ac75ace0fd75a85a2
4
+ data.tar.gz: c98eb3a001575904e6c4dda7f1cd33976a3eaf56
5
5
  SHA512:
6
- metadata.gz: 498747faccb6910c9d27552a6810f0197d7d214fe03299af085524628ec9843de6814ef09bcfe7bb1315a0bd4b0eeea7282e41357f126744626e99294852896f
7
- data.tar.gz: 5213e82fc915a05d5e070e513921139d088680cf2cbca7f74697c0bc6b5a080c4d482026be66cab390fbab34f23d5132c4633382c51f029e32b6bd4b6de25f89
6
+ metadata.gz: 70989b548a37cc8b8bb6c65e64b99963bb36cc928ed089a09521b76be907a314cd28a0bea1967e6b6860e2b63cd5e4575f7704630426d105732bf72e201a3217
7
+ data.tar.gz: d25b442f51b4c70b14ca375161bbb511f245fbfae0918854d0e627c3109edb7f447be3a93d50d2553f23c4594cc20efc56fe933dbe4708af461cd8d6353d8f83
@@ -3,6 +3,7 @@
3
3
  require_relative '../base'
4
4
  require_relative '../parts/coordinate'
5
5
  require_relative '../parts/geo_hierarchy'
6
+ require_relative '../parts/international_country_region'
6
7
  require_relative '../concerns/propertiable'
7
8
  require_relative '../concerns/renderable'
8
9
 
@@ -17,6 +18,8 @@ module Immoscout
17
18
  property :postcode
18
19
  property :city
19
20
  property :wgs84_coordinate, coerce: Immoscout::Models::Parts::Coordinate
21
+ property :international_country_region,
22
+ coerce: Immoscout::Models::Parts::InternationalCountryRegion
20
23
  property :geo_hierarchy,
21
24
  coerce: Immoscout::Models::Parts::GeoHierarchy,
22
25
  readonly: true
@@ -0,0 +1,18 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative '../base'
4
+ require_relative '../concerns/propertiable'
5
+ require_relative '../concerns/renderable'
6
+
7
+ module Immoscout
8
+ module Models
9
+ module Parts
10
+ class InternationalCountryRegion < Base
11
+ include Immoscout::Models::Concerns::Renderable
12
+ include Immoscout::Models::Concerns::Propertiable
13
+ property :country
14
+ property :region
15
+ end
16
+ end
17
+ end
18
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Immoscout
4
- VERSION = "1.0.0".freeze
4
+ VERSION = "1.1.0".freeze
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: immoscout
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcus Geissler
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-05-09 00:00:00.000000000 Z
11
+ date: 2018-09-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -232,6 +232,7 @@ files:
232
232
  - lib/immoscout/models/parts/firing_type.rb
233
233
  - lib/immoscout/models/parts/geo_code.rb
234
234
  - lib/immoscout/models/parts/geo_hierarchy.rb
235
+ - lib/immoscout/models/parts/international_country_region.rb
235
236
  - lib/immoscout/models/parts/price.rb
236
237
  - lib/immoscout/models/parts/publish_channel.rb
237
238
  - lib/immoscout/models/parts/real_estate.rb
@@ -261,7 +262,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
261
262
  version: '0'
262
263
  requirements: []
263
264
  rubyforge_project:
264
- rubygems_version: 2.7.6
265
+ rubygems_version: 2.6.8
265
266
  signing_key:
266
267
  specification_version: 4
267
268
  summary: Ruby client for the Immobilienscout24 REST API