omniauth-rescuetime 1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 097cdb74a23d3375f32c05c7607691405795cdb0
4
+ data.tar.gz: 3bbf0f5e3952da212c018d6b1bc06b747453a74c
5
+ SHA512:
6
+ metadata.gz: 06820bc3903e30ae9479426581f1bc611aa6c76298902539edbc3e2e4c6b47d8b42b3c4ac75b49468c9bcd1ad1777196d3b22ed6911f500063efd28c8cfbee6a
7
+ data.tar.gz: b6447e36031d05541b34d76194a9f43415af8d11cf37f7f2b319e85203d02ed8e1b6871ac92f1c34d9e2cfb75473ab4be398e367f413a4da510fd98359b24d3e
@@ -0,0 +1 @@
1
+ require 'omniauth/strategies/rescuetime'
@@ -0,0 +1,17 @@
1
+ require 'omniauth-oauth2'
2
+
3
+ module OmniAuth
4
+ module Strategies
5
+ class Rescuetime < OmniAuth::Strategies::OAuth2
6
+ option :name, 'rescuetime'
7
+
8
+ option :client_options, {
9
+ :site => 'https://www.rescuetime.com',
10
+ :authorize_url => 'https://www.rescuetime.com/oauth/authorize',
11
+ :response_type => 'code'
12
+ }
13
+ end
14
+ end
15
+ end
16
+
17
+ OmniAuth.config.add_camelization 'rescuetime', 'Rescuetime'
metadata ADDED
@@ -0,0 +1,59 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: omniauth-rescuetime
3
+ version: !ruby/object:Gem::Version
4
+ version: '1.0'
5
+ platform: ruby
6
+ authors:
7
+ - Andy Brett
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-02-13 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: omniauth-oauth2
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 1.1.1
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 1.1.1
27
+ description: OmniAuth strategy for RescueTime
28
+ email: andy@andybrett.com
29
+ executables: []
30
+ extensions: []
31
+ extra_rdoc_files: []
32
+ files:
33
+ - lib/omniauth-rescuetime.rb
34
+ - lib/omniauth/strategies/rescuetime.rb
35
+ homepage: https://github.com/beeminder/omniauth-rescuetime
36
+ licenses:
37
+ - MIT
38
+ metadata: {}
39
+ post_install_message:
40
+ rdoc_options: []
41
+ require_paths:
42
+ - lib
43
+ required_ruby_version: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ required_rubygems_version: !ruby/object:Gem::Requirement
49
+ requirements:
50
+ - - ">="
51
+ - !ruby/object:Gem::Version
52
+ version: '0'
53
+ requirements: []
54
+ rubyforge_project:
55
+ rubygems_version: 2.4.8
56
+ signing_key:
57
+ specification_version: 4
58
+ summary: OmniAuth strategy for RescueTime
59
+ test_files: []