hellhound-twitter 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/examples/simple-login-twitter.rb +3 -4
- data/lib/hellhound.rb +1 -0
- data/lib/sinatra/hellhound.rb +1 -1
- metadata +3 -2
data/Rakefile
CHANGED
@@ -8,7 +8,7 @@ begin
|
|
8
8
|
s.summary = 'A auth system that relay in twitter oauth'
|
9
9
|
s.email = 'pedro.delgallego@gmail.com'
|
10
10
|
s.homepage = 'http://github.com/pedrodelgallego/hellhound-twitter'
|
11
|
-
s.version = '0.0.
|
11
|
+
s.version = '0.0.5'
|
12
12
|
s.authors = ["Pedro Del Gallego"]
|
13
13
|
s.files = FileList['[A-Z]*', '{lib,spec,bin,examples}/**/*']
|
14
14
|
|
@@ -2,20 +2,19 @@
|
|
2
2
|
json haml dm-core memcached
|
3
3
|
).each {|gem| require gem}
|
4
4
|
|
5
|
-
require File.expand_path(File.join(File.dirname(__FILE__), "../lib/
|
5
|
+
require File.expand_path(File.join(File.dirname(__FILE__), "../lib/hellhound.rb"))
|
6
6
|
|
7
7
|
configure do
|
8
|
-
|
8
|
+
include Rack::OAuth::Methods
|
9
9
|
use Rack::OAuth, :key => '97DyOmKn7gn1ki0wlyoGA',
|
10
10
|
:secret => 'bBYIkLEEsdbLFEflWOV2fqaCieiBmYwzV4gXdvwwk',
|
11
11
|
:site => 'http://twitter.com'
|
12
12
|
|
13
|
-
#enable :hellhound_cache
|
13
|
+
# enable :hellhound_cache
|
14
14
|
|
15
15
|
end
|
16
16
|
|
17
17
|
helpers do
|
18
|
-
include Rack::OAuth::Methods
|
19
18
|
include Sinatra::Hellhound::Helpers
|
20
19
|
|
21
20
|
def get_user twitter_id
|
data/lib/hellhound.rb
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require "sinatra/hellhound"
|
data/lib/sinatra/hellhound.rb
CHANGED
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
8
|
+
- 5
|
9
|
+
version: 0.0.5
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Pedro Del Gallego
|
@@ -66,6 +66,7 @@ files:
|
|
66
66
|
- README
|
67
67
|
- Rakefile
|
68
68
|
- examples/simple-login-twitter.rb
|
69
|
+
- lib/hellhound.rb
|
69
70
|
- lib/sinatra/hellhound.rb
|
70
71
|
has_rdoc: true
|
71
72
|
homepage: http://github.com/pedrodelgallego/hellhound-twitter
|