allure-rspec 0.6.2 → 0.6.3

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: cf7e312ea46166d60262ec61fa426a19e63624b9
4
- data.tar.gz: f56037ec76feb917bb076ac99afffa2e5cadc80c
3
+ metadata.gz: 4c09d319b4f770d06ade3103b596607c4bfdfd03
4
+ data.tar.gz: cafde30c320995275c09c5c7c2e442f3ec37dc05
5
5
  SHA512:
6
- metadata.gz: ca3c56021a048c2716bcfa9d0164df38905d57ee57825c94198f176672d10ee34a3c278a202844675cec0c74e528e1b173e7c6338bb1a1af134ec416a31f8c71
7
- data.tar.gz: ea8a29f9fe699c5f2b4b4b08c21afb025f406223dc0332def2cd4455c40d4bdbfea11a9d42c8ee6473e0ceb8681eabe16db2dbe7e8ca2e561a8dfb37c6bbe332
6
+ metadata.gz: a91f2cafc77fd94f3c8a70f624277eda2130b204081e4a5d6b60f85a27a1e66d851c714298f79dd0a169fa038f1f0a71ce76b15066ef6e060f56dedf291929d3
7
+ data.tar.gz: 979bdd3c7e04bdb55a91ef477ad6d5e1e8a5712695e9feed0f886f455ad603e30b4a34c0b924c3003767304e53a573fd3f9cdf3472c179f7b66dd8a014e6607f
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- allure-rspec (0.6.2)
4
+ allure-rspec (0.6.3)
5
5
  allure-ruby-adaptor-api (= 0.6.3)
6
6
  rspec (= 3.0.0)
7
7
 
data/README.md CHANGED
@@ -1,9 +1,10 @@
1
1
  # Allure RSpec Adaptor
2
2
 
3
- Adaptor to use the Allure framework along with the RSpec
3
+ Adaptor to use the Allure framework along with the RSpec. See [an example](https://github.com/allure-examples/allure-rspec-example) project to take a quick tour.
4
4
 
5
5
  ## What's new
6
6
 
7
+ * *0.6.1* - Upgraded to RSpec3. Not compatible with RSpec2 anymore.
7
8
  * *0.5.1* - Migrating to allure-ruby-api.
8
9
  * *0.4.2* - Support for labels (feature,story,severity,language,framework).
9
10
  * *0.4.1* - Support for before/after(:step) hooks.
@@ -11,7 +12,9 @@ Adaptor to use the Allure framework along with the RSpec
11
12
 
12
13
  ## Setup
13
14
 
14
- Add the dependency to your Gemfile
15
+ Add the dependency to your Gemfile. Choose the version carefully:
16
+ * 0.5.x - for RSpec2.
17
+ * 0.6.x - for RSpec3.
15
18
 
16
19
  ```ruby
17
20
  gem 'allure-rspec'
@@ -50,21 +53,21 @@ describe MySpec, :feature => "Some feature", :severity => :normal do
50
53
  "string".should == "string"
51
54
  end
52
55
 
53
- it "should be steps enabled", :story => ["First story", "Second story"] do
56
+ it "should be steps enabled", :story => ["First story", "Second story"] do |e|
54
57
 
55
- step "step1" do
56
- attach_file "screenshot1", take_screenshot_as_file
58
+ e.step "step1" do |s|
59
+ s.attach_file "screenshot1", take_screenshot_as_file
57
60
  end
58
61
 
59
- step "step2" do
62
+ e.step "step2" do
60
63
  5.should be > 0
61
64
  end
62
65
 
63
- step "step3" do
66
+ e.step "step3" do
64
67
  0.should == 0
65
68
  end
66
69
 
67
- attach_file "screenshot2", take_screenshot_as_file
70
+ e.attach_file "screenshot2", take_screenshot_as_file
68
71
  end
69
72
  end
70
73
  ```
@@ -34,8 +34,8 @@ module AllureRSpec
34
34
  def example_passed(example)
35
35
  res = example.example.execution_result
36
36
  AllureRubyAdaptorApi::Builder.stop_test(
37
- example.example_group.description,
38
- example.description.to_s,
37
+ example.example.example_group.description,
38
+ example.example.description.to_s,
39
39
  {
40
40
  :status => res.status,
41
41
  :finished_at => res.finished_at,
@@ -1,5 +1,5 @@
1
1
  module AllureRSpec # :nodoc:
2
2
  module Version # :nodoc:
3
- STRING = '0.6.2'
3
+ STRING = '0.6.3'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: allure-rspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.2
4
+ version: 0.6.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: 2014-08-28 00:00:00.000000000 Z
11
+ date: 2014-09-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -111,6 +111,6 @@ rubyforge_project:
111
111
  rubygems_version: 2.0.3
112
112
  signing_key:
113
113
  specification_version: 4
114
- summary: allure-rspec-0.6.2
114
+ summary: allure-rspec-0.6.3
115
115
  test_files: []
116
116
  has_rdoc: