pina 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
+ SHA1:
3
+ metadata.gz: 6ccfeab00b3b1f193fa241300d0af125cc09aa16
4
+ data.tar.gz: 6181a34c205d9b50ec4a1f9ac6eed5c3bfa16b87
5
+ SHA512:
6
+ metadata.gz: 5d3c0a4d62e3116ed2f373d3aff5f2c833a3a725350bb96947fce5ce84ec4c104dae144abd27994812c8f36fd5978326d43566360f52f8638f8924184cf9ac32
7
+ data.tar.gz: 66a35da4497a14416284ae333dcc10bd1823e6b442e0eeb1ffd7db9325b6d78471eb2e025e46b2b8bc979aed444db544af1abc34822bd33b799d828b07a8d501
data/.gitignore ADDED
@@ -0,0 +1,38 @@
1
+ Gemfile.lock
2
+ *.gem
3
+ *.rbc
4
+ /.config
5
+ /coverage/
6
+ /InstalledFiles
7
+ /pkg/
8
+ /spec/reports/
9
+ /test/tmp/
10
+ /test/version_tmp/
11
+ /tmp/
12
+
13
+ ## Specific to RubyMotion:
14
+ .dat*
15
+ .repl_history
16
+ build/
17
+
18
+ ## Documentation cache and generated files:
19
+ /.yardoc/
20
+ /_yardoc/
21
+ /doc/
22
+ /rdoc/
23
+
24
+ ## Environment normalisation:
25
+ /.bundle/
26
+ /vendor/bundle
27
+ /lib/bundler/man/
28
+
29
+ # for a library or gem, you might want to ignore these files since the code is
30
+ # intended to run in multiple environments; otherwise, check them in:
31
+ # Gemfile.lock
32
+ # .ruby-version
33
+ # .ruby-gemset
34
+
35
+ # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
36
+ .rvmrc
37
+
38
+ .env
data/.rspec ADDED
@@ -0,0 +1 @@
1
+ --color
data/.rubocop.yml ADDED
@@ -0,0 +1,2 @@
1
+ Documentation:
2
+ Enabled: false
data/.ruby-gemset ADDED
@@ -0,0 +1 @@
1
+ pina
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 2.2.3
data/.travis.yml ADDED
@@ -0,0 +1,7 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.3
4
+ - 2.2.3
5
+ - 2.2
6
+ - 2.1
7
+ before_install: gem install bundler -v 1.10.6
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in pina.gemspec
4
+ gemspec
data/LICENSE ADDED
@@ -0,0 +1,22 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015 Účetnictví on-line
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 all
13
+ 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 THE
21
+ SOFTWARE.
22
+
data/README.md ADDED
@@ -0,0 +1,98 @@
1
+ # Pina
2
+
3
+ [![Gem Version](https://badge.fury.io/rb/pina.png)](http://badge.fury.io/rb/pina)
4
+ [![Build Status](https://travis-ci.org/ucetnictvi-on-line/pina.png?branch=master)](https://travis-ci.org/ucetnictvi-on-line/pina)
5
+ [![Dependency Status](https://gemnasium.com/ucetnictvi-on-line/pina.svg)](https://gemnasium.com/ucetnictvi-on-line/pina)
6
+ [![Code Climate](https://codeclimate.com/github/ucetnictvi-on-line/pina/badges/gpa.svg)](https://codeclimate.com/github/ucetnictvi-on-line/pina)
7
+ [![Test Coverage](https://codeclimate.com/github/ucetnictvi-on-line/pina/badges/coverage.svg)](https://codeclimate.com/github/ucetnictvi-on-line/pina)
8
+
9
+
10
+ Simple client for Fantozzi REST API.
11
+
12
+ ## Installation
13
+
14
+ Add this line to your application's Gemfile:
15
+
16
+ ```ruby
17
+ gem 'pina'
18
+ ```
19
+
20
+ And then execute:
21
+
22
+ $ bundle
23
+
24
+ Or install it yourself as:
25
+
26
+ $ gem install pina
27
+
28
+ ## Usage
29
+
30
+ Before you start using Pina you have to configure it.
31
+
32
+ ```ruby
33
+ Pina.configure do |config|
34
+ config.email = 'your_email@domain.com'
35
+ config.tenant = 'your tenant database name'
36
+ config.api_token = 'your secret token'
37
+ end
38
+ ```
39
+
40
+ Now you can start querying REST API.
41
+
42
+ ### All contacts
43
+
44
+ ```ruby
45
+ Pina::Contact.all
46
+ ```
47
+
48
+ Gets all contacts from your database. Results are paginated and you can access
49
+ first, next or previous page like this:
50
+
51
+ ```ruby
52
+ contacts = Pina::Contact.all
53
+ contacts.next_page
54
+ ```
55
+
56
+ ```ruby
57
+ contacts = Pina::Contact.all
58
+ contacts.previous_page
59
+
60
+ contacts.first_page
61
+ ```
62
+
63
+ ### Fetching specific contact
64
+
65
+ ```ruby
66
+ Pina::Contact.find('contact_name')
67
+ ```
68
+
69
+ ### Create new contact
70
+
71
+ ```ruby
72
+ contact = Pina::Models::Contact.new
73
+ Pina::Contact.create(contact)
74
+ ```
75
+
76
+ ### Update existing contact
77
+
78
+ ```ruby
79
+ contact = Pina::Contact.find('existing')
80
+ contact.email = 'brand_new@email.com'
81
+ Pina::Contact.update('existing', contact)
82
+ ```
83
+
84
+ ## Development
85
+
86
+ 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.
87
+
88
+ 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).
89
+
90
+ ## Contributing
91
+
92
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/pina.
93
+
94
+
95
+ ## License
96
+
97
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
98
+
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/lib/pina.rb ADDED
@@ -0,0 +1,48 @@
1
+ require 'active_support'
2
+ require 'base64'
3
+ require 'json'
4
+ require 'typhoeus'
5
+ require 'virtus'
6
+
7
+ require 'pina/contact'
8
+ require 'pina/version'
9
+ require 'pina/rest_adapter'
10
+
11
+ require 'pina/models/address'
12
+ require 'pina/models/contact'
13
+ require 'pina/models/contact_list'
14
+
15
+ module Pina
16
+ class ConfigurationNotSet < StandardError; end
17
+
18
+ DEFAULT_API_VERSION = :v1
19
+ DEFAULT_EMAIL = 'dummy@email.com'
20
+ DEFAULT_TENANT = 'imaginary'
21
+
22
+ SCHEME = 'https://'
23
+ API_PATH = '.ucetnictvi.bonobo.cz/api/'
24
+
25
+ class << self
26
+ attr_accessor :configuration
27
+
28
+ def configure
29
+ self.configuration ||= Configuration.new
30
+ yield(configuration)
31
+ end
32
+ end
33
+
34
+ class Configuration
35
+ attr_accessor :api_token, :email, :tenant
36
+ attr_reader :api_version
37
+
38
+ def initialize
39
+ @api_version = DEFAULT_API_VERSION
40
+ @email = DEFAULT_EMAIL
41
+ @tenant = DEFAULT_TENANT
42
+ end
43
+
44
+ def base_url
45
+ SCHEME + tenant + API_PATH + "#{api_version}/"
46
+ end
47
+ end
48
+ end
@@ -0,0 +1,48 @@
1
+ module Pina
2
+ class Contact
3
+ class << self
4
+ def new(params = nil)
5
+ Pina::Models::Contact.new(params)
6
+ end
7
+
8
+ def find(id)
9
+ response = Pina::RestAdapter.get(:contacts, id)
10
+
11
+ return Pina::Models::Contact.new(attributes(response)) if response.ok?
12
+
13
+ response
14
+ end
15
+
16
+ def all(page = nil)
17
+ response = Pina::RestAdapter.get(:contacts, page)
18
+
19
+ return Pina::Models::ContactList.new(attributes(response)) if
20
+ response.ok?
21
+
22
+ response
23
+ end
24
+
25
+ def create(contact)
26
+ response = Pina::RestAdapter.post(:contacts, contact)
27
+
28
+ return Pina::Models::Contact.new(attributes(response)) if response.ok?
29
+
30
+ response
31
+ end
32
+
33
+ def update(id, contact)
34
+ response = Pina::RestAdapter.patch(:contacts, id, contact)
35
+
36
+ return Pina::Models::Contact.new(attributes(response)) if response.ok?
37
+
38
+ response
39
+ end
40
+
41
+ private
42
+
43
+ def attributes(response)
44
+ response.to_hash.merge(response: response)
45
+ end
46
+ end
47
+ end
48
+ end
@@ -0,0 +1,29 @@
1
+ module Pina
2
+ module Models
3
+ class Address
4
+ include Virtus.model
5
+
6
+ attribute :address_id
7
+ attribute :address_types, Array
8
+ attribute :building_number
9
+ attribute :city
10
+ attribute :country_id
11
+ attribute :created_at
12
+ attribute :creator, Hash
13
+ attribute :email
14
+ attribute :external_id
15
+ attribute :hidden
16
+ attribute :mobile_phone
17
+ attribute :modifier, Hash
18
+ attribute :name
19
+ attribute :phone
20
+ attribute :postal_code
21
+ attribute :response
22
+ attribute :status
23
+ attribute :street
24
+ attribute :updated_at
25
+ attribute :url
26
+ attribute '_destroy'
27
+ end
28
+ end
29
+ end
@@ -0,0 +1,42 @@
1
+ module Pina
2
+ module Models
3
+ class Contact
4
+ include Virtus.model
5
+
6
+ attribute :acquisition_country_id
7
+ attribute :addresses, Array[Address]
8
+ attribute :business_entity
9
+ attribute :consumption_country_id
10
+ attribute :contact_id
11
+ attribute :contract_id
12
+ attribute :country_id
13
+ attribute :created_at
14
+ attribute :creator, Hash
15
+ attribute :days_till_due_date
16
+ attribute :department_id
17
+ attribute :duplicate_variable_symbol
18
+ attribute :email
19
+ attribute :external_id
20
+ attribute :hidden
21
+ attribute :import_received_documents
22
+ attribute :language_id
23
+ attribute :mobile_phone
24
+ attribute :modifier_id
25
+ attribute :name
26
+ attribute :note
27
+ attribute :percent_discount
28
+ attribute :phone
29
+ attribute :price_list, Hash
30
+ attribute :response
31
+ attribute :status
32
+ attribute :sipo_number
33
+ attribute :specific_symbol
34
+ attribute :tin
35
+ attribute :unreliable_payer
36
+ attribute :updated_at
37
+ attribute :url
38
+ attribute :vat_payer
39
+ attribute :vatin
40
+ end
41
+ end
42
+ end
@@ -0,0 +1,41 @@
1
+ module Pina
2
+ module Models
3
+ class ContactList
4
+ include Virtus.model
5
+
6
+ attribute :items, Array[Contact]
7
+ attribute :_meta
8
+ attribute :response
9
+
10
+ def next_page
11
+ Pina::Contact.all(extract_next_page)
12
+ end
13
+
14
+ def first_page
15
+ Pina::Contact.all
16
+ end
17
+
18
+ def previous_page
19
+ Pina::Contact.all(extract_prev_page)
20
+ end
21
+
22
+ private
23
+
24
+ def extract_next_page
25
+ string = _meta['pagination']['next']
26
+ return unless string
27
+
28
+ index = string.index('?')
29
+ string[index..-1]
30
+ end
31
+
32
+ def extract_prev_page
33
+ string = _meta['pagination']['prev']
34
+ return unless string
35
+
36
+ index = string.index('?')
37
+ string[index..-1]
38
+ end
39
+ end
40
+ end
41
+ end
@@ -0,0 +1,67 @@
1
+ module Pina
2
+ class RestAdapter
3
+ class << self
4
+ def get(resource, id = nil)
5
+ fail ConfigurationNotSet unless Pina.configuration
6
+
7
+ request = Typhoeus.get(url(resource, id), headers: auth)
8
+ Response.new(request.response_code, request.body)
9
+ end
10
+
11
+ def post(resource, payload)
12
+ fail ConfigurationNotSet unless Pina.configuration
13
+
14
+ request = Typhoeus.post(url(resource, nil), headers: auth
15
+ .merge(content_type), body: ActiveSupport::JSON.encode(payload))
16
+
17
+ Response.new(request.response_code, request.body)
18
+ end
19
+
20
+ def patch(resource, id, payload)
21
+ fail ConfigurationNotSet unless Pina.configuration
22
+
23
+ request = Typhoeus.patch(url(resource, id), headers: auth
24
+ .merge(content_type), body: ActiveSupport::JSON.encode(payload))
25
+
26
+ Response.new(request.response_code, request.body)
27
+ end
28
+
29
+ private
30
+
31
+ def content_type
32
+ {
33
+ 'Accept-Encoding' => 'application/json',
34
+ 'Content-Type' => 'application/json'
35
+ }
36
+ end
37
+
38
+ def auth
39
+ { 'Authorization' => 'Basic ' + Base64
40
+ .strict_encode64("#{Pina.configuration.email}:"\
41
+ "#{Pina.configuration.api_token}")
42
+ }
43
+ end
44
+
45
+ def url(resource, id)
46
+ Pina.configuration.base_url + "#{resource}/#{id}"
47
+ end
48
+ end
49
+
50
+ class Response
51
+ attr_accessor :body, :status_code
52
+
53
+ def initialize(status_code, body)
54
+ @status_code = status_code
55
+ @body = body
56
+ end
57
+
58
+ def ok?
59
+ status_code == 200 || status_code == 201
60
+ end
61
+
62
+ def to_hash
63
+ JSON.parse(body)
64
+ end
65
+ end
66
+ end
67
+ end
@@ -0,0 +1,3 @@
1
+ module Pina
2
+ VERSION = '0.1.0'
3
+ end
data/pina.gemspec ADDED
@@ -0,0 +1,33 @@
1
+ lib = File.expand_path('../lib', __FILE__)
2
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
+ require 'pina/version'
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = 'pina'
7
+ spec.version = Pina::VERSION
8
+ spec.authors = ['Pavel Hronek']
9
+ spec.email = ['hronek@uol.cz']
10
+
11
+ spec.summary = 'Fantozzi REST API client'
12
+ spec.description = 'Fantozzi REST API client'
13
+ spec.homepage = 'https://github.com/ucetnictvi-on-line/pina'
14
+ spec.license = 'MIT'
15
+
16
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
17
+ f.match(%r{^(test|spec|features)/})
18
+ end
19
+ spec.require_paths = ['lib']
20
+
21
+ spec.add_development_dependency 'bundler', '~> 1.10'
22
+ spec.add_development_dependency 'rake', '~> 10.0'
23
+ spec.add_development_dependency 'rspec'
24
+ spec.add_development_dependency 'pry'
25
+ spec.add_development_dependency 'rubocop'
26
+ spec.add_development_dependency 'vcr'
27
+ spec.add_development_dependency 'factory_girl'
28
+ spec.add_development_dependency 'dotenv'
29
+
30
+ spec.add_runtime_dependency 'typhoeus'
31
+ spec.add_runtime_dependency 'virtus'
32
+ spec.add_runtime_dependency 'activesupport'
33
+ end
metadata ADDED
@@ -0,0 +1,216 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: pina
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Pavel Hronek
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-12-28 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.10'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.10'
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: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: pry
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rubocop
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: vcr
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: factory_girl
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: dotenv
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: typhoeus
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :runtime
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: virtus
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :runtime
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ - !ruby/object:Gem::Dependency
154
+ name: activesupport
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
160
+ type: :runtime
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - ">="
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
167
+ description: Fantozzi REST API client
168
+ email:
169
+ - hronek@uol.cz
170
+ executables: []
171
+ extensions: []
172
+ extra_rdoc_files: []
173
+ files:
174
+ - ".gitignore"
175
+ - ".rspec"
176
+ - ".rubocop.yml"
177
+ - ".ruby-gemset"
178
+ - ".ruby-version"
179
+ - ".travis.yml"
180
+ - Gemfile
181
+ - LICENSE
182
+ - README.md
183
+ - Rakefile
184
+ - lib/pina.rb
185
+ - lib/pina/contact.rb
186
+ - lib/pina/models/address.rb
187
+ - lib/pina/models/contact.rb
188
+ - lib/pina/models/contact_list.rb
189
+ - lib/pina/rest_adapter.rb
190
+ - lib/pina/version.rb
191
+ - pina.gemspec
192
+ homepage: https://github.com/ucetnictvi-on-line/pina
193
+ licenses:
194
+ - MIT
195
+ metadata: {}
196
+ post_install_message:
197
+ rdoc_options: []
198
+ require_paths:
199
+ - lib
200
+ required_ruby_version: !ruby/object:Gem::Requirement
201
+ requirements:
202
+ - - ">="
203
+ - !ruby/object:Gem::Version
204
+ version: '0'
205
+ required_rubygems_version: !ruby/object:Gem::Requirement
206
+ requirements:
207
+ - - ">="
208
+ - !ruby/object:Gem::Version
209
+ version: '0'
210
+ requirements: []
211
+ rubyforge_project:
212
+ rubygems_version: 2.4.8
213
+ signing_key:
214
+ specification_version: 4
215
+ summary: Fantozzi REST API client
216
+ test_files: []