Sha256: 5634a461e05c547d2483c6e9c82a93a5e3781bdc043f919d325e2bd3d73eac4b

Contents?: true

Size: 1.1 KB

Versions: 3

Compression:

Stored size: 1.1 KB

Contents

$:.unshift "#{File.dirname(__FILE__)}/lib"
require 'jeweler'
require 'israkel'

Jeweler::Tasks.new do |gem|
  gem.name = 'israkel'
  gem.homepage = 'http://github.com/xing/israkel'
  gem.license = 'MIT'
  gem.summary = %Q{Collection of common rake tasks for the iPhone Simulator.}
  gem.description = %Q{Collection of common rake tasks for the iPhone Simulator like start/stop and some more.}
  gem.email = ['johannes.plunien@xing.com', 'stefan.munz@xing.com']
  gem.authors = ['Johannes Plunien', 'Stefan Munz']
end
Jeweler::RubygemsDotOrgTasks.new

i = ISRakel::Tasks.instance
desc "Change keyboard preferences"
task :set_keyboard_preferences do
  i.edit_preferences do |p|
    p.merge!({
      :KeyboardAutocapitalization => false,
      :KeyboardAutocorrection     => false,
      :KeyboardCapsLock           => false,
      :KeyboardCheckSpelling      => false,
      :KeyboardPeriodShortcut     => false,
    })
  end
end

desc "Allow GPS access"
task :allow_gps_access do
  i.allow_gps_access("com.plu.FooApp")
end

desc "Allow Addressbook access"
task :allow_ab_access do
  i.allow_addressbook_access("com.plu.FooApp")
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
israkel-0.4.3 Rakefile
israkel-0.4.1 Rakefile
israkel-0.4.0 Rakefile