frameworks-capybara 0.2.0 → 0.2.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.
@@ -0,0 +1,11 @@
1
+ language: ruby
2
+ rvm:
3
+ - 1.8.7
4
+ - 1.9.2
5
+ - 1.9.3
6
+ - jruby-18mode # JRuby in 1.8 mode
7
+ - jruby-19mode # JRuby in 1.9 mode
8
+ - rbx-18mode
9
+ - rbx-19mode
10
+ # uncomment this line if your project needs to run something other than `rake`:
11
+ # # script: bundle exec rspec spec
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- frameworks-capybara (0.2.0)
4
+ frameworks-capybara (0.2.1)
5
5
  capybara (>= 1.0.0)
6
6
  capybara-celerity
7
7
  capybara-mechanize (>= 0.3.0)
@@ -26,7 +26,7 @@ GEM
26
26
  capybara (~> 1.1)
27
27
  mechanize (~> 2.3)
28
28
  celerity (0.9.2)
29
- childprocess (0.3.1)
29
+ childprocess (0.3.2)
30
30
  ffi (~> 1.0.6)
31
31
  cucumber (1.1.9)
32
32
  builder (>= 2.1.2)
@@ -43,7 +43,7 @@ GEM
43
43
  json (1.6.6)
44
44
  libwebsocket (0.1.3)
45
45
  addressable
46
- mechanize (2.3)
46
+ mechanize (2.4)
47
47
  domain_name (~> 0.5, >= 0.5.1)
48
48
  mime-types (~> 1.17, >= 1.17.2)
49
49
  net-http-digest_auth (~> 1.1, >= 1.1.1)
@@ -69,7 +69,7 @@ GEM
69
69
  rspec-expectations (2.9.1)
70
70
  diff-lcs (~> 1.1.3)
71
71
  rspec-mocks (2.9.0)
72
- rubyzip (0.9.7)
72
+ rubyzip (0.9.8)
73
73
  selenium-webdriver (2.21.2)
74
74
  childprocess (>= 0.2.5)
75
75
  ffi (~> 1.0)
@@ -75,7 +75,8 @@ Finally this gem contains some useful monkey-patches to core libraries e.g. Capy
75
75
  == Release instructions
76
76
 
77
77
  * Run tests - 'rake'
78
- * Bump version - e.g. 'rake version:bump:patch'
78
+ * Bump version - manually update file in lib/version.rb
79
+ * Run 'bundle install' to pick up new version in Gemfile
79
80
  * Release - 'rake release'
80
81
 
81
82
  == Contributing to frameworks-capybara
@@ -30,3 +30,4 @@ module Selenium
30
30
  end
31
31
  end
32
32
 
33
+
@@ -1,4 +1,4 @@
1
1
  module FrameworksCapybara
2
- VERSION = '0.2.0'
2
+ VERSION = '0.2.1'
3
3
  end
4
4
 
@@ -0,0 +1,8 @@
1
+ [General]
2
+ StartWithLastProfile=1
3
+
4
+ [Profile0]
5
+ Name=default
6
+ IsRelative=1
7
+ Path=mock.default
8
+ Default=1
@@ -13,3 +13,4 @@ Cucumber::RbSupport::RbLanguage.new(Cucumber::Runtime.new) #Need to load Cucumbe
13
13
 
14
14
  require 'frameworks/capybara'
15
15
  require 'frameworks/cucumber'
16
+ require 'unit_test_monkeypatches.rb'
@@ -0,0 +1,33 @@
1
+ module Selenium
2
+ module WebDriver
3
+ module Firefox
4
+
5
+ # @api private
6
+ module Util
7
+ module_function
8
+
9
+ def app_data_path
10
+ p "in patch"
11
+ testpath = File.dirname(__FILE__)
12
+ case Platform.os
13
+ when :windows
14
+ "#{ENV['APPDATA']}\\Mozilla\\Firefox"
15
+ when :macosx
16
+ #"#{Platform.home}/Library/Application Support/Firefox"
17
+ testpath
18
+ when :unix, :linux
19
+ "#{Platform.home}/.mozilla/firefox"
20
+ else
21
+ raise "Unknown os: #{Platform.os}"
22
+ end
23
+ end
24
+
25
+ def stringified?(str)
26
+ str =~ /^".*"$/
27
+ end
28
+
29
+ end # Util
30
+ end # Firefox
31
+ end # WebDriver
32
+ end # Selenium
33
+
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: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 0
10
- version: 0.2.0
9
+ - 1
10
+ version: 0.2.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - matt robbins
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-04-19 00:00:00 +01:00
18
+ date: 2012-04-27 00:00:00 +01:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -137,6 +137,7 @@ files:
137
137
  - .document
138
138
  - .gitignore
139
139
  - .rspec
140
+ - .travis.yml
140
141
  - Gemfile
141
142
  - Gemfile.lock
142
143
  - LICENSE.txt
@@ -164,7 +165,9 @@ files:
164
165
  - schemas/xml.xsd
165
166
  - spec/frameworks_capybara_spec.rb
166
167
  - spec/frameworks_cucumber_spec.rb
168
+ - spec/profiles.ini
167
169
  - spec/spec_helper.rb
170
+ - spec/unit_test_monkeypatches.rb
168
171
  has_rdoc: true
169
172
  homepage:
170
173
  licenses: []