frameworks-capybara 0.2.31 → 0.2.32

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGES CHANGED
@@ -1,3 +1,6 @@
1
+ 0.2.32
2
+ Fix Ruby 1.9 RSpec test failures introduced in release 0.2.31
3
+
1
4
  0.2.31
2
5
  Added Firefox profile certificate handling via the FIREFOX_CERT_PATH and FIREFOX_CERT_PREFIX variables.
3
6
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- frameworks-capybara (0.2.31)
4
+ frameworks-capybara (0.2.32)
5
5
  capybara (~> 1.1.2)
6
6
  capybara-celerity
7
7
  capybara-mechanize (>= 0.3.0)
data/lib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module FrameworksCapybara
2
- VERSION = '0.2.31'
2
+ VERSION = '0.2.32'
3
3
  end
@@ -544,11 +544,9 @@ describe CapybaraSetup do
544
544
  secmod_data = write_random_data(@secmod_db)
545
545
 
546
546
  setup = CapybaraSetup.new
547
- result = nil
548
- setup.instance_exec(profile, @cert_dir, result) { |profile, certificate_path, result|
549
- result = update_firefox_profile_with_certificates(profile, certificate_path)
547
+ result = setup.instance_exec(profile, @cert_dir) { |profile, certificate_path|
548
+ update_firefox_profile_with_certificates(profile, certificate_path)
550
549
  }
551
-
552
550
  profile_path = result.layout_on_disk
553
551
  compare_file_data(profile_path, 'cert8.db', cert8_data)
554
552
  compare_file_data(profile_path, 'key3.db', key3_data)
@@ -568,11 +566,9 @@ describe CapybaraSetup do
568
566
  secmod_data = write_random_data(@secmod_db)
569
567
 
570
568
  setup = CapybaraSetup.new
571
- result = nil
572
- setup.instance_exec(profile, @cert_dir, cert_prefix, result) { |profile, certificate_path, certificate_prefix, result|
573
- result = update_firefox_profile_with_certificates(profile, certificate_path, certificate_prefix)
569
+ result = setup.instance_exec(profile, @cert_dir, cert_prefix) { |profile, certificate_path, certificate_prefix, result|
570
+ update_firefox_profile_with_certificates(profile, certificate_path, certificate_prefix)
574
571
  }
575
-
576
572
  profile_path = result.layout_on_disk
577
573
  compare_file_data(profile_path, 'cert8.db', cert8_data)
578
574
  compare_file_data(profile_path, 'key3.db', key3_data)
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: frameworks-capybara
3
3
  version: !ruby/object:Gem::Version
4
- hash: 41
4
+ hash: 87
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 31
10
- version: 0.2.31
9
+ - 32
10
+ version: 0.2.32
11
11
  platform: ruby
12
12
  authors:
13
13
  - matt robbins