appium_console 1.0.2 → 1.0.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fa9e9c03f4e2e97291c4caf522279e043527f9a9
4
- data.tar.gz: ee64327e9328fcef46fe11661a13791cfcdf5c04
3
+ metadata.gz: 790d7415537fb189e3c909d63c75643a8ac0b8a4
4
+ data.tar.gz: 081109c12c071c145e42c02a3fae2d01be59841f
5
5
  SHA512:
6
- metadata.gz: bc20a64e794a2b115912dfd8ce8b13df8422bb0a79e7c5aa4f2fd489b9b8a936546d45b8e3937a015a4dd003e14e61ad4d68699621db62ebfda5ca8dbc8e4706
7
- data.tar.gz: d051f8dc9e9c13a6128bd475799f166349803ff67eab1f52257f9dc7a24d3d0a3f13c4ee0cae42228a0ac6e70dbcd51e61f4764954f2c8e6a5efc00230457fcb
6
+ metadata.gz: 6c749006f38cd79919d1317959b2641024498dde714a1b1cd16b068a091bcc295db8ccb82d5048fb91c7877d9e4dd0cca87035efab1f839c6d8ed6d8456a6c7a
7
+ data.tar.gz: 42882f960fa1d61dd47f1d9f5fd229c63afc868fd06099da2834114a5435709dafe9732cfe5e1fbf261d46b3c2c6ae3906dea262b9736b2b76ff8cc322822db2
@@ -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 = '1.0.2' unless defined? ::Appium::Console::VERSION
6
- DATE = '2014-12-08' unless defined? ::Appium::Console::DATE
5
+ VERSION = '1.0.3' unless defined? ::Appium::Console::VERSION
6
+ DATE = '2014-12-23' unless defined? ::Appium::Console::DATE
7
7
  end
data/lib/start.rb CHANGED
@@ -14,6 +14,7 @@ if $driver.nil?
14
14
  new_command_timeout = { caps: { newCommandTimeout: 999_999 }.merge(opts[:caps] || {}) }
15
15
  opts = opts.merge(new_command_timeout)
16
16
  Appium::Driver.new(opts).start_driver
17
+ Appium.promote_appium_methods Object
17
18
  end
18
19
 
19
20
  # Load minitest
data/readme.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  - [appium_console on RubyGems](https://rubygems.org/gems/appium_console)
4
4
 
5
+ #### How to use
6
+
7
+ Read the [bootcamp guide on the ruby console](https://saucelabs.com/resources/appium-bootcamp/appium-bootcamp-2013-chapter-2-the-console).
8
+
5
9
  #### Update system
6
10
 
7
11
  Paste the following into Terminal. If you're not using [RVM](https://rvm.io/), you may have to prefix gem commands with sudo.
@@ -28,20 +32,7 @@ The bond gem is necessary for proper auto complete. Installing it will fix this
28
32
 
29
33
  If `appium_console` is already installed, run `arc upgrade` to automatically update.
30
34
 
31
- #### Update Appium
32
-
33
- To update `appium` from source (assuming node.js requires sudo):
34
-
35
- Clone appium if you haven't already.
36
-
37
- `git clone git@github.com:appium/appium.git`
38
-
39
- then in the `appium` folder:
40
-
41
- ```bash
42
- git pull ;\
43
- sudo ./reset.sh ; ./reset.sh
44
- ```
35
+ #### Notes
45
36
 
46
37
  You should uninstall the `ap` gem because it breaks awesome_print.
47
38
 
@@ -56,34 +47,6 @@ The `arc` command starts Appium Ruby Console.
56
47
  - `arc setup android` creates `appium.txt` for android in the current working dir.
57
48
  - `arc setup ios` creates `appium.txt` for ios in the current working dir.
58
49
 
59
- Ruby 1.9.3 and Appium from GitHub are required. Run Appium from source.
60
-
61
- `node server.js -V --fast-reset`
62
-
63
- For OS X, export the path to your .app bundle `MyApp.app` or zipped app bundle `MyApp.app.zip`
64
-
65
- `export APP_PATH="../MyApp.app"`
66
-
67
- For Android:
68
-
69
- `APP_ACTIVITY` is the activity to start the app with.
70
- `APP_WAIT_ACTIVITY` is the activity to wait for before considering the app as having been started.
71
-
72
- ```
73
- export APP_PATH="/path/to/my.apk" ;\
74
- export APP_PACKAGE="com.my.Pkg" ;\
75
- export APP_ACTIVITY="StartActivity" ;\
76
- export APP_WAIT_ACTIVITY="SplashActivity"
77
- ```
78
-
79
- You may want to define the environment variables in `~/.bash_profile` so you don't have to export them again.
80
-
81
- #### Reset Appium
82
-
83
- Reset Appium after pulling the latest changes.
84
-
85
- `$ ./reset.sh`
86
-
87
50
  #### Documentation
88
51
 
89
52
  - [Installing Appium on OS X](https://github.com/appium/ruby_console/blob/master/osx.md)
data/release_notes.md CHANGED
@@ -1,3 +1,12 @@
1
+ #### v1.0.1 2014-06-13
2
+
3
+ - [5a89125](https://github.com/appium/ruby_console/commit/5a89125ba71115f23ac55e9b7507a1f0dda52cc3) Release 1.0.2
4
+ - [01e14b9](https://github.com/appium/ruby_console/commit/01e14b93435edd23f09fce0a9b8c55acc2772e14) Fix toml generation
5
+ - [cd26d98](https://github.com/appium/ruby_console/commit/cd26d9866aeb1c76a3164ca744a5af4b9df23b8d) Merge pull request #41 from GokhanArik/master
6
+ - [0acd1cb](https://github.com/appium/ruby_console/commit/0acd1cbd3f837a34e6092b340e725d5a8020ca80) Variable names in sample appium.txt file for Android updated
7
+ - [1d5b46a](https://github.com/appium/ruby_console/commit/1d5b46ad174c0815ecb5e385339e6859c0ce2d00) Update readme.md
8
+
9
+
1
10
  #### v1.0.0 2014-04-29
2
11
 
3
12
  - [c68f766](https://github.com/appium/ruby_console/commit/c68f7664b07010679c4a3ba780ad2dc95499076f) Release 1.0.1
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: 1.0.2
4
+ version: 1.0.3
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: 2014-12-08 00:00:00.000000000 Z
11
+ date: 2014-12-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: appium_lib
@@ -144,3 +144,4 @@ signing_key:
144
144
  specification_version: 4
145
145
  summary: Appium Ruby Console
146
146
  test_files: []
147
+ has_rdoc: