viglink-rb 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: 23deace68c9c004c1e0b6a8d427fe3e328631e938375f8b12180a5d6437ffa56
4
+ data.tar.gz: 34e8930ce536216ceb3f452a9c9895010d38b837f09d0ce3401dc4c7f45c1bae
5
+ SHA512:
6
+ metadata.gz: b85feb8e73d49008793ee10148d093ebd15ea963f62d672e325d340cad9a1bcc43f0d801ecdfdab3057257d6dcf50d8f203a60e37e3d7a70d0e4064dfec66d29
7
+ data.tar.gz: ff9292b5797c05d590511f834c11f71db3bfd473cf33d1bf6f50fedc16fe1b44064e2b6c4349f01ec60f6d1f1102f435cb2aa62caf661ad42c2f1c95ced6e1ed
data/.gitignore ADDED
@@ -0,0 +1,13 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+
10
+ # rspec failure tracking
11
+ .rspec_status
12
+ .env
13
+ .byebug_history
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.rubocop.yml ADDED
@@ -0,0 +1,8 @@
1
+ require:
2
+ - rubocop-rspec
3
+
4
+ Documentation:
5
+ Enabled: false
6
+
7
+ Metrics/BlockLength:
8
+ ExcludedMethods: ['describe', 'context']
data/.travis.yml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ sudo: false
3
+ language: ruby
4
+ cache: bundler
5
+ rvm:
6
+ - 2.6.0
7
+ before_install: gem install bundler -v 1.17.2
data/Gemfile ADDED
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ source 'https://rubygems.org'
4
+
5
+ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
6
+
7
+ # Specify your gem's dependencies in viglink-rb.gemspec
8
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,95 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ viglink-rb (0.1.0)
5
+ httparty
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ activesupport (5.2.3)
11
+ concurrent-ruby (~> 1.0, >= 1.0.2)
12
+ i18n (>= 0.7, < 2)
13
+ minitest (~> 5.1)
14
+ tzinfo (~> 1.1)
15
+ addressable (2.6.0)
16
+ public_suffix (>= 2.0.2, < 4.0)
17
+ ast (2.4.0)
18
+ byebug (11.0.1)
19
+ concurrent-ruby (1.1.5)
20
+ crack (0.4.3)
21
+ safe_yaml (~> 1.0.0)
22
+ diff-lcs (1.3)
23
+ dotenv (2.7.4)
24
+ factory_bot (5.0.2)
25
+ activesupport (>= 4.2.0)
26
+ hashdiff (1.0.0)
27
+ httparty (0.17.0)
28
+ mime-types (~> 3.0)
29
+ multi_xml (>= 0.5.2)
30
+ i18n (1.6.0)
31
+ concurrent-ruby (~> 1.0)
32
+ jaro_winkler (1.5.3)
33
+ mime-types (3.2.2)
34
+ mime-types-data (~> 3.2015)
35
+ mime-types-data (3.2019.0331)
36
+ minitest (5.11.3)
37
+ multi_xml (0.6.0)
38
+ parallel (1.17.0)
39
+ parser (2.6.3.0)
40
+ ast (~> 2.4.0)
41
+ public_suffix (3.1.1)
42
+ rainbow (3.0.0)
43
+ rake (10.5.0)
44
+ rspec (3.8.0)
45
+ rspec-core (~> 3.8.0)
46
+ rspec-expectations (~> 3.8.0)
47
+ rspec-mocks (~> 3.8.0)
48
+ rspec-core (3.8.0)
49
+ rspec-support (~> 3.8.0)
50
+ rspec-expectations (3.8.3)
51
+ diff-lcs (>= 1.2.0, < 2.0)
52
+ rspec-support (~> 3.8.0)
53
+ rspec-mocks (3.8.0)
54
+ diff-lcs (>= 1.2.0, < 2.0)
55
+ rspec-support (~> 3.8.0)
56
+ rspec-support (3.8.0)
57
+ rubocop (0.72.0)
58
+ jaro_winkler (~> 1.5.1)
59
+ parallel (~> 1.10)
60
+ parser (>= 2.6)
61
+ rainbow (>= 2.2.2, < 4.0)
62
+ ruby-progressbar (~> 1.7)
63
+ unicode-display_width (>= 1.4.0, < 1.7)
64
+ rubocop-rspec (1.33.0)
65
+ rubocop (>= 0.60.0)
66
+ ruby-progressbar (1.10.1)
67
+ safe_yaml (1.0.5)
68
+ thread_safe (0.3.6)
69
+ tzinfo (1.2.5)
70
+ thread_safe (~> 0.1)
71
+ unicode-display_width (1.6.0)
72
+ vcr (5.0.0)
73
+ webmock (3.6.0)
74
+ addressable (>= 2.3.6)
75
+ crack (>= 0.3.2)
76
+ hashdiff (>= 0.4.0, < 2.0.0)
77
+
78
+ PLATFORMS
79
+ ruby
80
+
81
+ DEPENDENCIES
82
+ bundler (~> 1.17)
83
+ byebug (~> 11.0.0)
84
+ dotenv (~> 2.7.0)
85
+ factory_bot (~> 5.0.0)
86
+ rake (~> 10.0)
87
+ rspec (~> 3.0)
88
+ rubocop (~> 0.72.0)
89
+ rubocop-rspec (~> 1.33.0)
90
+ vcr (~> 5.0.0)
91
+ viglink-rb!
92
+ webmock (~> 3.6.0)
93
+
94
+ BUNDLED WITH
95
+ 1.17.3
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2019 Reginaldo Sousa
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,39 @@
1
+ # VigLink Ruby
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/viglink`. 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 'viglink-rb'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install viglink-rb
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/lemmoney/viglink-rb.
36
+
37
+ ## License
38
+
39
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
data/Rakefile ADDED
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'bundler/gem_tasks'
4
+ require 'rspec/core/rake_task'
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+
8
+ task default: :spec
data/bin/console ADDED
@@ -0,0 +1,15 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require 'bundler/setup'
5
+ require 'viglink'
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__)
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
data/lib/viglink.rb ADDED
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'viglink/configuration'
4
+ require 'viglink/version'
5
+ require 'viglink/http_client'
6
+ require 'viglink/api_error'
7
+ require 'viglink/rate'
8
+ require 'viglink/industry_type'
9
+ require 'viglink/merchant'
10
+
11
+ module Viglink
12
+ end
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Viglink
4
+ class APIError < StandardError
5
+ attr_reader :status, :body
6
+
7
+ def initialize(status:, body:)
8
+ @status = status
9
+ @body = body
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,31 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Viglink
4
+ class << self
5
+ attr_writer :configuration
6
+ end
7
+
8
+ def self.configuration
9
+ @configuration ||= Configuration.new
10
+ end
11
+
12
+ def self.configure
13
+ yield(configuration)
14
+ end
15
+
16
+ def self.reset
17
+ @configuration = Configuration.new
18
+ end
19
+
20
+ class Configuration
21
+ attr_accessor :api_key, :secret_key, :debug_output
22
+
23
+ def initialize(api_key: ENV['VIGLINK_API_KEY'],
24
+ secret_key: ENV['VIGLINK_SECRET_KEY'],
25
+ debug_output: false)
26
+ @api_key = api_key
27
+ @secret_key = secret_key
28
+ @debug_output = debug_output
29
+ end
30
+ end
31
+ end
@@ -0,0 +1,23 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'httparty'
4
+
5
+ module Viglink
6
+ class HTTPClient
7
+ include HTTParty
8
+ base_uri 'https://publishers.viglink.com'
9
+ headers Authorization: -> { "secret #{Viglink.configuration.secret_key}" }
10
+ # format :json
11
+ debug_output Viglink.configuration.debug_output
12
+
13
+ def self.get(path:, query: {})
14
+ response = super(path, query: query)
15
+
16
+ unless response.success?
17
+ raise Viglink::APIError.new(status: response.code, body: response.body)
18
+ end
19
+
20
+ response
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Viglink
4
+ IndustryType = Struct.new(:code, :name, keyword_init: true) do
5
+ def self.from_json(industry_type)
6
+ new code: industry_type['code'], name: industry_type['name']
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,63 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Viglink
4
+ Merchant = Struct.new(:id, :code, :group_id, :name,
5
+ :update_date, :create_date, :insider, :industry_types,
6
+ :affiliate_cpa, :affiliate_cpc, :approved, :domains,
7
+ :countries, :merchant_sensitive_types, :rates,
8
+ keyword_init: true)
9
+
10
+ class Merchant
11
+ SEARCH_PATH = '/api/merchant/search'
12
+
13
+ def self.from_json(merchant = {})
14
+ merchant['rates'] = build_from_json(Viglink::Rate, merchant['rates'])
15
+ merchant['industryTypes'] = build_from_json(Viglink::IndustryType,
16
+ merchant['industryTypes'])
17
+ merchant['countries'] = merchant['countries'].split(',').map(&:upcase)
18
+
19
+ new json_map.each_with_object({}) { |(k, v), h| h[k] = merchant[v]; }
20
+ end
21
+
22
+ def self.search(params = {})
23
+ response = HTTPClient.get path: SEARCH_PATH,
24
+ query: build_search_parameters(params)
25
+
26
+ merchants = response.parsed_response['merchants'].map do |merchant|
27
+ Merchant.from_json(merchant)
28
+ end
29
+
30
+ MerchantResults.new total_pages: response.parsed_response['totalPages'], page: response.parsed_response['page'], merchants: merchants
31
+ end
32
+
33
+ private_instance_methods
34
+
35
+ def self.build_from_json(klass, items)
36
+ items.map do |industry_type|
37
+ klass.from_json(industry_type)
38
+ end
39
+ end
40
+
41
+ def self.build_search_parameters(params)
42
+ params[:page] ||= 1
43
+ { keyword: params[:keyword], cartegory: params[:cartegory],
44
+ updatedDate: params[:updated_date],
45
+ createDate: params[:create_date], insider: params[:insider],
46
+ domain: params[:domain], page: params[:page] }
47
+ end
48
+
49
+ def self.json_map
50
+ {
51
+ id: 'id', code: 'code',
52
+ group_id: 'groupId', name: 'name',
53
+ update_date: 'updateDate', create_date: 'createDate',
54
+ insider: 'insider', industry_types: 'industryTypes',
55
+ affiliate_cpa: 'affiliateCPA', affiliate_cpc: 'affiliateCPC',
56
+ approved: 'approved', domains: 'domains',
57
+ countries: 'countries', rates: 'rates',
58
+ merchant_sensitive_types: 'merchantSensitiveTypes'
59
+ }
60
+ end
61
+ end
62
+ MerchantResults = Struct.new(:total_pages, :page, :merchants, keyword_init: true)
63
+ end
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Viglink
4
+ Rate = Struct.new(:min, :max, :type, :type_name,
5
+ :description, keyword_init: true) do
6
+ def self.from_json(rate)
7
+ new min: rate['min'],
8
+ max: rate['max'],
9
+ type: rate['type'],
10
+ type_name: rate['typeName'],
11
+ description: rate['description']
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Viglink
4
+ VERSION = '0.1.0'
5
+ end
@@ -0,0 +1,57 @@
1
+ # frozen_string_literal: true
2
+
3
+ lib = File.expand_path('lib', __dir__)
4
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
+ require 'viglink/version'
6
+
7
+ Gem::Specification.new do |spec|
8
+ spec.name = 'viglink-rb'
9
+ spec.version = Viglink::VERSION
10
+ spec.authors = ['Lemoney Team']
11
+ spec.email = ['dev@lemoney.com']
12
+
13
+ spec.summary = 'Ruby wrapper around VigLink API'
14
+ spec.description = spec.summary
15
+ spec.homepage = 'https://github.com/lemmoney/viglink-rb'
16
+ spec.license = 'MIT'
17
+
18
+ # Prevent pushing this gem to RubyGems.org.
19
+ # To allow pushes either set the 'allowed_push_host'
20
+ # to allow pushing to a single host or delete this section to allow
21
+ # pushing to any host.
22
+ if spec.respond_to?(:metadata)
23
+ # spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'"
24
+
25
+ spec.metadata['homepage_uri'] = spec.homepage
26
+ spec.metadata['source_code_uri'] = spec.homepage
27
+ spec.metadata['changelog_uri'] = "#{spec.homepage}/CHANGELOG.md"
28
+ else
29
+ raise 'RubyGems 2.0 or newer is required to protect against ' \
30
+ 'public gem pushes.'
31
+ end
32
+
33
+ # Specify which files should be added to the gem when it is released.
34
+ # The `git ls-files -z` loads the files in the RubyGem
35
+ # that have been added into git.
36
+ spec.files = Dir.chdir(File.expand_path(__dir__)) do
37
+ `git ls-files -z`
38
+ .split("\x0")
39
+ .reject { |f| f.match(%r{^(test|spec|features)/}) }
40
+ end
41
+ spec.bindir = 'exe'
42
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
43
+ spec.require_paths = ['lib']
44
+
45
+ spec.add_runtime_dependency 'httparty'
46
+
47
+ spec.add_development_dependency 'bundler', '~> 1.17'
48
+ spec.add_development_dependency 'byebug', '~> 11.0.0'
49
+ spec.add_development_dependency 'dotenv', '~> 2.7.0'
50
+ spec.add_development_dependency 'factory_bot', '~> 5.0.0'
51
+ spec.add_development_dependency 'rake', '~> 10.0'
52
+ spec.add_development_dependency 'rspec', '~> 3.0'
53
+ spec.add_development_dependency 'rubocop', '~> 0.72.0'
54
+ spec.add_development_dependency 'rubocop-rspec', '~> 1.33.0'
55
+ spec.add_development_dependency 'vcr', '~> 5.0.0'
56
+ spec.add_development_dependency 'webmock', '~> 3.6.0'
57
+ end
metadata ADDED
@@ -0,0 +1,220 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: viglink-rb
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Lemoney Team
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2019-07-18 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'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.17'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.17'
41
+ - !ruby/object:Gem::Dependency
42
+ name: byebug
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: 11.0.0
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: 11.0.0
55
+ - !ruby/object:Gem::Dependency
56
+ name: dotenv
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 2.7.0
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 2.7.0
69
+ - !ruby/object:Gem::Dependency
70
+ name: factory_bot
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: 5.0.0
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 5.0.0
83
+ - !ruby/object:Gem::Dependency
84
+ name: rake
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '10.0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '10.0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rspec
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '3.0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '3.0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: rubocop
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: 0.72.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.72.0
125
+ - !ruby/object:Gem::Dependency
126
+ name: rubocop-rspec
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: 1.33.0
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: 1.33.0
139
+ - !ruby/object:Gem::Dependency
140
+ name: vcr
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - "~>"
144
+ - !ruby/object:Gem::Version
145
+ version: 5.0.0
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - "~>"
151
+ - !ruby/object:Gem::Version
152
+ version: 5.0.0
153
+ - !ruby/object:Gem::Dependency
154
+ name: webmock
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - "~>"
158
+ - !ruby/object:Gem::Version
159
+ version: 3.6.0
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - "~>"
165
+ - !ruby/object:Gem::Version
166
+ version: 3.6.0
167
+ description: Ruby wrapper around VigLink API
168
+ email:
169
+ - dev@lemoney.com
170
+ executables: []
171
+ extensions: []
172
+ extra_rdoc_files: []
173
+ files:
174
+ - ".gitignore"
175
+ - ".rspec"
176
+ - ".rubocop.yml"
177
+ - ".travis.yml"
178
+ - Gemfile
179
+ - Gemfile.lock
180
+ - LICENSE.txt
181
+ - README.md
182
+ - Rakefile
183
+ - bin/console
184
+ - bin/setup
185
+ - lib/viglink.rb
186
+ - lib/viglink/api_error.rb
187
+ - lib/viglink/configuration.rb
188
+ - lib/viglink/http_client.rb
189
+ - lib/viglink/industry_type.rb
190
+ - lib/viglink/merchant.rb
191
+ - lib/viglink/rate.rb
192
+ - lib/viglink/version.rb
193
+ - viglink-rb.gemspec
194
+ homepage: https://github.com/lemmoney/viglink-rb
195
+ licenses:
196
+ - MIT
197
+ metadata:
198
+ homepage_uri: https://github.com/lemmoney/viglink-rb
199
+ source_code_uri: https://github.com/lemmoney/viglink-rb
200
+ changelog_uri: https://github.com/lemmoney/viglink-rb/CHANGELOG.md
201
+ post_install_message:
202
+ rdoc_options: []
203
+ require_paths:
204
+ - lib
205
+ required_ruby_version: !ruby/object:Gem::Requirement
206
+ requirements:
207
+ - - ">="
208
+ - !ruby/object:Gem::Version
209
+ version: '0'
210
+ required_rubygems_version: !ruby/object:Gem::Requirement
211
+ requirements:
212
+ - - ">="
213
+ - !ruby/object:Gem::Version
214
+ version: '0'
215
+ requirements: []
216
+ rubygems_version: 3.0.1
217
+ signing_key:
218
+ specification_version: 4
219
+ summary: Ruby wrapper around VigLink API
220
+ test_files: []