omnifocus-github 1.7.1 → 1.8.0
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
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/History.txt +6 -0
- data/README.txt +10 -0
- data/lib/omnifocus/github.rb +5 -2
- metadata +16 -16
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4fb93682172ee4033f10ba399f3a0cc59e976fd1
|
4
|
+
data.tar.gz: 5740b8d4eaedc2f87ccb6a12aa6536de61d77457
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 03f53ae5ecd352ded61b587dbbb3015852d21bf1c96b61b28388b8525a2133d59033a98fcdca5fa65450b8ab0877a62e4cc6f90863d00e043ba2c380869a2772
|
7
|
+
data.tar.gz: 7a23c02c27cecb88fde9b29ed126e40b9c37197dea95bd21ac78545e6a60b86bd2ce2c9e370ce4a3f948c72dd0c5f5100c0af17d75cef45528dc9d5174aaee4c
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/History.txt
CHANGED
data/README.txt
CHANGED
@@ -34,6 +34,16 @@ For each account can you specify the following parameters:
|
|
34
34
|
|
35
35
|
* user, password - A username and password pair for Basic http authentication.
|
36
36
|
|
37
|
+
== GITHUB OAUTH SUPPORT
|
38
|
+
|
39
|
+
When using OAuth, Github expects the OAuth token to be presented as your
|
40
|
+
username, and your password should either be blank or set to 'x-oauth-basic'.
|
41
|
+
These will need to be set, in addition to your Github username. For example:
|
42
|
+
|
43
|
+
git config --global github.user 51951ceb3819276195e8525740bd4670232bc222
|
44
|
+
git config --global github.password x-oauth-basic
|
45
|
+
git config --global github.name me
|
46
|
+
|
37
47
|
== FEATURES/PROBLEMS:
|
38
48
|
|
39
49
|
* Provides github BTS synchronization.
|
data/lib/omnifocus/github.rb
CHANGED
@@ -5,7 +5,7 @@ $-w = old_w
|
|
5
5
|
Octokit.auto_paginate = true
|
6
6
|
|
7
7
|
module OmniFocus::Github
|
8
|
-
VERSION = "1.
|
8
|
+
VERSION = "1.8.0"
|
9
9
|
PREFIX = "GH"
|
10
10
|
|
11
11
|
def populate_github_tasks
|
@@ -17,6 +17,7 @@ module OmniFocus::Github
|
|
17
17
|
|
18
18
|
# User + password is required
|
19
19
|
auth = {
|
20
|
+
:name => omnifocus_git_param(:name, nil, account),
|
20
21
|
:user => omnifocus_git_param(:user, nil, account),
|
21
22
|
:password => omnifocus_git_param(:password, nil, account),
|
22
23
|
:oauth => omnifocus_git_param("oauth-token", nil, account),
|
@@ -27,6 +28,8 @@ module OmniFocus::Github
|
|
27
28
|
next
|
28
29
|
end
|
29
30
|
|
31
|
+
auth[:name] = auth[:user] if auth[:name].nil?
|
32
|
+
|
30
33
|
processed = true
|
31
34
|
account_label = account == "github" ? nil : account
|
32
35
|
|
@@ -57,7 +60,7 @@ module OmniFocus::Github
|
|
57
60
|
client = Octokit::Client.new(:login => auth[:user],
|
58
61
|
:password => auth[:password])
|
59
62
|
|
60
|
-
client.user(auth[:
|
63
|
+
client.user(auth[:name])
|
61
64
|
elsif auth[:user] && auth[:oauth]
|
62
65
|
client = Octokit::Client.new :access_token => auth[:oauth]
|
63
66
|
client.user.login
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omnifocus-github
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Davis
|
@@ -11,9 +11,9 @@ bindir: bin
|
|
11
11
|
cert_chain:
|
12
12
|
- |
|
13
13
|
-----BEGIN CERTIFICATE-----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2HR0gRRx4ofN1LoP2KhXzSr8UMvQYlwPmE0N5GQv1b5AO
|
31
|
+
VpzF30vNaJK6ZT7xlIsIlwmH
|
32
32
|
-----END CERTIFICATE-----
|
33
|
-
date: 2014-
|
33
|
+
date: 2014-11-11 00:00:00.000000000 Z
|
34
34
|
dependencies:
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
36
|
name: omnifocus
|
@@ -66,14 +66,14 @@ dependencies:
|
|
66
66
|
requirements:
|
67
67
|
- - ~>
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version: '5.
|
69
|
+
version: '5.4'
|
70
70
|
type: :development
|
71
71
|
prerelease: false
|
72
72
|
version_requirements: !ruby/object:Gem::Requirement
|
73
73
|
requirements:
|
74
74
|
- - ~>
|
75
75
|
- !ruby/object:Gem::Version
|
76
|
-
version: '5.
|
76
|
+
version: '5.4'
|
77
77
|
- !ruby/object:Gem::Dependency
|
78
78
|
name: rdoc
|
79
79
|
requirement: !ruby/object:Gem::Requirement
|
@@ -94,14 +94,14 @@ dependencies:
|
|
94
94
|
requirements:
|
95
95
|
- - ~>
|
96
96
|
- !ruby/object:Gem::Version
|
97
|
-
version: '3.
|
97
|
+
version: '3.13'
|
98
98
|
type: :development
|
99
99
|
prerelease: false
|
100
100
|
version_requirements: !ruby/object:Gem::Requirement
|
101
101
|
requirements:
|
102
102
|
- - ~>
|
103
103
|
- !ruby/object:Gem::Version
|
104
|
-
version: '3.
|
104
|
+
version: '3.13'
|
105
105
|
description: "Plugin for omnifocus gem to provide github BTS synchronization.\n\nSupport
|
106
106
|
for Github Enterprise:\n\nIn your git config, set the key omnifocus-github.accounts
|
107
107
|
to a space\nseparated list of github accounts. \n\n git config --global omnifocus-github.accounts
|
@@ -152,8 +152,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
152
152
|
- !ruby/object:Gem::Version
|
153
153
|
version: '0'
|
154
154
|
requirements: []
|
155
|
-
rubyforge_project:
|
156
|
-
rubygems_version: 2.
|
155
|
+
rubyforge_project:
|
156
|
+
rubygems_version: 2.4.1
|
157
157
|
signing_key:
|
158
158
|
specification_version: 4
|
159
159
|
summary: Plugin for omnifocus gem to provide github BTS synchronization
|
metadata.gz.sig
CHANGED
Binary file
|