inplat 0.1.1 → 0.1.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: e446f50a1d879395c175d908fb6ce0e3ac1102cf
4
- data.tar.gz: dbeebd9cace162612deacba808d46726c58498da
3
+ metadata.gz: 036a48a0c9b552612b28edfdc356ecb4c9f6d7f9
4
+ data.tar.gz: 8ccbee41d147672b43ba158cb15eaa7dc3379efd
5
5
  SHA512:
6
- metadata.gz: 23e3c3b95021ead7538d44016f363a44401f73d620cd7d2c0f60bf2cd3f08bfc90f968e5b0c8cec61ba5a6caf7c69cdca32cc44a8f4ea9dfcf219d675e215c97
7
- data.tar.gz: b9c32a85d52c16fe654516f2a44bf94809c0ddcfa31d19c2924385f0138a024d826de3a9db8f6e4f2bd27059edc65cce0a66852d089901b415a3843fcda6fe1e
6
+ metadata.gz: d56dd173f988ea17e94f00f55ff3a00b4fd561a73506fcdfd3ea2862bb76d012b255afe67fb172a0f4c2efac46830e1ddddb9f5a4b798a114375d548f4dcdc74
7
+ data.tar.gz: 731fbba68cc60a3d8a2cfd6c74332f6900c117d1e6efed0b2f59fd70d282132ee3d0b0d1c1b05022561a5cd51d52d2f2caa1e05769de8f733943275fd341a369
data/README.md CHANGED
@@ -1,8 +1,6 @@
1
1
  # Inplat
2
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/inplat`. 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
3
+ This is simple wrapper for [Inplat](https://inplat.ru/) payment provider.
6
4
 
7
5
  ## Installation
8
6
 
@@ -21,7 +19,7 @@ Or install it yourself as:
21
19
  $ gem install inplat
22
20
 
23
21
  ## Usage
24
- First configure gem(e.g. for Rails prokects this can be put into `initializers/inplat.rb`):
22
+ First configure gem(e.g. for Rails projects this can be put into `initializers/inplat.rb`):
25
23
 
26
24
  ```ruby
27
25
  Inplat.configure do |config|
@@ -49,11 +47,11 @@ init_params = {
49
47
 
50
48
  api.init(init_params)
51
49
 
52
- # => {"id"=>533728005314193050, "fail_callback_url"=>"http://7359e5b6.ngrok.io/inplat_callbacks",
53
- # "success_callback_url"=>"http://7359e5b6.ngrok.io/inplat_callbacks",
54
- # "success_redirect_url"=>"http://7359e5b6.ngrok.io/inplat_redirects", "code"=>0,
55
- # "fail_redirect_url"=>"http://7359e5b6.ngrok.io/inplat_redirects", "message"=>"Операция выполнена успешно. ",
56
- # "url"=>"google.com?payment_id=533728005314193050&orderId=af5408c2-e550-444d-8ccb-4edc0adf3602"}
50
+ # => {"id"=>533728005314193050, "fail_callback_url"=>"http://example.com/inplat_callbacks",
51
+ # "success_callback_url"=>"http://example.com/inplat_callbacks",
52
+ # "success_redirect_url"=>"http://example.com/inplat_redirects", "code"=>0,
53
+ # "fail_redirect_url"=>"http://example.com/inplat_redirects", "message"=>"Операция выполнена успешно. ",
54
+ # "url"=>"google.com?payment_id=533728005314193050&orderId=af5408c2-e550-444d-8ccb-4edc0adf3602"}
57
55
  ```
58
56
  ## Contributing
59
57
 
@@ -3,7 +3,7 @@ require "inplat/configuration"
3
3
  require "inplat/api"
4
4
  require "rest-client"
5
5
  require "openssl"
6
- require "Base64"
6
+ require "base64"
7
7
  require "json"
8
8
 
9
9
  module Inplat
@@ -1,3 +1,3 @@
1
1
  module Inplat
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inplat
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Evgeniy Burdaev
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-11-29 00:00:00.000000000 Z
11
+ date: 2017-06-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -120,7 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
120
120
  version: '0'
121
121
  requirements: []
122
122
  rubyforge_project:
123
- rubygems_version: 2.5.1
123
+ rubygems_version: 2.6.11
124
124
  signing_key:
125
125
  specification_version: 4
126
126
  summary: Wrapper for inplat API