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 +4 -4
- data/VERSION +1 -1
- data/lib/moreapp_api.rb +2 -2
- data/moreapp-api.gemspec +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c97dec146d082c2364c34954725119064c0a368f
|
4
|
+
data.tar.gz: 98653ba574c07848b20517cc0e195d2485cd3431
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 607fa79765744e87428cbf2cd38c90ec4003224d2149d9c90c9b1e435cb674d3bf73a7a385033ff54feef2590933f4759d88ddbe2c0427b2973f9e11ae25ed17
|
7
|
+
data.tar.gz: 569b6a5929c9bdde7ec306555f154a71e9647002cef034f82531c8dd246610f673cd63907b0afd9e1c4ddcedc8d7ce10198e41f616e591009adfe372db2fe113
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.2
|
data/lib/moreapp_api.rb
CHANGED
@@ -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
|
|
data/moreapp-api.gemspec
CHANGED
@@ -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.
|
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.
|
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-
|
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.
|
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-
|
11
|
+
date: 2019-04-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: oauth
|