israkel 0.2.8 → 0.2.9

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -30,13 +30,13 @@ You will need to install the gem:
30
30
  and then your `Rakefile` in your project might look like:
31
31
 
32
32
  require 'israkel'
33
- ISRakel::Tasks.new
33
+ ISRakel::Tasks.instance
34
34
 
35
35
  That's it. After that you can just run `rake -T` to list the available tasks.
36
36
 
37
37
  You can also change the default prefix `simulator`:
38
38
 
39
- ISRakel::Tasks.new do |i|
39
+ ISRakel::Tasks.instance do |i|
40
40
  i.name = 'ios'
41
41
  end
42
42
 
@@ -45,7 +45,7 @@ You can also change the default prefix `simulator`:
45
45
  There are binary plist files that you can edit with your custom rake
46
46
  tasks to change some settings:
47
47
 
48
- i = ISRakel::Tasks.new
48
+ i = ISRakel::Tasks.instance
49
49
  desc "Change keyboard preferences"
50
50
  task :set_keyboard_preferences do
51
51
  i.edit_preferences do |p|
@@ -67,7 +67,7 @@ the same, just edits a different file.
67
67
  Allowing GPS access upfront can be required because it's not possible
68
68
  to use KIF to tap on the OK button the the GPS access alert view.
69
69
 
70
- i = ISRakel::Tasks.new
70
+ i = ISRakel::Tasks.instance
71
71
  desc "Allow GPS access"
72
72
  task :allow_gps_access do
73
73
  i.allow_gps_access("com.plu.FooApp")
data/Rakefile CHANGED
@@ -13,7 +13,7 @@ Jeweler::Tasks.new do |gem|
13
13
  end
14
14
  Jeweler::RubygemsDotOrgTasks.new
15
15
 
16
- i = ISRakel::Tasks.new
16
+ i = ISRakel::Tasks.instance
17
17
  desc "Change keyboard preferences"
18
18
  task :set_keyboard_preferences do
19
19
  i.edit_preferences do |p|
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.8
1
+ 0.2.9
data/israkel.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "israkel"
8
- s.version = "0.2.8"
8
+ s.version = "0.2.9"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Johannes Plunien", "Stefan Munz"]
12
- s.date = "2013-05-31"
12
+ s.date = "2013-06-19"
13
13
  s.description = "Collection of common rake tasks for the iPhone Simulator like start/stop and some more."
14
14
  s.email = ["johannes.plunien@xing.com", "stefan.munz@xing.com"]
15
15
  s.extra_rdoc_files = [
data/lib/israkel/tasks.rb CHANGED
@@ -7,6 +7,7 @@ require 'rake/tasklib'
7
7
  module ISRakel
8
8
  class Tasks < ::Rake::TaskLib
9
9
  include ::Rake::DSL if defined?(::Rake::DSL)
10
+ include Singleton
10
11
 
11
12
  attr_accessor :name, :sdk_version
12
13
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: israkel
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.8
4
+ version: 0.2.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-05-31 00:00:00.000000000 Z
13
+ date: 2013-06-19 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: highline