From e48692ee460bf49e736405af2d7d799de6b3b530 Mon Sep 17 00:00:00 2001 From: Eric Henderson Date: Sat, 26 Jul 2014 13:57:43 -0400 Subject: [PATCH] add "Using MemoryTamer" to the Support menu --- README.md | 2 ++ Rakefile | 4 ++-- app/app_delegate.rb | 3 +++ app/menu.rb | 2 ++ appcast.xml | 9 +++++++++ 5 files changed, 18 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 85dca02..b439937 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,7 @@ A RubyMotion application for keeping memory usage in check. Shows up in the men * **v0.7.4:** fix a bug in the plain allocation freeing method * **v0.7.5:** show version in menu and add a link to file a ticket * **v0.7.6:** update icon +* **v0.7.7:** add "Using MemoryTamer" to the Support menu ###Versions (code-signed with developer ID): * **v0.3:** (Mavericks-only) @@ -42,3 +43,4 @@ A RubyMotion application for keeping memory usage in check. Shows up in the men * **v0.7.4:** * **v0.7.5:** * **v0.7.6:** +* **v0.7.7:** diff --git a/Rakefile b/Rakefile index 015d611..4d710a3 100644 --- a/Rakefile +++ b/Rakefile @@ -27,8 +27,8 @@ Motion::Project::App.setup do |app| app.icon = 'Icon.icns' app.info_plist['CFBundleIconFile'] = 'Icon.icns' app.name = 'MemoryTamer' - app.version = '0.7.6' - app.short_version = '0.7.6' + app.version = '0.7.7' + app.short_version = '0.7.7' app.identifier = 'us.myepg.MemoryTamer' app.info_plist['NSUIElement'] = 1 app.info_plist['SUFeedURL'] = 'https://raw.githubusercontent.com/henderea/MemoryTamer/master/appcast.xml' diff --git a/app/app_delegate.rb b/app/app_delegate.rb index fa51a38..c2694b9 100644 --- a/app/app_delegate.rb +++ b/app/app_delegate.rb @@ -94,6 +94,9 @@ def applicationDidFinishLaunching(notification) MainMenu[:support].subscribe(:support_ticket) { |_, _| open_link('https://github.com/henderea/MemoryTamer/issues/new') } + MainMenu[:support].subscribe(:support_usage) { |_, _| + open_link('https://github.com/henderea/MemoryTamer/blob/master/USING.md') + } set_all_displays MainMenu[:statusbar].items[:status_version][:title] = "Current Version: #{NSBundle.mainBundle.infoDictionary['CFBundleVersion']}" NSUserNotificationCenter.defaultUserNotificationCenter.setDelegate(self) if @has_nc diff --git a/app/menu.rb b/app/menu.rb index 9d81909..6f99cf1 100644 --- a/app/menu.rb +++ b/app/menu.rb @@ -33,6 +33,7 @@ def self.def_items menuItem :status_support, 'Support', submenu: :support menuItem :support_ticket, 'Submit bug or feature request' + menuItem :support_usage, 'Using MemoryTamer' end def self.def_menus @@ -89,6 +90,7 @@ def self.def_menus menu(:support, 'Support') { support_ticket + support_usage } end diff --git a/appcast.xml b/appcast.xml index 603f5f2..275a200 100755 --- a/appcast.xml +++ b/appcast.xml @@ -5,6 +5,15 @@ https://raw.githubusercontent.com/henderea/MemoryTamer/master/appcast.xml Most recent changes with links to updates. en + + Version 0.7.7 + + http://releases.io/henderea/MemoryTamer/0.7.7?heading=true + + Sat, 26 Jul 2014 14:00:00 -0400 + + 10.7 + Version 0.7.6