pin_up 0.10.1 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/VERSION +1 -1
- data/lib/pin_up/client.rb +1 -1
- data/pin_up.gemspec +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f9ffcac24398303acbeb6416a70c9200c8cdff9e
|
4
|
+
data.tar.gz: 062f3f0f744ecb48df0ded390e74ff8dd4619793
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f0254e79d0470beb7649502833127a09c98e25d8bf8d3510a3ce94722661438e063e157ee47f1ae03ad14f4ee78928c3a09566e7f85af1a615d7243cd75a970
|
7
|
+
data.tar.gz: eb7cd2b3b08073904710a62c5a2e51ef5fb24a8db99a1be36746bb6bed7ee95d52a9381b6cdb2e968b8020ed640aff0e1dc495ac85520f34775d12e3709d42e9
|
data/README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
A Ruby gem wrapper for the pin-payments (pin.net.au) API, all of it.
|
4
4
|
|
5
|
-
Support for Ruby
|
5
|
+
Support for Ruby Ruby 2.x.x
|
6
6
|
|
7
7
|
[![Build Status](https://travis-ci.org/dNitza/pin_up.png)](https://travis-ci.org/dNitza/pin_up)
|
8
8
|
[![Code Climate](https://codeclimate.com/github/dNitza/pin_up.png)](https://codeclimate.com/github/dNitza/pin_up)
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
1.0.0
|
data/lib/pin_up/client.rb
CHANGED
@@ -12,7 +12,7 @@ module Pin
|
|
12
12
|
# args: method (Symbol), args (Hash)
|
13
13
|
# eg. args => { url: 'cards', options: { ... } }
|
14
14
|
def make_request(times)
|
15
|
-
if
|
15
|
+
if %i(get post put patch delete).include? @method
|
16
16
|
HTTParty.send(@method, "#{@base_url}#{@args[:url]}", body: @args[:options], basic_auth: @auth)
|
17
17
|
else
|
18
18
|
Pin::PinError.handle_bad_request
|
data/pin_up.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: pin_up 0.
|
5
|
+
# stub: pin_up 1.0.0 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "pin_up"
|
9
|
-
s.version = "0.
|
9
|
+
s.version = "1.0.0"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|