splinter 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +6 -14
- data/lib/splinter/perf/shared_connection.rb +0 -4
- data/lib/splinter/rspec/shared_connection.rb +8 -0
- data/lib/splinter/version.rb +1 -1
- metadata +8 -7
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
metadata.gz: !binary |-
|
9
|
-
NGQ2MWYyOWQ4ZDM4NGFjMWQzYWNiMjZmOTU5MmI3YTRiOWNiZDlkODhiZTQ2
|
10
|
-
ZWZkMzBhMGZjMjVmMGIyZWUxNzNkNjVhMmU4Nzc4YTY1MmJjMjgxMTZiMDRi
|
11
|
-
MjRkZWRhMDFkZTMzYmU2MTAxNjc5NjAzYWY3Yjk5MmE2M2YyZTc=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
N2ZhY2M3Y2VhNzI5YzhjMDExMTQyNzk0MjcwMDEzZTA0ZDJjMDI3MmY2ODc3
|
14
|
-
ZmNhODQ3YTUxNTkyYzljM2I0MmJlOGExMDc3MWJiYWM1YmFlOGQwZmJmNTcz
|
15
|
-
NGIzMDI5ZjkyZWE3ZGEzMDI5YjYwNDA4YTI4ZjNlOGQwYWFlZTE=
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 4a32fc8fdf603849cedc22a647f6bc8772bd9437
|
4
|
+
data.tar.gz: 0a796f046cf187c7cd907670f669fd82f32b57c5
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 49d47dce8d3cc4e97faf72d66385f0c8c372fe9fc997032abd24109c85ba43101696437d1cbb8daa4e5528a8c17a00eea7f5258dba000ac996686e294862e6cd
|
7
|
+
data.tar.gz: f9df7cc282727cf1b00c2d48994d96ba704bc0e35465d183038f357714eaaebd28046ce846f7026c5e13c86dc2300245ca8cef2a6733344d8f3c08fc00ca8906
|
@@ -8,7 +8,3 @@ class ActiveRecord::Base
|
|
8
8
|
@@shared_connection || retrieve_connection
|
9
9
|
end
|
10
10
|
end
|
11
|
-
|
12
|
-
# Forces all threads to share the same connection. This works on
|
13
|
-
# Capybara because it starts the web server in a thread.
|
14
|
-
ActiveRecord::Base.shared_connection = ActiveRecord::Base.connection
|
@@ -1 +1,9 @@
|
|
1
1
|
require 'splinter/perf/shared_connection'
|
2
|
+
|
3
|
+
RSpec.configure do |config|
|
4
|
+
config.before :all do
|
5
|
+
# Forces all threads to share the same connection. This works on
|
6
|
+
# Capybara because it starts the web server in a thread.
|
7
|
+
ActiveRecord::Base.shared_connection = ActiveRecord::Base.connection
|
8
|
+
end
|
9
|
+
end
|
data/lib/splinter/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: splinter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joshua Priddle
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-04-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capybara
|
@@ -89,16 +89,16 @@ extra_rdoc_files:
|
|
89
89
|
files:
|
90
90
|
- Rakefile
|
91
91
|
- README.markdown
|
92
|
+
- lib/splinter.rb
|
93
|
+
- lib/splinter/perf/deferred_garbage_collection.rb
|
94
|
+
- lib/splinter/perf/shared_connection.rb
|
92
95
|
- lib/splinter/capybara/actions.rb
|
93
96
|
- lib/splinter/capybara/form_completer.rb
|
94
97
|
- lib/splinter/capybara.rb
|
95
|
-
- lib/splinter/perf/deferred_garbage_collection.rb
|
96
|
-
- lib/splinter/perf/shared_connection.rb
|
97
98
|
- lib/splinter/rspec/deferred_garbage_collection.rb
|
98
99
|
- lib/splinter/rspec/shared_connection.rb
|
99
100
|
- lib/splinter/rspec.rb
|
100
101
|
- lib/splinter/version.rb
|
101
|
-
- lib/splinter.rb
|
102
102
|
- spec/spec_helper.rb
|
103
103
|
- spec/splinter/capybara/actions_spec.rb
|
104
104
|
- spec/test_app/server.rb
|
@@ -113,12 +113,12 @@ require_paths:
|
|
113
113
|
- lib
|
114
114
|
required_ruby_version: !ruby/object:Gem::Requirement
|
115
115
|
requirements:
|
116
|
-
- -
|
116
|
+
- - '>='
|
117
117
|
- !ruby/object:Gem::Version
|
118
118
|
version: '0'
|
119
119
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
120
120
|
requirements:
|
121
|
-
- -
|
121
|
+
- - '>='
|
122
122
|
- !ruby/object:Gem::Version
|
123
123
|
version: '0'
|
124
124
|
requirements: []
|
@@ -128,3 +128,4 @@ signing_key:
|
|
128
128
|
specification_version: 4
|
129
129
|
summary: Splinter is a Capybara Ninja
|
130
130
|
test_files: []
|
131
|
+
has_rdoc:
|