web_console 0.5.9 → 0.5.10
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/start.rb +0 -1
- data/lib/web_console/version.rb +1 -1
- data/readme.md +9 -62
- data/release_notes.md +5 -0
- data/web_console.gemspec +3 -1
- metadata +17 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a81f3832725d9f2c698162578cc9d35f68d333fe
|
4
|
+
data.tar.gz: e79095a3849deef8465844f452fd8b13a47b2f27
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3b64a5d50f95cd68abbb1aa37e80c30bca0a4476957221b1f80892df4726c2fbcd2c7d632f41cb742b345c293eb18fa59a43bb9c7bd6070a9de0e6c3d4dce75f
|
7
|
+
data.tar.gz: 7051fd5c9d3b80755b5b2ad7a4c2700d13668895fe20ecc000f9129bc0c9a2ce984414acf5a4e52e12699b24eaedfdecdee74a8cdb6d2830398192fddd9ddac0
|
data/lib/start.rb
CHANGED
@@ -22,7 +22,6 @@ module Pages; end
|
|
22
22
|
# Pages module is hard coded.
|
23
23
|
def promote_page_object_methods
|
24
24
|
::Pages.constants.each do |class_name|
|
25
|
-
puts "Promoting class_name as method #{class_name.to_s.downcase}"
|
26
25
|
Kernel.send(:define_method, class_name.to_s.downcase) do
|
27
26
|
Pages.const_get(class_name)
|
28
27
|
end
|
data/lib/web_console/version.rb
CHANGED
@@ -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.5.
|
5
|
+
VERSION = '0.5.10' unless defined? ::Appium::Console::VERSION
|
6
6
|
DATE = '2013-12-11' unless defined? ::Appium::Console::DATE
|
7
7
|
end
|
data/readme.md
CHANGED
@@ -1,6 +1,10 @@
|
|
1
|
-
####
|
1
|
+
#### web_console [](http://rubygems.org/gems/web_console)[](https://gemnasium.com/bootstraponline/rubyweb)
|
2
2
|
|
3
|
-
- [
|
3
|
+
- [web_console on RubyGems](https://rubygems.org/gems/appium_console)
|
4
|
+
|
5
|
+
#### Run
|
6
|
+
|
7
|
+
- `rubyweb`
|
4
8
|
|
5
9
|
#### Update system
|
6
10
|
|
@@ -14,66 +18,9 @@ gem update bundler
|
|
14
18
|
#### Install / Upgrade Ruby Console
|
15
19
|
|
16
20
|
```bash
|
17
|
-
gem uninstall -aIx
|
18
|
-
gem uninstall -aIx
|
19
|
-
gem install --no-rdoc --no-ri
|
20
|
-
```
|
21
|
-
|
22
|
-
If `appium_console` is already installed, run `arc upgrade` to automatically update.
|
23
|
-
|
24
|
-
#### Update Appium
|
25
|
-
|
26
|
-
To update `appium` from source (assuming node.js requires sudo):
|
27
|
-
|
28
|
-
Clone appium if you haven't already.
|
29
|
-
|
30
|
-
`git clone git@github.com:appium/appium.git`
|
31
|
-
|
32
|
-
then in the `appium` folder:
|
33
|
-
|
34
|
-
```bash
|
35
|
-
git pull ;\
|
36
|
-
sudo ./reset.sh ; ./reset.sh
|
37
|
-
```
|
38
|
-
|
39
|
-
You should uninstall the `ap` gem because it breaks awesome_print.
|
40
|
-
|
41
|
-
`gem uninstall -aIx ap`
|
42
|
-
|
43
|
-
#### Run
|
44
|
-
|
45
|
-
The `arc` command starts Appium Ruby Console.
|
46
|
-
|
47
|
-
- `arc version` prints the current version of appium console and appium lib.
|
48
|
-
- `arc upgrade` upgrades appium_console and appium_lib.
|
49
|
-
- `arc setup android` creates `appium.txt` for android in the current working dir.
|
50
|
-
- `arc setup ios` creates `appium.txt` for ios in the current working dir.
|
51
|
-
|
52
|
-
Ruby 1.9.3 and Appium from GitHub are required. Run Appium from source.
|
53
|
-
|
54
|
-
`node server.js -V --fast-reset`
|
55
|
-
|
56
|
-
For OS X, export the path to your .app bundle `MyApp.app` or zipped app bundle `MyApp.app.zip`
|
57
|
-
|
58
|
-
`export APP_PATH="../MyApp.app"`
|
59
|
-
|
60
|
-
For Android:
|
61
|
-
|
62
|
-
`APP_ACTIVITY` is the activity to start the app with.
|
63
|
-
`APP_WAIT_ACTIVITY` is the activity to wait for before considering the app as having been started.
|
64
|
-
|
65
|
-
```
|
66
|
-
export APP_PATH="/path/to/my.apk" ;\
|
67
|
-
export APP_PACKAGE="com.my.Pkg" ;\
|
68
|
-
export APP_ACTIVITY="StartActivity" ;\
|
69
|
-
export APP_WAIT_ACTIVITY="SplashActivity"
|
70
|
-
```
|
71
|
-
|
72
|
-
You may want to define the environment variables in `~/.bash_profile` so you don't have to export them again.
|
73
|
-
|
74
|
-
#### Reset Appium
|
75
|
-
|
76
|
-
Reset Appium after pulling the latest changes.
|
21
|
+
gem uninstall -aIx web_console ;\
|
22
|
+
gem uninstall -aIx web_console ;\
|
23
|
+
gem install --no-rdoc --no-ri web_console
|
77
24
|
|
78
25
|
`$ ./reset.sh`
|
79
26
|
|
data/release_notes.md
CHANGED
@@ -0,0 +1,5 @@
|
|
1
|
+
#### v0.5.9 2013-12-11
|
2
|
+
|
3
|
+
- [f4c4eef](https://github.com/appium/web_console/commit/f4c4eef2befc6e7749d860b279887d8e058ac8f1) Release 0.5.9
|
4
|
+
- [7f13e67](https://github.com/appium/web_console/commit/7f13e673eb8aee6bdaf891f3d11fd471fa8374e1) Fix gemspec
|
5
|
+
- [f59edcf](https://github.com/appium/web_console/commit/f59edcf7debd5cff8a26652a1dbf01ecd769fcfd) Update readme.md
|
data/web_console.gemspec
CHANGED
@@ -24,9 +24,11 @@ Gem::Specification.new do |s|
|
|
24
24
|
s.require_paths = [ 'lib' ]
|
25
25
|
|
26
26
|
s.add_runtime_dependency 'selenium-webdriver', '~> 2.38.0'
|
27
|
-
s.add_runtime_dependency 'pry', '= 0.9.12.
|
27
|
+
s.add_runtime_dependency 'pry', '= 0.9.12.4'
|
28
28
|
s.add_runtime_dependency 'spec', '~> 5.0.19'
|
29
29
|
s.add_development_dependency 'rake', '~> 10.1.0'
|
30
|
+
# posix-spawn is used in the Rakefile to interface with git
|
31
|
+
s.add_development_dependency 'posix-spawn', '~> 0.3.8'
|
30
32
|
|
31
33
|
s.executables = [ 'rubyweb' ]
|
32
34
|
s.files = `git ls-files`.split "\n"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: web_console
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- code@bootstraponline.com
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.9.12.
|
33
|
+
version: 0.9.12.4
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.9.12.
|
40
|
+
version: 0.9.12.4
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: spec
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -66,6 +66,20 @@ dependencies:
|
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: 10.1.0
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: posix-spawn
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 0.3.8
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 0.3.8
|
69
83
|
description: Appium Ruby Console.
|
70
84
|
email:
|
71
85
|
- code@bootstraponline.com
|