unoffical-omniauth-strava 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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 5ff836c9c961e01f814510ef36fe21c8c927205a
4
- data.tar.gz: ce76ba1f2e3809a86636f164b1d6ac314fafb027
2
+ SHA256:
3
+ metadata.gz: b7c448c5ef09d420461331648cd6fc6cc77d4fb1f476c0d22f950ee2ef26f9f4
4
+ data.tar.gz: 4457dea4691eed24d6f9761814dfc68c0092cc9970c7bfaaf7ed1dfaf9a7f905
5
5
  SHA512:
6
- metadata.gz: 63b7112950b356d13118b5d8d738c2906250482f05ee0cd9f5755342e620604eba7c3b53e2f99ff7aca9b4e3f672dbba0184409ff14c9c11dbafef839b7b40d4
7
- data.tar.gz: 291cd237bbe480cff1daec087cabb7369366adae1c9c03dfe212609664540e377a1b63f2166a9d2f5a958a05e5243b5f0e1ef0129ccab9007e20e401fabff6c5
6
+ metadata.gz: 15e9496ede7aed23eb0ddd993ee7228ddf9e2b703eb24558f817ef20865b0e859f49c3c040e45cfd08bdcf5c8016ddc363b0a2a47b27272991b938665029ef98
7
+ data.tar.gz: 800d0c69ce518952901d66bbdecc54fac2c81e4c5199acd6b3211bc7035f26ba39fd89049d9354184bbabde053daf8774be37aa119e7a8002f22f9023b2d5bdc
data/.gitignore CHANGED
@@ -1,3 +1,4 @@
1
+ example/Gemfile.lock
1
2
  *.gem
2
3
  .bundle
3
4
  .rspec
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.1.5
1
+ 2.5.1
data/Gemfile CHANGED
@@ -10,3 +10,8 @@ end
10
10
  platforms :rbx do
11
11
  gem 'rubysl', '~> 2.0'
12
12
  end
13
+
14
+
15
+ gem "rack", ">= 1.6.11"
16
+ gem "rack-protection", ">= 1.5.5"
17
+ gem "omniauth", ">= 1.3.2"
@@ -1 +1 @@
1
- 2.1.5
1
+ 2.5.1
@@ -10,7 +10,7 @@ module OmniAuth
10
10
  class NoAuthorizationCodeError < StandardError;
11
11
  end
12
12
 
13
- DEFAULT_SCOPE = 'email'
13
+ DEFAULT_SCOPE = 'profile:read_all'
14
14
 
15
15
  option :client_options, {
16
16
  :site => 'https://www.strava.com',
@@ -1,5 +1,5 @@
1
1
  module Omniauth
2
2
  module Strava
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
@@ -14,6 +14,13 @@ Gem::Specification.new do |spec|
14
14
  spec.homepage = "https://github.com/xiangzhuyuan/omniauth-strava"
15
15
  spec.license = "MIT"
16
16
 
17
+ # Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
18
+ # delete this section to allow pushing this gem to any host.
19
+ if spec.respond_to?(:metadata)
20
+ spec.metadata['allowed_push_host'] = "https://rubygems.org"
21
+ else
22
+ raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
23
+ end
17
24
 
18
25
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
19
26
  spec.bindir = "exe"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unoffical-omniauth-strava
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Xiang, Zhuyuan
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-06-24 00:00:00.000000000 Z
11
+ date: 2018-12-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth-oauth2
@@ -83,7 +83,6 @@ files:
83
83
  - bin/setup
84
84
  - example/.ruby-version
85
85
  - example/Gemfile
86
- - example/Gemfile.lock
87
86
  - example/app.rb
88
87
  - example/config.ru
89
88
  - example/memo.md
@@ -114,7 +113,8 @@ files:
114
113
  homepage: https://github.com/xiangzhuyuan/omniauth-strava
115
114
  licenses:
116
115
  - MIT
117
- metadata: {}
116
+ metadata:
117
+ allowed_push_host: https://rubygems.org
118
118
  post_install_message:
119
119
  rdoc_options: []
120
120
  require_paths:
@@ -131,9 +131,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
131
131
  version: '0'
132
132
  requirements: []
133
133
  rubyforge_project:
134
- rubygems_version: 2.2.2
134
+ rubygems_version: 2.7.6
135
135
  signing_key:
136
136
  specification_version: 4
137
137
  summary: Strava OAuth2 Strategy for OmniAuth
138
138
  test_files: []
139
- has_rdoc:
data/example/Gemfile.lock DELETED
@@ -1,59 +0,0 @@
1
- PATH
2
- remote: ../
3
- specs:
4
- omniauth-strava (0.1.0)
5
- omniauth-oauth2 (~> 1.2)
6
-
7
- GEM
8
- remote: https://rubygems.org/
9
- specs:
10
- backports (3.6.8)
11
- faraday (0.9.2)
12
- multipart-post (>= 1.2, < 3)
13
- hashie (3.4.4)
14
- jwt (1.5.1)
15
- multi_json (1.12.1)
16
- multi_xml (0.5.5)
17
- multipart-post (2.0.0)
18
- oauth2 (1.1.0)
19
- faraday (>= 0.8, < 0.10)
20
- jwt (~> 1.0, < 1.5.2)
21
- multi_json (~> 1.3)
22
- multi_xml (~> 0.5)
23
- rack (>= 1.2, < 3)
24
- omniauth (1.3.1)
25
- hashie (>= 1.2, < 4)
26
- rack (>= 1.0, < 3)
27
- omniauth-oauth2 (1.4.0)
28
- oauth2 (~> 1.0)
29
- omniauth (~> 1.2)
30
- rack (1.6.4)
31
- rack-protection (1.5.3)
32
- rack
33
- rack-test (0.6.3)
34
- rack (>= 1.0)
35
- sinatra (1.4.7)
36
- rack (~> 1.5)
37
- rack-protection (~> 1.4)
38
- tilt (>= 1.3, < 3)
39
- sinatra-contrib (1.4.7)
40
- backports (>= 2.0)
41
- multi_json
42
- rack-protection
43
- rack-test
44
- sinatra (~> 1.4.0)
45
- tilt (>= 1.3, < 3)
46
- sinatra-reloader (1.0)
47
- sinatra-contrib
48
- tilt (2.0.5)
49
-
50
- PLATFORMS
51
- ruby
52
-
53
- DEPENDENCIES
54
- omniauth-strava!
55
- sinatra
56
- sinatra-reloader
57
-
58
- BUNDLED WITH
59
- 1.10.5