Love babushka, but I'm having trouble trying to install Sublime Text 2 with the .app meta. I define my dep like this:
dep 'Sublime Text
2.app' do
end
The problem appears to be with the way they name their dmg as "Sublime Text 2.0.1.dmg" instead of just "Sublime Text 2.dmg". I think babushka is getting confused because it's trying to parse a version number when "Sublime Text 2" is the name of the app itself. (See error message below)
So I'm wondering if there's currently a way to tell babushka not to use the filename in the source as the name of the app, or a way to tell babushka they differ? I tried using provides, but I don't think that solves the same problem. I can help fix this, but need to understand if I'm even using it right first.
(defining Sublime Text
2.app against app)
$ uname -s
Darwin
$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.7.4
BuildVersion: 11E53
setup not defined.
VersionStr.new('Text
2.app'): couldn't parse a version number.
Check /Users/peter/.babushka/deps/sublime_text_2.rb.
/usr/local/babushka/lib/babushka/version_str.rb:21:in `initialize'
/usr/local/babushka/lib/babushka/core_patches/string.rb:85:in `new'
/usr/local/babushka/lib/babushka/core_patches/string.rb:85:in `to_version'
/usr/local/babushka/lib/babushka/version_of.rb:43:in `initialize'
/usr/local/babushka/lib/babushka/version_of.rb:12:in `new'
/usr/local/babushka/lib/babushka/version_of.rb:12:in `VersionOf'