poke-go-api 0.0.4 → 0.0.5

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: 01db53d7c4f59e1a4fdd679b9295115b1306faae
4
- data.tar.gz: 73a8bd3702005315c1536b78d2e1c593af4714cb
3
+ metadata.gz: 0e32696b23723a8c883255b7dfe47f804a13a35e
4
+ data.tar.gz: 22c041e4f1f250097d5966c2d1efe7aed450ea7c
5
5
  SHA512:
6
- metadata.gz: 5bce9fe331fecf21d26c3d200676ebf076d425fbfe23459fd24f41759257e0eb9c202fdf58e0d76ca889334e902ffd81e6acf902e1e213d117db03ee283558c2
7
- data.tar.gz: 447f6ceb272a0312fd2ea5b61adce147f2a2f273f6d5563c45300b83049ccee975da52def384f209e5bc7db1c4c5b3971b46b2b3132455fe39c821190a152a6f
6
+ metadata.gz: 2f4bfdf1deb2c10f79297907393353f330354c215335a4724cac775a3bc57f1c11d0436d9c341cca6985d5ed17c59628e40058fac61cd47df80e9049d82a97b1
7
+ data.tar.gz: 9d7c79886271e1a850bbecd3d843bbce16cd5edb103a0e6ea004d7f1119ccd633e482a84f3a54ed823f24b9d064db2a7b60890e0450d5733633c1f8ef2b4fd3b
@@ -14,6 +14,7 @@ module Poke
14
14
  end
15
15
 
16
16
  def login(username, password, provider)
17
+ provider = provider.upcase
17
18
  raise Errors::InvalidProvider.new(provider) unless ['PTC', 'GOOGLE'].include?(provider.upcase!)
18
19
  logger.info "[+] Logging in user: #{username}"
19
20
 
@@ -1,5 +1,5 @@
1
1
  module Poke
2
2
  module API
3
- VERSION = '0.0.4'.freeze
3
+ VERSION = '0.0.5'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: poke-go-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nabeel Amjad