run_loop 0.2.1 → 1.0.0.pre3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/run_loop.rb +4 -1
- data/lib/run_loop/core.rb +94 -46
- data/lib/run_loop/device.rb +22 -0
- data/lib/run_loop/plist_buddy.rb +173 -0
- data/lib/run_loop/sim_control.rb +787 -0
- data/lib/run_loop/version.rb +161 -1
- data/lib/run_loop/xctools.rb +184 -0
- data/scripts/calabash.lldb.erb +4 -0
- metadata +179 -29
- data/.gitignore +0 -22
- data/.gitmodules +0 -3
- data/.irbrc +0 -19
- data/CHANGES.txt +0 -1
- data/Gemfile +0 -4
- data/README.md +0 -7
- data/Rakefile +0 -2
- data/build_to_run_loop.sh +0 -2
- data/docs/intro.md +0 -17
- data/irb.sh +0 -2
- data/run_loop.gemspec +0 -22
data/.gitignore
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
*.gem
|
2
|
-
*.rbc
|
3
|
-
.bundle
|
4
|
-
.config
|
5
|
-
coverage
|
6
|
-
out
|
7
|
-
.irb-history
|
8
|
-
InstalledFiles
|
9
|
-
lib/bundler/man
|
10
|
-
pkg
|
11
|
-
rdoc
|
12
|
-
spec/reports
|
13
|
-
test/tmp
|
14
|
-
test/version_tmp
|
15
|
-
tmp
|
16
|
-
Gemfile.lock
|
17
|
-
.idea
|
18
|
-
|
19
|
-
# YARD artifacts
|
20
|
-
.yardoc
|
21
|
-
_yardoc
|
22
|
-
doc/
|
data/.gitmodules
DELETED
data/.irbrc
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
require 'rubygems'
|
2
|
-
require 'irb/completion'
|
3
|
-
require 'irb/ext/save-history'
|
4
|
-
|
5
|
-
ARGV.concat [ "--readline",
|
6
|
-
"--prompt-mode",
|
7
|
-
"simple" ]
|
8
|
-
|
9
|
-
# 25 entries in the list
|
10
|
-
IRB.conf[:SAVE_HISTORY] = 50
|
11
|
-
|
12
|
-
# Store results in home directory with specified file name
|
13
|
-
IRB.conf[:HISTORY_FILE] = ".irb-history"
|
14
|
-
|
15
|
-
require 'run_loop'
|
16
|
-
|
17
|
-
|
18
|
-
@app = "/Users/krukow/github/x-platform-example/ios-source/3.3.1/build/Applications/WordPress.app"
|
19
|
-
|
data/CHANGES.txt
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
1.0.0: Initial release
|
data/Gemfile
DELETED
data/README.md
DELETED
data/Rakefile
DELETED
data/build_to_run_loop.sh
DELETED
data/docs/intro.md
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
What?
|
2
|
-
=====
|
3
|
-
Library for launching iOS apps and controlling various aspects of iOS simulator.
|
4
|
-
|
5
|
-
Use instruments tool for launching and expose certain UI Automation functionality via a "run loop" UIA script.
|
6
|
-
|
7
|
-
Must work as both a command line tool and a ruby library.
|
8
|
-
|
9
|
-
|
10
|
-
Usage
|
11
|
-
=====
|
12
|
-
|
13
|
-
* Run an app using a predefined or custom UIA script
|
14
|
-
|
15
|
-
* Set simulator hardware, os, language, locale
|
16
|
-
|
17
|
-
* Reset simulator
|
data/irb.sh
DELETED
data/run_loop.gemspec
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
2
|
-
$:.push File.expand_path("../lib", __FILE__)
|
3
|
-
require "run_loop/version"
|
4
|
-
|
5
|
-
Gem::Specification.new do |s|
|
6
|
-
s.name = "run_loop"
|
7
|
-
s.version = RunLoop::VERSION
|
8
|
-
s.platform = Gem::Platform::RUBY
|
9
|
-
s.authors = ["Karl Krukow"]
|
10
|
-
s.email = ["karl@lesspainful.com"]
|
11
|
-
s.homepage = "http://calaba.sh"
|
12
|
-
s.summary = %q{Tools related to running Calabash iOS tests}
|
13
|
-
s.description = %q{calabash-cucumber drives tests for native iOS apps. RunLoop provides a number of tools associated with running Calabash tests.}
|
14
|
-
s.files = ["scripts/udidetect"].concat(`git ls-files`.split("\n"))
|
15
|
-
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
16
|
-
s.executables = "run-loop"
|
17
|
-
s.require_paths = ["lib"]
|
18
|
-
|
19
|
-
s.add_dependency( "thor" )
|
20
|
-
s.add_dependency( "json" )
|
21
|
-
#s.add_dependency( "open4", "~> 1.3.0")
|
22
|
-
end
|