omnitoken 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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/README.md +12 -0
- data/omnitoken_app.rb +1 -1
- data/templates/pocket.yml +2 -0
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 695f46c09f54013694cabd850cafe81adb1f9539
|
|
4
|
+
data.tar.gz: 6756f572977dd7fba7b316d807393e549960e2c0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d84b913b19b3f0091af69c83f365842018fc6ca2874df0148261fa972d23aaf3985fda94f871963b851d8007486f373626bd3604657beba8ce5a26e8ecb88d6f
|
|
7
|
+
data.tar.gz: df78ccd67a05f1abc3d2021e6d4652107df21868c6836f8afe167859b27677549b9bcd71672bad1fd59679633080def04d377c204dfec752f3f367920f3b1c16
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -24,6 +24,7 @@ Follow next section to add some providers. You need to restart the web server af
|
|
|
24
24
|
To get the token from a provider, a tiny configuration file is required. OmniToken has been tested with following providers and a configuration template is shipped for each of them:
|
|
25
25
|
* Twitter
|
|
26
26
|
* Facebook
|
|
27
|
+
* Pocket
|
|
27
28
|
|
|
28
29
|
### Twitter
|
|
29
30
|
First, install the twitter strategy gem:
|
|
@@ -47,6 +48,17 @@ Copy the facebook template by running:
|
|
|
47
48
|
|
|
48
49
|
A `facebook.yml` file will be created in `providers` folder in your working directory. Open it using your favorite editor and fill the fileds. The values can be found on your facebook application page you registered beforehand.
|
|
49
50
|
|
|
51
|
+
### Pocket
|
|
52
|
+
First, install the facebook strategy gem:
|
|
53
|
+
|
|
54
|
+
`gem install omniauth-pocket`
|
|
55
|
+
|
|
56
|
+
Copy the pocket template by running:
|
|
57
|
+
|
|
58
|
+
`omnitoken -a pocket`
|
|
59
|
+
|
|
60
|
+
A `pocket.yml` file will be created in `providers` folder in your working directory. Open it using your favorite editor and fill the fileds. The values can be found on your pocket application page you registered beforehand.
|
|
61
|
+
|
|
50
62
|
### Others
|
|
51
63
|
Theoretically, OmniToken can be support any provider as long as there is a OmniAuth strategy for it. Please follow these steps to add a provider which doesn't have a shipped template.
|
|
52
64
|
|
data/omnitoken_app.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: omnitoken
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Minjie Zha
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-
|
|
11
|
+
date: 2013-10-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: sinatra
|
|
@@ -81,6 +81,7 @@ files:
|
|
|
81
81
|
- public/style.css
|
|
82
82
|
- templates/twitter.yml
|
|
83
83
|
- templates/facebook.yml
|
|
84
|
+
- templates/pocket.yml
|
|
84
85
|
- views/error.haml
|
|
85
86
|
- views/layout.haml
|
|
86
87
|
- views/results.haml
|