Skip to content

Commit

Permalink
add "Using MemoryTamer" to the Support menu
Browse files Browse the repository at this point in the history
  • Loading branch information
henderea committed Jul 26, 2014
1 parent 62c4c43 commit e48692e
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 2 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:** <http://memorytamer.s3.amazonaws.com/MemoryTamer-0.3.zip> (Mavericks-only)
Expand All @@ -42,3 +43,4 @@ A RubyMotion application for keeping memory usage in check. Shows up in the men
* **v0.7.4:** <http://memorytamer.s3.amazonaws.com/MemoryTamer-0.7.4.zip>
* **v0.7.5:** <http://memorytamer.s3.amazonaws.com/MemoryTamer-0.7.5.zip>
* **v0.7.6:** <https://memorytamer.s3.amazonaws.com/MemoryTamer-0.7.6.zip>
* **v0.7.7:** <https://memorytamer.s3.amazonaws.com/MemoryTamer-0.7.7.zip>
4 changes: 2 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
3 changes: 3 additions & 0 deletions app/app_delegate.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions app/menu.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -89,6 +90,7 @@ def self.def_menus

menu(:support, 'Support') {
support_ticket
support_usage
}
end

Expand Down
9 changes: 9 additions & 0 deletions appcast.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@
<link>https://raw.githubusercontent.com/henderea/MemoryTamer/master/appcast.xml</link>
<description>Most recent changes with links to updates.</description>
<language>en</language>
<item>
<title>Version 0.7.7</title>
<sparkle:releaseNotesLink>
http://releases.io/henderea/MemoryTamer/0.7.7?heading=true
</sparkle:releaseNotesLink>
<pubDate>Sat, 26 Jul 2014 14:00:00 -0400</pubDate>
<enclosure url="http://memorytamer.s3.amazonaws.com/MemoryTamer-0.7.7.zip" sparkle:version="0.7.7" length="4554041" type="application/octet-stream" />
<sparkle:minimumSystemVersion>10.7</sparkle:minimumSystemVersion>
</item>
<item>
<title>Version 0.7.6</title>
<sparkle:releaseNotesLink>
Expand Down

0 comments on commit e48692e

Please sign in to comment.