parking_ticket 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 9567b2571c9b7ff530d44f3329d00f37f689e85dd7549d7f1b1f8da153983dcc
4
+ data.tar.gz: 80f1802a63403253b6a31b6e6cc1705e3596956e720a4617c44a7f2aad409031
5
+ SHA512:
6
+ metadata.gz: a6840bfb7952eddce3a7ee8592771d094966588763c55e16102321c1500bedba4a9fb2301ced80d7c2ff8efb749920ac98ff71ea81b25a530ab37bd03326b63e
7
+ data.tar.gz: d19a46b70fe45a7b59623a77151b9e859674e2b68c8cda0461d13e2ec7eff5c20156863c269e1dac9124ded04e6d217a06209f33c1a538f34027336a1f843fc5
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
@@ -0,0 +1,84 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
6
+
7
+ We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
8
+
9
+ ## Our Standards
10
+
11
+ Examples of behavior that contributes to a positive environment for our community include:
12
+
13
+ * Demonstrating empathy and kindness toward other people
14
+ * Being respectful of differing opinions, viewpoints, and experiences
15
+ * Giving and gracefully accepting constructive feedback
16
+ * Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
17
+ * Focusing on what is best not just for us as individuals, but for the overall community
18
+
19
+ Examples of unacceptable behavior include:
20
+
21
+ * The use of sexualized language or imagery, and sexual attention or
22
+ advances of any kind
23
+ * Trolling, insulting or derogatory comments, and personal or political attacks
24
+ * Public or private harassment
25
+ * Publishing others' private information, such as a physical or email
26
+ address, without their explicit permission
27
+ * Other conduct which could reasonably be considered inappropriate in a
28
+ professional setting
29
+
30
+ ## Enforcement Responsibilities
31
+
32
+ Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
33
+
34
+ Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
35
+
36
+ ## Scope
37
+
38
+ This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
39
+
40
+ ## Enforcement
41
+
42
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at tomecrepont@gmail.com. All complaints will be reviewed and investigated promptly and fairly.
43
+
44
+ All community leaders are obligated to respect the privacy and security of the reporter of any incident.
45
+
46
+ ## Enforcement Guidelines
47
+
48
+ Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
49
+
50
+ ### 1. Correction
51
+
52
+ **Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
53
+
54
+ **Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
55
+
56
+ ### 2. Warning
57
+
58
+ **Community Impact**: A violation through a single incident or series of actions.
59
+
60
+ **Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
61
+
62
+ ### 3. Temporary Ban
63
+
64
+ **Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
65
+
66
+ **Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
67
+
68
+ ### 4. Permanent Ban
69
+
70
+ **Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
71
+
72
+ **Consequence**: A permanent ban from any sort of public interaction within the community.
73
+
74
+ ## Attribution
75
+
76
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0,
77
+ available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
78
+
79
+ Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
80
+
81
+ [homepage]: https://www.contributor-covenant.org
82
+
83
+ For answers to common questions about this code of conduct, see the FAQ at
84
+ https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations.
data/Gemfile ADDED
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ source 'https://rubygems.org'
4
+
5
+ # Specify your gem's dependencies in parking_ticket.gemspec
6
+ gemspec
7
+
8
+ gem 'rake', '~> 13.0'
9
+
10
+ gem 'rspec', '~> 3.0'
11
+
12
+ gem 'faraday', '~> 2.7', '>= 2.7.2'
13
+
14
+ gem 'json_matchers'
data/Gemfile.lock ADDED
@@ -0,0 +1,46 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ parking_ticket (0.1.0)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ diff-lcs (1.5.0)
10
+ faraday (2.7.2)
11
+ faraday-net_http (>= 2.0, < 3.1)
12
+ ruby2_keywords (>= 0.0.4)
13
+ faraday-net_http (3.0.2)
14
+ json_matchers (0.11.1)
15
+ json_schema
16
+ json_schema (0.21.0)
17
+ rake (13.0.6)
18
+ rspec (3.12.0)
19
+ rspec-core (~> 3.12.0)
20
+ rspec-expectations (~> 3.12.0)
21
+ rspec-mocks (~> 3.12.0)
22
+ rspec-core (3.12.0)
23
+ rspec-support (~> 3.12.0)
24
+ rspec-expectations (3.12.1)
25
+ diff-lcs (>= 1.2.0, < 2.0)
26
+ rspec-support (~> 3.12.0)
27
+ rspec-mocks (3.12.1)
28
+ diff-lcs (>= 1.2.0, < 2.0)
29
+ rspec-support (~> 3.12.0)
30
+ rspec-support (3.12.0)
31
+ ruby2_keywords (0.0.5)
32
+ sqlite3 (1.5.4-arm64-darwin)
33
+
34
+ PLATFORMS
35
+ arm64-darwin-20
36
+
37
+ DEPENDENCIES
38
+ faraday (~> 2.7, >= 2.7.2)
39
+ json_matchers
40
+ parking_ticket!
41
+ rake (~> 13.0)
42
+ rspec (~> 3.0)
43
+ sqlite3 (~> 1.3, >= 1.3.11)
44
+
45
+ BUNDLED WITH
46
+ 2.2.32
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2023 TODO: Write your name
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,43 @@
1
+ # ParkingTicket
2
+
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/parking_ticket`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'parking_ticket'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle install
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install parking_ticket
22
+
23
+ ## Usage
24
+
25
+ TODO: Write usage instructions here
26
+
27
+ ## Development
28
+
29
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
+
31
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/parking_ticket. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/[USERNAME]/parking_ticket/blob/master/CODE_OF_CONDUCT.md).
36
+
37
+ ## License
38
+
39
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
40
+
41
+ ## Code of Conduct
42
+
43
+ Everyone interacting in the ParkingTicket project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/parking_ticket/blob/master/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/gem_tasks"
4
+ require "rspec/core/rake_task"
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+
8
+ task default: :spec
data/bin/console ADDED
@@ -0,0 +1,15 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require "bundler/setup"
5
+ require "parking_ticket"
6
+
7
+ # You can add fixtures and/or initialization code here to make experimenting
8
+ # with your gem easier. You can also use a different console, if you like.
9
+
10
+ # (If you use this, don't forget to add pry to your Gemfile!)
11
+ # require "pry"
12
+ # Pry.start
13
+
14
+ require "irb"
15
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,71 @@
1
+ require_relative '../pay_by_phone'
2
+ require_relative '../../parking_ticket/ticket'
3
+ class PayByPhone::Adapter
4
+ class Error < StandardError; end
5
+
6
+ def initialize
7
+ check_required_configuarion!
8
+ end
9
+
10
+ def covered?
11
+ !!current_ticket
12
+ end
13
+
14
+ def current_ticket
15
+ ticket = client.tickets(account_id).find do |ticket|
16
+ ticket.dig('vehicle', 'licensePlate') == ENV['PAYBYPHONE_LICENSEPLATE']
17
+ end
18
+ return unless ticket
19
+
20
+ Ticket.new({
21
+ starts_on: DateTime.parse(ticket['startTime']),
22
+ ends_on: DateTime.parse(ticket['expireTime']),
23
+ license_plate: ticket.dig('vehicle', 'licensePlate'),
24
+ cost: ticket.dig('segments', 0, 'cost'),
25
+ client: 'PayByPhone',
26
+ client_ticket_id: ticket['parkingSessionId']
27
+ })
28
+ end
29
+
30
+ def renew
31
+ return if covered?
32
+
33
+ quote = client.new_quote(rate_option_id, account_id)
34
+ puts client.new_ticket(account_id, quote['parkingStartTime'], quote['quoteId'], payment_method_id)
35
+ end
36
+
37
+ private
38
+
39
+ def client
40
+ @client ||= PayByPhone.new
41
+ end
42
+
43
+ def account_id
44
+ @account_id ||= client.accounts.dig(0, 'id')
45
+ end
46
+
47
+ def payment_method_id
48
+ client.payment_methods['items'].find do |payment_method|
49
+ payment_method['maskedCardNumber'] == ENV['PAYBYPHONE_CARDNUMBER']
50
+ end['id']
51
+ end
52
+
53
+ def rate_option_id
54
+ client.rate_options(account_id).find do |rate_option|
55
+ rate_option['type'] == 'RES' && rate_option['licensePlate'] == ENV['PAYBYPHONE_LICENSEPLATE']
56
+ end['rateOptionId']
57
+ end
58
+
59
+ def check_required_configuarion!
60
+ return if %w[
61
+ PAYBYPHONE_PASSWORD
62
+ PAYBYPHONE_USERNAME
63
+ PAYBYPHONE_LICENSEPLATE
64
+ PAYBYPHONE_ZIPCODE
65
+ PAYBYPHONE_CARDNUMBER
66
+ ].all? { |required_environement_variable| ENV[required_environement_variable] }
67
+
68
+ raise Error,
69
+ 'The required configuation are not set properly, the following environnment variable must be set : PAYBYPHONE_PASSWORD, PAYBYPHONE_USERNAME, PAYBYPHONE_LICENSEPLATE, PAYBYPHONE_ZIPCODE, PAYBYPHONE_CARDNUMBER'
70
+ end
71
+ end
@@ -0,0 +1,113 @@
1
+ require 'faraday'
2
+ class PayByPhone
3
+ def tickets(account_id)
4
+ connection.get("/parking/accounts/#{account_id}/sessions?periodType=Current").body
5
+ end
6
+
7
+ def new_ticket(account_id, parking_start_time, quote_id, payment_method_id)
8
+ connection.post(
9
+ "/parking/accounts/#{account_id}/sessions/",
10
+ {
11
+ "expireTime": nil,
12
+ "duration": {
13
+ "quantity": '1',
14
+ "timeUnit": 'days'
15
+ },
16
+ "licensePlate": ENV['PAYBYPHONE_LICENSEPLATE'],
17
+ "locationId": ENV['PAYBYPHONE_ZIPCODE'],
18
+ "rateOptionId": '75101',
19
+ "startTime": parking_start_time,
20
+ "quoteId": quote_id,
21
+ "parkingAccountId": account_id,
22
+ "paymentMethod": {
23
+ "paymentMethodType": 'PaymentAccount',
24
+ "payload": {
25
+ "paymentAccountId": payment_method_id,
26
+ "clientBrowserDetails": {
27
+ "browserAcceptHeader": 'text/html',
28
+ "browserColorDepth": '30',
29
+ "browserJavaEnabled": 'false',
30
+ "browserLanguage": 'fr-FR',
31
+ "browserScreenHeight": '900',
32
+ "browserScreenWidth": '1440',
33
+ "browserTimeZone": '-60',
34
+ "browserUserAgent": 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36'
35
+ }
36
+ }
37
+ }
38
+ }.to_json
39
+ ).body
40
+ end
41
+
42
+ def accounts
43
+ connection.get('/parking/accounts').body
44
+ end
45
+
46
+ def vehicles
47
+ connection.get('/identity/profileservice/v1/members/vehicles/paybyphone').body
48
+ end
49
+
50
+ def rate_options(account_id)
51
+ connection.get("/parking/locations/#{ENV['PAYBYPHONE_ZIPCODE']}/rateOptions",
52
+ {
53
+ parkingAccountId: account_id,
54
+ licensePlate: ENV['PAYBYPHONE_LICENSEPLATE']
55
+ }).body
56
+ end
57
+
58
+ def new_quote(rate_option_id, account_id)
59
+ connection.get(
60
+ "/parking/accounts/#{account_id}/quote",
61
+ {
62
+ locationId: ENV['PAYBYPHONE_ZIPCODE'],
63
+ licensePlate: ENV['PAYBYPHONE_LICENSEPLATE'],
64
+ rateOptionId: rate_option_id,
65
+ durationTimeUnit: 'Days',
66
+ durationQuantity: 1,
67
+ isParkUntil: false,
68
+ parkingAccountId: account_id
69
+ }
70
+ ).body
71
+ end
72
+
73
+ def member
74
+ connection.get('/identity/profileservice/v1/members').body
75
+ end
76
+
77
+ def payment_methods
78
+ connection.get('/payment/v3/accounts').body
79
+ end
80
+
81
+ private
82
+
83
+ def connection
84
+ @connection ||= Faraday.new(
85
+ url: 'https://consumer.paybyphoneapis.com',
86
+ headers: {
87
+ 'Content-Type' => 'application/json',
88
+ 'Authorization' => "Bearer #{token}"
89
+ }
90
+ ) do |f|
91
+ f.response :json
92
+ end
93
+ end
94
+
95
+ def token
96
+ conn = Faraday.new('https://auth.paybyphoneapis.com') do |f|
97
+ f.response :json
98
+ end
99
+ conn.post(
100
+ '/token',
101
+ URI.encode_www_form({
102
+ grant_type: 'password',
103
+ username: ENV['PAYBYPHONE_USERNAME'],
104
+ password: ENV['PAYBYPHONE_PASSWORD'],
105
+ client_id: 'paybyphone_web'
106
+ }),
107
+ {
108
+ 'Accept' => 'application/json, text/plain, */*',
109
+ 'X-Pbp-ClientType' => 'WebApp'
110
+ }
111
+ ).body['access_token']
112
+ end
113
+ end
@@ -0,0 +1,21 @@
1
+ class ParkingTicket::Ticket
2
+ def initialize(attributes)
3
+ @starts_on = attributes[:starts_on]
4
+ @ends_on = attributes[:ends_on]
5
+ @license_plate = attributes[:license_plate]
6
+ @cost = attributes[:cost]
7
+ @client = attributes[:client]
8
+ @client_ticket_id = attributes[:client_ticket_id]
9
+ end
10
+
11
+ def to_h
12
+ {
13
+ starts_on: @starts_on,
14
+ ends_on: @ends_on,
15
+ license_plate: @license_plate,
16
+ cost: @cost,
17
+ client: @client,
18
+ client_ticket_id: @client_ticket_id
19
+ }
20
+ end
21
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module ParkingTicket
4
+ VERSION = "0.1.0"
5
+ end
@@ -0,0 +1,28 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'parking_ticket/version'
4
+ require_relative 'client/pay_by_phone'
5
+ require_relative 'client/pay_by_phone/adapter'
6
+
7
+ module ParkingTicket
8
+ class Error < StandardError; end
9
+
10
+ def self.renew
11
+ if current_ticket
12
+ puts '❌ Can not renew ticket as already covered by a ticket at this time'
13
+ else
14
+ puts '🔄 Renewing ticket'
15
+ adapter.renew
16
+ puts '✅ Ticket renewed'
17
+ end
18
+ end
19
+
20
+ def self.current_ticket
21
+ puts '🕵️ Retrieving current_ticket'
22
+ adapter.current_ticket
23
+ end
24
+
25
+ def self.adapter
26
+ @@adapter ||= PayByPhone::Adapter.new
27
+ end
28
+ end
@@ -0,0 +1,32 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'lib/parking_ticket/version'
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = 'parking_ticket'
7
+ spec.version = ParkingTicket::VERSION
8
+ spec.authors = ['Tom Ecrepont']
9
+ spec.email = ['tomecrepont@gmail.com']
10
+
11
+ spec.summary = 'Never forget to take a parking ticket again.'
12
+ spec.description = 'Automatically renew your parking ticket when it expires.'
13
+ spec.homepage = 'https://github.com/troptropcontent/parking_ticket'
14
+ spec.license = 'MIT'
15
+ spec.required_ruby_version = '>= 3.0.0'
16
+
17
+ spec.metadata['homepage_uri'] = spec.homepage
18
+ spec.metadata['source_code_uri'] = 'https://github.com/troptropcontent/parking_ticket'
19
+
20
+ # Specify which files should be added to the gem when it is released.
21
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
22
+ spec.files = Dir.chdir(File.expand_path(__dir__)) do
23
+ `git ls-files -z`.split("\x0").reject do |f|
24
+ (f == __FILE__) || f.match(%r{\A(?:(?:test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
25
+ end
26
+ end
27
+ spec.bindir = 'exe'
28
+ spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
29
+ spec.require_paths = ['lib']
30
+
31
+ # dependancies
32
+ end
metadata ADDED
@@ -0,0 +1,60 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: parking_ticket
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Tom Ecrepont
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2023-01-09 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: Automatically renew your parking ticket when it expires.
14
+ email:
15
+ - tomecrepont@gmail.com
16
+ executables: []
17
+ extensions: []
18
+ extra_rdoc_files: []
19
+ files:
20
+ - ".rspec"
21
+ - CODE_OF_CONDUCT.md
22
+ - Gemfile
23
+ - Gemfile.lock
24
+ - LICENSE.txt
25
+ - README.md
26
+ - Rakefile
27
+ - bin/console
28
+ - bin/setup
29
+ - lib/client/pay_by_phone.rb
30
+ - lib/client/pay_by_phone/adapter.rb
31
+ - lib/parking_ticket.rb
32
+ - lib/parking_ticket/ticket.rb
33
+ - lib/parking_ticket/version.rb
34
+ - parking_ticket.gemspec
35
+ homepage: https://github.com/troptropcontent/parking_ticket
36
+ licenses:
37
+ - MIT
38
+ metadata:
39
+ homepage_uri: https://github.com/troptropcontent/parking_ticket
40
+ source_code_uri: https://github.com/troptropcontent/parking_ticket
41
+ post_install_message:
42
+ rdoc_options: []
43
+ require_paths:
44
+ - lib
45
+ required_ruby_version: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - ">="
48
+ - !ruby/object:Gem::Version
49
+ version: 3.0.0
50
+ required_rubygems_version: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ requirements: []
56
+ rubygems_version: 3.2.22
57
+ signing_key:
58
+ specification_version: 4
59
+ summary: Never forget to take a parking ticket again.
60
+ test_files: []