omniauth-smashrun 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/Gemfile.lock +34 -29
- data/README.md +34 -0
- data/VERSION +1 -1
- data/omniauth-smashrun.gemspec +8 -8
- metadata +6 -6
- data/README.rdoc +0 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: de283ad49dd0d3a01843ed387c146817b9256169
|
4
|
+
data.tar.gz: dac8f91505b20db47043183e9db598636f231f23
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d4005b9ba207355aea130b3dac8460d60a5c78fd3aa8cdbc12a42df77dd012f6c440ad05eb5bac7a34c389e3a00f833a654c2f0343107bd97ccdc6b9eccf9d3
|
7
|
+
data.tar.gz: b065077799386060d879324b911baee4169b8f6eb17bf093116395a71842aba5a7bdfff0c389e38cd3f55ed46678f58d7598a35d3382b79b3a43e13589acecf0
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,61 +1,66 @@
|
|
1
1
|
GEM
|
2
2
|
remote: https://rubygems.org/
|
3
3
|
specs:
|
4
|
-
addressable (2.
|
4
|
+
addressable (2.5.2)
|
5
|
+
public_suffix (>= 2.0.2, < 4.0)
|
5
6
|
builder (3.2.3)
|
6
7
|
descendants_tracker (0.0.4)
|
7
8
|
thread_safe (~> 0.3, >= 0.3.1)
|
8
9
|
docile (1.1.5)
|
9
|
-
faraday (0.
|
10
|
+
faraday (0.12.2)
|
10
11
|
multipart-post (>= 1.2, < 3)
|
11
12
|
git (1.3.0)
|
12
|
-
github_api (0.
|
13
|
-
addressable (~> 2.4
|
13
|
+
github_api (0.18.2)
|
14
|
+
addressable (~> 2.4)
|
14
15
|
descendants_tracker (~> 0.0.4)
|
15
|
-
faraday (~> 0.8
|
16
|
-
hashie (>= 3.
|
17
|
-
mime-types (>= 1.16, < 3.0)
|
16
|
+
faraday (~> 0.8)
|
17
|
+
hashie (~> 3.5, >= 3.5.2)
|
18
18
|
oauth2 (~> 1.0)
|
19
|
-
hashie (3.5.
|
20
|
-
highline (1.7.
|
19
|
+
hashie (3.5.7)
|
20
|
+
highline (1.7.10)
|
21
21
|
json (1.8.6)
|
22
|
-
juwelier (2.
|
22
|
+
juwelier (2.4.7)
|
23
23
|
builder
|
24
|
-
bundler
|
25
|
-
git
|
24
|
+
bundler
|
25
|
+
git
|
26
26
|
github_api
|
27
|
-
highline
|
28
|
-
|
27
|
+
highline
|
28
|
+
kamelcase (~> 0)
|
29
|
+
nokogiri
|
30
|
+
psych
|
29
31
|
rake
|
30
32
|
rdoc
|
31
|
-
|
33
|
+
semver2
|
32
34
|
jwt (1.5.6)
|
33
|
-
|
34
|
-
|
35
|
-
|
35
|
+
kamelcase (0.0.1)
|
36
|
+
semver2 (~> 3)
|
37
|
+
mini_portile2 (2.3.0)
|
38
|
+
multi_json (1.13.1)
|
36
39
|
multi_xml (0.6.0)
|
37
40
|
multipart-post (2.0.0)
|
38
|
-
nokogiri (1.8.
|
39
|
-
mini_portile2 (~> 2.
|
41
|
+
nokogiri (1.8.1)
|
42
|
+
mini_portile2 (~> 2.3.0)
|
40
43
|
oauth2 (1.4.0)
|
41
44
|
faraday (>= 0.8, < 0.13)
|
42
45
|
jwt (~> 1.0)
|
43
46
|
multi_json (~> 1.3)
|
44
47
|
multi_xml (~> 0.5)
|
45
48
|
rack (>= 1.2, < 3)
|
46
|
-
oj (3.3.
|
47
|
-
omniauth (1.
|
49
|
+
oj (3.3.10)
|
50
|
+
omniauth (1.8.1)
|
48
51
|
hashie (>= 3.4.6, < 3.6.0)
|
49
52
|
rack (>= 1.6.2, < 3)
|
50
|
-
omniauth-oauth2 (1.
|
51
|
-
oauth2 (~> 1.
|
53
|
+
omniauth-oauth2 (1.5.0)
|
54
|
+
oauth2 (~> 1.1)
|
52
55
|
omniauth (~> 1.2)
|
56
|
+
psych (3.0.2)
|
57
|
+
public_suffix (3.0.1)
|
53
58
|
rack (2.0.3)
|
54
|
-
rake (12.
|
59
|
+
rake (12.3.0)
|
55
60
|
rdoc (3.12.2)
|
56
61
|
json (~> 1.4)
|
57
|
-
|
58
|
-
simplecov (0.15.
|
62
|
+
semver2 (3.4.2)
|
63
|
+
simplecov (0.15.1)
|
59
64
|
docile (~> 1.1.0)
|
60
65
|
json (>= 1.8, < 3)
|
61
66
|
simplecov-html (~> 0.10.0)
|
@@ -67,11 +72,11 @@ PLATFORMS
|
|
67
72
|
|
68
73
|
DEPENDENCIES
|
69
74
|
bundler (~> 1.0)
|
70
|
-
juwelier (~> 2.
|
75
|
+
juwelier (~> 2.4.7)
|
71
76
|
oj (~> 3.3.5)
|
72
77
|
omniauth-oauth2 (~> 1.0)
|
73
78
|
rdoc (~> 3.12)
|
74
79
|
simplecov
|
75
80
|
|
76
81
|
BUNDLED WITH
|
77
|
-
1.
|
82
|
+
1.15.4
|
data/README.md
ADDED
@@ -0,0 +1,34 @@
|
|
1
|
+
[![Gem Version](https://badge.fury.io/rb/omniauth-smashrun.svg)](https://badge.fury.io/rb/omniauth-smashrun)
|
2
|
+
|
3
|
+
# Omniauth::Strategies::Smashrun
|
4
|
+
Omniauth strategy for Smashrun ( https://api.smashrun.com/v1/documentation )
|
5
|
+
|
6
|
+
## Installation
|
7
|
+
|
8
|
+
Add this line to your application's Gemfile:
|
9
|
+
|
10
|
+
gem 'omniauth-smashrun'
|
11
|
+
|
12
|
+
And then execute:
|
13
|
+
|
14
|
+
$ bundle
|
15
|
+
|
16
|
+
Or install it yourself as:
|
17
|
+
|
18
|
+
$ gem install omniauth-smashrun
|
19
|
+
|
20
|
+
## Usage
|
21
|
+
|
22
|
+
Register **Smashrun Strategy** in omniauth configuration file(config/initializers/omniauth.rb)
|
23
|
+
|
24
|
+
```ruby
|
25
|
+
Rails.application.config.middleware.use OmniAuth::Builder do
|
26
|
+
provider :smashrun, 'client id', 'client secret'
|
27
|
+
end
|
28
|
+
```
|
29
|
+
|
30
|
+
Use [Smasrun clinet gem](https://github.com/naveed-ahmad/smashrun) for consuming smashrun api
|
31
|
+
|
32
|
+
## License
|
33
|
+
|
34
|
+
[MIT License](http://www.opensource.org/licenses/mit-license.php)
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.4
|
data/omniauth-smashrun.gemspec
CHANGED
@@ -2,22 +2,22 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: omniauth-smashrun 0.0.
|
5
|
+
# stub: omniauth-smashrun 0.0.4 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "omniauth-smashrun"
|
9
|
-
s.version = "0.0.
|
9
|
+
s.version = "0.0.4"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
13
13
|
s.authors = ["Naveed Ahmad"]
|
14
|
-
s.date = "
|
14
|
+
s.date = "2018-01-18"
|
15
15
|
s.description = "OmniAuth strategy for Smashrun"
|
16
16
|
s.email = "naveedahmada036@gmail.com"
|
17
17
|
s.extra_rdoc_files = [
|
18
18
|
"LICENSE",
|
19
19
|
"LICENSE.txt",
|
20
|
-
"README.
|
20
|
+
"README.md"
|
21
21
|
]
|
22
22
|
s.files = [
|
23
23
|
".document",
|
@@ -25,7 +25,7 @@ Gem::Specification.new do |s|
|
|
25
25
|
"Gemfile.lock",
|
26
26
|
"LICENSE",
|
27
27
|
"LICENSE.txt",
|
28
|
-
"README.
|
28
|
+
"README.md",
|
29
29
|
"Rakefile",
|
30
30
|
"VERSION",
|
31
31
|
"lib/omniauth-smashrun.rb",
|
@@ -46,14 +46,14 @@ Gem::Specification.new do |s|
|
|
46
46
|
s.add_runtime_dependency(%q<oj>, ["~> 3.3.5"])
|
47
47
|
s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
|
48
48
|
s.add_development_dependency(%q<bundler>, ["~> 1.0"])
|
49
|
-
s.add_development_dependency(%q<juwelier>, ["~> 2.
|
49
|
+
s.add_development_dependency(%q<juwelier>, ["~> 2.4.7"])
|
50
50
|
s.add_development_dependency(%q<simplecov>, [">= 0"])
|
51
51
|
else
|
52
52
|
s.add_dependency(%q<omniauth-oauth2>, ["~> 1.0"])
|
53
53
|
s.add_dependency(%q<oj>, ["~> 3.3.5"])
|
54
54
|
s.add_dependency(%q<rdoc>, ["~> 3.12"])
|
55
55
|
s.add_dependency(%q<bundler>, ["~> 1.0"])
|
56
|
-
s.add_dependency(%q<juwelier>, ["~> 2.
|
56
|
+
s.add_dependency(%q<juwelier>, ["~> 2.4.7"])
|
57
57
|
s.add_dependency(%q<simplecov>, [">= 0"])
|
58
58
|
end
|
59
59
|
else
|
@@ -61,7 +61,7 @@ Gem::Specification.new do |s|
|
|
61
61
|
s.add_dependency(%q<oj>, ["~> 3.3.5"])
|
62
62
|
s.add_dependency(%q<rdoc>, ["~> 3.12"])
|
63
63
|
s.add_dependency(%q<bundler>, ["~> 1.0"])
|
64
|
-
s.add_dependency(%q<juwelier>, ["~> 2.
|
64
|
+
s.add_dependency(%q<juwelier>, ["~> 2.4.7"])
|
65
65
|
s.add_dependency(%q<simplecov>, [">= 0"])
|
66
66
|
end
|
67
67
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-smashrun
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Naveed Ahmad
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: omniauth-oauth2
|
@@ -72,14 +72,14 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 2.
|
75
|
+
version: 2.4.7
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 2.
|
82
|
+
version: 2.4.7
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: simplecov
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -101,14 +101,14 @@ extensions: []
|
|
101
101
|
extra_rdoc_files:
|
102
102
|
- LICENSE
|
103
103
|
- LICENSE.txt
|
104
|
-
- README.
|
104
|
+
- README.md
|
105
105
|
files:
|
106
106
|
- ".document"
|
107
107
|
- Gemfile
|
108
108
|
- Gemfile.lock
|
109
109
|
- LICENSE
|
110
110
|
- LICENSE.txt
|
111
|
-
- README.
|
111
|
+
- README.md
|
112
112
|
- Rakefile
|
113
113
|
- VERSION
|
114
114
|
- lib/omniauth-smashrun.rb
|
data/README.rdoc
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
= omniauth-smashrun
|
2
|
-
|
3
|
-
Description goes here.
|
4
|
-
|
5
|
-
== Contributing to omniauth-smashrun
|
6
|
-
|
7
|
-
* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
|
8
|
-
* Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
|
9
|
-
* Fork the project.
|
10
|
-
* Start a feature/bugfix branch.
|
11
|
-
* Commit and push until you are happy with your contribution.
|
12
|
-
* Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
|
13
|
-
* Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
|
14
|
-
|
15
|
-
== Copyright
|
16
|
-
|
17
|
-
Copyright (c) 2017 Naveed Ahmad. See LICENSE.txt for
|
18
|
-
further details.
|