divoxx-patronage 0.0.2 → 0.0.3

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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.2
1
+ 0.0.3
data/lib/patronage/api.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  module Patronage
2
2
  class API
3
3
  def initialize(base_url, options = {})
4
- @session = Patron::Session.new
4
+ @session = ::Patron::Session.new
5
5
  @session.base_url = base_url
6
6
  @default_params = options.delete(:params) || {}
7
7
 
@@ -13,7 +13,7 @@ module Patronage
13
13
  end
14
14
 
15
15
  def get(url, headers = {})
16
- url = Addressable::URI.parse(url)
16
+ url = ::Addressable::URI.parse(url)
17
17
  url.query_values = url.query_values.merge(@default_params)
18
18
  @session.get(url.to_s, headers)
19
19
  end
data/patronage.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{patronage}
8
- s.version = "0.0.2"
8
+ s.version = "0.0.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Rodrigo Kochenburger"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: divoxx-patronage
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rodrigo Kochenburger