webdrone 1.12.0 → 1.14.0

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
  SHA256:
3
- metadata.gz: 59b21203e4a9a61a584a1e062e7f26efe225a2212ac34bfef5ace8c4fe01d460
4
- data.tar.gz: d12bbf98c32ab410d784c5c6a1af2d59ec2a8b7cad1fc12ac609d5d3b579252f
3
+ metadata.gz: 7e526be196c417ab71f06e9d08c199b86295ca3327b0b73c6aff13f8e7bf12f2
4
+ data.tar.gz: 4d128b76393382af9908f48ad8967a3dc8d41f4c619ee70673053b1bf1b2dbc2
5
5
  SHA512:
6
- metadata.gz: 3b3a88c1b42159fb7887ea3ff18e02a5637c17b3aab50d3121bfaa7a4a7602490c6fdf334d368531815b08cc5fef1d852c738e2edf9c6989b9ff3f07f95ebb8e
7
- data.tar.gz: 10654e5945c31e7c31f45a74784147be0dcdbbfebbf169421fa9cc6755ccc973c01a3a4dae8a3a3fecfaad76f2f71cc927e519d6febfec68fd4ffdf2cf6595c9
6
+ metadata.gz: 1306f0537f417e66c279512c5952dd8be5487aee66fa33cf40c42e6e0a69bf36af62a96a41c834ec191fe2b8be0544f5c279f2e24d19f07e0f9b77d1365b351b
7
+ data.tar.gz: d9366338f341cffbdbc4059a9e2c3676e65af01078cfa838d1e00ca8862cddda2e7274335e5b55ef8c95917f93102aa6018b92d40d96ef9d6dc24f6e3cfb2189
data/.tool-versions CHANGED
@@ -1 +1 @@
1
- ruby 2.6.4
1
+ ruby 2.7.2
data/.travis.yml CHANGED
@@ -1,4 +1,5 @@
1
1
  language: ruby
2
+ cache: bundler
2
3
  rvm:
3
- - 2.2.1
4
- before_install: gem install bundler -v 1.10.6
4
+ - 2.7.2
5
+ before_install: gem install bundler -v 2.1.4
data/CHANGELOG.md CHANGED
@@ -4,6 +4,15 @@ New features are summarized here.
4
4
 
5
5
 
6
6
 
7
+ ## v.1.12.2 - 2021-03-19
8
+ ### Changed
9
+ - New option for logger: :quiet that supress the normal stdout log, but not the log sent to webdrone_output dir.
10
+ ```ruby
11
+ a0 = Webdrone.create logger: :quiet
12
+ ```
13
+
14
+
15
+
7
16
  ## v.1.12.0 - 2019-12-04
8
17
  ### Added
9
18
  - Added a new a0.conf.parent option, so instead of setting `parent:` in every method like:
data/Gemfile CHANGED
@@ -1,6 +1,7 @@
1
- # frozen_string_literal: true
2
-
3
1
  source 'https://rubygems.org'
4
2
 
5
3
  # Specify your gem's dependencies in webdrone.gemspec
6
4
  gemspec
5
+
6
+ gem 'rake', '~> 12.0'
7
+ gem 'rspec', '~> 3.0'
data/Rakefile CHANGED
@@ -1,8 +1,6 @@
1
- # frozen_string_literal: true
2
-
3
1
  require 'bundler/gem_tasks'
4
2
  require 'rspec/core/rake_task'
5
3
 
6
- RSpec::Core::RakeTask.new(:spec)
4
+ RSpec::Core::RakeTask.new :spec
7
5
 
8
6
  task default: :spec
data/lib/webdrone/logg.rb CHANGED
@@ -60,7 +60,7 @@ module Webdrone
60
60
 
61
61
  def trace(ini, fin, from, lineno, base, method_name, args, result, exception, screenshot)
62
62
  exception = "#{exception.class}: #{exception}" if exception
63
- printf @format, (fin - ini), base, method_name, args, (result || exception)
63
+ printf @format, (fin - ini), base, method_name, args, (result || exception) unless a0.conf.logger.to_s == 'quiet'
64
64
  CSV.open(@path, "a+") do |csv|
65
65
  csv << [ini.strftime('%Y-%m-%d %H:%M:%S.%L %z'), (fin - ini), from, lineno, base, method_name, args, result, exception, screenshot]
66
66
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Webdrone
4
- VERSION = '1.12.0'
4
+ VERSION = '1.14.0'
5
5
  end
data/webdrone.gemspec CHANGED
@@ -1,8 +1,4 @@
1
- # frozen_string_literal: true
2
-
3
- lib = File.expand_path('lib', __dir__)
4
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
- require 'webdrone/version'
1
+ require_relative 'lib/webdrone/version'
6
2
 
7
3
  Gem::Specification.new do |spec|
8
4
  spec.name = 'webdrone'
@@ -14,12 +10,17 @@ Gem::Specification.new do |spec|
14
10
  spec.description = 'See webpage for more info.'
15
11
  spec.homepage = 'http://github.com/a0/a0-webdrone-ruby'
16
12
  spec.license = 'MIT'
13
+ spec.required_ruby_version = Gem::Requirement.new('>= 2.3.0')
17
14
 
18
15
  # Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
19
16
  # delete this section to allow pushing this gem to any host.
20
17
  raise 'RubyGems 2.0 or newer is required to protect against public gem pushes.' unless spec.respond_to?(:metadata)
21
18
 
22
- spec.metadata['allowed_push_host'] = 'https://rubygems.org'
19
+ spec.metadata['allowed_push_host'] = 'https://rubygems.org'
20
+
21
+ spec.metadata['homepage_uri'] = spec.homepage
22
+ spec.metadata['source_code_uri'] = 'http://github.com/a0/a0-webdrone-ruby'
23
+ spec.metadata['changelog_uri'] = 'http://github.com/a0/a0-webdrone-ruby/CHANGELOG.md'
23
24
 
24
25
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
25
26
  spec.bindir = 'exe'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: webdrone
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.12.0
4
+ version: 1.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aldrin Martoq
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-12-04 00:00:00.000000000 Z
11
+ date: 2021-03-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -241,7 +241,10 @@ licenses:
241
241
  - MIT
242
242
  metadata:
243
243
  allowed_push_host: https://rubygems.org
244
- post_install_message:
244
+ homepage_uri: http://github.com/a0/a0-webdrone-ruby
245
+ source_code_uri: http://github.com/a0/a0-webdrone-ruby
246
+ changelog_uri: http://github.com/a0/a0-webdrone-ruby/CHANGELOG.md
247
+ post_install_message:
245
248
  rdoc_options: []
246
249
  require_paths:
247
250
  - lib
@@ -249,15 +252,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
249
252
  requirements:
250
253
  - - ">="
251
254
  - !ruby/object:Gem::Version
252
- version: '0'
255
+ version: 2.3.0
253
256
  required_rubygems_version: !ruby/object:Gem::Requirement
254
257
  requirements:
255
258
  - - ">="
256
259
  - !ruby/object:Gem::Version
257
260
  version: '0'
258
261
  requirements: []
259
- rubygems_version: 3.0.3
260
- signing_key:
262
+ rubygems_version: 3.1.4
263
+ signing_key:
261
264
  specification_version: 4
262
265
  summary: A simple selenium webdriver wrapper, ruby version.
263
266
  test_files: []