Sha256: 3c8cd672eeb6b2cb993bf71656b71f47bc9a0fb8214a1f25df0beae81f7f1184
Contents?: true
Size: 714 Bytes
Versions: 1
Compression:
Stored size: 714 Bytes
Contents
require 'shuhari' module Shuhari module PlatformGems protected def osx_gems unix_gems + [ "gem 'growl'", "# gem 'growl_notify'", "# gem 'ruby_gntp'", "gem 'rb-fsevent'" ] end def linux_gems unix_gems + [ "gem 'libnotify'", "gem 'rb-inotify'" ] end def unix_gems [ "gem 'coolline', :require => false" ] end def windows_gems [ "gem 'rb-notifu'", "gem 'win32console'", "gem 'wdm'" ] end def platform_gems case Platform.os when :osx then osx_gems when :linux then linux_gems when :windows then windows_gems else [] end.join "\n " end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
shuhari-0.1.0 | lib/shuhari/platform_gems.rb |