smartshot 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2f2a658f8728e10b9da897ebda2968017f58ceab
4
- data.tar.gz: 7644b10b19b2c8da6c24208c1fc818a248bc8dc4
3
+ metadata.gz: 07d19b4058ad42cf3bdf8052b704fd3d10e055fa
4
+ data.tar.gz: 97ded265b43f40ea2b1362c0895582f072d9bc4c
5
5
  SHA512:
6
- metadata.gz: 6cae9603dee303712228faee64aee0f902434e7b86f3d58c655d7d369b2c71bb67363d4bc51093da7efe1912d3c611405b56ae198bc6dc0a0b8e031210c032cf
7
- data.tar.gz: a45a1f7cb2735ebf523abc96fdf3a58b1832a9c72e5e0d302ae74e02e36fa125d859fa90e3678a2d10c7f4225df50f2e55893ba24afa648b0883aa93f2dafebf
6
+ metadata.gz: 4fceaf0316fb5e021d4b6d619df5625c80ec6f8c38f8d98b18be7074558911d419ca16e070bd63b071d1f1b13fcd6f2afbcbc1889caaf1821f56ae455935320a
7
+ data.tar.gz: 5e1eebac8cb15dc6dac5a35fe0430aa14983f2fcc93bccb920b3489d5a68800834112ce1f620b7b70abf58e6a5f35f4843b580388086c939570b2b8974ee3de6
@@ -7,9 +7,9 @@ module Smartshot
7
7
  Capybara.register_driver :poltergeist do |app|
8
8
  Capybara::Poltergeist::Driver.new(app, defaults.merge(options))
9
9
  end
10
- Capybara.run_server = false
10
+ Capybara.run_server = options.delete(:run_server) || false
11
11
  Capybara.current_driver = :poltergeist
12
- Capybara.default_wait_time = 30
12
+ Capybara.default_wait_time = options.delete(:default_wait_time) || 30
13
13
  end
14
14
 
15
15
  def initialize(options = {})
@@ -1,3 +1,3 @@
1
1
  module Smartshot
2
- VERSION = '0.0.3'
2
+ VERSION = '0.0.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smartshot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Caio Almeida