File tree Expand file tree Collapse file tree 7 files changed +13
-13
lines changed Expand file tree Collapse file tree 7 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ This project is published under the [MIT License](LICENSE.md).
8484[ github-search ] : https://docs.github.com/en/free-pro-team@latest/github/searching-for-information-on-github/searching-on-github
8585[ download-packal ] : https://www.packal.org/workflow/github-repos
8686[ download-releases ] : https://github.com/edgarjs/alfred-github-repos/releases
87- [ personal-access-token ] : https://github.com/settings/tokens/new?description=Github %20Repos%20Alfred%20workflow&scopes=repo
87+ [ personal-access-token ] : https://github.com/settings/tokens/new?description=GitHub %20Repos%20Alfred%20workflow&scopes=repo
8888[ pulls-page ] : https://github.com/pulls
8989[ notifications-page ] : https://github.com/notifications
9090[ alfred-env-vars ] : https://www.alfredapp.com/help/workflows/script-environment-variables/
Original file line number Diff line number Diff line change 33$stdout. sync = true
44$LOAD_PATH. unshift File . expand_path ( 'lib' )
55
6- require 'data_source/client/github '
6+ require 'data_source/client/git_hub '
77require 'data_source/pull_requests'
88require 'data_source/repositories'
99require 'commands/help'
1414class App
1515 class << self
1616 def client
17- DataSource ::Client ::Github . new (
17+ DataSource ::Client ::GitHub . new (
1818 host : ENV [ 'GITHUB_API_HOST' ] ,
1919 access_token : ENV [ 'GITHUB_ACCESS_TOKEN' ] ,
2020 me_account : ENV [ 'GITHUB_ME_ACCOUNT' ] ,
Original file line number Diff line number Diff line change @@ -355,7 +355,7 @@ fi</string>
355355 <key >spaces </key >
356356 <string ></string >
357357 <key >url </key >
358- <string >https://{var:GITHUB_HOST}/settings/tokens/new?description=Github %20Repos%20Alfred%20workflow& scopes=repo </string >
358+ <string >https://{var:GITHUB_HOST}/settings/tokens/new?description=GitHub %20Repos%20Alfred%20workflow& scopes=repo </string >
359359 <key >utf8 </key >
360360 <false />
361361 </dict >
@@ -448,7 +448,7 @@ fi</string>
448448 <key >spaces </key >
449449 <string ></string >
450450 <key >url </key >
451- <string >https://{var:GITHUB_HOST}/settings/tokens/new?description=Github %20Repos%20Alfred%20workflow& scopes=repo </string >
451+ <string >https://{var:GITHUB_HOST}/settings/tokens/new?description=GitHub %20Repos%20Alfred%20workflow& scopes=repo </string >
452452 <key >utf8 </key >
453453 <false />
454454 </dict >
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ module Commands
77 class Help
88
99 HEAD = <<~HEAD
10- Github Repos workflow for Alfred - CLI
10+ GitHub Repos workflow for Alfred - CLI
1111 Version: #{ App ::VERSION }
1212 HEAD
1313
Original file line number Diff line number Diff line change 66
77module DataSource
88 module Client
9- class Github
9+ class GitHub
1010
1111 def initialize ( config )
1212 @config = {
Original file line number Diff line number Diff line change 77module Commands
88 class HelpTest < Minitest ::Test
99 HEAD = <<~HEAD
10- Github Repos workflow for Alfred - CLI
10+ GitHub Repos workflow for Alfred - CLI
1111 Version: #{ App ::VERSION }
1212 HEAD
1313
Original file line number Diff line number Diff line change 22
33require 'test_helper'
44require 'fileutils'
5- require 'data_source/client/github '
5+ require 'data_source/client/git_hub '
66
77module DataSource
88 module Client
9- class GithubTest < Minitest ::Test
9+ class GitHubTest < Minitest ::Test
1010 def setup
1111 super
1212 FileUtils . mkdir_p ( 'tmp/cache' )
@@ -16,7 +16,7 @@ def setup
1616 end
1717
1818 def subject
19- @subject ||= Github . new ( host : 'example.com' , access_token : 'test_token' ,
19+ @subject ||= GitHub . new ( host : 'example.com' , access_token : 'test_token' ,
2020 me_account : "@me" , pr_all_involve_me : false )
2121 end
2222
@@ -33,7 +33,7 @@ def cache_ttl_sec_pr
3333 end
3434
3535 def subject_with_cache
36- @subject_with_cache ||= Github . new (
36+ @subject_with_cache ||= GitHub . new (
3737 host : 'example.com' ,
3838 access_token : 'test_token' ,
3939 cache_dir : 'tmp/cache' ,
@@ -46,7 +46,7 @@ def subject_with_cache
4646 end
4747
4848 def subject_with_pr_all_involve_me_true
49- @subject_with_cache ||= Github . new (
49+ @subject_with_cache ||= GitHub . new (
5050 host : 'example.com' ,
5151 access_token : 'test_token' ,
5252 me_account : "@me" ,
You can’t perform that action at this time.
0 commit comments