README.md in israkel-0.4.3 vs README.md in israkel-1.0.0
- old
+ new
@@ -1,7 +1,14 @@
# ISRakel
+[![Build Status](http://img.shields.io/travis/xing/israkel/master.svg?style=flat-square)](https://travis-ci.org/xing/israkel)
+[![Code Coverage](http://img.shields.io/coveralls/xing/israkel.svg?style=flat-square)](https://coveralls.io/r/xing/israkel)
+[![Dependency Status](https://www.versioneye.com/user/projects/5444b70c53acfa4b0f0000cf/badge.svg?style=flat-square)](https://www.versioneye.com/user/projects/5444b70c53acfa4b0f0000cf)
+[![Code climate](http://img.shields.io/codeclimate/github/xing/israkel.svg?style=flat-square)](https://codeclimate.com/github/xing/israkel)
+[![Gem Version](http://img.shields.io/gem/v/israkel.svg?style=flat-square)](https://rubygems.org/gems/israkel)
+
+
This gem is a collection of rake tasks for maintaining common tasks
for the iPhone Simulator on Mac OS like ...
* Change preferences of the iPhone Simulator
* Change the language of the iPhone Simulator
@@ -60,19 +67,36 @@
end
There's a second method called `edit_global_preferences` which works
the same, just edits a different file.
-## Allow GPS access
+## Authorize access to addressbook, gps and photos
-Allowing GPS access upfront can be required because it's not possible
-to use KIF to tap on the OK button the the GPS access alert view.
+Allowing access upfront can be required because it's not possible
+to use KIF to tap on the OK button of the access alert views.
i = ISRakel::Tasks.instance
- desc "Allow GPS access"
+
+ desc 'Allow AddressBook access'
+ task :allow_addressbook_access do
+ i.allow_addressbook_access('com.xing.App')
+ end
+
+ desc 'Allow GPS access'
task :allow_gps_access do
- i.allow_gps_access("com.plu.FooApp")
+ i.allow_gps_access('com.xing.App')
end
+
+ desc 'Allow Photo Library access'
+ task :allow_photos_access do
+ i.allow_photos_access('com.xing.App')
+ end
+
+Even easier, you don't have to define the rake tasks in your Rakefile.
+There are generic tasks that take the environment variable `BUNDLE_ID`
+into account:
+
+ IOS_SDK_VERSION=7.1 BUNDLE_ID=com.example.apple-samplecode.PhotoPicker rake simulator:allow_photos_access
## Feedback
Please raise issues if you find problems or have a feature request.