From ea6733bcb62062d62a49aa1d12ff6d312e9188ab Mon Sep 17 00:00:00 2001 From: Julien Blanchard Date: Sun, 29 Oct 2017 19:18:19 +0100 Subject: [PATCH] Update URLs --- README.markdown | 4 ++-- Ruby/README.markdown | 8 ++++---- Ruby/Rakefile | 2 +- Ruby/lib/terminal-notifier.rb | 7 ++++--- .../xcshareddata/Terminal Notifier.xccheckout | 4 ++-- Terminal Notifier/AppDelegate.m | 2 +- 6 files changed, 14 insertions(+), 13 deletions(-) diff --git a/README.markdown b/README.markdown index 0faf7fc..3fc2328 100644 --- a/README.markdown +++ b/README.markdown @@ -19,10 +19,10 @@ which are available on macOS 10.10 and higher. ## Download Prebuilt binaries are available from the -[releases section](https://github.com/alloy/terminal-notifier/releases). +[releases section](https://github.com/julienXX/terminal-notifier/releases). Or if you want to use this from -[Ruby](https://github.com/alloy/terminal-notifier/tree/master/Ruby), you can +[Ruby](https://github.com/julienXX/terminal-notifier/tree/master/Ruby), you can install it through RubyGems: ``` diff --git a/Ruby/README.markdown b/Ruby/README.markdown index bdb8d73..5ac2358 100644 --- a/Ruby/README.markdown +++ b/Ruby/README.markdown @@ -22,7 +22,7 @@ Examples are: TerminalNotifier.notify('Hello World') TerminalNotifier.notify('Hello World', :title => 'Ruby', :subtitle => 'Programming Language') TerminalNotifier.notify('Hello World', :activate => 'com.apple.Safari') -TerminalNotifier.notify('Hello World', :open => 'http://twitter.com/alloy') +TerminalNotifier.notify('Hello World', :open => 'http://twitter.com/julienXX') TerminalNotifier.notify('Hello World', :execute => 'say "OMG"') TerminalNotifier.notify('Hello World', :group => Process.pid) TerminalNotifier.notify('Hello World', :sender => 'com.apple.Safari') @@ -43,6 +43,6 @@ copyright of Apple. See [LICENSE][LICENSE] for details. -[HOMEPAGE]: https://github.com/alloy/terminal-notifier -[README]: https://github.com/alloy/terminal-notifier/blob/master/README.markdown -[LICENSE]: https://github.com/alloy/terminal-notifier/blob/master/Ruby/LICENSE +[HOMEPAGE]: https://github.com/julienXX/terminal-notifier +[README]: https://github.com/julienXX/terminal-notifier/blob/master/README.markdown +[LICENSE]: https://github.com/julienXX/terminal-notifier/blob/master/Ruby/LICENSE diff --git a/Ruby/Rakefile b/Ruby/Rakefile index 7afc6d3..d00bc34 100644 --- a/Ruby/Rakefile +++ b/Ruby/Rakefile @@ -21,7 +21,7 @@ end desc 'Fetch latest build from the GitHub releases' task :update_build do unless File.exist?(zipfile) - sh "curl -L -O 'https://github.com/alloy/terminal-notifier/archive/#{zipfile}'" + sh "curl -L -O 'https://github.com/julienXX/terminal-notifier/archive/#{zipfile}'" end rm_rf 'vendor' diff --git a/Ruby/lib/terminal-notifier.rb b/Ruby/lib/terminal-notifier.rb index 6d6f683..a9d24ee 100644 --- a/Ruby/lib/terminal-notifier.rb +++ b/Ruby/lib/terminal-notifier.rb @@ -1,3 +1,4 @@ +# coding: utf-8 require 'shellwords' require 'rbconfig' @@ -60,13 +61,13 @@ def notify_result(result, options, always_string = false) end end module_function :notify_result - + # Sends a User Notification and returns whether or not it was a success. # # The available options are `:title`, `:group`, `:activate`, `:open`, # `:execute`, `:sender`, and `:sound`. For a description of each option see: # - # https://github.com/alloy/terminal-notifier/blob/master/README.markdown + # https://github.com/julienXX/terminal-notifier/blob/master/README.markdown # # Examples are: # @@ -74,7 +75,7 @@ def notify_result(result, options, always_string = false) # TerminalNotifier.notify('Hello World', :title => 'Ruby') # TerminalNotifier.notify('Hello World', :group => Process.pid) # TerminalNotifier.notify('Hello World', :activate => 'com.apple.Safari') - # TerminalNotifier.notify('Hello World', :open => 'http://twitter.com/alloy') + # TerminalNotifier.notify('Hello World', :open => 'http://twitter.com/julienXX') # TerminalNotifier.notify('Hello World', :execute => 'say "OMG"') # TerminalNotifier.notify('Hello World', :sender => 'com.apple.Safari') # TerminalNotifier.notify('Hello World', :sound => 'default') diff --git a/Terminal Notifier.xcodeproj/project.xcworkspace/xcshareddata/Terminal Notifier.xccheckout b/Terminal Notifier.xcodeproj/project.xcworkspace/xcshareddata/Terminal Notifier.xccheckout index 6ac13ae..34bf73e 100644 --- a/Terminal Notifier.xcodeproj/project.xcworkspace/xcshareddata/Terminal Notifier.xccheckout +++ b/Terminal Notifier.xcodeproj/project.xcworkspace/xcshareddata/Terminal Notifier.xccheckout @@ -11,7 +11,7 @@ IDESourceControlProjectOriginsDictionary 9F67DD19109869B0F5A85172DA9B0D3E8F7EF383 - github.com:alloy/terminal-notifier.git + github.com:julienXX/terminal-notifier.git IDESourceControlProjectPath Terminal Notifier.xcodeproj @@ -21,7 +21,7 @@ ../.. IDESourceControlProjectURL - github.com:alloy/terminal-notifier.git + github.com:julienXX/terminal-notifier.git IDESourceControlProjectVersion 111 IDESourceControlProjectWCCIdentifier diff --git a/Terminal Notifier/AppDelegate.m b/Terminal Notifier/AppDelegate.m index 1d81796..85f4fb7 100644 --- a/Terminal Notifier/AppDelegate.m +++ b/Terminal Notifier/AppDelegate.m @@ -105,7 +105,7 @@ - (void)printHelpBanner; "Note that in some circumstances the first character of a message has to be escaped in order to be recognized.\n" \ "An example of this is when using an open bracket, which has to be escaped like so: ‘\\[’.\n" \ "\n" \ - "For more information see https://github.com/alloy/terminal-notifier.\n", + "For more information see https://github.com/julienXX/terminal-notifier.\n", appName, appVersion, appName); }