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 +4 -4
- data/Gemfile.lock +17 -14
- data/README.md +1 -0
- data/allure-rspec.gemspec +1 -1
- data/lib/allure-rspec.rb +8 -1
- data/lib/allure-rspec/version.rb +1 -1
- data/spec/issue51_spec.rb +11 -0
- metadata +16 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9cfc5c9fc76e327980f9d011d8b8f62f88e41e6f
|
4
|
+
data.tar.gz: 36c12ce38d327f4a7ebdb19ffa548c7f32cb0c45
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.
|
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.
|
24
|
-
rspec-core (~> 3.
|
25
|
-
rspec-expectations (~> 3.
|
26
|
-
rspec-mocks (~> 3.
|
27
|
-
rspec-core (3.2
|
28
|
-
rspec-support (~> 3.
|
29
|
-
rspec-expectations (3.
|
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.
|
32
|
-
rspec-mocks (3.2
|
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.
|
35
|
-
rspec-support (3.
|
34
|
+
rspec-support (~> 3.3.0)
|
35
|
+
rspec-support (3.3.0)
|
36
36
|
systemu (2.6.5)
|
37
|
-
uuid (2.3.
|
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.
|
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
|
data/lib/allure-rspec/version.rb
CHANGED
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.
|
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-
|
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.
|
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.
|
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.
|
115
|
+
rubygems_version: 2.4.6
|
115
116
|
signing_key:
|
116
117
|
specification_version: 4
|
117
|
-
summary: allure-rspec-0.7.
|
118
|
+
summary: allure-rspec-0.7.3
|
118
119
|
test_files: []
|
119
|
-
has_rdoc:
|