unleashed_client 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +9 -0
- data/.rspec_status +5 -0
- data/.travis.yml +6 -0
- data/CHANGELOG.md +6 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +7 -0
- data/Gemfile.lock +46 -0
- data/LICENSE.txt +21 -0
- data/README.md +119 -0
- data/Rakefile +10 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/lib/http/auth.rb +9 -0
- data/lib/http/http_client.rb +45 -0
- data/lib/unleashed_client.rb +35 -0
- data/lib/unleashed_client/version.rb +3 -0
- data/unleashed_client.gemspec +32 -0
- metadata +117 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 48d7dedd825a06c4828fe101d25ac82f408863fe4d930cf5e6eab932198b59c0
|
4
|
+
data.tar.gz: 670cf5a6ca7321183ee009956be29d0c431d83c4aa6762db51586fb64a008666
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: a2688e2089c72b7de1be4a6e7b04f029beb10d2913d844b4b2defa98992ca98ba57be6bc280c3115ebad4bdf6a1ce57c5b4d8986f93f1e80ca717746dc12711d
|
7
|
+
data.tar.gz: 669bfb667c5ba5949a6323d615b79bcb8fe24a0de859163f3042f07b0c1b83026049db46e3000ec0692832bb706105b4b64e8935f42bb878092b7e444bebe129
|
data/.gitignore
ADDED
data/.rspec_status
ADDED
@@ -0,0 +1,5 @@
|
|
1
|
+
example_id | status | run_time |
|
2
|
+
-------------------------------------- | ------ | --------------- |
|
3
|
+
./spec/unleashed_client_spec.rb[1:1:1] | failed | 0.0001 seconds |
|
4
|
+
./spec/unleashed_client_spec.rb[1:1:2] | failed | 0.00006 seconds |
|
5
|
+
./spec/unleashed_client_spec.rb[1:1:3] | failed | 0.00005 seconds |
|
data/.travis.yml
ADDED
data/CHANGELOG.md
ADDED
data/CODE_OF_CONDUCT.md
ADDED
@@ -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 marko.manojlovic.bg@gmail.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
data/Gemfile.lock
ADDED
@@ -0,0 +1,46 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
unleashed_client (0.1.0)
|
5
|
+
httparty (~> 0.18.0, >= 0.18.1)
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
diff-lcs (1.4.4)
|
11
|
+
dotenv (2.7.6)
|
12
|
+
httparty (0.18.1)
|
13
|
+
mime-types (~> 3.0)
|
14
|
+
multi_xml (>= 0.5.2)
|
15
|
+
mime-types (3.3.1)
|
16
|
+
mime-types-data (~> 3.2015)
|
17
|
+
mime-types-data (3.2020.0512)
|
18
|
+
minitest (5.14.2)
|
19
|
+
multi_xml (0.6.0)
|
20
|
+
rake (12.3.3)
|
21
|
+
rspec (3.9.0)
|
22
|
+
rspec-core (~> 3.9.0)
|
23
|
+
rspec-expectations (~> 3.9.0)
|
24
|
+
rspec-mocks (~> 3.9.0)
|
25
|
+
rspec-core (3.9.2)
|
26
|
+
rspec-support (~> 3.9.3)
|
27
|
+
rspec-expectations (3.9.2)
|
28
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
29
|
+
rspec-support (~> 3.9.0)
|
30
|
+
rspec-mocks (3.9.1)
|
31
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
32
|
+
rspec-support (~> 3.9.0)
|
33
|
+
rspec-support (3.9.3)
|
34
|
+
|
35
|
+
PLATFORMS
|
36
|
+
ruby
|
37
|
+
|
38
|
+
DEPENDENCIES
|
39
|
+
dotenv (~> 2.7, >= 2.7.6)
|
40
|
+
minitest (~> 5.0)
|
41
|
+
rake (~> 12.0)
|
42
|
+
rspec
|
43
|
+
unleashed_client!
|
44
|
+
|
45
|
+
BUNDLED WITH
|
46
|
+
2.1.4
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2020 Marko Manojlovic
|
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,119 @@
|
|
1
|
+
# Unleashed
|
2
|
+
|
3
|
+
![](https://res.cloudinary.com/manoylo/image/upload/v1600048806/unleashed-logo_s2plij.svg)
|
4
|
+
|
5
|
+
A Ruby wrapper for [Unleashed](https://www.unleashedsoftware.com/)
|
6
|
+
|
7
|
+
## Documentation
|
8
|
+
The documentation for Unleashed API can be found [here](https://apidocs.unleashedsoftware.com)
|
9
|
+
|
10
|
+
## Supported Resources
|
11
|
+
This library supports the following resources:
|
12
|
+
* [SalesOrders](https://apidocs.unleashedsoftware.com/SalesOrders)
|
13
|
+
|
14
|
+
## Installation
|
15
|
+
|
16
|
+
Add this line to your application's Gemfile:
|
17
|
+
|
18
|
+
```ruby
|
19
|
+
gem 'unleashed_client'
|
20
|
+
```
|
21
|
+
|
22
|
+
And then execute:
|
23
|
+
|
24
|
+
$ bundle install
|
25
|
+
|
26
|
+
Or install it yourself as:
|
27
|
+
|
28
|
+
$ gem install unleashed_client
|
29
|
+
|
30
|
+
## Getting Started
|
31
|
+
|
32
|
+
### 1. Unleashed API key and API ID
|
33
|
+
|
34
|
+
Before you can use the gem, you will have to register and get your API key and API ID. Check out [Unleashed get started page](https://apidocs.unleashedsoftware.com/) for more information.
|
35
|
+
|
36
|
+
### 2. Set your ENV
|
37
|
+
Set your API_KEY and API_ID as your environment variables. If you're managing your environment variables [dotenv](https://github.com/bkeepers/dotenv) add API_KEY=your_key and API_ID=your_id to your .env file, or if you're using something like [Figaro](https://github.com/laserlemon/figaro) set your API_KEY: your_key and your API_ID: your_id.
|
38
|
+
|
39
|
+
### 3. Use it
|
40
|
+
```ruby
|
41
|
+
require 'unleashed_client'
|
42
|
+
|
43
|
+
@client = UnleashedClient::SalesOrder.new(api_key: ENV['API_KEY'], api_id: ENV['API_ID'])
|
44
|
+
```
|
45
|
+
|
46
|
+
### Get total number of pages
|
47
|
+
This is useful if you need to iterate over all pages and get all the data:
|
48
|
+
|
49
|
+
```ruby
|
50
|
+
response = @client.get_number_of_pages
|
51
|
+
pages = response["Pagination"]["NumberOfPages"]
|
52
|
+
```
|
53
|
+
|
54
|
+
### Get the first 200 sales orders
|
55
|
+
Returns the first 200 sales orders because page number 1 is the default:
|
56
|
+
|
57
|
+
```ruby
|
58
|
+
response = @client.get_first_200
|
59
|
+
items = response["Items"]
|
60
|
+
```
|
61
|
+
|
62
|
+
### Get sales orders from a specific page
|
63
|
+
```ruby
|
64
|
+
your_page_number = 2
|
65
|
+
response = @client.get_orders_from_page(page_number: your_page_number)
|
66
|
+
items = response["Items]
|
67
|
+
```
|
68
|
+
|
69
|
+
Example usage:
|
70
|
+
You can combine get_orders_from_page with get_number_of_pages. This will allow you to loop through all available pages and get the data (for example, if you are creating records in your local database):
|
71
|
+
|
72
|
+
```ruby
|
73
|
+
require 'unleashed_client'
|
74
|
+
|
75
|
+
@client = UnleashedClient::SalesOrder.new(api_key: ENV['API_KEY'], api_id: ENV['API_ID'])
|
76
|
+
|
77
|
+
response = @client.get_number_of_pages
|
78
|
+
number_of_pages = response["Pagination"]["NumberOfPages"]
|
79
|
+
|
80
|
+
number_of_pages.downto(1).each do |i|
|
81
|
+
items = @client.get_orders_from_page(page_number: i)
|
82
|
+
# do stuff with items
|
83
|
+
end
|
84
|
+
```
|
85
|
+
|
86
|
+
### Get sales orders details
|
87
|
+
Returns details of a particular sales order using sales order guid value (ex guid: E6E8163F-6911-40e9-B740-90E5A0A3A996)
|
88
|
+
|
89
|
+
```ruby
|
90
|
+
your_guid = "E6E8163F-6911-40e9-B740-90E5A0A3A996"
|
91
|
+
response = @client.get_details(guid: your_guid)
|
92
|
+
|
93
|
+
# response["Guid"] => "E6E8163F-6911-40e9-B740-90E5A0A3A996"
|
94
|
+
# response["OrderNumber"] => "SO-xxx"
|
95
|
+
# ...
|
96
|
+
```
|
97
|
+
|
98
|
+
## TODO
|
99
|
+
* Add better tests wth Rspec;
|
100
|
+
|
101
|
+
What has to be added for SalesOrders resource:
|
102
|
+
* creating new sales orders;
|
103
|
+
* complete a sales order;
|
104
|
+
* update a sales order;
|
105
|
+
|
106
|
+
Other resources to be added:
|
107
|
+
* [Customers](https://apidocs.unleashedsoftware.com/Customers);
|
108
|
+
* [Products](https://apidocs.unleashedsoftware.com/Products);
|
109
|
+
* [PurchaseOrders](https://apidocs.unleashedsoftware.com/Purchases);
|
110
|
+
* [SalesPersons](https://apidocs.unleashedsoftware.com/SalesPersons);
|
111
|
+
* [SalesPersons](https://apidocs.unleashedsoftware.com/SalesPersons);
|
112
|
+
* [SalesShipments](https://apidocs.unleashedsoftware.com/SalesShipments);
|
113
|
+
* [StockAdjustments](https://apidocs.unleashedsoftware.com/StockAdjustments);
|
114
|
+
* [WarehouseStockTransfers](https://apidocs.unleashedsoftware.com/WarehouseStockTransfers);
|
115
|
+
|
116
|
+
## Author
|
117
|
+
* Marko Manojlovic <marko.manojlovic.bg@gmail.com>
|
118
|
+
* [https://manoylo.me](https:/manoylo.me)
|
119
|
+
* [LinkedIn](https://www.linkedin.com/in/marko-manojlovic-mm/)
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "unleashed_client"
|
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
data/lib/http/auth.rb
ADDED
@@ -0,0 +1,45 @@
|
|
1
|
+
require_relative 'auth'
|
2
|
+
require 'httparty'
|
3
|
+
|
4
|
+
module HTTP
|
5
|
+
class Client
|
6
|
+
API_URL = "https://api.unleashedsoftware.com"
|
7
|
+
|
8
|
+
class << self
|
9
|
+
def get(api_id:, api_key:, query:, unleashed_model:)
|
10
|
+
headers = generate_signature_and_headers(api_key: api_key, api_id: api_id, query: query)
|
11
|
+
|
12
|
+
url = "#{API_URL}/#{unleashed_model}"
|
13
|
+
HTTParty.get(url, headers: headers)
|
14
|
+
end
|
15
|
+
|
16
|
+
def get_with_guid(api_id:, api_key:, query:, unleashed_model:, guid:)
|
17
|
+
headers = generate_signature_and_headers(api_key: api_key, api_id: api_id, query: query)
|
18
|
+
|
19
|
+
url = "#{API_URL}/#{unleashed_model}/#{guid}"
|
20
|
+
HTTParty.get(url, headers: headers)
|
21
|
+
end
|
22
|
+
|
23
|
+
def get_from_page(api_id:, api_key:, query:, unleashed_model:, page_number:)
|
24
|
+
headers = generate_signature_and_headers(api_key: api_key, api_id: api_id, query: query)
|
25
|
+
|
26
|
+
url = "#{API_URL}/#{unleashed_model}/Page/#{page_number}"
|
27
|
+
response = HTTParty.get(url, headers: headers)
|
28
|
+
response["Items"]
|
29
|
+
end
|
30
|
+
|
31
|
+
private
|
32
|
+
|
33
|
+
def generate_signature_and_headers(api_key:, api_id:, query:)
|
34
|
+
signature = Auth.get_signature(api_key: api_key, query: query)
|
35
|
+
|
36
|
+
{
|
37
|
+
"Content-Type" => "application/json",
|
38
|
+
"Accept" => "application/json",
|
39
|
+
"api-auth-id" => api_id,
|
40
|
+
"api-auth-signature" => signature
|
41
|
+
}
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
@@ -0,0 +1,35 @@
|
|
1
|
+
require "unleashed_client/version"
|
2
|
+
require_relative 'http/http_client'
|
3
|
+
require 'httparty'
|
4
|
+
|
5
|
+
module UnleashedClient
|
6
|
+
class SalesOrder
|
7
|
+
attr_reader :api_key, :api_id
|
8
|
+
|
9
|
+
def initialize(api_key:, api_id:, query: "")
|
10
|
+
@api_key = api_key
|
11
|
+
@api_id = api_id
|
12
|
+
@query = query
|
13
|
+
@unleashed_model = 'SalesOrders'
|
14
|
+
end
|
15
|
+
|
16
|
+
def get_number_of_pages
|
17
|
+
response = HTTP::Client.get(api_id: @api_id, api_key: @api_key, query: @query, unleashed_model: @unleashed_model)
|
18
|
+
response["Pagination"]["NumberOfPages"]
|
19
|
+
end
|
20
|
+
|
21
|
+
def get_first_200
|
22
|
+
response = HTTP::Client.get(api_id: @api_id, api_key: @api_key, query: @query, unleashed_model: @unleashed_model)
|
23
|
+
response["Items"]
|
24
|
+
end
|
25
|
+
|
26
|
+
def get_orders_from_page(page_number:)
|
27
|
+
response = HTTP::Client.get_from_page(api_id: @api_id, api_key: @api_key, query: @query, unleashed_model: @unleashed_model, page_number: page_number)
|
28
|
+
response["Items"]
|
29
|
+
end
|
30
|
+
|
31
|
+
def get_details(guid:)
|
32
|
+
HTTP::Client.get_with_guid(api_id: @api_id, api_key: @api_key, query: @query, unleashed_model: @unleashed_model, guid: guid)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
@@ -0,0 +1,32 @@
|
|
1
|
+
require_relative 'lib/unleashed_client/version'
|
2
|
+
|
3
|
+
Gem::Specification.new do |spec|
|
4
|
+
spec.name = "unleashed_client"
|
5
|
+
spec.version = UnleashedClient::VERSION
|
6
|
+
spec.authors = ["thecookieorg"]
|
7
|
+
spec.email = ["marko.manojlovic.bg@gmail.com"]
|
8
|
+
|
9
|
+
spec.summary = %q{A Ruby wrapper for Unleashed API https://apidocs.unleashedsoftware.com}
|
10
|
+
spec.description = %q{A Ruby wrapper for Unleashed API https://apidocs.unleashedsoftware.com}
|
11
|
+
spec.homepage = "https://github.com/thecookieorg/unleashed_client"
|
12
|
+
spec.license = "MIT"
|
13
|
+
spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
|
14
|
+
|
15
|
+
spec.metadata["homepage_uri"] = spec.homepage
|
16
|
+
spec.metadata["source_code_uri"] = "https://github.com/thecookieorg/unleashed_client"
|
17
|
+
spec.metadata["changelog_uri"] = "https://github.com/thecookieorg/unleashed_client/blob/master/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 'httparty', '~> 0.18.0', '>= 0.18.1'
|
29
|
+
|
30
|
+
spec.add_development_dependency "rspec"
|
31
|
+
spec.add_development_dependency "dotenv", '~> 2.7', '>= 2.7.6'
|
32
|
+
end
|
metadata
ADDED
@@ -0,0 +1,117 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: unleashed_client
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- thecookieorg
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2020-09-14 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: httparty
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 0.18.0
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 0.18.1
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - "~>"
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 0.18.0
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 0.18.1
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: rspec
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - ">="
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '0'
|
40
|
+
type: :development
|
41
|
+
prerelease: false
|
42
|
+
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - ">="
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '0'
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: dotenv
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - "~>"
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '2.7'
|
54
|
+
- - ">="
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: 2.7.6
|
57
|
+
type: :development
|
58
|
+
prerelease: false
|
59
|
+
version_requirements: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - "~>"
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: '2.7'
|
64
|
+
- - ">="
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: 2.7.6
|
67
|
+
description: A Ruby wrapper for Unleashed API https://apidocs.unleashedsoftware.com
|
68
|
+
email:
|
69
|
+
- marko.manojlovic.bg@gmail.com
|
70
|
+
executables: []
|
71
|
+
extensions: []
|
72
|
+
extra_rdoc_files: []
|
73
|
+
files:
|
74
|
+
- ".gitignore"
|
75
|
+
- ".rspec_status"
|
76
|
+
- ".travis.yml"
|
77
|
+
- CHANGELOG.md
|
78
|
+
- CODE_OF_CONDUCT.md
|
79
|
+
- Gemfile
|
80
|
+
- Gemfile.lock
|
81
|
+
- LICENSE.txt
|
82
|
+
- README.md
|
83
|
+
- Rakefile
|
84
|
+
- bin/console
|
85
|
+
- bin/setup
|
86
|
+
- lib/http/auth.rb
|
87
|
+
- lib/http/http_client.rb
|
88
|
+
- lib/unleashed_client.rb
|
89
|
+
- lib/unleashed_client/version.rb
|
90
|
+
- unleashed_client.gemspec
|
91
|
+
homepage: https://github.com/thecookieorg/unleashed_client
|
92
|
+
licenses:
|
93
|
+
- MIT
|
94
|
+
metadata:
|
95
|
+
homepage_uri: https://github.com/thecookieorg/unleashed_client
|
96
|
+
source_code_uri: https://github.com/thecookieorg/unleashed_client
|
97
|
+
changelog_uri: https://github.com/thecookieorg/unleashed_client/blob/master/CHANGELOG.md
|
98
|
+
post_install_message:
|
99
|
+
rdoc_options: []
|
100
|
+
require_paths:
|
101
|
+
- lib
|
102
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
103
|
+
requirements:
|
104
|
+
- - ">="
|
105
|
+
- !ruby/object:Gem::Version
|
106
|
+
version: 2.3.0
|
107
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
108
|
+
requirements:
|
109
|
+
- - ">="
|
110
|
+
- !ruby/object:Gem::Version
|
111
|
+
version: '0'
|
112
|
+
requirements: []
|
113
|
+
rubygems_version: 3.0.3
|
114
|
+
signing_key:
|
115
|
+
specification_version: 4
|
116
|
+
summary: A Ruby wrapper for Unleashed API https://apidocs.unleashedsoftware.com
|
117
|
+
test_files: []
|