openpay 0.9.8 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/.idea/.rakeTasks +1 -1
  3. data/.idea/OpenPay.iml +76 -79
  4. data/.idea/runConfigurations/Run_spec__bankaccounts_spec___OpenPay.xml +1 -1
  5. data/.idea/runConfigurations/Run_spec__cards_spec___OpenPay.xml +39 -0
  6. data/.idea/runConfigurations/Run_spec__charges_spec___OpenPay.xml +37 -0
  7. data/.idea/runConfigurations/Run_spec__exceptions_spec___OpenPay.xml +37 -0
  8. data/.idea/runConfigurations/Run_spec__fees_spec___OpenPay.xml +37 -0
  9. data/.idea/runConfigurations/Run_spec__payouts_spec___OpenPay.xml +39 -0
  10. data/.idea/runConfigurations/Run_spec__plans_spec___OpenPay.xml +37 -0
  11. data/.idea/runConfigurations/Run_spec__subscriptions_spec___OpenPay.xml +37 -0
  12. data/.idea/runConfigurations/Run_spec__transfers_spec___OpenPay.xml +37 -0
  13. data/.idea/runConfigurations/all_specs.xml +1 -1
  14. data/.idea/runConfigurations/install_open_pay.xml +26 -0
  15. data/.idea/runConfigurations/scrapbook.xml +26 -0
  16. data/.travis.yml +3 -0
  17. data/Gemfile +0 -1
  18. data/README.md +398 -28
  19. data/Rakefile +12 -1
  20. data/lib/OpenPay/Charges.rb +1 -3
  21. data/lib/OpenPay/errors/openpay_connection_exception.rb +1 -1
  22. data/lib/OpenPay/errors/{open_pay_exception.rb → openpay_exception.rb} +2 -24
  23. data/lib/OpenPay/errors/{open_pay_exception_factory.rb → openpay_exception_factory.rb} +0 -0
  24. data/lib/OpenPay/errors/openpay_transaction_exception.rb +1 -1
  25. data/lib/OpenPay/openpay_api.rb +2 -2
  26. data/lib/openpay.rb +4 -4
  27. data/lib/version.rb +6 -0
  28. data/{OpenPay.gemspec → openpay.gemspec} +5 -3
  29. data/test/Factories.rb +3 -3
  30. data/test/spec/bankaccounts_spec.rb +1 -1
  31. data/test/spec/cards_spec.rb +43 -8
  32. data/test/spec/charges_spec.rb +29 -17
  33. data/test/spec/customers_spec.rb +1 -1
  34. data/test/spec/exceptions_spec.rb +1 -1
  35. data/test/spec/fees_spec.rb +5 -2
  36. data/test/spec/payouts_spec.rb +2 -2
  37. data/test/spec/plans_spec.rb +2 -56
  38. data/test/spec/subscriptions_spec.rb +1 -1
  39. data/test/spec/transfers_spec.rb +1 -3
  40. data/test/spec_helper.rb +1 -1
  41. metadata +19 -7
  42. data/lib/OpenPay/version.rb +0 -3
@@ -1,4 +1,4 @@
1
- require '../spec_helper'
1
+ require './test/spec_helper'
2
2
 
3
3
  describe Subscriptions do
4
4
 
@@ -1,10 +1,8 @@
1
- require '../spec_helper'
1
+ require './test/spec_helper'
2
2
 
3
3
  describe Transfers do
4
4
 
5
5
 
6
-
7
-
8
6
  before(:all) do
9
7
 
10
8
  @merchant_id='mywvupjjs9xdnryxtplq'
@@ -2,7 +2,7 @@ require 'openpay'
2
2
 
3
3
 
4
4
  require 'factory_girl'
5
- require '../Factories'
5
+ require './test/Factories'
6
6
  require 'rspec'
7
7
  require 'rspec-expectations'
8
8
  require 'json_spec'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openpay
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.8
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ronnie_bermejo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-30 00:00:00.000000000 Z
11
+ date: 2013-12-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -38,7 +38,7 @@ dependencies:
38
38
  - - '>='
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
- description: ruby client for Openpay API services (version 1.0.0)
41
+ description: ruby client for Openpay API services (version 1.0.1)
42
42
  email:
43
43
  - ronnie.bermejo.mx@gmail.com
44
44
  executables: []
@@ -54,13 +54,23 @@ files:
54
54
  - .idea/misc.xml
55
55
  - .idea/modules.xml
56
56
  - .idea/runConfigurations/Run_spec__bankaccounts_spec___OpenPay.xml
57
+ - .idea/runConfigurations/Run_spec__cards_spec___OpenPay.xml
58
+ - .idea/runConfigurations/Run_spec__charges_spec___OpenPay.xml
57
59
  - .idea/runConfigurations/Run_spec__customers_spec___OpenPay.xml
60
+ - .idea/runConfigurations/Run_spec__exceptions_spec___OpenPay.xml
61
+ - .idea/runConfigurations/Run_spec__fees_spec___OpenPay.xml
62
+ - .idea/runConfigurations/Run_spec__payouts_spec___OpenPay.xml
63
+ - .idea/runConfigurations/Run_spec__plans_spec___OpenPay.xml
64
+ - .idea/runConfigurations/Run_spec__subscriptions_spec___OpenPay.xml
65
+ - .idea/runConfigurations/Run_spec__transfers_spec___OpenPay.xml
58
66
  - .idea/runConfigurations/all_specs.xml
67
+ - .idea/runConfigurations/install_open_pay.xml
68
+ - .idea/runConfigurations/scrapbook.xml
59
69
  - .idea/scopes/scope_settings.xml
60
70
  - .idea/vcs.xml
71
+ - .travis.yml
61
72
  - Gemfile
62
73
  - LICENSE.txt
63
- - OpenPay.gemspec
64
74
  - README.md
65
75
  - Rakefile
66
76
  - lib/OpenPay/Cards.rb
@@ -72,15 +82,16 @@ files:
72
82
  - lib/OpenPay/Subscriptions.rb
73
83
  - lib/OpenPay/Transfers.rb
74
84
  - lib/OpenPay/bankaccounts.rb
75
- - lib/OpenPay/errors/open_pay_exception.rb
76
- - lib/OpenPay/errors/open_pay_exception_factory.rb
77
85
  - lib/OpenPay/errors/openpay_connection_exception.rb
86
+ - lib/OpenPay/errors/openpay_exception.rb
87
+ - lib/OpenPay/errors/openpay_exception_factory.rb
78
88
  - lib/OpenPay/errors/openpay_transaction_exception.rb
79
89
  - lib/OpenPay/open_pay_resource.rb
80
90
  - lib/OpenPay/open_pay_resource_factory.rb
81
91
  - lib/OpenPay/openpay_api.rb
82
- - lib/OpenPay/version.rb
83
92
  - lib/openpay.rb
93
+ - lib/version.rb
94
+ - openpay.gemspec
84
95
  - test/Factories.rb
85
96
  - test/spec/bankaccounts_spec.rb
86
97
  - test/spec/cards_spec.rb
@@ -103,6 +114,7 @@ rdoc_options: []
103
114
  require_paths:
104
115
  - lib
105
116
  - lib/openpay
117
+ - openpay
106
118
  required_ruby_version: !ruby/object:Gem::Requirement
107
119
  requirements:
108
120
  - - '>='
@@ -1,3 +0,0 @@
1
- module Openpay
2
- VERSION = '0.9.8'
3
- end