allure-rspec 0.7.1 → 0.7.3

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: 699434ccd2242a0beaf9a17431b6f45a8065f433
4
- data.tar.gz: fd6bedaf1ffcb707bc57ecf868c18f36b722088d
3
+ metadata.gz: 9cfc5c9fc76e327980f9d011d8b8f62f88e41e6f
4
+ data.tar.gz: 36c12ce38d327f4a7ebdb19ffa548c7f32cb0c45
5
5
  SHA512:
6
- metadata.gz: a7448438affaeb1d627a322c4a3f1d6d0d07e0aa6ffa3e88891c64b1b948ec0d0ae8d72cbd135d7fff6325f6625002c545e2af3cbeb34390fad47421a53612d6
7
- data.tar.gz: 83f857e16947936546c264bdef1ee125a9594cdc5498371ecc06ac81bfeb3abb980cbdd3ee444703c7861e6bdd997673ae4149faeb7aab56fd8654c4463e20a1
6
+ metadata.gz: c1354581b677c7d058680b4038d7f4d8386cbb6466efc62128bb6a6d39b341c1665312330734e515e48c446dbf2883aca98e9c495ec86bb719cd83bbf6e3b946
7
+ data.tar.gz: 390a7476d5960251cf2e1a64aded051413dcb03b9bb4d649fac93fcfef7da239e05f39c8fe29d7364563af34e144616258ee88caef19afd86873b6d63e01ede0
data/Gemfile.lock CHANGED
@@ -2,13 +2,13 @@ PATH
2
2
  remote: .
3
3
  specs:
4
4
  allure-rspec (0.7.1)
5
- allure-ruby-adaptor-api (= 0.6.6)
5
+ allure-ruby-adaptor-api (= 0.6.7)
6
6
  rspec (~> 3.2)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- allure-ruby-adaptor-api (0.6.6)
11
+ allure-ruby-adaptor-api (0.6.7)
12
12
  mimemagic
13
13
  nokogiri (~> 1.6.0)
14
14
  uuid
@@ -20,21 +20,21 @@ GEM
20
20
  nokogiri (1.6.6.2)
21
21
  mini_portile (~> 0.6.0)
22
22
  rake (10.4.2)
23
- rspec (3.2.0)
24
- rspec-core (~> 3.2.0)
25
- rspec-expectations (~> 3.2.0)
26
- rspec-mocks (~> 3.2.0)
27
- rspec-core (3.2.3)
28
- rspec-support (~> 3.2.0)
29
- rspec-expectations (3.2.1)
23
+ rspec (3.3.0)
24
+ rspec-core (~> 3.3.0)
25
+ rspec-expectations (~> 3.3.0)
26
+ rspec-mocks (~> 3.3.0)
27
+ rspec-core (3.3.2)
28
+ rspec-support (~> 3.3.0)
29
+ rspec-expectations (3.3.1)
30
30
  diff-lcs (>= 1.2.0, < 2.0)
31
- rspec-support (~> 3.2.0)
32
- rspec-mocks (3.2.1)
31
+ rspec-support (~> 3.3.0)
32
+ rspec-mocks (3.3.2)
33
33
  diff-lcs (>= 1.2.0, < 2.0)
34
- rspec-support (~> 3.2.0)
35
- rspec-support (3.2.2)
34
+ rspec-support (~> 3.3.0)
35
+ rspec-support (3.3.0)
36
36
  systemu (2.6.5)
37
- uuid (2.3.7)
37
+ uuid (2.3.8)
38
38
  macaddr (~> 1.0)
39
39
 
40
40
  PLATFORMS
@@ -44,3 +44,6 @@ DEPENDENCIES
44
44
  allure-rspec!
45
45
  bundler
46
46
  rake
47
+
48
+ BUNDLED WITH
49
+ 1.10.5
data/README.md CHANGED
@@ -37,6 +37,7 @@ within your current directory.
37
37
  AllureRSpec.configure do |c|
38
38
  c.output_dir = "/whatever/you/like" # default: gen/allure-results
39
39
  c.clean_dir = false # clean the output directory first? (default: true)
40
+ c.logging_level = Logger::DEBUG # logging level (default: DEBUG)
40
41
  end
41
42
  ```
42
43
 
data/allure-rspec.gemspec CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |s|
19
19
  s.require_paths = ['lib']
20
20
 
21
21
  s.add_dependency 'rspec', '~> 3.2'
22
- s.add_dependency 'allure-ruby-adaptor-api', '0.6.6'
22
+ s.add_dependency 'allure-ruby-adaptor-api', '0.6.8'
23
23
 
24
24
  s.add_development_dependency 'bundler'
25
25
  s.add_development_dependency 'rake'
data/lib/allure-rspec.rb CHANGED
@@ -10,8 +10,10 @@ module AllureRSpec
10
10
  class << self
11
11
  attr_accessor :output_dir
12
12
  attr_accessor :clean_dir
13
+ attr_accessor :logging_level
13
14
 
14
15
  DEFAULT_OUTPUT_DIR = 'gen/allure-results'
16
+ DEFAULT_LOGGING_LEVEL = Logger::DEBUG
15
17
 
16
18
  def output_dir
17
19
  @output_dir || DEFAULT_OUTPUT_DIR
@@ -20,6 +22,10 @@ module AllureRSpec
20
22
  def clean_dir?
21
23
  @clean_dir.nil? ? true : @clean_dir
22
24
  end
25
+
26
+ def logging_level
27
+ @logging_level || DEFAULT_LOGGING_LEVEL
28
+ end
23
29
  end
24
30
  end
25
31
 
@@ -42,8 +48,9 @@ module AllureRSpec
42
48
  yield Config
43
49
  AllureRubyAdaptorApi.configure { |c|
44
50
  c.output_dir = Config.output_dir
51
+ c.logging_level = Config.logging_level
45
52
  }
46
53
  end
47
54
  end
48
55
 
49
- end
56
+ end
@@ -1,5 +1,5 @@
1
1
  module AllureRSpec # :nodoc:
2
2
  module Version # :nodoc:
3
- STRING = '0.7.1'
3
+ STRING = '0.7.3'
4
4
  end
5
5
  end
@@ -0,0 +1,11 @@
1
+ require 'spec_helper'
2
+
3
+ describe 'Example', feature: 'Some feature', story: 'some_story' do
4
+ it 'first test case' do
5
+ #pass
6
+ end
7
+
8
+ it 'second test case' do
9
+ #pass
10
+ end
11
+ end
metadata CHANGED
@@ -1,27 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: allure-rspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 0.7.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ilya Sadykov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-17 00:00:00.000000000 Z
11
+ date: 2015-11-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '3.2'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '3.2'
27
27
  - !ruby/object:Gem::Dependency
@@ -30,40 +30,40 @@ dependencies:
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 0.6.6
33
+ version: 0.6.8
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 0.6.6
40
+ version: 0.6.8
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rake
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '>='
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - '>='
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  description: Adaptor to use Allure framework along with the RSpec 2
@@ -73,7 +73,7 @@ executables: []
73
73
  extensions: []
74
74
  extra_rdoc_files: []
75
75
  files:
76
- - .gitignore
76
+ - ".gitignore"
77
77
  - Gemfile
78
78
  - Gemfile.lock
79
79
  - README.md
@@ -88,6 +88,7 @@ files:
88
88
  - spec/another_spec.rb
89
89
  - spec/extend_steps_spec.rb
90
90
  - spec/hooks_spec.rb
91
+ - spec/issue51_spec.rb
91
92
  - spec/nometavalue_spec.rb
92
93
  - spec/shared_example_spec.rb
93
94
  - spec/spec_helper.rb
@@ -101,19 +102,18 @@ require_paths:
101
102
  - lib
102
103
  required_ruby_version: !ruby/object:Gem::Requirement
103
104
  requirements:
104
- - - '>='
105
+ - - ">="
105
106
  - !ruby/object:Gem::Version
106
107
  version: '0'
107
108
  required_rubygems_version: !ruby/object:Gem::Requirement
108
109
  requirements:
109
- - - '>='
110
+ - - ">="
110
111
  - !ruby/object:Gem::Version
111
112
  version: '0'
112
113
  requirements: []
113
114
  rubyforge_project:
114
- rubygems_version: 2.0.3
115
+ rubygems_version: 2.4.6
115
116
  signing_key:
116
117
  specification_version: 4
117
- summary: allure-rspec-0.7.1
118
+ summary: allure-rspec-0.7.3
118
119
  test_files: []
119
- has_rdoc: