omniauth-squiddio 0.0.2 → 0.0.3

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: 76cee203bf56c50799a003b33029a2fbb1167186
4
- data.tar.gz: bcb7056fc426ce4948a5d9267aa8c14c424a465c
3
+ metadata.gz: bcdc23219d0216d7a5a418c2c1ccec05bfae092a
4
+ data.tar.gz: 20705488a285a7baf30e4ec8f6ad13099f51dc97
5
5
  SHA512:
6
- metadata.gz: a73223e550e3b17795c4fd8355959d2705b5dd678e5c1c82686a79fee62da1209b1d73da814745dfb74c8e2bbea47a438d0020f98029398064c1e648f6d64a3b
7
- data.tar.gz: 9d717be269bd0597ac9a9e7573b123c27ff80bca4166bd9612442144f1ad27cb96f0c9c02fc7f7c2a785580f533e0cac862dc203117590492ecfd6ed255cfc46
6
+ metadata.gz: 9334fc65a6c09d6fa30488e4aeee909fc2fd153d42ee433ba6e9d2e58d78dd61efd8c60faaabf0ee7e7ffa39f59a57ad06e8a512c7e2a21b43122479dd0ba032
7
+ data.tar.gz: e0d5bb70996a1e3c129511d9ac4fd011d4b9274874a72f1ef81b4fda1615af4c4cc3eafdaccf12e7b107411a0c16d91e31c1c34f4cfa970e2b17f2567b68c393
data/README.md CHANGED
@@ -7,6 +7,13 @@ This gem is an OmniAuth Strategy for the [Squiddio API](https://github.com/mauro
7
7
  Usage
8
8
  -----
9
9
 
10
+ Obtain app key and secret (SQUIDDIO_KEY, SQUIDDIO_SECRET):
11
+ * Create a sQuidd.io account at http://squidd.io/signup if you don't already have one.
12
+ * Create a Boat (app credentials are associated to a user's vessel, not the user, in case you own/manage multiple vessels).
13
+ * Update your boat's current position (some of the sample API requests require a known vessel position).
14
+ * Finally, go to your boat's page and click "Edit Boat Profile". You can find the ID and Secret in the APIs Tab.
15
+ More info in the [Getting Started Guide](http://squidd.io/getting_started) and [FAQ](http://squidd.io/faq)
16
+
10
17
  Add the strategy to your `Gemfile` alongside OmniAuth:
11
18
 
12
19
  ```ruby
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module Squiddio
3
- VERSION = "0.0.2"
3
+ VERSION = "0.0.3"
4
4
  end
5
5
  end
@@ -29,7 +29,7 @@ module OmniAuth
29
29
  end
30
30
 
31
31
  def raw_info
32
- @raw_info ||= access_token.get('/signalk/api/v1/users/me').parsed
32
+ @raw_info ||= access_token.get('/apps/api/v1/users/me').parsed
33
33
  end
34
34
 
35
35
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-squiddio
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
  - Mauro Calvi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-27 00:00:00.000000000 Z
11
+ date: 2018-06-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth-oauth
@@ -60,7 +60,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
60
60
  version: '0'
61
61
  requirements: []
62
62
  rubyforge_project:
63
- rubygems_version: 2.4.6
63
+ rubygems_version: 2.6.12
64
64
  signing_key:
65
65
  specification_version: 4
66
66
  summary: OmniAuth strategy for squidd.io