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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2b134f7067a16cfcfff32a57b96a15d260ed8ec3
4
- data.tar.gz: e872584712dc43a8f585384f7aff9c30cb5c4678
3
+ metadata.gz: f9ffcac24398303acbeb6416a70c9200c8cdff9e
4
+ data.tar.gz: 062f3f0f744ecb48df0ded390e74ff8dd4619793
5
5
  SHA512:
6
- metadata.gz: f4ef70b2eb081d4216c051cc69834a50b9bcc31d22e45c49c1b391918d0c86d21a952d605ab11ac9e873d6d5ad60335b51e0d702bb22e8d30ab011d651d3f403
7
- data.tar.gz: 164a232b39e9f2bfd64486bca570cd3daaf9a8a154daf797372e93e150e352089ac756b60ca165155691a773aa27db1299869a3d47d67629ca01e0f21bc5218e
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 1.9.x & Ruby 2.0.0
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.10.1
1
+ 1.0.0
@@ -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 [:get, :post, :put, :patch, :delete].include? @method
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
@@ -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.10.1 ruby lib
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.10.1"
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"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pin_up
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.1
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Nitsikopoulos