appium_capybara 0.1.0 → 0.1.1

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: 6edab193f01c55c877d14ef3f75e94eee19b8984
4
- data.tar.gz: 516a8beca9bba1989a413e7ad16d946663b6a133
3
+ metadata.gz: da99474e5e9d3396f98587cd161f294c0309b420
4
+ data.tar.gz: 1de7f0c60b8c3a521b6efa7d4c0990b6f6b65041
5
5
  SHA512:
6
- metadata.gz: 3f426caf84fd43ee66b88d075ef160d165a69bc6a7b78d265c969df7af66362d9e8929bfb408309fde302a5b741bf3b52641d5edf0bc298edc9b6f6c7dde2ff2
7
- data.tar.gz: 41c64a552d3734197da528b4d2d6885d182bfa989f0796afaea9ed1446dc9c19248da7e264a6b20f49b71272b694af2003590fc88c3391e421624604d93874e5
6
+ metadata.gz: df2e1e256f8c344a7f2ac085fe0a2c5e2d53f07b81fe37a590c283b6e6014a5aaee7cbf333e0dd8ef1f12abf50b16e0536af5a65169d0392f7a7735724d16fe4
7
+ data.tar.gz: 90ac6c6fc0a96ff7dccee5657ad017c063186a626f3c9de26a8bb17440c92d0987133d0b9b8fcee6b10b041f5d1f3db13f3a0c04ca7b61067293b91fc783aea9
@@ -4,6 +4,9 @@ module Appium::Capybara
4
4
  class Appium::Capybara::Driver < Capybara::Selenium::Driver
5
5
 
6
6
  # override
7
+ #
8
+ # Creates and starts a new appium driver.
9
+ # To access the browser without creating one use @browser
7
10
  def browser
8
11
  unless @browser
9
12
  @browser = Appium::Driver.new @options
@@ -61,6 +64,11 @@ module Appium::Capybara
61
64
  browser.driver.rotate opts
62
65
  end
63
66
 
67
+ # override
68
+ def save_screenshot(path)
69
+ browser.screenshot(path)
70
+ end
71
+
64
72
  # new
65
73
  def find_custom(finder, locator)
66
74
  browser.find_elements(finder, locator).map { |node| Appium::Capybara::Node.new(self, node) }
@@ -76,4 +84,4 @@ module Appium::Capybara
76
84
  end
77
85
 
78
86
  end # Appium::Capybara::Driver < Capybara::Selenium::Driver
79
- end # Appium::Capybara
87
+ end # Appium::Capybara
@@ -1,6 +1,6 @@
1
1
  module Appium
2
2
  module Capybara
3
- VERSION = '0.1.0' unless defined? ::Appium::Capybara::VERSION
4
- DATE = '2014-08-08' unless defined? ::Appium::Capybara::DATE
3
+ VERSION = '0.1.1' unless defined? ::Appium::Capybara::VERSION
4
+ DATE = '2014-08-26' unless defined? ::Appium::Capybara::DATE
5
5
  end
6
6
  end
data/release_notes.md CHANGED
@@ -1,3 +1,11 @@
1
+ #### v0.1.1 2014-08-26
2
+
3
+ - [cdc855c](https://github.com/appium/appium_capybara/commit/cdc855c509d514f3bb934d31aff6846e70dddc3b) Release 0.1.1
4
+ - [3529415](https://github.com/appium/appium_capybara/commit/3529415cf0bff0c895e37d19478b4701d22f8bc0) Merge pull request #12 from maudineormsby/fix/screenshot
5
+ - [4a6810e](https://github.com/appium/appium_capybara/commit/4a6810e0b7ca7aa647ee57816969d5d5dcca0369) Make save_screenshot proxy commands to appium_lib screenshot command.
6
+ - [e854518](https://github.com/appium/appium_capybara/commit/e8545180ab31c67236716f5cefd4db33dbd234ec) Add note about browser vs @browser
7
+
8
+
1
9
  #### v0.1.0 2014-08-08
2
10
 
3
11
  - [bdd66a2](https://github.com/appium/appium_capybara/commit/bdd66a2dc3a10fa2f8211b61d3b4ea8ef1315155) Release 0.1.0
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appium_capybara
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - scott.bonebrake@gmail.com
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-08-08 00:00:00.000000000 Z
12
+ date: 2014-08-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: appium_lib