appium_console 0.3.6 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/appium_console.gemspec +0 -1
- data/lib/appium_console.rb +1 -38
- data/lib/appium_console/version.rb +2 -2
- data/osx.md +7 -3
- data/readme.md +1 -0
- data/release_notes.md +31 -0
- metadata +2 -16
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MjMzNjRmMDhlNDJiYmY2YTFiMzg5MGQ5ZjQ1NWE3YjU1YzE2Nzc4Nw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
OTg5ODZmNDhkNTBkYWRjN2MyMGNjNGY0MzNkYTMyMzNiNWYxNTM5Nw==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NTQzOWFhMzdmZThlZmU1ZDVmZWU1YTc5NTFjYzA3MTI4NDRmMTk0MDQ1Yjg5
|
10
|
+
ZjMyOTM2ZTdkNzllMzQ4NGJiZWVmYWExNjNlYjM1MDcxZjBjYTAzNWZkNGRk
|
11
|
+
NTkxZTg5Njk2YjA5YjJjYmU1MmY1YTY2YTU4N2NjYTY0MGJmZGM=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZWNkOTNlYjhmMjIxMjVmN2IxMzg4MWUzMTEwYTI4MzNmMWM4MDk1YzE0NzUy
|
14
|
+
Y2Y1MWMwNzQ0ODY1ZDZiYzVlY2Y0YTY0MTM0YzdlYjRkNWYxMGNkNTUyZGI4
|
15
|
+
Mjg4ZDI1YjE3ODNiM2U1NTU2MDRlZGUwMzI4YTNiYmJiN2EwNzQ=
|
data/appium_console.gemspec
CHANGED
@@ -26,7 +26,6 @@ Gem::Specification.new do |s|
|
|
26
26
|
# appium_lib version must match ruby console version.
|
27
27
|
s.add_runtime_dependency 'appium_lib', '>= 0.3.13'
|
28
28
|
s.add_runtime_dependency 'pry', '~> 0.9.12.2'
|
29
|
-
s.add_runtime_dependency 'toml', '~> 0.0.4'
|
30
29
|
s.add_development_dependency 'rake', '~> 10.0.4'
|
31
30
|
|
32
31
|
s.executables = [ 'arc' ]
|
data/lib/appium_console.rb
CHANGED
@@ -6,45 +6,8 @@ require 'pry'
|
|
6
6
|
module Appium; end unless defined? Appium
|
7
7
|
|
8
8
|
module Appium::Console
|
9
|
-
# Check for env vars in .txt
|
10
|
-
toml = File.join Dir.pwd, 'appium.txt'
|
11
|
-
|
12
|
-
class Env
|
13
|
-
def initialize data
|
14
|
-
@data = data
|
15
|
-
end
|
16
|
-
|
17
|
-
def update *args
|
18
|
-
args.each do |name|
|
19
|
-
var = @data[name]
|
20
|
-
ENV[name] = var if var
|
21
|
-
end
|
22
|
-
end
|
23
|
-
end
|
24
|
-
|
25
|
-
if File.exists? toml
|
26
|
-
require 'toml'
|
27
|
-
require 'ap'
|
28
|
-
puts "Loading #{toml}"
|
29
|
-
|
30
|
-
# bash requires A="OK"
|
31
|
-
# toml requires A = "OK"
|
32
|
-
#
|
33
|
-
# A="OK" => A = "OK"
|
34
|
-
data = File.read(toml).gsub /([^\s])\=(")/, "\\1 = \\2"
|
35
|
-
data = TOML::Parser.new(data).parsed
|
36
|
-
ap data
|
37
|
-
|
38
|
-
env = Env.new data
|
39
|
-
env.update 'APP_PATH', 'APP_APK', 'APP_PACKAGE',
|
40
|
-
'APP_ACTIVITY', 'APP_WAIT_ACTIVITY',
|
41
|
-
'SELENDROID'
|
42
|
-
|
43
|
-
# Ensure app path is absolute
|
44
|
-
ENV['APP_PATH'] = File.expand_path ENV['APP_PATH'] if ENV['APP_PATH']
|
45
|
-
end
|
46
|
-
|
47
9
|
require 'appium_lib'
|
10
|
+
load_appium_txt file: Dir.pwd + '/appium.txt'
|
48
11
|
|
49
12
|
start = File.expand_path '../start.rb', __FILE__
|
50
13
|
cmd = ['-r', start]
|
@@ -2,6 +2,6 @@
|
|
2
2
|
# Define Appium module so version can be required directly.
|
3
3
|
module Appium; end unless defined? Appium
|
4
4
|
module Appium::Console
|
5
|
-
VERSION = '0.
|
6
|
-
DATE = '2013-05-
|
5
|
+
VERSION = '0.5.0' unless defined? ::Appium::Console::VERSION
|
6
|
+
DATE = '2013-05-24' unless defined? ::Appium::Console::DATE
|
7
7
|
end
|
data/osx.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
#### Getting Started
|
2
2
|
|
3
|
-
This document is written for OS X 10.8.3 or better. iOS testing requires OS X. Android testing
|
3
|
+
This document is written for OS X 10.8.3 or better. iOS testing requires OS X. Android testing works on OS X, Windows, and Linux.
|
4
4
|
|
5
5
|
Install `Xcode` from the Mac app store and the command line build tools (Xcode -> Preferences -> Downloads).
|
6
6
|
|
@@ -36,6 +36,10 @@ gem uninstall -aIx appium_console ;\
|
|
36
36
|
gem install --no-rdoc --no-ri appium_console
|
37
37
|
```
|
38
38
|
|
39
|
+
- Install [brew](http://mxcl.github.io/homebrew/)
|
40
|
+
|
41
|
+
`ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"`
|
42
|
+
|
39
43
|
- Install [nodejs](http://nodejs.org/) using brew.
|
40
44
|
|
41
45
|
```
|
@@ -61,7 +65,7 @@ grunt-cli v0.1.6
|
|
61
65
|
grunt v0.4.1
|
62
66
|
```
|
63
67
|
|
64
|
-
- Install [ant](http://ant.apache.org/)
|
68
|
+
- Install [ant](http://ant.apache.org/) if it's not already installed.
|
65
69
|
- Install [maven](http://maven.apache.org/download.cgi) if it's not already installed.
|
66
70
|
|
67
71
|
```
|
@@ -124,7 +128,7 @@ If there are any problems viewing or downloading the packages, go to `Packages -
|
|
124
128
|
|
125
129
|
![](img/avd_settings.png)
|
126
130
|
|
127
|
-
- Check that `hax is working`
|
131
|
+
- Check that `hax is working` If it's not, install hax [directly from Intel](http://software.intel.com/en-us/articles/intel-hardware-accelerated-execution-manager)
|
128
132
|
|
129
133
|
![](img/hax.png)
|
130
134
|
|
data/readme.md
CHANGED
@@ -79,6 +79,7 @@ Reset Appium after pulling the latest changes.
|
|
79
79
|
|
80
80
|
#### Documentation
|
81
81
|
|
82
|
+
- [Installing Appium on OS X](https://github.com/appium/ruby_console/blob/master/osx.md)
|
82
83
|
- [Overview ](https://github.com/appium/ruby_lib/blob/master/docs/docs.md)
|
83
84
|
- [Android methods](https://github.com/appium/ruby_lib/blob/master/docs/android_docs.md)
|
84
85
|
- [iOS methods](https://github.com/appium/ruby_lib/blob/master/docs/ios_docs.md)
|
data/release_notes.md
CHANGED
@@ -1,3 +1,34 @@
|
|
1
|
+
#### v0.3.6 2013-05-20
|
2
|
+
|
3
|
+
- [20508c2](https://github.com/appium/ruby_console/commit/20508c2ed00edb3ae1260fe1b0f4b61206658631) Release 0.3.6
|
4
|
+
- [4004daa](https://github.com/appium/ruby_console/commit/4004daa8b388c07599e94c063e327a8e89472980) Fix relative paths
|
5
|
+
- [73f9713](https://github.com/appium/ruby_console/commit/73f97136ce903f72292e0e1eb9a318cbb37a1b78) Update osx.md
|
6
|
+
- [cfbc702](https://github.com/appium/ruby_console/commit/cfbc702e4c35dc070bdcf5ccf279b713c76f0a87) Update osx.md
|
7
|
+
- [a3a52b2](https://github.com/appium/ruby_console/commit/a3a52b24c078253d5809b7ab064f45400ec56368) Update osx.md
|
8
|
+
- [f228d61](https://github.com/appium/ruby_console/commit/f228d61a8285bcd973fb9c58c3511c549580d639) Appium works on Windows now
|
9
|
+
- [966ed66](https://github.com/appium/ruby_console/commit/966ed661a6e3bb820a6d111fc85b0127cc0bbe1e) Avoid sudo
|
10
|
+
- [311790d](https://github.com/appium/ruby_console/commit/311790ddb530d80b5c1bb550bf6467c0b4b7e6b6) Fix release notes
|
11
|
+
- [37f8a15](https://github.com/appium/ruby_console/commit/37f8a15b3025c3c1676a271574a3587cce749f00) Update documentation links
|
12
|
+
- [f92bdbb](https://github.com/appium/ruby_console/commit/f92bdbb09554c21617fa3cb6a8778fdd81a87b07) Move docs.md to ruby_lib
|
13
|
+
- [41a6201](https://github.com/appium/ruby_console/commit/41a6201fb1c59d4bb97755a794465073e33b5102) Update osx.md
|
14
|
+
- [7289300](https://github.com/appium/ruby_console/commit/728930003b287d135662994dfbb10ee12d8971ee) Update osx.md
|
15
|
+
- [082ecd5](https://github.com/appium/ruby_console/commit/082ecd573cf4606ee648b4211664ff459050c9d5) Update gemspec
|
16
|
+
- [141c8c5](https://github.com/appium/ruby_console/commit/141c8c51f8d1373180dd53ddb56ea719b59b63fc) Recommend 10.8
|
17
|
+
- [435f2ca](https://github.com/appium/ruby_console/commit/435f2ca8226c3e6ed4380e1a2c640cd151120aa6) Update osx.md
|
18
|
+
- [18e60d6](https://github.com/appium/ruby_console/commit/18e60d629ac6f3423201fbe313075db32a690fea) Update osx.md
|
19
|
+
- [a352466](https://github.com/appium/ruby_console/commit/a3524662e702af984f1c8dff42ddbc20914cd39f) Update osx.md
|
20
|
+
- [231c4c9](https://github.com/appium/ruby_console/commit/231c4c9cd98353593137db01781bb22113b8ae35) Update osx.md
|
21
|
+
- [f3c2034](https://github.com/appium/ruby_console/commit/f3c2034a6103305ae6e1ccdd9a1ca8df16ac00f5) Update osx.md
|
22
|
+
- [82bc3d1](https://github.com/appium/ruby_console/commit/82bc3d17f7451edcba3bde414a82044dbf5bcd38) Update osx.md
|
23
|
+
- [0dc828e](https://github.com/appium/ruby_console/commit/0dc828e3770b49f522e9f8f6d42ba7fe1639888f) Update osx.md
|
24
|
+
- [76a0423](https://github.com/appium/ruby_console/commit/76a042322e76e5f57632ee6d610933981bcc18fc) Update osx.md
|
25
|
+
- [8e53c8d](https://github.com/appium/ruby_console/commit/8e53c8d374e0e80828a7c32fc3d2a43833736863) Add bash profile
|
26
|
+
- [b26abdd](https://github.com/appium/ruby_console/commit/b26abdda75b7b9a3728d3cf975eff9fe9384ff2b) Update osx.md
|
27
|
+
- [00a066f](https://github.com/appium/ruby_console/commit/00a066f0577492de3ab0d413f1242c547c93da7f) Update osx.md
|
28
|
+
- [14cae88](https://github.com/appium/ruby_console/commit/14cae889ce471d47e400ef4025635d6949c6799e) Update osx.md
|
29
|
+
- [bdb9aaa](https://github.com/appium/ruby_console/commit/bdb9aaabe8cd07fc516dc19909fd43323179ea03) Update osx.md
|
30
|
+
|
31
|
+
|
1
32
|
#### v0.3.5 2013-05-06
|
2
33
|
|
3
34
|
- [b031b60](https://github.com/appium/ruby_console/commit/b031b60276b01e86a649cd8db8b250f3d52da9cc) Release 0.3.5
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: appium_console
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- code@bootstraponline.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-05-
|
11
|
+
date: 2013-05-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: appium_lib
|
@@ -38,20 +38,6 @@ dependencies:
|
|
38
38
|
- - ~>
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 0.9.12.2
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: toml
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - ~>
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: 0.0.4
|
48
|
-
type: :runtime
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - ~>
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: 0.0.4
|
55
41
|
- !ruby/object:Gem::Dependency
|
56
42
|
name: rake
|
57
43
|
requirement: !ruby/object:Gem::Requirement
|