pin_up 0.10.0 → 0.10.1

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: 6462e443b565fb449f179d8dc607a6dd17026639
4
- data.tar.gz: 65efb2532459059fb87f5842d3db3440ff93fd40
3
+ metadata.gz: 2b134f7067a16cfcfff32a57b96a15d260ed8ec3
4
+ data.tar.gz: e872584712dc43a8f585384f7aff9c30cb5c4678
5
5
  SHA512:
6
- metadata.gz: 93a17f92904c15f4226d1f2d2b26fb535ef6d0fef66d44362e587bef735cc8273ec15c8b10dfbc69d2233cc152b5db9a176f59a858d0da99b9f815611092f161
7
- data.tar.gz: e3a6b2d5644ac32fb3a470d272b8275286796c6b37e5e1dfacdef7b49ffda869bfc2768c24fd1279da19867763f5a9cf5b8075b6508efccb49c965c85cff0a71
6
+ metadata.gz: f4ef70b2eb081d4216c051cc69834a50b9bcc31d22e45c49c1b391918d0c86d21a952d605ab11ac9e873d6d5ad60335b51e0d702bb22e8d30ab011d651d3f403
7
+ data.tar.gz: 164a232b39e9f2bfd64486bca570cd3daaf9a8a154daf797372e93e150e352089ac756b60ca165155691a773aa27db1299869a3d47d67629ca01e0f21bc5218e
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.10.0
1
+ 0.10.1
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 %i(get post put patch delete).include? @method
15
+ if [: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.10.0 ruby lib
5
+ # stub: pin_up 0.10.1 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "pin_up"
9
- s.version = "0.10.0"
9
+ s.version = "0.10.1"
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.0
4
+ version: 0.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Nitsikopoulos