grell 1.6.5 → 1.6.6

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: f3195aaf1e55a30b5c8ebcb6344ab416a19c105f
4
- data.tar.gz: 9bc006fcc118f6a379fdfed06e63cf6b68940159
3
+ metadata.gz: 98ea3ab2a0070ed58b888f4776894e391a6d59fa
4
+ data.tar.gz: 478b4fe3cd8326d52543ba38961ac4318434ee44
5
5
  SHA512:
6
- metadata.gz: 44991caa2e4305aea8748e1ce88efcac757afd01dbd2c5d87e73245dbb3bb1cb37bd82a333d5bf757863a442e98c5f65f7ba4a5cfc4eb7beccd666c1aaa9090b
7
- data.tar.gz: d56af1e98dc435f473ee69dccda8aa55516fd2ed5ab9d74134b4e30b9e21bc803fa77c668a47c524fa8ebd04bbabba630a66361ef7412b4000b7f1bb343714a9
6
+ metadata.gz: dc7b0b0bf90b51ee8d7c881e5eec6ce3a8d7d3058eac99ed5f1f4ed8cfb55f34b41c6f2bacbd9fc836e889eb67af0555996211b7411754e006951a48dcd9dccf
7
+ data.tar.gz: de50bdceca2dd0177fe20bcc9127018723859bb727b827cf464553d4cd5e598436dbb53fdafcead8184faeb0e9d2b2f3c0c6cd24c809c777277fcc7bc0264d07
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ # 1.6.6
2
+ * Updated phantomjs_logger not to open '/dev/null'
3
+
1
4
  # 1.6.5
2
5
  * Added #quit to Crawler
3
6
 
@@ -23,7 +23,7 @@ module Grell
23
23
  @poltergeist_driver = Capybara::Poltergeist::Driver.new(app, {
24
24
  js_errors: false,
25
25
  inspector: false,
26
- phantomjs_logger: open('/dev/null'),
26
+ phantomjs_logger: FakePoltergeistLogger,
27
27
  phantomjs_options: ['--debug=no', '--load-images=no', '--ignore-ssl-errors=yes', '--ssl-protocol=TLSv1']
28
28
  })
29
29
  end
@@ -44,6 +44,11 @@ module Grell
44
44
  def quit
45
45
  @poltergeist_driver.quit
46
46
  end
47
+
48
+ module FakePoltergeistLogger
49
+ def self.puts(*)
50
+ end
51
+ end
47
52
  end
48
53
 
49
54
  end
data/lib/grell/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Grell
2
- VERSION = "1.6.5".freeze
2
+ VERSION = "1.6.6".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grell
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.5
4
+ version: 1.6.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jordi Polo Carres
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-25 00:00:00.000000000 Z
11
+ date: 2016-05-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capybara