wirecard_giropay 0.0.1 → 0.0.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 809c1924ee7e7b65a6203f9d508ae59d6b780ba9
4
- data.tar.gz: d473555a20da047ef9ec7e487d6a07d8ac587534
3
+ metadata.gz: 5d8a78fade06f2c411bab67effc78b817a3f6fad
4
+ data.tar.gz: 5828c1f75a1a0133f3af16a4f3d0762e00faaeec
5
5
  SHA512:
6
- metadata.gz: ec16618ab7ef97ce84086dd674d62d4e0d553d51dce141d7c1187aefb82d9cda92a76b6e45d2af9d6ef8b02e4fefee4f9a35a3be86319c1928376a1c38961c6d
7
- data.tar.gz: 2b3cd50b343011cf29187e1fa3f1b221aec3cfe280618465a6835143218b3898e3e4f1751c994cb93adead9f067534d6699d441cc9e30a97a0b3375aa612440a
6
+ metadata.gz: 7c59bdf77be39d8d72059cfb68e304cf70781a595c59a11515b3f852eae8720462bcadf8b0acadd7b6491637778d59566dd9c341b267844f640141461c1af40a
7
+ data.tar.gz: ba17f3afb7439d1168125df988c76244000a7ff2b5444a5d4fa5c6be0377ad0f86892e5a4903cf7209499e3b380cfbfd192b39cc37a08f532f29d08c42398ace
data/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # Wirecard Giropay
2
2
 
3
- TODO: Write a gem description
3
+ An implementation of the wirecard giropay interface for giropay payments.
4
+
4
5
 
5
6
  ## Installation
6
7
 
@@ -18,13 +19,10 @@ Or install it yourself as:
18
19
 
19
20
  $ gem install wirecard_giropay
20
21
 
21
- ## Usage
22
-
23
- TODO: Write usage instructions here
24
22
 
25
23
  ## Contributing
26
24
 
27
- 1. Fork it ( https://github.com/[my-github-username]/bancard/fork )
25
+ 1. Fork it ( https://github.com/betterplace/wirecard_giropay/fork )
28
26
  2. Create your feature branch (`git checkout -b my-new-feature`)
29
27
  3. Commit your changes (`git commit -am 'Add some feature'`)
30
28
  4. Push to the branch (`git push origin my-new-feature`)
@@ -4,6 +4,7 @@ require 'wirecard_giropay/version'
4
4
  require 'wirecard_giropay/request'
5
5
  require 'wirecard_giropay/response'
6
6
  require 'wirecard_giropay/gateway'
7
+ require 'wirecard_giropay/testing'
7
8
 
8
9
  module WirecardGiropay
9
10
  SANDBOX_URL = 'https://c3-test.wirecard.com/secure/ssl-gateway'
@@ -0,0 +1,11 @@
1
+ module WirecardGiropay
2
+ class Testing
3
+ def self.read_sample_file(file)
4
+ File.read File.expand_path('../../../spec/support/' + file, __FILE__)
5
+ end
6
+
7
+ def self.sample_notification_success_xml
8
+ read_sample_file 'sample_notification_success.xml'
9
+ end
10
+ end
11
+ end
@@ -1,3 +1,3 @@
1
1
  module WirecardGiropay
2
- VERSION = '0.0.1'
2
+ VERSION = '0.0.2'
3
3
  end
@@ -9,15 +9,3 @@ end
9
9
  SimpleCov.start 'gem'
10
10
 
11
11
  require 'wirecard_giropay'
12
-
13
- RSpec.configure do |config|
14
- # config.before do
15
- # Bancard.test = true
16
- # end
17
- #
18
- # config.before(:all) do
19
- # body = { status: :success, process_id: 'lx6niQel0QzWK1g' }
20
- # response = Typhoeus::Response.new(code: 200, body: body.to_json, headers: { 'Location' => 'payment-url' })
21
- # Typhoeus.stub(/vpos/).and_return(response)
22
- # end
23
- end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wirecard_giropay
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - betterplace developers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-24 00:00:00.000000000 Z
11
+ date: 2014-12-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -125,6 +125,7 @@ files:
125
125
  - lib/wirecard_giropay/gateway.rb
126
126
  - lib/wirecard_giropay/request.rb
127
127
  - lib/wirecard_giropay/response.rb
128
+ - lib/wirecard_giropay/testing.rb
128
129
  - lib/wirecard_giropay/version.rb
129
130
  - spec/lib/wirecard_giropay/gateway_spec.rb
130
131
  - spec/lib/wirecard_giropay/request_spec.rb