brazify 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: 49482c7b0f14fb6dd9ada553cb0bc8e4b3d4c05ba1cfa069f7f89e82e5e80902
4
+ data.tar.gz: 615d76b158f58d5f4e5e46ac3b71290c18da20c494ade26e278c93f62f7a0aff
5
+ SHA512:
6
+ metadata.gz: 61a4919709b8080974edb13f9d704b0f3f56be8562ad98051f70a0a1138e7199f00931975452d8b888b550dff3651cb41bb8e5a214a6b2634d1e036cc8fcf6d3
7
+ data.tar.gz: 412919b807376deede91cb55dfccd78da98ec44a25017b86658724915f7d3d7295e5f4f6aaf007487d1f794d3e40e0a8ea42269ef03a71bb02d2a3b74ddbffd3
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/CHANGELOG.md ADDED
@@ -0,0 +1,7 @@
1
+ # Changelog
2
+
3
+ ## [v0.1.0](https://github.com/Portify/brazify/tree/v0.1.0) (2021-11-12)
4
+
5
+
6
+
7
+ \* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
@@ -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 rich@portify.co. 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/CONTRIBUTORS ADDED
@@ -0,0 +1,2 @@
1
+ Richard Bates <rich@portify.co>
2
+ Maksim Fedotov <max@portify.co>
data/Gemfile ADDED
@@ -0,0 +1,7 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in brazify.gemspec
4
+ gemspec
5
+
6
+ gem 'rake', '~> 12.0'
7
+ gem 'rspec', '~> 3.0'
data/Gemfile.lock ADDED
@@ -0,0 +1,107 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ brazify (0.1.0)
5
+ faraday (~> 1.8)
6
+ faraday_middleware (~> 1.2)
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ addressable (2.8.0)
12
+ public_suffix (>= 2.0.2, < 5.0)
13
+ ast (2.4.2)
14
+ coderay (1.1.3)
15
+ crack (0.4.5)
16
+ rexml
17
+ diff-lcs (1.4.4)
18
+ dotenv (2.7.6)
19
+ faraday (1.8.0)
20
+ faraday-em_http (~> 1.0)
21
+ faraday-em_synchrony (~> 1.0)
22
+ faraday-excon (~> 1.1)
23
+ faraday-httpclient (~> 1.0.1)
24
+ faraday-net_http (~> 1.0)
25
+ faraday-net_http_persistent (~> 1.1)
26
+ faraday-patron (~> 1.0)
27
+ faraday-rack (~> 1.0)
28
+ multipart-post (>= 1.2, < 3)
29
+ ruby2_keywords (>= 0.0.4)
30
+ faraday-em_http (1.0.0)
31
+ faraday-em_synchrony (1.0.0)
32
+ faraday-excon (1.1.0)
33
+ faraday-httpclient (1.0.1)
34
+ faraday-net_http (1.0.1)
35
+ faraday-net_http_persistent (1.2.0)
36
+ faraday-patron (1.0.0)
37
+ faraday-rack (1.0.0)
38
+ faraday_middleware (1.2.0)
39
+ faraday (~> 1.0)
40
+ hashdiff (1.0.1)
41
+ method_source (1.0.0)
42
+ multipart-post (2.1.1)
43
+ parallel (1.21.0)
44
+ parser (3.0.2.0)
45
+ ast (~> 2.4.1)
46
+ pry (0.14.1)
47
+ coderay (~> 1.1)
48
+ method_source (~> 1.0)
49
+ public_suffix (4.0.6)
50
+ rainbow (3.0.0)
51
+ rake (12.3.3)
52
+ regexp_parser (2.1.1)
53
+ rexml (3.2.5)
54
+ rspec (3.10.0)
55
+ rspec-core (~> 3.10.0)
56
+ rspec-expectations (~> 3.10.0)
57
+ rspec-mocks (~> 3.10.0)
58
+ rspec-core (3.10.1)
59
+ rspec-support (~> 3.10.0)
60
+ rspec-expectations (3.10.1)
61
+ diff-lcs (>= 1.2.0, < 2.0)
62
+ rspec-support (~> 3.10.0)
63
+ rspec-mocks (3.10.2)
64
+ diff-lcs (>= 1.2.0, < 2.0)
65
+ rspec-support (~> 3.10.0)
66
+ rspec-support (3.10.3)
67
+ rubocop (1.22.3)
68
+ parallel (~> 1.10)
69
+ parser (>= 3.0.0.0)
70
+ rainbow (>= 2.2.2, < 4.0)
71
+ regexp_parser (>= 1.8, < 3.0)
72
+ rexml
73
+ rubocop-ast (>= 1.12.0, < 2.0)
74
+ ruby-progressbar (~> 1.7)
75
+ unicode-display_width (>= 1.4.0, < 3.0)
76
+ rubocop-ast (1.13.0)
77
+ parser (>= 3.0.1.1)
78
+ rubocop-rake (0.6.0)
79
+ rubocop (~> 1.0)
80
+ rubocop-rspec (2.6.0)
81
+ rubocop (~> 1.19)
82
+ ruby-progressbar (1.11.0)
83
+ ruby2_keywords (0.0.5)
84
+ unicode-display_width (2.1.0)
85
+ vcr (3.0.3)
86
+ webmock (3.14.0)
87
+ addressable (>= 2.8.0)
88
+ crack (>= 0.3.2)
89
+ hashdiff (>= 0.4.0, < 2.0.0)
90
+
91
+ PLATFORMS
92
+ ruby
93
+
94
+ DEPENDENCIES
95
+ brazify!
96
+ dotenv (~> 2.7, >= 2.7.6)
97
+ pry (~> 0.14.1)
98
+ rake (~> 12.0)
99
+ rspec (~> 3.0)
100
+ rubocop (~> 1.22)
101
+ rubocop-rake (~> 0.6.0)
102
+ rubocop-rspec (~> 2.6)
103
+ vcr (~> 3.0, >= 3.0.1)
104
+ webmock (~> 3.14)
105
+
106
+ BUNDLED WITH
107
+ 2.1.4
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2021 Portify(https://www.portify.co)
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,44 @@
1
+ # Brazify
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/brazify`. 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 'brazify'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle install
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install brazify
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 tags, 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]/brazify. 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]/brazify/blob/master/CODE_OF_CONDUCT.md).
36
+
37
+
38
+ ## License
39
+
40
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
41
+
42
+ ## Code of Conduct
43
+
44
+ Everyone interacting in the Brazify project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/brazify/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,9 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'bundler/setup'
4
+ require 'brazify/brazify'
5
+
6
+ @client = Brazify::Client.new
7
+
8
+ require 'pry'
9
+ pry
data/bin/setup ADDED
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
@@ -0,0 +1,46 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'lib/brazify/version'
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = 'brazify'
7
+ spec.version = Brazify::VERSION
8
+ spec.authors = ['Richard Bates, Maksim Fedotov']
9
+ spec.email = ['edp@portify.co']
10
+
11
+ spec.summary = 'Wrapper for the Braze REST API.'
12
+ spec.description = spec.summary
13
+ spec.homepage = 'https://github.com/Portify/brazify'
14
+ spec.license = 'MIT'
15
+ spec.required_ruby_version = Gem::Requirement.new('>= 2.5.0')
16
+
17
+ spec.metadata['homepage_uri'] = spec.homepage
18
+ spec.metadata['source_code_uri'] = spec.homepage
19
+ spec.metadata['bug_tracker_uri'] = 'https://github.com/Portify/brazify/issues'
20
+ spec.metadata['changelog_uri'] = 'https://github.com/Portify/brazify/blob/master/CHANGELOG.md'
21
+
22
+ ignored = Regexp.union(
23
+ /\A\.env/,
24
+ /\A\.git/,
25
+ /\A\.rubocop/,
26
+ /\A\.config.yml/,
27
+ /\Aspec/
28
+ )
29
+ spec.files = `git ls-files`.split("\n").reject { |f| ignored.match(f) }
30
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
31
+
32
+ spec.bindir = 'exe'
33
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
34
+ spec.require_paths = ['lib']
35
+
36
+ spec.add_dependency 'faraday', '~> 1.8'
37
+ spec.add_dependency 'faraday_middleware', '~> 1.2'
38
+
39
+ spec.add_development_dependency 'dotenv', '~> 2.7', '>= 2.7.6'
40
+ spec.add_development_dependency 'pry', '~> 0.14.1'
41
+ spec.add_development_dependency 'rubocop', '~> 1.22'
42
+ spec.add_development_dependency 'rubocop-rake', '~> 0.6.0'
43
+ spec.add_development_dependency 'rubocop-rspec', '~> 2.6'
44
+ spec.add_development_dependency 'vcr', '~> 3.0', '>= 3.0.1'
45
+ spec.add_development_dependency 'webmock', '~> 3.14'
46
+ end
@@ -0,0 +1,30 @@
1
+ require 'forwardable'
2
+
3
+ require 'brazify/version'
4
+ require 'brazify/configuration'
5
+
6
+ module Brazify
7
+ autoload :Client, 'brazify/client'
8
+ autoload :Error, 'brazify/error'
9
+ autoload :Resource, 'brazify/resource'
10
+
11
+ autoload :User, 'brazify/resources/user'
12
+ autoload :Email, 'brazify/resources/email'
13
+ autoload :Event, 'brazify/resources/event'
14
+ autoload :Segment, 'brazify/resources/segment'
15
+
16
+ @config = Brazify::Configuration.setup
17
+
18
+ class << self
19
+ extend Forwardable
20
+
21
+ attr_reader :config
22
+
23
+ # User configurable options
24
+ # eg. initializers/brazify.rb
25
+ # Brazify.api_key = ENV['BRAZE_API_KEY']
26
+ # Brazify.base_url = 'https:://custom_url.com/'
27
+ def_delegators :@config, :api_key, :api_key=
28
+ def_delegators :@config, :base_url, :base_url=
29
+ end
30
+ end
@@ -0,0 +1,25 @@
1
+ require 'faraday'
2
+ require 'faraday_middleware'
3
+
4
+ module Brazify
5
+ class Client
6
+ def initialize(config: Brazify.config)
7
+ @config = config
8
+ end
9
+
10
+ def connection
11
+ @connection ||= Faraday.new(config.base_url) do |conn|
12
+ conn.request config.format
13
+ conn.request :authorization, 'Bearer', config.api_key
14
+ conn.response config.format, content_type: 'application/json'
15
+
16
+ conn.options[:timeout] = config.timeout
17
+ conn.options[:open_timeout] = config.open_timeout
18
+ end
19
+ end
20
+
21
+ private
22
+
23
+ attr_reader :config
24
+ end
25
+ end
@@ -0,0 +1,25 @@
1
+ module Brazify
2
+ class Configuration
3
+ attr_accessor :api_key
4
+ attr_reader :base_url,
5
+ :format,
6
+ :method,
7
+ :timeout,
8
+ :open_timeout
9
+
10
+ def self.setup
11
+ new.tap do |instance|
12
+ yield(instance) if block_given?
13
+ end
14
+ end
15
+
16
+ def initialize
17
+ @base_url = 'https://rest.fra-01.braze.eu/'
18
+ @format = :json
19
+ @method = :get
20
+
21
+ @timeout = 30
22
+ @open_timeout = 30
23
+ end
24
+ end
25
+ end
@@ -0,0 +1,3 @@
1
+ module Brazify
2
+ class Error < StandardError; end
3
+ end
@@ -0,0 +1,35 @@
1
+ module Brazify
2
+ class Resource
3
+ class << self
4
+ def list_methods
5
+ methods(false).sort
6
+ end
7
+
8
+ private
9
+
10
+ def get(path:, params: {})
11
+ client.connection.get(path, params)
12
+ end
13
+
14
+ def post(path:, params:)
15
+ client.connection.post(path, params)
16
+ end
17
+
18
+ def patch(path:, params:)
19
+ client.connection.patch(path, params)
20
+ end
21
+
22
+ def put(path:, params:)
23
+ client.connection.put(path, params)
24
+ end
25
+
26
+ def delete(path:, params: {})
27
+ client.connection.delete(path, params)
28
+ end
29
+
30
+ def client
31
+ Brazify::Client.new
32
+ end
33
+ end
34
+ end
35
+ end
@@ -0,0 +1,24 @@
1
+ module Brazify
2
+ class Email < Resource
3
+ class << self
4
+ def update_status(email:, subscription_state:)
5
+ post(
6
+ path: '/email/status',
7
+ params: {
8
+ email: email,
9
+ subscription_state: subscription_state
10
+ }
11
+ )
12
+ end
13
+
14
+ def blacklist(email:)
15
+ post(
16
+ path: '/email/blacklist',
17
+ params: {
18
+ email: email
19
+ }
20
+ )
21
+ end
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,19 @@
1
+ module Brazify
2
+ class Event < Resource
3
+ class << self
4
+ def list
5
+ get(path: '/events/list')
6
+ end
7
+
8
+ def retrieve_analytics(event:, length:, options: {})
9
+ get(
10
+ path: '/events/data_series',
11
+ params: {
12
+ event: event,
13
+ length: length
14
+ }.merge(options)
15
+ )
16
+ end
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,29 @@
1
+ module Brazify
2
+ class Segment < Resource
3
+ class << self
4
+ def list
5
+ get(path: '/segments/list')
6
+ end
7
+
8
+ def retrieve(segment_id:)
9
+ get(
10
+ path: '/segments/details',
11
+ params: {
12
+ segment_id: segment_id
13
+ }
14
+ )
15
+ end
16
+
17
+ def retrieve_analytics(segment_id:, length:, ending_at: nil)
18
+ get(
19
+ path: '/segments/data_series',
20
+ params: {
21
+ segment_id: segment_id,
22
+ length: length,
23
+ ending_at: ending_at
24
+ }
25
+ )
26
+ end
27
+ end
28
+ end
29
+ end
@@ -0,0 +1,27 @@
1
+ module Brazify
2
+ class User < Resource
3
+ class << self
4
+ def delete(external_ids: [], user_aliases: [], braze_ids: [])
5
+ post(
6
+ path: '/users/delete',
7
+ params: {
8
+ external_ids: external_ids,
9
+ user_aliases: user_aliases,
10
+ braze_ids: braze_ids
11
+ }
12
+ )
13
+ end
14
+
15
+ def track(attributes: [], events: [], purchases: [])
16
+ post(
17
+ path: '/users/track',
18
+ params: {
19
+ attributes: attributes,
20
+ events: events,
21
+ purchases: purchases
22
+ }
23
+ )
24
+ end
25
+ end
26
+ end
27
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Brazify
4
+ VERSION = '0.1.0'
5
+ end
metadata ADDED
@@ -0,0 +1,207 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: brazify
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Richard Bates, Maksim Fedotov
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2021-11-16 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: faraday
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.8'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.8'
27
+ - !ruby/object:Gem::Dependency
28
+ name: faraday_middleware
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.2'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.2'
41
+ - !ruby/object:Gem::Dependency
42
+ name: dotenv
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '2.7'
48
+ - - ">="
49
+ - !ruby/object:Gem::Version
50
+ version: 2.7.6
51
+ type: :development
52
+ prerelease: false
53
+ version_requirements: !ruby/object:Gem::Requirement
54
+ requirements:
55
+ - - "~>"
56
+ - !ruby/object:Gem::Version
57
+ version: '2.7'
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: 2.7.6
61
+ - !ruby/object:Gem::Dependency
62
+ name: pry
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - "~>"
66
+ - !ruby/object:Gem::Version
67
+ version: 0.14.1
68
+ type: :development
69
+ prerelease: false
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - "~>"
73
+ - !ruby/object:Gem::Version
74
+ version: 0.14.1
75
+ - !ruby/object:Gem::Dependency
76
+ name: rubocop
77
+ requirement: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - "~>"
80
+ - !ruby/object:Gem::Version
81
+ version: '1.22'
82
+ type: :development
83
+ prerelease: false
84
+ version_requirements: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - "~>"
87
+ - !ruby/object:Gem::Version
88
+ version: '1.22'
89
+ - !ruby/object:Gem::Dependency
90
+ name: rubocop-rake
91
+ requirement: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - "~>"
94
+ - !ruby/object:Gem::Version
95
+ version: 0.6.0
96
+ type: :development
97
+ prerelease: false
98
+ version_requirements: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - "~>"
101
+ - !ruby/object:Gem::Version
102
+ version: 0.6.0
103
+ - !ruby/object:Gem::Dependency
104
+ name: rubocop-rspec
105
+ requirement: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - "~>"
108
+ - !ruby/object:Gem::Version
109
+ version: '2.6'
110
+ type: :development
111
+ prerelease: false
112
+ version_requirements: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - "~>"
115
+ - !ruby/object:Gem::Version
116
+ version: '2.6'
117
+ - !ruby/object:Gem::Dependency
118
+ name: vcr
119
+ requirement: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - "~>"
122
+ - !ruby/object:Gem::Version
123
+ version: '3.0'
124
+ - - ">="
125
+ - !ruby/object:Gem::Version
126
+ version: 3.0.1
127
+ type: :development
128
+ prerelease: false
129
+ version_requirements: !ruby/object:Gem::Requirement
130
+ requirements:
131
+ - - "~>"
132
+ - !ruby/object:Gem::Version
133
+ version: '3.0'
134
+ - - ">="
135
+ - !ruby/object:Gem::Version
136
+ version: 3.0.1
137
+ - !ruby/object:Gem::Dependency
138
+ name: webmock
139
+ requirement: !ruby/object:Gem::Requirement
140
+ requirements:
141
+ - - "~>"
142
+ - !ruby/object:Gem::Version
143
+ version: '3.14'
144
+ type: :development
145
+ prerelease: false
146
+ version_requirements: !ruby/object:Gem::Requirement
147
+ requirements:
148
+ - - "~>"
149
+ - !ruby/object:Gem::Version
150
+ version: '3.14'
151
+ description: Wrapper for the Braze REST API.
152
+ email:
153
+ - edp@portify.co
154
+ executables: []
155
+ extensions: []
156
+ extra_rdoc_files: []
157
+ files:
158
+ - ".rspec"
159
+ - CHANGELOG.md
160
+ - CODE_OF_CONDUCT.md
161
+ - CONTRIBUTORS
162
+ - Gemfile
163
+ - Gemfile.lock
164
+ - LICENSE.txt
165
+ - README.md
166
+ - Rakefile
167
+ - bin/console
168
+ - bin/setup
169
+ - braze-ruby.gemspec
170
+ - lib/brazify/brazify.rb
171
+ - lib/brazify/client.rb
172
+ - lib/brazify/configuration.rb
173
+ - lib/brazify/error.rb
174
+ - lib/brazify/resource.rb
175
+ - lib/brazify/resources/email.rb
176
+ - lib/brazify/resources/event.rb
177
+ - lib/brazify/resources/segment.rb
178
+ - lib/brazify/resources/user.rb
179
+ - lib/brazify/version.rb
180
+ homepage: https://github.com/Portify/brazify
181
+ licenses:
182
+ - MIT
183
+ metadata:
184
+ homepage_uri: https://github.com/Portify/brazify
185
+ source_code_uri: https://github.com/Portify/brazify
186
+ bug_tracker_uri: https://github.com/Portify/brazify/issues
187
+ changelog_uri: https://github.com/Portify/brazify/blob/master/CHANGELOG.md
188
+ post_install_message:
189
+ rdoc_options: []
190
+ require_paths:
191
+ - lib
192
+ required_ruby_version: !ruby/object:Gem::Requirement
193
+ requirements:
194
+ - - ">="
195
+ - !ruby/object:Gem::Version
196
+ version: 2.5.0
197
+ required_rubygems_version: !ruby/object:Gem::Requirement
198
+ requirements:
199
+ - - ">="
200
+ - !ruby/object:Gem::Version
201
+ version: '0'
202
+ requirements: []
203
+ rubygems_version: 3.2.22
204
+ signing_key:
205
+ specification_version: 4
206
+ summary: Wrapper for the Braze REST API.
207
+ test_files: []