park_info 0.6.0 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 66bc614ce31491fcc2d042937e84df1c1f13d9c34e9a920c95379792cf5aa6f8
4
- data.tar.gz: e9cd8f1a2bafb4d3b5466324be368c3cdf2e089c0030f647d74e923343dbf5b1
3
+ metadata.gz: a001308c1671b5652a2c7455495450464612e78db1d246873b3137fda37fb452
4
+ data.tar.gz: 7c93e4e5ba2653ef6d64de4e857e426996749470a8cae1d3d6b061256223c8bc
5
5
  SHA512:
6
- metadata.gz: 8dece4d97418de3bbd4b34faace78a3670e8aa48469bab00212eec5b88a111bde68aca8596bd79c1c1eb2f7d539dd68120ceb83acd4195ed700c0b4ea34bb185
7
- data.tar.gz: 6b081c50221aee608ba6c8f20f4d1cd4356dfc661596e8cc36eec0a95fa97afee8ea5d20ce15b3a3d4c0e7d57d0077d51328faed99f0f31a7cbd7b4aefbb0920
6
+ metadata.gz: feb6da77f047d973fbf12df6bb48f5df2f68b241dea33116396b4fbb833cfdf83c90ab8bd65ae22d04d917d09f3aaa49a196e77676cedd27f3a0623b139e4c35
7
+ data.tar.gz: 6b0f777c6fb49b671803c9fc140789b431bb194a078d575a8671785252446e00303e72397c4301ea3915971a2300aca8fa8c057f72a110490077c10016f18cda
data/README.md CHANGED
@@ -45,3 +45,10 @@ Currently, the data is cached locally for 5 minutes.
45
45
  - California Adventure (`ParkInfo::Disneyland::CaliforniaAdventure`)
46
46
  - Disneyland Park (`ParkInfo::Disneyland::DisneylandPark`)
47
47
 
48
+ * Disneyland Paris
49
+ - Disneyland Park (`ParkInfo::DisneylandParis::DisneylandPark`)
50
+ - Walt Disney Studios (`ParkInfo::DisneylandParis::WaltDisneyStudios`)
51
+
52
+ * Hong Kong Disneyland
53
+ - Disneyland Park (`ParkInfo::HongKongDisneyland::DisneylandPark`)
54
+
@@ -2,4 +2,6 @@ require File.dirname(__FILE__) + '/disney_base'
2
2
  require File.dirname(__FILE__) + '/disney_resort'
3
3
  require File.dirname(__FILE__) + '/disney_attraction'
4
4
  require File.dirname(__FILE__) + '/disney_world'
5
- require File.dirname(__FILE__) + '/disneyland'
5
+ require File.dirname(__FILE__) + '/disneyland'
6
+ require File.dirname(__FILE__) + '/disneyland_paris'
7
+ require File.dirname(__FILE__) + '/hong_kong_disneyland'
@@ -22,7 +22,7 @@ module ParkInfo
22
22
  end
23
23
 
24
24
  def wait_times_url
25
- "facility-service/theme-parks/#{park_id};destination=#{resort_id}/wait-times"
25
+ "facility-service/theme-parks/#{park_id};destination=#{resort_id}/wait-times?region=#{region}"
26
26
  end
27
27
 
28
28
  def facilities_info_url
@@ -1,9 +1,10 @@
1
1
  module ParkInfo
2
2
  class DisneylandParis
3
- class MagicKingdom < DisneyResort
3
+ class DisneylandPark < DisneyResort
4
4
  RESORT_ID = "dlp";
5
5
  PARK_ID = "P1";
6
6
  REGION = "fr";
7
+
7
8
  end
8
9
 
9
10
  class WaltDisneyStudios < DisneyResort
@@ -0,0 +1,10 @@
1
+ module ParkInfo
2
+ class HongKongDisneyland
3
+ class DisneylandPark < DisneyResort
4
+ RESORT_ID = "hkdl";
5
+ PARK_ID = "desHongKongDisneyland";
6
+ REGION = "INTL";
7
+
8
+ end
9
+ end
10
+ end
@@ -1,3 +1,3 @@
1
1
  module ParkInfo
2
- VERSION = "0.6.0"
2
+ VERSION = "0.8.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: park_info
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bryan Fordham
@@ -28,6 +28,7 @@ files:
28
28
  - lib/disney/disney_world.rb
29
29
  - lib/disney/disneyland.rb
30
30
  - lib/disney/disneyland_paris.rb
31
+ - lib/disney/hong_kong_disneyland.rb
31
32
  - lib/park_info.rb
32
33
  - lib/version.rb
33
34
  homepage: https://github.com/mnmlst-sftwr/park-info