demio-ruby 0.1.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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: b4cd193d6d33811121095b87cb6436c2b306cf0a
4
+ data.tar.gz: cae5fe432d0dc3460b98a5c3b2b7acdf00ca9eaa
5
+ SHA512:
6
+ metadata.gz: 7e1d3fcd85ea5b1a89a12a48205da18a60d01b6f6800dbd5d7d083f8bcfadb16f1b744ef4d2c9fe7d05037a6f2010faabb2658b95b6666d7a56208eed6bef95f
7
+ data.tar.gz: 4311fe39548a57b6b1cafe78e240b2074d8d90d2f6e41cef529987cf10c576b1172104daa7873c934acfb6ad0e312ac87436728e711fd6fee4e17a3c748a8bdf
@@ -0,0 +1,16 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+ *.gem
10
+
11
+ # rspec failure tracking
12
+ .rspec_status
13
+ .DS_Store
14
+
15
+ # Dev
16
+ dev_notes.md
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
@@ -0,0 +1,46 @@
1
+ inherit_from: .rubocop_todo.yml
2
+
3
+ AllCops:
4
+ Exclude:
5
+ - "demio-ruby.gemspec"
6
+ - "Gemfile"
7
+ - "Rakefile"
8
+ - 'vendor/**/*' # Fixes weird Travis CI incorrect cop issue
9
+
10
+ Metrics/BlockLength:
11
+ Exclude:
12
+ - "spec/**/*.rb"
13
+ Style/StringLiterals:
14
+ EnforcedStyle: double_quotes
15
+
16
+ Metrics/MethodLength:
17
+ Max: 20
18
+
19
+ Metrics/AbcSize:
20
+ Max: 17
21
+
22
+ Metrics/LineLength:
23
+ Max: 100
24
+
25
+ Documentation:
26
+ Enabled: false
27
+
28
+ Style/TrailingCommaInArrayLiteral:
29
+ Description: 'Checks for trailing comma in array literals.'
30
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-trailing-array-commas'
31
+ EnforcedStyleForMultiline: no_comma
32
+ SupportedStylesForMultiline:
33
+ - comma
34
+ - consistent_comma
35
+ - no_comma
36
+ Enabled: true
37
+
38
+ Style/TrailingCommaInHashLiteral:
39
+ Description: 'Checks for trailing comma in hash literals.'
40
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-trailing-array-commas'
41
+ EnforcedStyleForMultiline: no_comma
42
+ SupportedStylesForMultiline:
43
+ - comma
44
+ - consistent_comma
45
+ - no_comma
46
+ Enabled: true
@@ -0,0 +1,7 @@
1
+ # This configuration was generated by
2
+ # `rubocop --auto-gen-config`
3
+ # on 2018-06-17 13:13:02 -0500 using RuboCop version 0.56.0.
4
+ # The point is for the user to remove these configuration records
5
+ # one by one as the offenses are removed from the code base.
6
+ # Note that changes in the inspected code, or installation of new
7
+ # versions of RuboCop, may require this file to be generated again.
@@ -0,0 +1,9 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.5.0
5
+ - 2.4.0
6
+ - 2.3.0
7
+ - 2.2.0
8
+ before_install:
9
+ - gem install bundler -v 1.16.1
@@ -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 robyn@yuraki.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 [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ source "https://rubygems.org"
2
+
3
+ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ # Specify your gem's dependencies in demio_ruby.gemspec
6
+ gemspec
@@ -0,0 +1,73 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ demio-ruby (0.1.0)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ addressable (2.5.2)
10
+ public_suffix (>= 2.0.2, < 4.0)
11
+ ast (2.4.0)
12
+ coderay (1.1.2)
13
+ crack (0.4.3)
14
+ safe_yaml (~> 1.0.0)
15
+ diff-lcs (1.3)
16
+ hashdiff (0.3.7)
17
+ jaro_winkler (1.5.1)
18
+ method_source (0.8.2)
19
+ parallel (1.12.1)
20
+ parser (2.5.1.0)
21
+ ast (~> 2.4.0)
22
+ powerpack (0.1.2)
23
+ pry (0.10.4)
24
+ coderay (~> 1.1.0)
25
+ method_source (~> 0.8.1)
26
+ slop (~> 3.4)
27
+ public_suffix (3.0.2)
28
+ rainbow (3.0.0)
29
+ rake (10.5.0)
30
+ rspec (3.7.0)
31
+ rspec-core (~> 3.7.0)
32
+ rspec-expectations (~> 3.7.0)
33
+ rspec-mocks (~> 3.7.0)
34
+ rspec-core (3.7.0)
35
+ rspec-support (~> 3.7.0)
36
+ rspec-expectations (3.7.0)
37
+ diff-lcs (>= 1.2.0, < 2.0)
38
+ rspec-support (~> 3.7.0)
39
+ rspec-mocks (3.7.0)
40
+ diff-lcs (>= 1.2.0, < 2.0)
41
+ rspec-support (~> 3.7.0)
42
+ rspec-support (3.7.0)
43
+ rubocop (0.57.2)
44
+ jaro_winkler (~> 1.5.1)
45
+ parallel (~> 1.10)
46
+ parser (>= 2.5)
47
+ powerpack (~> 0.1)
48
+ rainbow (>= 2.2.2, < 4.0)
49
+ ruby-progressbar (~> 1.7)
50
+ unicode-display_width (~> 1.0, >= 1.0.1)
51
+ ruby-progressbar (1.9.0)
52
+ safe_yaml (1.0.4)
53
+ slop (3.6.0)
54
+ unicode-display_width (1.4.0)
55
+ webmock (3.4.2)
56
+ addressable (>= 2.3.6)
57
+ crack (>= 0.3.2)
58
+ hashdiff
59
+
60
+ PLATFORMS
61
+ ruby
62
+
63
+ DEPENDENCIES
64
+ bundler (~> 1.16)
65
+ demio-ruby!
66
+ pry (~> 0.10.3)
67
+ rake (~> 10.0)
68
+ rspec (~> 3.0)
69
+ rubocop (~> 0.57.1)
70
+ webmock (~> 3.4)
71
+
72
+ BUNDLED WITH
73
+ 1.16.1
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2018 Robyn-Dale Samuda
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.
@@ -0,0 +1,88 @@
1
+ # Demio Ruby Client
2
+
3
+ [![Build Status](https://travis-ci.org/samudary/demio-ruby.svg?branch=master)](https://travis-ci.org/samudary/demio-ruby)
4
+
5
+ A Ruby gem for interacting with the [Demio API](https://publicdemioapi.docs.apiary.io/).
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'demio-ruby'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install demio-ruby
22
+
23
+ ## Usage
24
+
25
+ Retrieve your API key and API secret from [here](https://my.demio.com/manage/api-details) and initialize the client:
26
+
27
+ ```ruby
28
+ client = Demio::Client.new(
29
+ api_secret: "YOUR API SECRET",
30
+ api_key: "YOUR API KEY"
31
+ )
32
+ ```
33
+
34
+ ### Methods
35
+
36
+ | Actions | Methods |
37
+ | :------------------------- | :--------------------------------------------------- |
38
+ | List events | `#events` |
39
+ | Fetch an event | `#event(event_id)` |
40
+ | Fetch event date info | `#event_date(event_id, date_id)` |
41
+ | Register a registrant | `#register(payload = {})` |
42
+ | Ping | `#ping` |
43
+
44
+
45
+ **Examples**
46
+
47
+ ```ruby
48
+ client = Demio::Client.new(
49
+ api_secret: "YOUR API SECRET",
50
+ api_key: "YOUR API KEY"
51
+ )
52
+
53
+ payload = {
54
+ "id": 56458,
55
+ "name": "Jane Doe",
56
+ "email": "jane.doe@gmail.com"
57
+ }
58
+
59
+ response = client.register(payload)
60
+ response.code
61
+ # => "200"
62
+
63
+ JSON.parse(response.body)
64
+ # => {"hash"=>"ADv07WFv0RNDQZoF", "join_link"=>"https://event.demio.com/simulated-webinar/ADv07WFv0RNDQZoF"}
65
+
66
+ ```
67
+
68
+ ## Development
69
+
70
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake` to run the tests and rubocop. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
71
+
72
+ ## Contributing
73
+
74
+ Bug reports and pull requests are welcome on GitHub at [here](https://github.com/samudary/demio-ruby/issues). This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
75
+
76
+ 1. Fork it ( https://github.com/samudary/demio-ruby/fork )
77
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
78
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
79
+ 4. Push to the branch (`git push origin my-new-feature`)
80
+ 5. Create a new Pull Request
81
+
82
+ ## License
83
+
84
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
85
+
86
+ ## Code of Conduct
87
+
88
+ Everyone interacting in the project’s codebases and ther environments is expected to follow the [code of conduct](https://github.com/samudary/demio-ruby/blob/master/CODE_OF_CONDUCT.md).
@@ -0,0 +1,8 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+ require "rubocop/rake_task"
4
+
5
+ RuboCop::RakeTask.new
6
+ RSpec::Core::RakeTask.new(:spec)
7
+
8
+ task default: [:rubocop, :spec]
@@ -0,0 +1,15 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "demio"
5
+ require "pry"
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__)
@@ -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,33 @@
1
+
2
+ lib = File.expand_path("../lib", __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require "demio/version"
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "demio-ruby"
8
+ spec.version = Demio::VERSION
9
+ spec.authors = ["Robyn-Dale Samuda"]
10
+ spec.email = ["robyn@yuraki.com"]
11
+
12
+ spec.summary = "A wrapper for interacting with the Demio API"
13
+ spec.description = "A wrapper for interacting with the Demio API"
14
+ spec.homepage = "https://github.com/samudary/demio-ruby"
15
+ spec.license = "MIT"
16
+
17
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
18
+ f.match(%r{^(test|spec|features)/})
19
+ end
20
+ spec.bindir = "bin"
21
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
22
+ spec.require_paths = ["lib"]
23
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
24
+
25
+ spec.required_ruby_version = '>= 2.1'
26
+
27
+ spec.add_development_dependency "bundler", "~> 1.16"
28
+ spec.add_development_dependency "rake", "~> 10.0"
29
+ spec.add_development_dependency "rspec", "~> 3.0"
30
+ spec.add_development_dependency "rubocop", "~> 0.57.1"
31
+ spec.add_development_dependency "pry", "~> 0.10.3"
32
+ spec.add_development_dependency "webmock", "~> 3.4"
33
+ end
@@ -0,0 +1,4 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "demio/version"
4
+ require "demio/client"
@@ -0,0 +1,84 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "demio/errors"
4
+ require "demio/event"
5
+ require "demio/event_date"
6
+ require "demio/events"
7
+ require "demio/register"
8
+ require "json"
9
+ require "net/http"
10
+ require "uri"
11
+
12
+ module Demio
13
+ class Client
14
+ include Event
15
+ include EventDate
16
+ include Events
17
+ include Register
18
+
19
+ attr_reader :api_key, :api_secret
20
+
21
+ def initialize(options = {})
22
+ @api_key = options[:api_key]
23
+ @api_secret = options[:api_secret]
24
+ end
25
+
26
+ def get(uri)
27
+ make_request(Net::HTTP::Get, uri)
28
+ end
29
+
30
+ def put(uri, payload)
31
+ make_request(Net::HTTP::Put, uri, payload)
32
+ end
33
+
34
+ def ping
35
+ make_request(
36
+ Net::HTTP::Get,
37
+ "ping/query?api_key=#{api_key}&api_secret=#{api_secret}"
38
+ )
39
+ end
40
+
41
+ private
42
+
43
+ def make_request(verb_klass, uri, payload = {}, limit = 10)
44
+ raise TooManyRedirectsError, "too many HTTP redirects" if limit.zero?
45
+
46
+ uri = format_uri(uri)
47
+
48
+ Net::HTTP.start(uri.host, uri.port, use_ssl: true) do |http|
49
+ request = verb_klass.new uri
50
+ request = create_headers(request)
51
+
52
+ request.body = payload.to_json if verb_klass == Net::HTTP::Put
53
+
54
+ response = http.request request
55
+
56
+ case response
57
+ when Net::HTTPSuccess then
58
+ response
59
+ when Net::HTTPRedirection then
60
+ location = response["location"]
61
+ make_request(verb_klass, location, payload, limit - 1)
62
+ else
63
+ response.value
64
+ end
65
+ end
66
+ end
67
+
68
+ def create_headers(request)
69
+ request["Api-Key"] = api_key
70
+ request["Api-Secret"] = api_secret
71
+ request["Content-Type"] = "application/json"
72
+ request["User-Agent"] = "Demio Ruby Client - #{Demio::VERSION}"
73
+ request
74
+ end
75
+
76
+ def format_uri(path)
77
+ URI(base_uri + path)
78
+ end
79
+
80
+ def base_uri
81
+ "https://my.demio.com/api/v1/"
82
+ end
83
+ end
84
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Demio
4
+ class TooManyRedirectsError < StandardError; end
5
+ end
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Demio
4
+ class Client
5
+ module Event
6
+ # Fetches a single event from Demio
7
+ #
8
+ # @param id [String]
9
+ # @return [Net::HTTPCreated]
10
+ def event(id)
11
+ get "event/#{id}"
12
+ end
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,16 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Demio
4
+ class Client
5
+ module EventDate
6
+ # Fetches info about a specific date from Demio
7
+ #
8
+ # @param id [String]
9
+ # @param date_id [String]
10
+ # @return [Net::HTTPCreated]
11
+ def event_date(id, date_id)
12
+ get "event/#{id}/#{date_id}"
13
+ end
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Demio
4
+ class Client
5
+ module Events
6
+ # Fetches all events from Demio
7
+ #
8
+ # @return [Net::HTTPCreated]
9
+ def events
10
+ get "events"
11
+ end
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Demio
4
+ class Client
5
+ module Register
6
+ # Adds a registrant to an event in Demio
7
+ #
8
+ # @param payload [Hash]
9
+ # @return [Net::HTTPCreated]
10
+ def register(payload = {})
11
+ put "event/register", payload
12
+ end
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,3 @@
1
+ module Demio
2
+ VERSION = "0.1.0".freeze
3
+ end
metadata ADDED
@@ -0,0 +1,152 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: demio-ruby
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Robyn-Dale Samuda
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2018-06-17 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.16'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.16'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '3.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '3.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rubocop
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 0.57.1
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 0.57.1
69
+ - !ruby/object:Gem::Dependency
70
+ name: pry
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: 0.10.3
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 0.10.3
83
+ - !ruby/object:Gem::Dependency
84
+ name: webmock
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '3.4'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '3.4'
97
+ description: A wrapper for interacting with the Demio API
98
+ email:
99
+ - robyn@yuraki.com
100
+ executables:
101
+ - console
102
+ - setup
103
+ extensions: []
104
+ extra_rdoc_files: []
105
+ files:
106
+ - ".gitignore"
107
+ - ".rspec"
108
+ - ".rubocop.yml"
109
+ - ".rubocop_todo.yml"
110
+ - ".travis.yml"
111
+ - CODE_OF_CONDUCT.md
112
+ - Gemfile
113
+ - Gemfile.lock
114
+ - LICENSE.txt
115
+ - README.md
116
+ - Rakefile
117
+ - bin/console
118
+ - bin/setup
119
+ - demio-ruby.gemspec
120
+ - lib/demio.rb
121
+ - lib/demio/client.rb
122
+ - lib/demio/errors.rb
123
+ - lib/demio/event.rb
124
+ - lib/demio/event_date.rb
125
+ - lib/demio/events.rb
126
+ - lib/demio/register.rb
127
+ - lib/demio/version.rb
128
+ homepage: https://github.com/samudary/demio-ruby
129
+ licenses:
130
+ - MIT
131
+ metadata: {}
132
+ post_install_message:
133
+ rdoc_options: []
134
+ require_paths:
135
+ - lib
136
+ required_ruby_version: !ruby/object:Gem::Requirement
137
+ requirements:
138
+ - - ">="
139
+ - !ruby/object:Gem::Version
140
+ version: '2.1'
141
+ required_rubygems_version: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ requirements: []
147
+ rubyforge_project:
148
+ rubygems_version: 2.6.11
149
+ signing_key:
150
+ specification_version: 4
151
+ summary: A wrapper for interacting with the Demio API
152
+ test_files: []