ruby_payler 0.1.6

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
+ SHA1:
3
+ metadata.gz: 95d6b8280d572da27cf7569277ce6e1b78d0128e
4
+ data.tar.gz: ad9a7479f86150564cf0c157a4fb9025102bebe9
5
+ SHA512:
6
+ metadata.gz: 345ccae51f9393225ed214b2c492a649e824489efc53fc16cd6a56f0fa17ac7692041d3e97d3b2d71f5a0ac8782a209ed4c762cdb4373ee779f25de239c3cfa1
7
+ data.tar.gz: 2e96a15877e2970472ac0eac2800cc14f31fc9666d9a613ca81097c333948492d391ce92302af33220ce8bc5e8e176ae1d4ac09ea863b33ee3dd5094efb9cec3
data/.gitignore ADDED
@@ -0,0 +1,10 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+ /test/config.yml
data/.travis.yml ADDED
@@ -0,0 +1,5 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.3.1
5
+ before_install: gem install bundler -v 1.12.5
@@ -0,0 +1,49 @@
1
+ # Contributor Code of Conduct
2
+
3
+ As contributors and maintainers of this project, and in the interest of
4
+ fostering an open and welcoming community, we pledge to respect all people who
5
+ contribute through reporting issues, posting feature requests, updating
6
+ documentation, submitting pull requests or patches, and other activities.
7
+
8
+ We are committed to making participation in this project a harassment-free
9
+ experience for everyone, regardless of level of experience, gender, gender
10
+ identity and expression, sexual orientation, disability, personal appearance,
11
+ body size, race, ethnicity, age, religion, or nationality.
12
+
13
+ Examples of unacceptable behavior by participants include:
14
+
15
+ * The use of sexualized language or imagery
16
+ * Personal attacks
17
+ * Trolling or insulting/derogatory comments
18
+ * Public or private harassment
19
+ * Publishing other's private information, such as physical or electronic
20
+ addresses, without explicit permission
21
+ * Other unethical or unprofessional conduct
22
+
23
+ Project maintainers have the right and responsibility to remove, edit, or
24
+ reject comments, commits, code, wiki edits, issues, and other contributions
25
+ that are not aligned to this Code of Conduct, or to ban temporarily or
26
+ permanently any contributor for other behaviors that they deem inappropriate,
27
+ threatening, offensive, or harmful.
28
+
29
+ By adopting this Code of Conduct, project maintainers commit themselves to
30
+ fairly and consistently applying these principles to every aspect of managing
31
+ this project. Project maintainers who do not follow or enforce the Code of
32
+ Conduct may be permanently removed from the project team.
33
+
34
+ This code of conduct applies both within project spaces and in public spaces
35
+ when an individual is representing the project or its community.
36
+
37
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
38
+ reported by contacting a project maintainer at bestspajic@gmail.com. All
39
+ complaints will be reviewed and investigated and will result in a response that
40
+ is deemed necessary and appropriate to the circumstances. Maintainers are
41
+ obligated to maintain confidentiality with regard to the reporter of an
42
+ incident.
43
+
44
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
45
+ version 1.3.0, available at
46
+ [http://contributor-covenant.org/version/1/3/0/][version]
47
+
48
+ [homepage]: http://contributor-covenant.org
49
+ [version]: http://contributor-covenant.org/version/1/3/0/
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in ruby_payler.gemspec
4
+ gemspec
data/Guardfile ADDED
@@ -0,0 +1,43 @@
1
+ # A sample Guardfile
2
+ # More info at https://github.com/guard/guard#readme
3
+
4
+ ## Uncomment and set this to only include directories you want to watch
5
+ # directories %w(app lib config test spec features) \
6
+ # .select{|d| Dir.exists?(d) ? d : UI.warning("Directory #{d} does not exist")}
7
+
8
+ ## Note: if you are using the `directories` clause above and you are not
9
+ ## watching the project directory ('.'), then you will want to move
10
+ ## the Guardfile to a watched dir and symlink it back, e.g.
11
+ #
12
+ # $ mkdir config
13
+ # $ mv Guardfile config/
14
+ # $ ln -s config/Guardfile .
15
+ #
16
+ # and, you'll have to watch "config/Guardfile" instead of "Guardfile"
17
+
18
+ guard :minitest do
19
+ # with Minitest::Unit
20
+ watch(%r{^test/(.*)\/?test_(.*)\.rb$})
21
+ watch(%r{^lib/(.*/)?([^/]+)\.rb$}) { |m| "test/#{m[1]}test_#{m[2]}.rb" }
22
+ watch(%r{^test/test_helper\.rb$}) { 'test' }
23
+ watch(%r{^test/config.yml$}) { 'test' }
24
+
25
+ # with Minitest::Spec
26
+ # watch(%r{^spec/(.*)_spec\.rb$})
27
+ # watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
28
+ # watch(%r{^spec/spec_helper\.rb$}) { 'spec' }
29
+
30
+ # Rails 4
31
+ # watch(%r{^app/(.+)\.rb$}) { |m| "test/#{m[1]}_test.rb" }
32
+ # watch(%r{^app/controllers/application_controller\.rb$}) { 'test/controllers' }
33
+ # watch(%r{^app/controllers/(.+)_controller\.rb$}) { |m| "test/integration/#{m[1]}_test.rb" }
34
+ # watch(%r{^app/views/(.+)_mailer/.+}) { |m| "test/mailers/#{m[1]}_mailer_test.rb" }
35
+ # watch(%r{^lib/(.+)\.rb$}) { |m| "test/lib/#{m[1]}_test.rb" }
36
+ # watch(%r{^test/.+_test\.rb$})
37
+ # watch(%r{^test/test_helper\.rb$}) { 'test' }
38
+
39
+ # Rails < 4
40
+ # watch(%r{^app/controllers/(.*)\.rb$}) { |m| "test/functional/#{m[1]}_test.rb" }
41
+ # watch(%r{^app/helpers/(.*)\.rb$}) { |m| "test/helpers/#{m[1]}_test.rb" }
42
+ # watch(%r{^app/models/(.*)\.rb$}) { |m| "test/unit/#{m[1]}_test.rb" }
43
+ end
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 Alexey Vasilyev
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,118 @@
1
+ # RubyPayler
2
+ Ruby wrapper for payler.com API
3
+
4
+ _Not all methods, parameters are implemented. There's an issue about that and I'm going to resolve it a bit later._
5
+
6
+ Documentation for API is here: http://payler.com/docs/acquiring.html
7
+
8
+ ## Installation
9
+
10
+ Add this line to your application's Gemfile:
11
+
12
+ ```ruby
13
+ gem 'ruby_payler'
14
+ ```
15
+
16
+ And then execute:
17
+
18
+ $ bundle
19
+
20
+ Or install it yourself as:
21
+
22
+ $ gem install ruby_payler
23
+
24
+ ## General considerations on usage
25
+ - All methods return mashified response.body, see [Hashie::Mash](https://github.com/intridea/hashie#mash)
26
+ - Some parameters to methods are not required. Omit if you don't need them.
27
+
28
+
29
+ ## Usage
30
+ ```ruby
31
+ # Require Constants to use them
32
+ require RubyPayler::Constants
33
+
34
+ # Create and initialize RubyPayler object with payler credentials
35
+ payler = RubyPayler::Payler.new(
36
+ host: 'sandbox',
37
+ key: 'aaaa-bbbb-ccc-ddd-eeeee',
38
+ password: 'AaaBBbccC'
39
+ )
40
+
41
+ # Start session to pay given order
42
+ session_id = payler.start_session(
43
+ order_id: 'order-12345',
44
+ type: SESSION_TYPES[:two_step], # one_step, two_step
45
+ cents: 111,
46
+ currency: CURRENCIES[:rub], # rub, usd, eur
47
+ lang: LANGUAGES[:ru], # ru, en
48
+ product: 'Product name', # not required
49
+ userdata: 'any data string to get later via get_advanced_status', # not required
50
+ ).session_id
51
+
52
+ # Get url of payment page and redirect user to it
53
+ redirect_to payler.pay_page_url(session_id)
54
+
55
+ # User paid for order and Payler redirects it back to shop
56
+ status = payler.get_status(order_id)
57
+ # status.status = RESPONSE_STATUSES[:authorized] for successfull TwoStep payment
58
+ # status.status = RESPONSE_STATUSES[:charged] for successfull OneStep payment
59
+
60
+ # More data, including passed userdata
61
+ status = payler.get_advanced_status(order_id)
62
+
63
+ # Charge authorized money for TwoStep payment
64
+ payler.charge(order_id, order_amount) # status => RESPONSE_STATUSES[:charged]
65
+
66
+ # Retrieve authorized money for TwoStep payment
67
+ payler.retrieve(order_id, order_amount) # status => RESPONSE_STATUSES[reversed]
68
+
69
+ # Refund already charged money
70
+ payler.refund(order_id, order_amount) # status => RESPONSE_STATUSES[refunded]
71
+ ```
72
+
73
+ See tests for more usage examples
74
+
75
+ ## Errors
76
+ In case of any error RubyPayler `raises` RubyPayler::Error.
77
+ There are two child types of Errors:
78
+ - FailedRequest - for failed network request (FaradayError)
79
+ - ResponseWithError - for response with status != 200 and error in body
80
+
81
+ ResponseWithError objects has methods to access _error_, _code_, _message_ of error returned in resonse.
82
+
83
+ ## Tests
84
+ *Tests make real calls to Payler.com web API.*
85
+
86
+ Cool, because it really test workflows of interaction with payler equiring via ruby_payler gem. If payler API changes, tests will brake. So, if all tests are passing, tandem of payler and gem is working fine.
87
+
88
+ Payment step in tests is automated with Capybara and PhantomJS (cool as well).
89
+
90
+ You can switch to make Payment step by hand via config file (use_capybara: false).
91
+
92
+ ## Config
93
+ Make file config.yml by copying config_example.yml
94
+
95
+ Fill in your Payler key, password, host
96
+
97
+ Fill test card number, vaild_till, code, name for automated payment by capybara
98
+
99
+ Change use_capybara to false to make payment by hand
100
+
101
+ ## Development
102
+ To run automated tests with capybara install PhantomJS (_brew install phantomjs on MacOS_)
103
+
104
+ To experiment with that code, run `bin/console` for an interactive prompt.
105
+
106
+ 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.
107
+
108
+ 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).
109
+
110
+ ## Contributing
111
+
112
+ Bug reports and pull requests are welcome on GitHub at https://github.com/busfor/ruby_payler. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
113
+
114
+
115
+ ## License
116
+
117
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
118
+
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 "ruby_payler"
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
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,29 @@
1
+ module RubyPayler
2
+ module Constants
3
+ SESSION_TYPES = {
4
+ one_step: 'OneStep',
5
+ two_step: 'TwoStep',
6
+ }.freeze
7
+
8
+ LANGUAGES = {
9
+ ru: 'ru',
10
+ en: 'en',
11
+ }.freeze
12
+
13
+ CURRENCIES = {
14
+ rub: 'RUB',
15
+ usd: 'USD',
16
+ eur: 'EUR',
17
+ }.freeze
18
+
19
+ RESPONSE_STATUSES = {
20
+ created: 'Created',
21
+ pre_authorized_3ds: 'PreAuthorized3DS',
22
+ authorized: 'Authorized',
23
+ charged: 'Charged',
24
+ refunded: 'Refunded',
25
+ reversed: 'Reversed',
26
+ rejected: 'Rejected',
27
+ }.freeze
28
+ end
29
+ end
@@ -0,0 +1,29 @@
1
+ module RubyPayler
2
+ class Error < RuntimeError
3
+ end
4
+
5
+ # Faraday errors
6
+ class FailedRequest < Error
7
+ end
8
+
9
+ # Response.body contains error
10
+ class ResponseWithError < Error
11
+ attr_reader :error
12
+
13
+ def initialize(error)
14
+ @error = error
15
+ end
16
+
17
+ def code
18
+ error.code
19
+ end
20
+
21
+ def message
22
+ error.message
23
+ end
24
+
25
+ def to_s
26
+ "#{self.class}-#{code}-#{message}"
27
+ end
28
+ end
29
+ end
@@ -0,0 +1,116 @@
1
+ require 'faraday'
2
+ require 'faraday_middleware'
3
+
4
+ module RubyPayler
5
+ class Payler
6
+ attr_reader :host, :key, :password, :connection
7
+
8
+ def initialize(host:, key:, password:)
9
+ @host = host
10
+ @key = key
11
+ @password = password
12
+
13
+ @connection = Faraday.new(
14
+ url: "https://#{host}.payler.com",
15
+ params: { key: @key },
16
+ ) do |f|
17
+ f.request :url_encoded # form-encode POST params
18
+
19
+ f.params
20
+
21
+ f.response :mashify # 3. mashify parsed JSON
22
+ f.response :json # 2. parse JSON
23
+ #f.response :logger # 1. log requests to STDOUT
24
+
25
+ f.adapter Faraday.default_adapter # make requests with Net::HTTP
26
+ end
27
+ end
28
+
29
+ def remove_nils_from_params!(params)
30
+ params.delete_if { |k, v| v.nil? }
31
+ end
32
+
33
+ def call_payler_api(endpoint, params)
34
+ remove_nils_from_params!(params)
35
+
36
+ begin
37
+ response = connection.post(endpoint, params)
38
+ rescue Faraday::Error => e
39
+ raise RequestError, e.message
40
+ end
41
+
42
+ result = response.body
43
+ if result.error
44
+ raise ResponseWithError, result.error
45
+ end
46
+ result
47
+ end
48
+
49
+ def start_session(
50
+ order_id:,
51
+ type:,
52
+ cents:,
53
+ currency:,
54
+ lang:,
55
+ product: nil,
56
+ userdata: nil
57
+ )
58
+ params =
59
+ call_payler_api('gapi/StartSession', {
60
+ key: key,
61
+ type: type,
62
+ order_id: order_id,
63
+ currency: currency,
64
+ amount: cents,
65
+ lang: lang,
66
+ product: product,
67
+ userdata: userdata,
68
+ })
69
+ end
70
+
71
+ def pay_page_url(session_id)
72
+ "#{connection.url_prefix.to_s}gapi/Pay?key=#{key}&session_id=#{session_id}"
73
+ end
74
+
75
+ def get_status(order_id)
76
+ call_payler_api('gapi/GetStatus', {
77
+ key: key,
78
+ order_id: order_id,
79
+ })
80
+ end
81
+
82
+ def get_advanced_status(order_id)
83
+ call_payler_api('gapi/GetAdvancedStatus', {
84
+ key: key,
85
+ order_id: order_id,
86
+ })
87
+ end
88
+
89
+ def charge(order_id, amount)
90
+ call_payler_api('gapi/Charge', {
91
+ key: key,
92
+ password: password,
93
+ order_id: order_id,
94
+ amount: amount,
95
+ })
96
+ end
97
+
98
+ def retrieve(order_id, amount)
99
+ call_payler_api('gapi/Retrieve', {
100
+ key: key,
101
+ password: password,
102
+ order_id: order_id,
103
+ amount: amount,
104
+ })
105
+ end
106
+
107
+ def refund(order_id, amount)
108
+ call_payler_api('gapi/Refund', {
109
+ key: key,
110
+ password: password,
111
+ order_id: order_id,
112
+ amount: amount,
113
+ })
114
+ end
115
+ end
116
+ end
@@ -0,0 +1,3 @@
1
+ module RubyPayler
2
+ VERSION = "0.1.6"
3
+ end
@@ -0,0 +1,4 @@
1
+ require "ruby_payler/version"
2
+ require "ruby_payler/payler"
3
+ require "ruby_payler/errors"
4
+ require "ruby_payler/constants"
@@ -0,0 +1,35 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'ruby_payler/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "ruby_payler"
8
+ spec.version = RubyPayler::VERSION
9
+ spec.authors = ["Alexey Vasilyev"]
10
+ spec.email = ["bestspajic@gmail.com"]
11
+
12
+ spec.summary = %q{Ruby wrapper for Payler Gate API.}
13
+ spec.description = %q{Ruby wrapper for Payler.com Gate API.}
14
+ spec.homepage = "https://github.com/busfor/ruby_payler"
15
+ spec.license = "MIT"
16
+
17
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
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_dependency "faraday", "~> 0.9.2"
23
+ spec.add_dependency "faraday_middleware", "~> 0.10.0"
24
+ spec.add_dependency "hashie", "~> 3.4", ">= 3.4.4"
25
+
26
+ spec.add_development_dependency "bundler", "~> 1.12"
27
+ spec.add_development_dependency "rake", "~> 10.0"
28
+ spec.add_development_dependency "minitest", "~> 5.0"
29
+ spec.add_development_dependency "pry-byebug", "~> 3.4"
30
+ spec.add_development_dependency "guard", "~> 2.14"
31
+ spec.add_development_dependency "guard-minitest", "~> 2.4", ">= 2.4.5"
32
+ spec.add_development_dependency "terminal-notifier-guard", "~> 1.6.1"
33
+ spec.add_development_dependency "capybara", "~> 2.6", ">= 2.6.2"
34
+ spec.add_development_dependency "poltergeist", "~> 1.10"
35
+ end
metadata ADDED
@@ -0,0 +1,246 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ruby_payler
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.6
5
+ platform: ruby
6
+ authors:
7
+ - Alexey Vasilyev
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2016-08-17 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: 0.9.2
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 0.9.2
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: 0.10.0
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 0.10.0
41
+ - !ruby/object:Gem::Dependency
42
+ name: hashie
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '3.4'
48
+ - - ">="
49
+ - !ruby/object:Gem::Version
50
+ version: 3.4.4
51
+ type: :runtime
52
+ prerelease: false
53
+ version_requirements: !ruby/object:Gem::Requirement
54
+ requirements:
55
+ - - "~>"
56
+ - !ruby/object:Gem::Version
57
+ version: '3.4'
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: 3.4.4
61
+ - !ruby/object:Gem::Dependency
62
+ name: bundler
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - "~>"
66
+ - !ruby/object:Gem::Version
67
+ version: '1.12'
68
+ type: :development
69
+ prerelease: false
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - "~>"
73
+ - !ruby/object:Gem::Version
74
+ version: '1.12'
75
+ - !ruby/object:Gem::Dependency
76
+ name: rake
77
+ requirement: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - "~>"
80
+ - !ruby/object:Gem::Version
81
+ version: '10.0'
82
+ type: :development
83
+ prerelease: false
84
+ version_requirements: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - "~>"
87
+ - !ruby/object:Gem::Version
88
+ version: '10.0'
89
+ - !ruby/object:Gem::Dependency
90
+ name: minitest
91
+ requirement: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - "~>"
94
+ - !ruby/object:Gem::Version
95
+ version: '5.0'
96
+ type: :development
97
+ prerelease: false
98
+ version_requirements: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - "~>"
101
+ - !ruby/object:Gem::Version
102
+ version: '5.0'
103
+ - !ruby/object:Gem::Dependency
104
+ name: pry-byebug
105
+ requirement: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - "~>"
108
+ - !ruby/object:Gem::Version
109
+ version: '3.4'
110
+ type: :development
111
+ prerelease: false
112
+ version_requirements: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - "~>"
115
+ - !ruby/object:Gem::Version
116
+ version: '3.4'
117
+ - !ruby/object:Gem::Dependency
118
+ name: guard
119
+ requirement: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - "~>"
122
+ - !ruby/object:Gem::Version
123
+ version: '2.14'
124
+ type: :development
125
+ prerelease: false
126
+ version_requirements: !ruby/object:Gem::Requirement
127
+ requirements:
128
+ - - "~>"
129
+ - !ruby/object:Gem::Version
130
+ version: '2.14'
131
+ - !ruby/object:Gem::Dependency
132
+ name: guard-minitest
133
+ requirement: !ruby/object:Gem::Requirement
134
+ requirements:
135
+ - - "~>"
136
+ - !ruby/object:Gem::Version
137
+ version: '2.4'
138
+ - - ">="
139
+ - !ruby/object:Gem::Version
140
+ version: 2.4.5
141
+ type: :development
142
+ prerelease: false
143
+ version_requirements: !ruby/object:Gem::Requirement
144
+ requirements:
145
+ - - "~>"
146
+ - !ruby/object:Gem::Version
147
+ version: '2.4'
148
+ - - ">="
149
+ - !ruby/object:Gem::Version
150
+ version: 2.4.5
151
+ - !ruby/object:Gem::Dependency
152
+ name: terminal-notifier-guard
153
+ requirement: !ruby/object:Gem::Requirement
154
+ requirements:
155
+ - - "~>"
156
+ - !ruby/object:Gem::Version
157
+ version: 1.6.1
158
+ type: :development
159
+ prerelease: false
160
+ version_requirements: !ruby/object:Gem::Requirement
161
+ requirements:
162
+ - - "~>"
163
+ - !ruby/object:Gem::Version
164
+ version: 1.6.1
165
+ - !ruby/object:Gem::Dependency
166
+ name: capybara
167
+ requirement: !ruby/object:Gem::Requirement
168
+ requirements:
169
+ - - "~>"
170
+ - !ruby/object:Gem::Version
171
+ version: '2.6'
172
+ - - ">="
173
+ - !ruby/object:Gem::Version
174
+ version: 2.6.2
175
+ type: :development
176
+ prerelease: false
177
+ version_requirements: !ruby/object:Gem::Requirement
178
+ requirements:
179
+ - - "~>"
180
+ - !ruby/object:Gem::Version
181
+ version: '2.6'
182
+ - - ">="
183
+ - !ruby/object:Gem::Version
184
+ version: 2.6.2
185
+ - !ruby/object:Gem::Dependency
186
+ name: poltergeist
187
+ requirement: !ruby/object:Gem::Requirement
188
+ requirements:
189
+ - - "~>"
190
+ - !ruby/object:Gem::Version
191
+ version: '1.10'
192
+ type: :development
193
+ prerelease: false
194
+ version_requirements: !ruby/object:Gem::Requirement
195
+ requirements:
196
+ - - "~>"
197
+ - !ruby/object:Gem::Version
198
+ version: '1.10'
199
+ description: Ruby wrapper for Payler.com Gate API.
200
+ email:
201
+ - bestspajic@gmail.com
202
+ executables: []
203
+ extensions: []
204
+ extra_rdoc_files: []
205
+ files:
206
+ - ".gitignore"
207
+ - ".travis.yml"
208
+ - CODE_OF_CONDUCT.md
209
+ - Gemfile
210
+ - Guardfile
211
+ - LICENSE.txt
212
+ - README.md
213
+ - Rakefile
214
+ - bin/console
215
+ - bin/setup
216
+ - lib/ruby_payler.rb
217
+ - lib/ruby_payler/constants.rb
218
+ - lib/ruby_payler/errors.rb
219
+ - lib/ruby_payler/payler.rb
220
+ - lib/ruby_payler/version.rb
221
+ - ruby_payler.gemspec
222
+ homepage: https://github.com/busfor/ruby_payler
223
+ licenses:
224
+ - MIT
225
+ metadata: {}
226
+ post_install_message:
227
+ rdoc_options: []
228
+ require_paths:
229
+ - lib
230
+ required_ruby_version: !ruby/object:Gem::Requirement
231
+ requirements:
232
+ - - ">="
233
+ - !ruby/object:Gem::Version
234
+ version: '0'
235
+ required_rubygems_version: !ruby/object:Gem::Requirement
236
+ requirements:
237
+ - - ">="
238
+ - !ruby/object:Gem::Version
239
+ version: '0'
240
+ requirements: []
241
+ rubyforge_project:
242
+ rubygems_version: 2.5.1
243
+ signing_key:
244
+ specification_version: 4
245
+ summary: Ruby wrapper for Payler Gate API.
246
+ test_files: []