page_magic 0.9.4 → 0.9.5
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/page_magic/browser.rb +4 -3
- data/page_magic.gemspec +1 -1
- data/spec/browser_spec.rb +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.9.
|
1
|
+
0.9.5
|
data/lib/page_magic/browser.rb
CHANGED
@@ -1,13 +1,14 @@
|
|
1
1
|
module PageMagic
|
2
2
|
module Browser
|
3
|
+
|
3
4
|
class << self
|
5
|
+
attr_writer :default
|
4
6
|
def session
|
5
7
|
@session ||= PageMagic.session(default)
|
6
8
|
end
|
7
9
|
|
8
|
-
def default
|
9
|
-
|
10
|
-
@default = default
|
10
|
+
def default
|
11
|
+
@default || :firefox
|
11
12
|
end
|
12
13
|
end
|
13
14
|
|
data/page_magic.gemspec
CHANGED
data/spec/browser_spec.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: page_magic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -125,7 +125,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
125
125
|
version: '0'
|
126
126
|
segments:
|
127
127
|
- 0
|
128
|
-
hash:
|
128
|
+
hash: 1433970493081870819
|
129
129
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
130
130
|
none: false
|
131
131
|
requirements:
|