party_bus 0.1.11

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: d526f259f98615d1033f8f20ad39a85905887801869d3d8a310f918ef15f573e
4
+ data.tar.gz: 5c236342dd0240f092384100d12134581ef44fb86857e07763671e0e0db5063b
5
+ SHA512:
6
+ metadata.gz: eee14f6918b50c233fc80676f200e4874fa5af1ce08652fe24346e57cc405904ba266c6011b2ce6b1d1a733252fc82fc96b0415c930059cff145c024caebad80
7
+ data.tar.gz: edc96243ed5531be52ada3d8da9d2e9094c4f0665a0b01faafcd70ceddbd7a4f5fa0c78ec4f9d5dace52e525090cbb34a63445e853c594ecb19be7fc4b43797f
data/.gitignore ADDED
@@ -0,0 +1,11 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+
10
+ # rspec failure tracking
11
+ .rspec_status
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.tool-versions ADDED
@@ -0,0 +1 @@
1
+ ruby 2.7.6
data/.travis.yml ADDED
@@ -0,0 +1,6 @@
1
+ ---
2
+ language: ruby
3
+ cache: bundler
4
+ rvm:
5
+ - 2.7.3
6
+ before_install: gem install bundler -v 2.1.4
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at corey@aridsoftware.com. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [https://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: https://contributor-covenant.org
74
+ [version]: https://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,15 @@
1
+ source "https://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in party_bus.gemspec
4
+ gemspec
5
+
6
+ group :development, :test do
7
+ gem "rake", "~> 12.0"
8
+ end
9
+
10
+ group :test do
11
+ gem "rspec", "~> 3.0"
12
+ gem "webmock", "~> 3.14"
13
+ end
14
+
15
+ gem "byebug", "~> 11.1"
data/Gemfile.lock ADDED
@@ -0,0 +1,73 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ party_bus (0.1.11)
5
+ activemodel (>= 6.0)
6
+ activesupport (>= 6.0)
7
+ after_do (~> 0.4.0)
8
+ httparty (~> 0.20.0)
9
+
10
+ GEM
11
+ remote: https://rubygems.org/
12
+ specs:
13
+ activemodel (7.0.2.4)
14
+ activesupport (= 7.0.2.4)
15
+ activesupport (7.0.2.4)
16
+ concurrent-ruby (~> 1.0, >= 1.0.2)
17
+ i18n (>= 1.6, < 2)
18
+ minitest (>= 5.1)
19
+ tzinfo (~> 2.0)
20
+ addressable (2.8.0)
21
+ public_suffix (>= 2.0.2, < 5.0)
22
+ after_do (0.4.0)
23
+ byebug (11.1.3)
24
+ concurrent-ruby (1.1.10)
25
+ crack (0.4.5)
26
+ rexml
27
+ diff-lcs (1.5.0)
28
+ hashdiff (1.0.1)
29
+ httparty (0.20.0)
30
+ mime-types (~> 3.0)
31
+ multi_xml (>= 0.5.2)
32
+ i18n (1.10.0)
33
+ concurrent-ruby (~> 1.0)
34
+ mime-types (3.4.1)
35
+ mime-types-data (~> 3.2015)
36
+ mime-types-data (3.2022.0105)
37
+ minitest (5.15.0)
38
+ multi_xml (0.6.0)
39
+ public_suffix (4.0.7)
40
+ rake (12.3.3)
41
+ rexml (3.2.5)
42
+ rspec (3.10.0)
43
+ rspec-core (~> 3.10.0)
44
+ rspec-expectations (~> 3.10.0)
45
+ rspec-mocks (~> 3.10.0)
46
+ rspec-core (3.10.1)
47
+ rspec-support (~> 3.10.0)
48
+ rspec-expectations (3.10.2)
49
+ diff-lcs (>= 1.2.0, < 2.0)
50
+ rspec-support (~> 3.10.0)
51
+ rspec-mocks (3.10.2)
52
+ diff-lcs (>= 1.2.0, < 2.0)
53
+ rspec-support (~> 3.10.0)
54
+ rspec-support (3.10.3)
55
+ tzinfo (2.0.4)
56
+ concurrent-ruby (~> 1.0)
57
+ webmock (3.14.0)
58
+ addressable (>= 2.8.0)
59
+ crack (>= 0.3.2)
60
+ hashdiff (>= 0.4.0, < 2.0.0)
61
+
62
+ PLATFORMS
63
+ ruby
64
+
65
+ DEPENDENCIES
66
+ byebug (~> 11.1)
67
+ party_bus!
68
+ rake (~> 12.0)
69
+ rspec (~> 3.0)
70
+ webmock (~> 3.14)
71
+
72
+ BUNDLED WITH
73
+ 2.1.4
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2022 corey jergensen
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,54 @@
1
+ # PartyBus
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/party_bus`. 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 "party_bus", git: "git@github.com:arid-software/party-bus-ruby.git", branch: "main"
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle install
18
+
19
+ ## Usage
20
+
21
+ Generate project initializer.
22
+
23
+ $ bin/rails generate party_bus <api key>
24
+
25
+ Add the helper to any object you would like to observe events. To add the helper to every model in your rails application.
26
+
27
+ class ApplicationRecord < ActiveRecord::Base
28
+ primary_abstract_class
29
+
30
+ include Publishable
31
+ end
32
+
33
+ Control which methods file events with the `publish_on` class method.
34
+
35
+ publish_on [:create, :my_method, :my_other_method]
36
+
37
+ ## Development
38
+
39
+ 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.
40
+
41
+ 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 tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
42
+
43
+ ## Contributing
44
+
45
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/party_bus. 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]/party_bus/blob/master/CODE_OF_CONDUCT.md).
46
+
47
+
48
+ ## License
49
+
50
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
51
+
52
+ ## Code of Conduct
53
+
54
+ Everyone interacting in the PartyBus project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/party_bus/blob/master/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "party_bus"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ 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,18 @@
1
+ require 'rails/generators'
2
+ class PartyBusGenerator < Rails::Generators::Base
3
+ source_root File.expand_path('../templates', __FILE__)
4
+
5
+ argument :api_key, required: true, :desc => "required"
6
+
7
+ desc "Configures the bugsnag notifier with your API key"
8
+
9
+ def create_initializer_file
10
+ initializer "party_bus.rb" do
11
+ <<-EOF
12
+ PartyBus.configure do |config|
13
+ config.api_key = #{api_key.inspect}
14
+ end
15
+ EOF
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,47 @@
1
+ module PartyBus
2
+ class Client
3
+ def self.post(
4
+ entity_id: PartyBus.configuration.entity_id,
5
+ path:,
6
+ body:
7
+ )
8
+ return { success: true } unless PartyBus.configuration.enabled
9
+
10
+ response = HTTParty.post(
11
+ "#{PartyBus.configuration.api_url}#{path}",
12
+ body: body.to_json,
13
+ default_timeout: 10,
14
+ headers: headers,
15
+ query: { entity_id: entity_id }
16
+ )
17
+
18
+ parse_response(response)
19
+ end
20
+
21
+ def self.parse_response(response)
22
+ if response.success?
23
+ {
24
+ success: true,
25
+ serialized_result: response.parsed_response
26
+ }
27
+ else
28
+ {
29
+ success: false,
30
+ errors: [response.parsed_response]
31
+ }
32
+ end
33
+ end
34
+
35
+ def self.headers
36
+ {
37
+ 'Accept': 'application/json',
38
+ 'Authorization': authorization,
39
+ 'Content-Type': 'application/json'
40
+ }
41
+ end
42
+
43
+ def self.authorization
44
+ "Bearer #{PartyBus.configuration.api_key}"
45
+ end
46
+ end
47
+ end
@@ -0,0 +1,19 @@
1
+ module PartyBus
2
+ class Configuration
3
+ attr_accessor :api_key
4
+ attr_accessor :api_url
5
+ attr_accessor :enabled
6
+ attr_accessor :entity_id
7
+ attr_accessor :source_id
8
+ attr_accessor :stripped_attributes
9
+
10
+ def initialize
11
+ self.api_key = nil
12
+ self.api_url = "https://party-bus.gigalixirapp.com"
13
+ self.enabled = ENV['RUBY_ENV'] != 'test' && ENV['RAILS_ENV'] != 'test'
14
+ self.entity_id = nil
15
+ self.source_id = nil
16
+ self.stripped_attributes = []
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,32 @@
1
+ module PartyBus
2
+ module Events
3
+ class Create
4
+ def self.perform_using(entity_id: nil, payload:, resource_type:, resource_action:, source_id:)
5
+ new(entity_id, resource_type, resource_action, payload, source_id).perform
6
+ end
7
+
8
+ def initialize(entity_id, resource_type, resource_action, payload, source_id)
9
+ @entity_id = entity_id
10
+ @resource_type = resource_type
11
+ @resource_action = resource_action
12
+ @payload = payload
13
+ @source_id = source_id
14
+ end
15
+
16
+ def perform
17
+ @response ||= PartyBus::Client.post(
18
+ entity_id: @entity_id,
19
+ path: '/api/v1/events',
20
+ body: {
21
+ event: {
22
+ payload: @payload,
23
+ resource_type: @resource_type,
24
+ resource_action: @resource_action,
25
+ source_id: @source_id
26
+ }
27
+ }
28
+ )
29
+ end
30
+ end
31
+ end
32
+ end
@@ -0,0 +1,77 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Publishable
4
+ extend ActiveSupport::Concern
5
+
6
+ included do
7
+ extend AfterDo
8
+
9
+ def self.publish_on(*methods)
10
+ # after_commit hook for active record methods
11
+ after_commit :pb_after_create, on: :create if methods.flatten.include?(:create)
12
+ after_commit :pb_after_update, on: :update if methods.flatten.include?(:update)
13
+ after_commit :pb_after_destroy, on: :destroy if methods.flatten.include?(:destroy)
14
+
15
+ # after_do hook for other methods
16
+ special_methods = methods.flatten.reject { |m| [:create, :update, :destroy].include?(m) }
17
+ if special_methods.any?
18
+ after special_methods do |method_name, *args, _return_val, instance|
19
+ pb_create_event(**instance.pb_serialize(method_name))
20
+ end
21
+ end
22
+ end
23
+
24
+ def pb_after_create
25
+ self.class.pb_create_event(**pb_serialize("created"))
26
+ end
27
+
28
+ def pb_after_update
29
+ self.class.pb_create_event(**pb_serialize("updated"))
30
+ end
31
+
32
+ def pb_after_destroy
33
+ self.class.pb_create_event(**pb_serialize("destroyed"))
34
+ end
35
+
36
+ def self.pb_create_event(attributes)
37
+ PartyBus::Events::Create.perform_using(**attributes)
38
+ end
39
+
40
+ # This method is overrideable in case the resource name in party bus differs
41
+ # from the model name. By default we just use the model name.
42
+ def pb_resource_name
43
+ self.class.to_s
44
+ end
45
+
46
+ def pb_serialize(action = nil)
47
+ payload = if self.respond_to?(:attributes)
48
+ self.attributes
49
+ else
50
+ self.instance_values
51
+ end
52
+ .deep_symbolize_keys
53
+ .except(*pb_stripped_attributes)
54
+
55
+ {
56
+ entity_id: entity_id,
57
+ payload: payload,
58
+ resource_type: pb_resource_name,
59
+ resource_action: action,
60
+ source_id: pb_source_id,
61
+ }
62
+ end
63
+
64
+ # These attributes are stripped by default
65
+ def pb_stripped_attributes
66
+ PartyBus.configuration.stripped_attributes
67
+ end
68
+
69
+ def pb_entity_id
70
+ PartyBus.configuration.entity_id
71
+ end
72
+
73
+ def pb_source_id
74
+ PartyBus.configuration.source_id
75
+ end
76
+ end
77
+ end
@@ -0,0 +1,3 @@
1
+ module PartyBus
2
+ VERSION = "0.1.11"
3
+ end
data/lib/party_bus.rb ADDED
@@ -0,0 +1,28 @@
1
+ require "rubygems"
2
+ require "thread"
3
+
4
+ require "active_model"
5
+ require "active_support/concern"
6
+ require "after_do"
7
+ require "httparty"
8
+
9
+ require "party_bus/version"
10
+ require "party_bus/client"
11
+ require "party_bus/configuration"
12
+ require "party_bus/events/create"
13
+ require "party_bus/models/concerns/publishable"
14
+
15
+ module PartyBus
16
+ LOCK = Mutex.new
17
+
18
+ class << self
19
+ def configure(validate_api_key=true)
20
+ yield(configuration) if block_given?
21
+ end
22
+
23
+ def configuration
24
+ @configuration = nil unless defined?(@configuration)
25
+ @configuration || LOCK.synchronize { @configuration ||= PartyBus::Configuration.new }
26
+ end
27
+ end
28
+ end
data/party_bus.gemspec ADDED
@@ -0,0 +1,32 @@
1
+ require_relative 'lib/party_bus/version'
2
+
3
+ Gem::Specification.new do |spec|
4
+ spec.name = "party_bus"
5
+ spec.version = PartyBus::VERSION
6
+ spec.authors = ["corey jergensen"]
7
+ spec.email = ["corey@aridsoftware.com"]
8
+
9
+ spec.summary = %q{Get on the PartyBus.}
10
+ spec.description = %q{This is the gem for PartyBus.}
11
+ spec.homepage = "https://github.com/arid-software.com/party-bus-ruby"
12
+ spec.license = "MIT"
13
+ spec.required_ruby_version = Gem::Requirement.new(">= 2.6.0")
14
+
15
+ spec.metadata["homepage_uri"] = spec.homepage
16
+ spec.metadata["source_code_uri"] = "https://github.com/arid-software/party-bus-ruby"
17
+ spec.metadata["changelog_uri"] = "https://github.com/arid-software/party-bus-ruby/CHANGELOG.md"
18
+
19
+ # Specify which files should be added to the gem when it is released.
20
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
21
+ spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
22
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
23
+ end
24
+ spec.bindir = "exe"
25
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
26
+ spec.require_paths = ["lib"]
27
+
28
+ spec.add_runtime_dependency("after_do", '~> 0.4.0')
29
+ spec.add_runtime_dependency("httparty", '~> 0.20.0')
30
+ spec.add_runtime_dependency("activemodel", ">= 6.0")
31
+ spec.add_runtime_dependency("activesupport", ">= 6.0")
32
+ end
metadata ADDED
@@ -0,0 +1,122 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: party_bus
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.11
5
+ platform: ruby
6
+ authors:
7
+ - corey jergensen
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2022-05-13 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: after_do
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 0.4.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 0.4.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: httparty
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 0.20.0
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 0.20.0
41
+ - !ruby/object:Gem::Dependency
42
+ name: activemodel
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '6.0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '6.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: activesupport
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '6.0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '6.0'
69
+ description: This is the gem for PartyBus.
70
+ email:
71
+ - corey@aridsoftware.com
72
+ executables: []
73
+ extensions: []
74
+ extra_rdoc_files: []
75
+ files:
76
+ - ".gitignore"
77
+ - ".rspec"
78
+ - ".tool-versions"
79
+ - ".travis.yml"
80
+ - CODE_OF_CONDUCT.md
81
+ - Gemfile
82
+ - Gemfile.lock
83
+ - LICENSE.txt
84
+ - README.md
85
+ - Rakefile
86
+ - bin/console
87
+ - bin/setup
88
+ - lib/generators/party_bus/party_bus_generator.rb
89
+ - lib/party_bus.rb
90
+ - lib/party_bus/client.rb
91
+ - lib/party_bus/configuration.rb
92
+ - lib/party_bus/events/create.rb
93
+ - lib/party_bus/models/concerns/publishable.rb
94
+ - lib/party_bus/version.rb
95
+ - party_bus.gemspec
96
+ homepage: https://github.com/arid-software.com/party-bus-ruby
97
+ licenses:
98
+ - MIT
99
+ metadata:
100
+ homepage_uri: https://github.com/arid-software.com/party-bus-ruby
101
+ source_code_uri: https://github.com/arid-software/party-bus-ruby
102
+ changelog_uri: https://github.com/arid-software/party-bus-ruby/CHANGELOG.md
103
+ post_install_message:
104
+ rdoc_options: []
105
+ require_paths:
106
+ - lib
107
+ required_ruby_version: !ruby/object:Gem::Requirement
108
+ requirements:
109
+ - - ">="
110
+ - !ruby/object:Gem::Version
111
+ version: 2.6.0
112
+ required_rubygems_version: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - ">="
115
+ - !ruby/object:Gem::Version
116
+ version: '0'
117
+ requirements: []
118
+ rubygems_version: 3.1.6
119
+ signing_key:
120
+ specification_version: 4
121
+ summary: Get on the PartyBus.
122
+ test_files: []