omniauth-osm 0.1.0 → 0.1.1
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.
- data/README.md +4 -0
- data/lib/omniauth/osm/version.rb +1 -1
- metadata +4 -4
data/README.md
CHANGED
|
@@ -22,6 +22,10 @@ Once these are in, you need to add the following to your `config/initializers/om
|
|
|
22
22
|
provider :osm, "consumer_key", "consumer_secret"
|
|
23
23
|
end
|
|
24
24
|
|
|
25
|
+
If you are using devise, this is how it looks like in your `config/initializers/devise.rb`:
|
|
26
|
+
|
|
27
|
+
config.omniauth :osm, "consumer_key", "consumer_secret"
|
|
28
|
+
|
|
25
29
|
You will obviously have to put in your key and secret, which you get when you register your app with OpenStreetMap.
|
|
26
30
|
|
|
27
31
|
Now just follow the README at: https://github.com/intridea/omniauth
|
data/lib/omniauth/osm/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: omniauth-osm
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 25
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 1
|
|
9
|
-
-
|
|
10
|
-
version: 0.1.
|
|
9
|
+
- 1
|
|
10
|
+
version: 0.1.1
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- "Christoph B\xC3\xBCnte"
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2011-12-
|
|
18
|
+
date: 2011-12-29 00:00:00 Z
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|
|
21
21
|
name: omniauth-oauth
|