omniauth-todoist 0.6.0 → 0.7.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 +4 -4
- data/CHANGES.md +6 -0
- data/lib/omniauth/strategies/todoist.rb +4 -4
- data/lib/omniauth/todoist/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6c826901b3bd7daecb9d28372a0f0105b00dd234173986ab76d90dce17fe5c78
|
|
4
|
+
data.tar.gz: bfb2194c3d7ca869d24867b51500ca88369be49511690e2b82971fb02aa26316
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5be13dfbe6ef3b14637058556e3325f162825213cf7dc583cf6418845037427b4faf26babe0c8b4a0ebd18b90294ecc82548579778a4b4496d3d581b64f02688
|
|
7
|
+
data.tar.gz: 99e8c7485f8fd1db7d289dddfff299d53f95d8e5d4246308cf24b38262bfff193b26480c50e514c12258789523394ec98c7e857c43c22bbae0759ecc88a3578d
|
data/CHANGES.md
ADDED
|
@@ -8,7 +8,7 @@ module OmniAuth
|
|
|
8
8
|
option :name, "todoist"
|
|
9
9
|
|
|
10
10
|
option :client_options, {
|
|
11
|
-
site: "https://todoist.com",
|
|
11
|
+
site: "https://api.todoist.com",
|
|
12
12
|
authorize_url: "/oauth/authorize",
|
|
13
13
|
token_url: "/oauth/access_token"
|
|
14
14
|
}
|
|
@@ -45,15 +45,15 @@ module OmniAuth
|
|
|
45
45
|
@raw_info ||= begin
|
|
46
46
|
params = {
|
|
47
47
|
headers: {
|
|
48
|
-
"Content-Type" => "application/x-www-form-urlencoded"
|
|
48
|
+
"Content-Type" => "application/x-www-form-urlencoded",
|
|
49
|
+
"Authorization" => "Bearer #{access_token.token}",
|
|
49
50
|
},
|
|
50
51
|
body: {
|
|
51
|
-
token: access_token.token,
|
|
52
52
|
sync_token: "*",
|
|
53
53
|
resource_types: '["user"]'
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
|
-
access_token.post("https://api.todoist.com/
|
|
56
|
+
access_token.post("https://api.todoist.com/api/v1/sync", params).parsed.fetch('user', {})
|
|
57
57
|
end
|
|
58
58
|
end
|
|
59
59
|
|
metadata
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: omniauth-todoist
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.7.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Bethany Soule
|
|
8
8
|
- Joel Van Horn
|
|
9
|
-
autorequire:
|
|
9
|
+
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2026-02-11 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: omniauth
|
|
@@ -90,6 +90,7 @@ extensions: []
|
|
|
90
90
|
extra_rdoc_files: []
|
|
91
91
|
files:
|
|
92
92
|
- ".gitignore"
|
|
93
|
+
- CHANGES.md
|
|
93
94
|
- Gemfile
|
|
94
95
|
- LICENSE.txt
|
|
95
96
|
- README.md
|
|
@@ -101,7 +102,7 @@ homepage: https://github.com/beeminder/omniauth-todoist
|
|
|
101
102
|
licenses:
|
|
102
103
|
- MIT
|
|
103
104
|
metadata: {}
|
|
104
|
-
post_install_message:
|
|
105
|
+
post_install_message:
|
|
105
106
|
rdoc_options: []
|
|
106
107
|
require_paths:
|
|
107
108
|
- lib
|
|
@@ -116,9 +117,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
116
117
|
- !ruby/object:Gem::Version
|
|
117
118
|
version: '0'
|
|
118
119
|
requirements: []
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
signing_key:
|
|
120
|
+
rubygems_version: 3.4.10
|
|
121
|
+
signing_key:
|
|
122
122
|
specification_version: 4
|
|
123
123
|
summary: OmniAuth strategy for Todoist
|
|
124
124
|
test_files: []
|