moreapp-api 0.0.1 → 0.0.2

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: 5e876042f84e7de3abf8ca9914852c6a6d89ac28
4
- data.tar.gz: d9bfacffc774f686764ac970d8b8f4aa581b2bad
3
+ metadata.gz: c97dec146d082c2364c34954725119064c0a368f
4
+ data.tar.gz: 98653ba574c07848b20517cc0e195d2485cd3431
5
5
  SHA512:
6
- metadata.gz: 8a048061a61b7296f9310b149cca7ddac29debc078e66807c283b16902fe943750637d980c37eab567d83ed449bf3d21d6faf7926d73734a184b20648d44587e
7
- data.tar.gz: 44efe0be9cc4fd44e8ab48870fd8bc4d6406c1a968ddca6cffc65495b65b875bd837a7de7acb972103e071e6f4ca18cafc1f9445798e1d54b87956737de0bf5f
6
+ metadata.gz: 607fa79765744e87428cbf2cd38c90ec4003224d2149d9c90c9b1e435cb674d3bf73a7a385033ff54feef2590933f4759d88ddbe2c0427b2973f9e11ae25ed17
7
+ data.tar.gz: 569b6a5929c9bdde7ec306555f154a71e9647002cef034f82531c8dd246610f673cd63907b0afd9e1c4ddcedc8d7ce10198e41f616e591009adfe372db2fe113
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.1
1
+ 0.0.2
@@ -8,8 +8,8 @@ class MoreappAPI
8
8
  DEFAULT_MORE_APP_API_BASE = 'https://api.moreapp.com'
9
9
 
10
10
 
11
- def initialize(consumer_key, consumer_secret)
12
- @consumer = OAuth::Consumer.new(consumer_key, consumer_secret, {site: MoreappAPI.api_base })
11
+ def initialize(consumer_key, consumer_secret, options={})
12
+ @consumer = OAuth::Consumer.new(consumer_key, consumer_secret, {site: MoreappAPI.api_base, proxy: options[:proxy] || options["proxy"] || ENV['http_proxy'] || ENV["HTTP_PROXY"] })
13
13
  end
14
14
 
15
15
 
@@ -2,16 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: moreapp-api 0.0.1 ruby lib
5
+ # stub: moreapp-api 0.0.2 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "moreapp-api".freeze
9
- s.version = "0.0.1"
9
+ s.version = "0.0.2"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib".freeze]
13
13
  s.authors = ["'nathanvda'".freeze]
14
- s.date = "2019-04-03"
14
+ s.date = "2019-04-24"
15
15
  s.description = "This gem allows you to connect to the moreapp API to send instructions and retrieve the registrations".freeze
16
16
  s.email = "'nathan@dixis.com'".freeze
17
17
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: moreapp-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - "'nathanvda'"
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-04-03 00:00:00.000000000 Z
11
+ date: 2019-04-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: oauth