websy 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.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 1963f2ddea6720cbf727cf5335962e61851dc8d0752edc41ff9c0a102d40efa9
4
+ data.tar.gz: e72c16aa8c8d1bce84f2f99848b8460145f79b69b3cda1ea6e13a0abc060132e
5
+ SHA512:
6
+ metadata.gz: 92b179612329d482a8a8687289d0a7a76e877b642106e26d9453eba2edb47566b23385a6a31583a4e235eb875785b6a640ba11d39ac93cd1f42483359be34838
7
+ data.tar.gz: ad6dbfb9079b9c29148d7ff346a74a9ba5e636c9ccdcbc875e1e8c2abebca30f33c455c195594eb496153f9197148be9005b47d0f8f68a914c855e4d74abed98
@@ -0,0 +1,34 @@
1
+ name: Tests
2
+
3
+ on:
4
+ pull_request:
5
+ branches:
6
+ - '*'
7
+ push:
8
+ branches:
9
+ - master
10
+ jobs:
11
+ tests:
12
+ runs-on: ubuntu-latest
13
+ strategy:
14
+ matrix:
15
+ ruby: ['3.3']
16
+
17
+ steps:
18
+ - uses: actions/checkout@master
19
+
20
+ - name: Set up Ruby
21
+ uses: ruby/setup-ruby@v1
22
+ with:
23
+ ruby-version: ${{ matrix.ruby }}
24
+ bundler: default
25
+ bundler-cache: true
26
+
27
+ # - name: StandardRb check
28
+ # run: bundle exec standardrb
29
+
30
+ - name: Run tests
31
+ env:
32
+ WEBSY_TOKEN: fake
33
+ run: |
34
+ bundle exec rake test
data/.gitignore ADDED
@@ -0,0 +1,12 @@
1
+ *.gem
2
+ /.bundle/
3
+ /.yardoc
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+ *.DS_Store
11
+ *.log
12
+ TODO.md
data/.tool-versions ADDED
@@ -0,0 +1 @@
1
+ ruby 3.3.6
data/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ # Changelog
2
+
3
+ ## 0.1.0 / 2024-12-19
4
+
5
+ - Securing gem name
data/Gemfile ADDED
@@ -0,0 +1,5 @@
1
+ source "https://rubygems.org"
2
+ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
3
+
4
+ # Specify your gem's dependencies in websy.gemspec
5
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,45 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ websy (0.1.0)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ addressable (2.8.1)
10
+ public_suffix (>= 2.0.2, < 6.0)
11
+ ansi (1.5.0)
12
+ builder (3.2.3)
13
+ crack (0.4.5)
14
+ rexml
15
+ hashdiff (1.0.1)
16
+ minitest (5.11.3)
17
+ minitest-reporters (1.3.0)
18
+ ansi
19
+ builder
20
+ minitest (>= 5.0)
21
+ ruby-progressbar
22
+ public_suffix (5.0.0)
23
+ rake (10.5.0)
24
+ rexml (3.2.5)
25
+ ruby-progressbar (1.9.0)
26
+ vcr (6.1.0)
27
+ webmock (3.18.1)
28
+ addressable (>= 2.8.0)
29
+ crack (>= 0.3.2)
30
+ hashdiff (>= 0.4.0, < 2.0.0)
31
+
32
+ PLATFORMS
33
+ ruby
34
+
35
+ DEPENDENCIES
36
+ bundler (~> 2)
37
+ minitest (~> 5.0)
38
+ minitest-reporters (~> 1.3, >= 1.3.0)
39
+ rake (~> 10.0)
40
+ vcr (~> 6.0)
41
+ webmock (~> 3.0)
42
+ websy!
43
+
44
+ BUNDLED WITH
45
+ 2.5.23
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2018 Yafoy
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,56 @@
1
+ # Websy
2
+
3
+ [![Tests](https://github.com/skoolfood/websy/actions/workflows/ci.yml/badge.svg)](https://github.com/skoolfood/websy/actions/workflows/ci.yml)
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'websy'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ $ bundle
16
+
17
+ Or install it yourself as:
18
+
19
+ $ gem install websy
20
+
21
+ ## Usage
22
+
23
+ Add your credentials. In a Rails application, create an initializer for example `config/initializers/websy.rb`.
24
+
25
+ ```ruby
26
+ Websy.token = ENV["WEBSY_TOKEN"]
27
+ Websy.api_base = ENV["WEBSY_API_BASE"] # optional
28
+ ```
29
+
30
+ Query records per resource type.
31
+
32
+ ```ruby
33
+ Websy::Project.list
34
+ Websy::Project.find(1)
35
+ ```
36
+
37
+ ## Development
38
+
39
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` 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
+ To experiment with that code, run `bin/console` for an interactive prompt.
44
+
45
+ ### Testing
46
+
47
+ Run tests locally
48
+
49
+ ```
50
+ WEBSY_TOKEN=XXX rake test TEST=**/*/project_test.rb
51
+ WEBSY_TOKEN=XXX rake test
52
+
53
+ ## License
54
+
55
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
56
+ ```
data/Rakefile ADDED
@@ -0,0 +1,10 @@
1
+ require "bundler/gem_tasks"
2
+ require "rake/testtask"
3
+
4
+ Rake::TestTask.new(:test) do |t|
5
+ t.libs << "test"
6
+ t.libs << "lib"
7
+ t.test_files = FileList["test/**/*_test.rb"]
8
+ end
9
+
10
+ task :default => :test
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "websy"
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,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Websy
4
+ class ApiOperation
5
+
6
+ def self.api
7
+ @api ||= HttpDecorator.new(Websy.api_url)
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Websy
4
+ class APIConnectionError < ServiceError
5
+ end
6
+ end
@@ -0,0 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Websy
4
+ class APIError < ServiceError
5
+ end
6
+ end
@@ -0,0 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Websy
4
+ class AuthenticationError < ServiceError
5
+ end
6
+ end
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Websy
4
+ class InvalidRequestError < ServiceError
5
+ attr_accessor :param
6
+
7
+ def initialize(message, param, http_status = nil, http_body = nil, json_body = nil)
8
+ super(message, http_status, http_body, json_body)
9
+ @param = param
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,22 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Websy
4
+ class ServiceError < StandardError
5
+ attr_reader :message
6
+ attr_reader :http_status
7
+ attr_reader :http_body
8
+ attr_reader :json_body
9
+
10
+ def initialize(message = nil, http_status = nil, http_body = nil, json_body = nil)
11
+ @message = message
12
+ @http_status = http_status
13
+ @http_body = http_body
14
+ @json_body = json_body
15
+ end
16
+
17
+ def to_s
18
+ status_string = @http_status.nil? ? "" : "(Status #{@http_status}) "
19
+ "#{status_string}#{@message}"
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,170 @@
1
+ # encoding: UTF-8
2
+ # frozen_string_literal: true
3
+ require "openssl"
4
+ require "net/http"
5
+ require "json"
6
+ require "uri"
7
+
8
+ module Websy
9
+ # https://lecklider.com/2016/09/decorating-ruby-s-net-http-for-fun-and-profit.html
10
+ #
11
+ class HttpDecorator
12
+ # Timeouts
13
+ OPEN_TIMEOUT = 10 # in seconds
14
+ READ_TIMEOUT = 120 # in seconds
15
+
16
+ # Content-types
17
+ CONTENT_TYPE_JSON = "application/json"
18
+ CONTENT_TYPE_FORM = "application/x-www-form-urlencoded"
19
+ # CONTENT_TYPE_MULTIPART = "multipart/form-data; boundary=#{ Rack::Multipart::MULTIPART_BOUNDARY }"
20
+
21
+ def initialize(url)
22
+ if Websy.token.nil?
23
+ raise AuthenticationError.new("No token provided")
24
+ end
25
+
26
+ # Build up our HTTP object
27
+ uri = URI(url)
28
+ @http = Net::HTTP.new(uri.hostname, uri.port)
29
+ @http.use_ssl = true if uri.scheme == "https"
30
+ @http.verify_mode = OpenSSL::SSL::VERIFY_NONE if uri.scheme == "https"
31
+ @http.open_timeout = OPEN_TIMEOUT
32
+ @http.read_timeout = READ_TIMEOUT
33
+
34
+ # In local development we can log requests and responses to $stdout.
35
+ # DO NOT EVER do this in production. EVER.
36
+ if ENV["RACK_ENV"] == "development"
37
+ @http.set_debug_output($stdout)
38
+ end
39
+ end
40
+
41
+ # Open a connection for multiple calls.
42
+ # - Accepts a block, otherwise just opens the connection.
43
+ # - You'll need to close the connection if you just open it.
44
+ def start
45
+ if block_given?
46
+ # Open the connection.
47
+ @http.start unless @http.started?
48
+
49
+ # Yield to the calling block.
50
+ yield(self)
51
+
52
+ # Clean up the connection.
53
+ @http.finish if @http.started?
54
+ else
55
+ # Open the connection.
56
+ @http.start unless @http.started?
57
+ end
58
+ end
59
+
60
+ # Clean up the connection if needed.
61
+ def finish
62
+ @http.finish if @http.started?
63
+ end
64
+
65
+ # GET
66
+ def get(path, **params)
67
+ uri = URI.parse(path)
68
+ uri.query = URI.encode_www_form(params) unless params.empty?
69
+ request = Net::HTTP::Get.new(uri.to_s)
70
+
71
+ parse fetch(request)
72
+ end
73
+
74
+ # POST
75
+ def post(path, as: :json, **params)
76
+ request = Net::HTTP::Post.new(path)
77
+
78
+ case as
79
+ when :json
80
+ request.content_type = CONTENT_TYPE_JSON
81
+ request.body = JSON.generate(params) unless params.empty?
82
+ else
83
+ request.content_type = CONTENT_TYPE_FORM
84
+ request.body = URI.encode_www_form(params) unless params.empty?
85
+ end
86
+
87
+ parse fetch(request)
88
+ end
89
+
90
+ # DELETE
91
+ def delete(path)
92
+ request = Net::HTTP::Delete.new(path)
93
+
94
+ parse fetch(request)
95
+ end
96
+
97
+ # PATCH
98
+ def patch(path, as: :form, **params)
99
+ request = Net::HTTP::Patch.new(path)
100
+
101
+ case as
102
+ when :json
103
+ request.content_type = CONTENT_TYPE_JSON
104
+ request.body = JSON.generate(params) unless params.empty?
105
+ else
106
+ request.content_type = CONTENT_TYPE_FORM
107
+ request.body = URI.encode_www_form(params) unless params.empty?
108
+ end
109
+
110
+ parse fetch(request)
111
+ end
112
+
113
+ # PUT
114
+ def put(path, as: :json, **params)
115
+ request = Net::HTTP::Put.new(path)
116
+
117
+ case as
118
+ when :json
119
+ request.content_type = CONTENT_TYPE_JSON
120
+ request.body = JSON.generate(params) unless params.empty?
121
+ else
122
+ request.content_type = CONTENT_TYPE_FORM
123
+ request.body = URI.encode_www_form(params) unless params.empty?
124
+ end
125
+
126
+ parse fetch(request)
127
+ end
128
+
129
+ # POST multipart
130
+ def multipart(path, **params)
131
+ request = Net::HTTP::Post.new(path)
132
+
133
+ request.content_type = CONTENT_TYPE_MULTIPART
134
+ request.body = Rack::Multipart::Generator.new(
135
+ "file" => Rack::Multipart::UploadedFile.new(params["file"][:tempfile].path, params["file"][:type])
136
+ ).dump
137
+
138
+ parse fetch(request)
139
+ end
140
+
141
+ private
142
+
143
+ # Perform the request.
144
+ def fetch(request)
145
+ # Shore up default headers for the request.
146
+ request["Accept"] = CONTENT_TYPE_JSON
147
+ request["Connection"] = "keep-alive"
148
+ request["User-Agent"] = "Websy Ruby v#{Websy::VERSION}"
149
+ request["Authorization"] = "Token token=#{Websy.token}"
150
+
151
+ # Actually make the request.
152
+ response = @http.request(request)
153
+
154
+ # Net::HTTPResponse.value will raise an error for non-200 responses.
155
+ # Simpler than trying to detect every possible exception.
156
+ response.value || response
157
+ end
158
+
159
+ def parse(response)
160
+ # Parse the response as JSON if possible.
161
+ if response.content_type == CONTENT_TYPE_JSON
162
+ JSON.parse(response.body)
163
+
164
+ # Otherwise just return the response body.
165
+ else
166
+ response.body
167
+ end
168
+ end
169
+ end
170
+ end
@@ -0,0 +1,20 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Websy
4
+ class Project < ApiOperation
5
+
6
+ def self.list(params = {})
7
+ api.get(resource_url, **params)
8
+ end
9
+
10
+ def self.find(id)
11
+ api.get(resource_url(id.to_s))
12
+ end
13
+
14
+ private
15
+
16
+ def self.resource_url(url = "")
17
+ Websy.api_url("/projects/") + url
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Websy
4
+ VERSION = "0.1.0"
5
+ end
data/lib/websy.rb ADDED
@@ -0,0 +1,29 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "websy/version"
4
+
5
+ # API operations
6
+ require "websy/http_decorator"
7
+ require "websy/api_operation"
8
+
9
+ # Resource
10
+ require "websy/project"
11
+
12
+ # Errors
13
+ require "websy/errors/service_error"
14
+ require "websy/errors/api_error"
15
+ require "websy/errors/api_connection_error"
16
+ require "websy/errors/invalid_request_error"
17
+ require "websy/errors/authentication_error"
18
+
19
+ module Websy
20
+ @api_base = "https://apimocks.herokuapp.com".freeze
21
+
22
+ class << self
23
+ attr_accessor :token, :api_base
24
+
25
+ def api_url(path = "")
26
+ @api_base + path
27
+ end
28
+ end
29
+ end
data/websy.gemspec ADDED
@@ -0,0 +1,28 @@
1
+ lib = File.expand_path("../lib", __FILE__)
2
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
+ require "websy/version"
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "websy"
7
+ spec.version = Websy::VERSION
8
+ spec.authors = ["Olivier"]
9
+ spec.email = ["olivier@yafoy.com"]
10
+
11
+ spec.summary = "A Ruby gem for interacting with XXX's REST API"
12
+ spec.homepage = "https://github.com/skoolfood/websy"
13
+ spec.license = "MIT"
14
+
15
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
16
+ f.match(%r{^(test|spec|features)/})
17
+ end
18
+ spec.bindir = "exe"
19
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
+ spec.require_paths = ["lib"]
21
+
22
+ spec.add_development_dependency "bundler", "~> 2"
23
+ spec.add_development_dependency "rake", "~> 10.0"
24
+ spec.add_development_dependency "minitest", "~> 5.0"
25
+ spec.add_development_dependency "minitest-reporters", "~> 1.3", ">= 1.3.0"
26
+ spec.add_development_dependency "vcr", "~> 6.0"
27
+ spec.add_development_dependency "webmock", "~> 3.0"
28
+ end
metadata ADDED
@@ -0,0 +1,155 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: websy
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Olivier
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2024-12-19 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: '2'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '2'
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: minitest
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '5.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '5.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: minitest-reporters
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '1.3'
62
+ - - ">="
63
+ - !ruby/object:Gem::Version
64
+ version: 1.3.0
65
+ type: :development
66
+ prerelease: false
67
+ version_requirements: !ruby/object:Gem::Requirement
68
+ requirements:
69
+ - - "~>"
70
+ - !ruby/object:Gem::Version
71
+ version: '1.3'
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ version: 1.3.0
75
+ - !ruby/object:Gem::Dependency
76
+ name: vcr
77
+ requirement: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - "~>"
80
+ - !ruby/object:Gem::Version
81
+ version: '6.0'
82
+ type: :development
83
+ prerelease: false
84
+ version_requirements: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - "~>"
87
+ - !ruby/object:Gem::Version
88
+ version: '6.0'
89
+ - !ruby/object:Gem::Dependency
90
+ name: webmock
91
+ requirement: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - "~>"
94
+ - !ruby/object:Gem::Version
95
+ version: '3.0'
96
+ type: :development
97
+ prerelease: false
98
+ version_requirements: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - "~>"
101
+ - !ruby/object:Gem::Version
102
+ version: '3.0'
103
+ description:
104
+ email:
105
+ - olivier@yafoy.com
106
+ executables: []
107
+ extensions: []
108
+ extra_rdoc_files: []
109
+ files:
110
+ - ".github/workflows/ci.yml"
111
+ - ".gitignore"
112
+ - ".tool-versions"
113
+ - CHANGELOG.md
114
+ - Gemfile
115
+ - Gemfile.lock
116
+ - LICENSE.txt
117
+ - README.md
118
+ - Rakefile
119
+ - bin/console
120
+ - bin/setup
121
+ - lib/websy.rb
122
+ - lib/websy/api_operation.rb
123
+ - lib/websy/errors/api_connection_error.rb
124
+ - lib/websy/errors/api_error.rb
125
+ - lib/websy/errors/authentication_error.rb
126
+ - lib/websy/errors/invalid_request_error.rb
127
+ - lib/websy/errors/service_error.rb
128
+ - lib/websy/http_decorator.rb
129
+ - lib/websy/project.rb
130
+ - lib/websy/version.rb
131
+ - websy.gemspec
132
+ homepage: https://github.com/skoolfood/websy
133
+ licenses:
134
+ - MIT
135
+ metadata: {}
136
+ post_install_message:
137
+ rdoc_options: []
138
+ require_paths:
139
+ - lib
140
+ required_ruby_version: !ruby/object:Gem::Requirement
141
+ requirements:
142
+ - - ">="
143
+ - !ruby/object:Gem::Version
144
+ version: '0'
145
+ required_rubygems_version: !ruby/object:Gem::Requirement
146
+ requirements:
147
+ - - ">="
148
+ - !ruby/object:Gem::Version
149
+ version: '0'
150
+ requirements: []
151
+ rubygems_version: 3.5.22
152
+ signing_key:
153
+ specification_version: 4
154
+ summary: A Ruby gem for interacting with XXX's REST API
155
+ test_files: []