monri 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.
Files changed (60) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGELOG.md +0 -0
  3. data/Gemfile +24 -0
  4. data/README.md +1 -0
  5. data/Rakefile +8 -0
  6. data/bin/byebug +27 -0
  7. data/bin/coderay +27 -0
  8. data/bin/m +27 -0
  9. data/bin/pry +27 -0
  10. data/bin/rake +27 -0
  11. data/bin/rubocop +27 -0
  12. data/bin/ruby-parse +27 -0
  13. data/bin/ruby-rewrite +27 -0
  14. data/extensions/x86_64-darwin-19/2.6.0/byebug-11.1.3/byebug/byebug.bundle +0 -0
  15. data/extensions/x86_64-darwin-19/2.6.0/byebug-11.1.3/gem.build_complete +0 -0
  16. data/extensions/x86_64-darwin-19/2.6.0/byebug-11.1.3/gem_make.out +1043 -0
  17. data/extensions/x86_64-darwin-19/2.6.0/jaro_winkler-1.5.4/gem.build_complete +0 -0
  18. data/extensions/x86_64-darwin-19/2.6.0/jaro_winkler-1.5.4/gem_make.out +235 -0
  19. data/extensions/x86_64-darwin-19/2.6.0/jaro_winkler-1.5.4/jaro_winkler/jaro_winkler_ext.bundle +0 -0
  20. data/lib/monri/access_tokens.rb +26 -0
  21. data/lib/monri/api_http_response.rb +50 -0
  22. data/lib/monri/client.rb +87 -0
  23. data/lib/monri/config.rb +44 -0
  24. data/lib/monri/customers.rb +24 -0
  25. data/lib/monri/errors.rb +23 -0
  26. data/lib/monri/http_client.rb +57 -0
  27. data/lib/monri/payment_methods.rb +26 -0
  28. data/lib/monri/payments.rb +46 -0
  29. data/lib/monri/response.rb +45 -0
  30. data/lib/monri/transaction.rb +14 -0
  31. data/lib/monri.rb +23 -0
  32. data/monri.gemspec +37 -0
  33. data/specifications/addressable-2.8.1.gemspec +40 -0
  34. data/specifications/ast-2.4.2.gemspec +50 -0
  35. data/specifications/byebug-11.1.3.gemspec +39 -0
  36. data/specifications/coderay-1.1.3.gemspec +25 -0
  37. data/specifications/crack-0.4.5.gemspec +32 -0
  38. data/specifications/hashdiff-1.0.1.gemspec +46 -0
  39. data/specifications/jaro_winkler-1.5.4.gemspec +44 -0
  40. data/specifications/m-1.6.0.gemspec +49 -0
  41. data/specifications/metaclass-0.0.4.gemspec +19 -0
  42. data/specifications/method_source-1.0.0.gemspec +35 -0
  43. data/specifications/minitest-5.16.2.gemspec +41 -0
  44. data/specifications/mocha-0.13.3.gemspec +43 -0
  45. data/specifications/parallel-1.22.1.gemspec +21 -0
  46. data/specifications/parser-3.1.2.1.gemspec +63 -0
  47. data/specifications/power_assert-2.0.2.gemspec +54 -0
  48. data/specifications/pry-0.14.1.gemspec +39 -0
  49. data/specifications/pry-byebug-3.8.0.gemspec +38 -0
  50. data/specifications/public_suffix-5.0.0.gemspec +24 -0
  51. data/specifications/rack-3.0.0.gemspec +45 -0
  52. data/specifications/rainbow-3.1.1.gemspec +33 -0
  53. data/specifications/rake-13.0.6.gemspec +26 -0
  54. data/specifications/rexml-3.2.5.gemspec +42 -0
  55. data/specifications/rubocop-0.80.0.gemspec +59 -0
  56. data/specifications/ruby-progressbar-1.11.0.gemspec +43 -0
  57. data/specifications/test-unit-3.5.5.gemspec +48 -0
  58. data/specifications/unicode-display_width-1.6.1.gemspec +39 -0
  59. data/specifications/webmock-3.18.1.gemspec +85 -0
  60. metadata +115 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 6a293840879ec1c2ca086127eab2b5dcd4b0ecae1e87d797ae164eb0f3f64bbe
4
+ data.tar.gz: 9f08d57418affeee5e63778326921edbf50341dde0dc522679a0e54e5e7a6730
5
+ SHA512:
6
+ metadata.gz: 2b1cade51de3cdf2694d5e4f7e98d8fbcd790087f411d1ff47fd31d10605a1aa4de675461a346c286d8aeb4318287a1d0c995546964b7b79f4b65bebcc04a4ae
7
+ data.tar.gz: d763cb8b2c1e5a757d2866dd4c77bbbbe0f79c9ce53d08f65d39d2f48dd30edcfc175849907ea8b3d208e3d33f8e13cc64c35d922adb8092fe9d5db6bf13bcf7
data/CHANGELOG.md ADDED
File without changes
data/Gemfile ADDED
@@ -0,0 +1,24 @@
1
+ # frozen_string_literal: true
2
+
3
+ source 'https://rubygems.org'
4
+
5
+ gemspec
6
+
7
+ group :development do
8
+ gem 'minitest'
9
+ gem 'mocha', '~> 0.13.2'
10
+ gem 'rack', '>= 2.0.6'
11
+ gem 'rake'
12
+
13
+ gem 'test-unit'
14
+
15
+ gem 'webmock', '>= 3.8.0'
16
+
17
+ gem 'rubocop', '~> 1.43', require: false
18
+
19
+ platforms :mri do
20
+ gem 'byebug'
21
+ gem 'pry'
22
+ gem 'pry-byebug'
23
+ end
24
+ end
data/README.md ADDED
@@ -0,0 +1 @@
1
+ # monri-ruby
data/Rakefile ADDED
@@ -0,0 +1,8 @@
1
+ require "rake/testtask"
2
+
3
+ Rake::TestTask.new do |t|
4
+ t.libs << "test"
5
+ end
6
+
7
+ desc "Run tests"
8
+ task default: :test
data/bin/byebug ADDED
@@ -0,0 +1,27 @@
1
+ #!/usr/bin/env ruby
2
+ #
3
+ # This file was generated by RubyGems.
4
+ #
5
+ # The application 'byebug' is installed as part of a gem, and
6
+ # this file is here to facilitate running it.
7
+ #
8
+
9
+ require 'rubygems'
10
+
11
+ version = ">= 0.a"
12
+
13
+ str = ARGV.first
14
+ if str
15
+ str = str.b[/\A_(.*)_\z/, 1]
16
+ if str and Gem::Version.correct?(str)
17
+ version = str
18
+ ARGV.shift
19
+ end
20
+ end
21
+
22
+ if Gem.respond_to?(:activate_bin_path)
23
+ load Gem.activate_bin_path('byebug', 'byebug', version)
24
+ else
25
+ gem "byebug", version
26
+ load Gem.bin_path("byebug", "byebug", version)
27
+ end
data/bin/coderay ADDED
@@ -0,0 +1,27 @@
1
+ #!/usr/bin/env ruby
2
+ #
3
+ # This file was generated by RubyGems.
4
+ #
5
+ # The application 'coderay' is installed as part of a gem, and
6
+ # this file is here to facilitate running it.
7
+ #
8
+
9
+ require 'rubygems'
10
+
11
+ version = ">= 0.a"
12
+
13
+ str = ARGV.first
14
+ if str
15
+ str = str.b[/\A_(.*)_\z/, 1]
16
+ if str and Gem::Version.correct?(str)
17
+ version = str
18
+ ARGV.shift
19
+ end
20
+ end
21
+
22
+ if Gem.respond_to?(:activate_bin_path)
23
+ load Gem.activate_bin_path('coderay', 'coderay', version)
24
+ else
25
+ gem "coderay", version
26
+ load Gem.bin_path("coderay", "coderay", version)
27
+ end
data/bin/m ADDED
@@ -0,0 +1,27 @@
1
+ #!/usr/bin/env ruby
2
+ #
3
+ # This file was generated by RubyGems.
4
+ #
5
+ # The application 'm' is installed as part of a gem, and
6
+ # this file is here to facilitate running it.
7
+ #
8
+
9
+ require 'rubygems'
10
+
11
+ version = ">= 0.a"
12
+
13
+ str = ARGV.first
14
+ if str
15
+ str = str.b[/\A_(.*)_\z/, 1]
16
+ if str and Gem::Version.correct?(str)
17
+ version = str
18
+ ARGV.shift
19
+ end
20
+ end
21
+
22
+ if Gem.respond_to?(:activate_bin_path)
23
+ load Gem.activate_bin_path('m', 'm', version)
24
+ else
25
+ gem "m", version
26
+ load Gem.bin_path("m", "m", version)
27
+ end
data/bin/pry ADDED
@@ -0,0 +1,27 @@
1
+ #!/usr/bin/env ruby
2
+ #
3
+ # This file was generated by RubyGems.
4
+ #
5
+ # The application 'pry' is installed as part of a gem, and
6
+ # this file is here to facilitate running it.
7
+ #
8
+
9
+ require 'rubygems'
10
+
11
+ version = ">= 0.a"
12
+
13
+ str = ARGV.first
14
+ if str
15
+ str = str.b[/\A_(.*)_\z/, 1]
16
+ if str and Gem::Version.correct?(str)
17
+ version = str
18
+ ARGV.shift
19
+ end
20
+ end
21
+
22
+ if Gem.respond_to?(:activate_bin_path)
23
+ load Gem.activate_bin_path('pry', 'pry', version)
24
+ else
25
+ gem "pry", version
26
+ load Gem.bin_path("pry", "pry", version)
27
+ end
data/bin/rake ADDED
@@ -0,0 +1,27 @@
1
+ #!/usr/bin/env ruby
2
+ #
3
+ # This file was generated by RubyGems.
4
+ #
5
+ # The application 'rake' is installed as part of a gem, and
6
+ # this file is here to facilitate running it.
7
+ #
8
+
9
+ require 'rubygems'
10
+
11
+ version = ">= 0.a"
12
+
13
+ str = ARGV.first
14
+ if str
15
+ str = str.b[/\A_(.*)_\z/, 1]
16
+ if str and Gem::Version.correct?(str)
17
+ version = str
18
+ ARGV.shift
19
+ end
20
+ end
21
+
22
+ if Gem.respond_to?(:activate_bin_path)
23
+ load Gem.activate_bin_path('rake', 'rake', version)
24
+ else
25
+ gem "rake", version
26
+ load Gem.bin_path("rake", "rake", version)
27
+ end
data/bin/rubocop ADDED
@@ -0,0 +1,27 @@
1
+ #!/usr/bin/env ruby
2
+ #
3
+ # This file was generated by RubyGems.
4
+ #
5
+ # The application 'rubocop' is installed as part of a gem, and
6
+ # this file is here to facilitate running it.
7
+ #
8
+
9
+ require 'rubygems'
10
+
11
+ version = ">= 0.a"
12
+
13
+ str = ARGV.first
14
+ if str
15
+ str = str.b[/\A_(.*)_\z/, 1]
16
+ if str and Gem::Version.correct?(str)
17
+ version = str
18
+ ARGV.shift
19
+ end
20
+ end
21
+
22
+ if Gem.respond_to?(:activate_bin_path)
23
+ load Gem.activate_bin_path('rubocop', 'rubocop', version)
24
+ else
25
+ gem "rubocop", version
26
+ load Gem.bin_path("rubocop", "rubocop", version)
27
+ end
data/bin/ruby-parse ADDED
@@ -0,0 +1,27 @@
1
+ #!/usr/bin/env ruby
2
+ #
3
+ # This file was generated by RubyGems.
4
+ #
5
+ # The application 'parser' is installed as part of a gem, and
6
+ # this file is here to facilitate running it.
7
+ #
8
+
9
+ require 'rubygems'
10
+
11
+ version = ">= 0.a"
12
+
13
+ str = ARGV.first
14
+ if str
15
+ str = str.b[/\A_(.*)_\z/, 1]
16
+ if str and Gem::Version.correct?(str)
17
+ version = str
18
+ ARGV.shift
19
+ end
20
+ end
21
+
22
+ if Gem.respond_to?(:activate_bin_path)
23
+ load Gem.activate_bin_path('parser', 'ruby-parse', version)
24
+ else
25
+ gem "parser", version
26
+ load Gem.bin_path("parser", "ruby-parse", version)
27
+ end
data/bin/ruby-rewrite ADDED
@@ -0,0 +1,27 @@
1
+ #!/usr/bin/env ruby
2
+ #
3
+ # This file was generated by RubyGems.
4
+ #
5
+ # The application 'parser' is installed as part of a gem, and
6
+ # this file is here to facilitate running it.
7
+ #
8
+
9
+ require 'rubygems'
10
+
11
+ version = ">= 0.a"
12
+
13
+ str = ARGV.first
14
+ if str
15
+ str = str.b[/\A_(.*)_\z/, 1]
16
+ if str and Gem::Version.correct?(str)
17
+ version = str
18
+ ARGV.shift
19
+ end
20
+ end
21
+
22
+ if Gem.respond_to?(:activate_bin_path)
23
+ load Gem.activate_bin_path('parser', 'ruby-rewrite', version)
24
+ else
25
+ gem "parser", version
26
+ load Gem.bin_path("parser", "ruby-rewrite", version)
27
+ end