lopata 0.0.13 → 0.0.14

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f1668668379d6464dd89850026c55ebf57c7fcdd
4
- data.tar.gz: 7655a319eabf7ef4490d95482fdf2bfcace7e660
3
+ metadata.gz: 975f0b7e56f8afedd0b47e76c0c786c1af76d221
4
+ data.tar.gz: 6054f00aa987073b132d495007aea52d02c0f732
5
5
  SHA512:
6
- metadata.gz: 84c1c1f5853df2b43ee9e81a1ab35df0aab1e003b1a077d5b8c4783f184264097e1e5d728e40831fadf8bf537d1e9f27393dbbd1e2c8ffcbb5ce37d86e3d80dc
7
- data.tar.gz: 278ddaa6fd5c9e217e9011b13702962b49056ba11fc30954d4704bfffafdaecdf69d89008cb67410e87c5dae8a69fd5bdff7aa41f45fdaa53a5f4aabdfaa7613
6
+ metadata.gz: cdffb3a22bbbe31142e7ad288e4fbb18bbf1cba47c514faa4cc18959b09e14552c447f2069d351cd9feea30a37df5a4a37958a25aba09c38e36be21520635a50
7
+ data.tar.gz: 28d78ab22a6ea9f20798bd94b061efb54ca280b955a3eccaf7f2dc59cb4011c9dd7e0bc9c94dc49aed54b076f0342f1866e5ae8d0bd8e9558eb79d61757c2415
data/lib/lopata/config.rb CHANGED
@@ -64,6 +64,9 @@ module Lopata
64
64
  if ops[:rerun]
65
65
  filters[:full_description] = build_rerun_filter_proc
66
66
  end
67
+ if ops[:text]
68
+ filters[:full_description] = ->(desc) { desc.include?(ops[:text]) }
69
+ end
67
70
  unless filters.blank?
68
71
  ::RSpec.configure do |c|
69
72
  c.inclusion_filter = filters
@@ -1,7 +1,7 @@
1
1
  module Lopata
2
2
  module RSpec
3
3
  module Version
4
- STRING = '0.0.13'
4
+ STRING = '0.0.14'
5
5
  end
6
6
  end
7
7
  end
data/lib/lopata/runner.rb CHANGED
@@ -12,6 +12,7 @@ module Lopata
12
12
  option :users, type: :array, aliases: 'u'
13
13
  option :build, aliases: 'b'
14
14
  option :keep, type: :boolean, aliases: 'k'
15
+ option :text, aliases: 't'
15
16
  def test
16
17
  require 'rspec'
17
18
 
@@ -23,7 +24,8 @@ module Lopata
23
24
  users: options[:users],
24
25
  build: options[:build],
25
26
  env: options[:env],
26
- keep: options[:keep]
27
+ keep: options[:keep],
28
+ text: options[:text]
27
29
  }
28
30
  Lopata::Config.init(options[:env])
29
31
  Lopata::Config.initialize_test
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lopata
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.13
4
+ version: 0.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexey Volochnev
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-02-06 00:00:00.000000000 Z
11
+ date: 2017-03-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
@@ -86,5 +86,5 @@ rubyforge_project:
86
86
  rubygems_version: 2.5.2
87
87
  signing_key:
88
88
  specification_version: 4
89
- summary: lopata-0.0.13
89
+ summary: lopata-0.0.14
90
90
  test_files: []