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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 52baa67e96b712175d094f53d23996d9633fa9b1
4
- data.tar.gz: 2f02a15c089c2937310b783091d3f22c5021cfa5
3
+ metadata.gz: 4fb93682172ee4033f10ba399f3a0cc59e976fd1
4
+ data.tar.gz: 5740b8d4eaedc2f87ccb6a12aa6536de61d77457
5
5
  SHA512:
6
- metadata.gz: 55b315467c6ccbad33eba6f92ee81ea27dc35c96627aa1c708b9acc8c008183e4a92c1533808e1ffee09187f3d4f56cd3757e8029cb39f1584a4161fc60213d0
7
- data.tar.gz: 3eb0986a2d9fe63e2d738ac6693cb67973f0d4ae576a57a6e47bcda6a32a0060932ac4635fd05af45b0c2df8bc313910545d5afebc2b6884f565997f4dadd721
6
+ metadata.gz: 03f53ae5ecd352ded61b587dbbb3015852d21bf1c96b61b28388b8525a2133d59033a98fcdca5fa65450b8ab0877a62e4cc6f90863d00e043ba2c380869a2772
7
+ data.tar.gz: 7a23c02c27cecb88fde9b29ed126e40b9c37197dea95bd21ac78545e6a60b86bd2ce2c9e370ce4a3f948c72dd0c5f5100c0af17d75cef45528dc9d5174aaee4c
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -1,3 +1,9 @@
1
+ === 1.8.0 / 2014-11-11
2
+
3
+ * 1 minor enhancement:
4
+
5
+ * Specify the github name when using an OAuth token. (mutemule)
6
+
1
7
  === 1.7.1 / 2014-01-22
2
8
 
3
9
  * 1 bug fix:
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.
@@ -5,7 +5,7 @@ $-w = old_w
5
5
  Octokit.auto_paginate = true
6
6
 
7
7
  module OmniFocus::Github
8
- VERSION = "1.7.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[:user])
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.7.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-----
14
- MIIDPjCCAiagAwIBAgIBATANBgkqhkiG9w0BAQUFADBFMRMwEQYDVQQDDApyeWFu
14
+ MIIDPjCCAiagAwIB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+ AQAFoDJRokCQdxFfOrmsKX41KOFlU/zjrbDVM9hgB/Ur999M6OXGSi8FitXNtMwY
27
+ FVjsiAPeU7HaWVVcZkj6IhINelTkXsxgGz/qCzjHy3iUMuZWw36cS0fiWJ5rvH+e
28
+ hD7uXxJSFuyf1riDGI1aeWbQ74WMwvNstOxLUMiV5a1fzBhlxPqb537ubDjq/M/h
29
+ zPUFPVYeL5KjDHLCqI2FwIk2sEMOQgjpXHzl+3NlD2LUgUhHDMevmgVua0e2GT1B
30
+ xJcC6UN6NHMOVMyAXsr2HR0gRRx4ofN1LoP2KhXzSr8UMvQYlwPmE0N5GQv1b5AO
31
+ VpzF30vNaJK6ZT7xlIsIlwmH
32
32
  -----END CERTIFICATE-----
33
- date: 2014-01-22 00:00:00.000000000 Z
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.2'
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.2'
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.8'
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.8'
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: omnifocus-github
156
- rubygems_version: 2.2.1
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