touringplans 0.3.1 → 0.3.5

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: 23b9e7a9427dc9c29f110192664421209833190bd7f2036dc44d03bbf9cee89b
4
- data.tar.gz: 1fd63dfcd635132295b7914f79b41342f3c9ca1e56de5ab2d4afc56f14a54b11
3
+ metadata.gz: 9a1f5173ae5122387ff736c9330ecdf98d29307d3839276179f74d25fe734d55
4
+ data.tar.gz: 832f6fc645e19986c3cced3e7b84695ecc7f7a68fb4d1ea84082811a0cde02b7
5
5
  SHA512:
6
- metadata.gz: 73cf31a52342039349a62edd41100d566f6012365b2a226a52289971519d86452f5c633baaf85d5e0d3bdf7f6b04778c4ebfa7959d9358a8805f3185ddfc395b
7
- data.tar.gz: 89b41c5db23cf5140a5a91f98b4b3973669c9bae197e2cfa3896e8cf901a9a2163d2ab736ea3d3b1372a74cd24c3a19d86a155941cff457399c2faaa5efdf6c0
6
+ metadata.gz: 910c19291ef5eb840fa9d437c1d90ab39841d95b9ce4dd622c408ab39e10aa177f782820b97dabfbd19915cada6ddf6051d033a758150fe030cf1167d33f0803
7
+ data.tar.gz: d1ae5e6902c623fc6326901a9b23bf624914b33d467aded6dab9ae3824d7fd19539aee9503e3d9ca83db74d735ae45ea070f62c4590952bdcaa84de78af1900b
data/.version CHANGED
@@ -1 +1 @@
1
- 0.3.1
1
+ 0.3.5
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Touringplans
4
- VERSION = "0.3.1"
4
+ VERSION = "0.3.5"
5
5
  end
data/lib/touringplans.rb CHANGED
@@ -447,11 +447,10 @@ module Touringplans
447
447
  attribute :short_name, Types::String.optional
448
448
  attribute :accepts_reservations, Types::Params::Bool
449
449
  attribute :kosher_available, Types::Params::Bool
450
-
451
- attribute :operator_id, Types::Integer
450
+ attribute :operator_id, Types::Coercible::Integer.optional
452
451
  attribute :operator_url, Types::String.optional
453
452
  attribute :operator_type, Types::String.optional
454
- attribute :walking_time_proxy_id, Types::String.optional
453
+ attribute :walking_time_proxy_id, Types::Integer.optional
455
454
  attribute :sort_name, Types::String.optional
456
455
  attribute :mobile_ordering, Types::Bool.optional
457
456
  attribute :extinct_on_uncertain, Types::String.optional
@@ -481,28 +480,28 @@ module Touringplans
481
480
 
482
481
  attribute :name, Types::String
483
482
  attribute :fastpass_booth, Types::Bool
484
- attribute :short_name, Types::String
483
+ attribute :short_name, Types::String.optional
485
484
  attribute :created_at, Types::Params::DateTime
486
485
  attribute :updated_at, Types::Params::DateTime
487
486
  attribute :open_emh_morning, Types::Bool
488
487
  attribute :open_emh_evening, Types::Bool
489
488
  attribute :single_rider, Types::Bool
490
- attribute :time_zone, Types::String
489
+ attribute :time_zone, Types::String.optional
491
490
  attribute :seasonal, Types::Bool
492
491
  attribute :open_very_merry, Types::Bool
493
492
  attribute :open_not_so_scary, Types::Bool
494
- attribute :category_code, Types::String
495
- attribute :duration, Types::Float
493
+ attribute :category_code, Types::String.optional
494
+ attribute :duration, Types::Float.optional
496
495
  attribute :scheduled_code, Types::String.optional
497
- attribute :what_it_is, Types::String
498
- attribute :scope_and_scale_code, Types::String
499
- attribute :when_to_go, Types::String
500
- attribute :average_wait_per_hundred, Types::Float
496
+ attribute :what_it_is, Types::String.optional
497
+ attribute :scope_and_scale_code, Types::String.optional
498
+ attribute :when_to_go, Types::String.optional
499
+ attribute :average_wait_per_hundred, Types::Float.optional
501
500
  attribute :average_wait_assumes, Types::String.optional
502
- attribute :loading_speed, Types::String
503
- attribute :probable_wait_time, Types::Float.optional
501
+ attribute :loading_speed, Types::String.optional
502
+ attribute :probable_wait_time, Types::String.optional
504
503
  attribute :special_needs, Types::String.optional
505
- attribute :height_restriction, Types::Float.optional
504
+ attribute :height_restriction, Types::Coercible::Integer.optional
506
505
  attribute :intense, Types::Bool
507
506
  attribute :extinct_on, Types::Params::DateTime.optional
508
507
  attribute :opened_on, Types::Params::DateTime.optional
@@ -513,34 +512,34 @@ module Touringplans
513
512
  attribute :reflective_captioning, Types::Bool
514
513
  attribute :assistive_listening, Types::Bool
515
514
  attribute :audio_description, Types::Bool
516
- attribute :wheelchair_transfer_code, Types::String
515
+ attribute :wheelchair_transfer_code, Types::String.optional
517
516
  attribute :no_service_animals, Types::Bool
518
517
  attribute :sign_language, Types::Bool
519
518
  attribute :service_animal_check, Types::Bool
520
519
  attribute :not_to_be_missed, Types::Bool
521
520
  attribute :rider_swap, Types::Bool
522
- attribute :ultimate_code, Types::String
523
- attribute :ultimate_task, Types::String
521
+ attribute :ultimate_code, Types::String.optional
522
+ attribute :ultimate_task, Types::String.optional
524
523
  attribute :park_entrance, Types::Bool
525
- attribute :relative_open, Types::Bool.optional
526
- attribute :relative_close, Types::Bool.optional
524
+ # attribute :relative_open, Types::Float.optional
525
+ # attribute :relative_close, Types::Bool.optional
527
526
  attribute :close_at_dusk, Types::Bool.optional
528
527
  attribute :crowd_calendar_version, Types::Integer
529
- attribute :match_name, Types::String
528
+ attribute :match_name, Types::String.optional
530
529
  attribute :crazy_threshold, Types::Integer.optional
531
530
  attribute :fastpass_only, Types::Bool
532
531
  attribute :allow_showtimes_after_close, Types::Bool
533
532
  attribute :disconnected_fastpass_booth, Types::Bool
534
- attribute :arrive_before, Types::Bool.optional
535
- attribute :arrive_before_fp, Types::Bool.optional
533
+ attribute :arrive_before, Types::Integer.optional
534
+ attribute :arrive_before_fp, Types::Integer.optional
536
535
  attribute :allow_time_restriction, Types::Bool
537
- attribute :relative_open_to_sunset, Types::Bool.optional
538
- attribute :relative_close_to_sunset, Types::Bool.optional
539
- attribute :closing_round_code, Types::Bool.optional
536
+ attribute :relative_open_to_sunset, Types::Integer.optional
537
+ attribute :relative_close_to_sunset, Types::Integer.optional
538
+ attribute :closing_round_code, Types::String.optional
540
539
  attribute :walking_time_proxy_id, Types::Integer.optional
541
- attribute :flexible_duration, Types::Bool
542
- attribute :operator_id, Types::Integer
543
- attribute :operator_type, Types::String
540
+ # attribute :flexible_duration, Types::Bool
541
+ attribute :operator_id, Types::Coercible::Integer.optional
542
+ attribute :operator_type, Types::String.optional
544
543
  attribute :hide_app, Types::Bool
545
544
  attribute :showtime_proxy_id, Types::Integer.optional
546
545
  attribute :sort_name, Types::String
@@ -551,12 +550,12 @@ module Touringplans
551
550
  attribute :climate_controlled, Types::Bool
552
551
  attribute :wet, Types::Bool.optional
553
552
  attribute :operational_notes, Types::String.optional
554
- attribute :masthead_circle_x, Types::Integer
555
- attribute :masthead_circle_y, Types::Integer
556
- attribute :latitude, Types::String
557
- attribute :longitude, Types::String
553
+ # attribute :masthead_circle_x, Types::Integer
554
+ # attribute :masthead_circle_y, Types::Integer
555
+ attribute :latitude, Types::String.optional
556
+ attribute :longitude, Types::String.optional
558
557
  attribute :open_early, Types::Bool
559
- attribute :themeparks_entity_id, Types::String
558
+ attribute :themeparks_entity_id, Types::String.optional
560
559
  attribute :has_virtual_queue, Types::Bool
561
560
  end
562
561
 
@@ -575,13 +574,13 @@ module Touringplans
575
574
  class HotelFull < Dry::Struct
576
575
  transform_keys(&:to_sym)
577
576
 
578
- attribute :name, Types::String
579
- attribute :address, Types::String
580
- attribute :city, Types::String
581
- attribute :state_code, Types::String
582
- attribute :zip_code, Types::String
583
- attribute :phone_number, Types::String
584
- attribute :url, Types::String
577
+ attribute :name, Types::Coercible::String
578
+ attribute :address, Types::Coercible::String.optional
579
+ attribute :city, Types::Coercible::String.optional
580
+ attribute :state_code, Types::Coercible::String.optional
581
+ attribute :zip_code, Types::Coercible::String.optional
582
+ attribute :phone_number, Types::Coercible::String.optional
583
+ attribute :url, Types::Coercible::String.optional
585
584
  attribute :off_site, Types::Bool
586
585
  attribute :water_sports, Types::Bool
587
586
  attribute :marina, Types::Bool
@@ -593,13 +592,13 @@ module Touringplans
593
592
  attribute :room_service, Types::Bool
594
593
  attribute :wired_internet, Types::Bool
595
594
  attribute :wireless_internet, Types::Bool
596
- attribute :num_rooms, Types::Integer
597
- attribute :theme, Types::String
598
- attribute :cost_range, Types::String
595
+ attribute :num_rooms, Types::Coercible::Integer
596
+ attribute :theme, Types::Coercible::String.optional
597
+ attribute :cost_range, Types::Coercible::String.optional
599
598
  attribute :shuttle_to_parks, Types::Bool
600
- attribute :cost_estimate, Types::String.optional
601
- attribute :lodging_area_code, Types::String
602
- attribute :category_code, Types::String
599
+ attribute :cost_estimate, Types::Coercible::String.optional
600
+ attribute :lodging_area_code, Types::Coercible::String.optional
601
+ attribute :category_code, Types::Coercible::String.optional
603
602
  end
604
603
 
605
604
  PLACE_KEYS = %i[magic_kingdom
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: touringplans
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - captproton
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-10-17 00:00:00.000000000 Z
11
+ date: 2021-10-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: awesome_print