rspec_enhanced_json_formatter 0.1.0 → 0.2.1

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
- SHA1:
3
- metadata.gz: df8fae64058f897f90e90d529fbd7c9236ea1374
4
- data.tar.gz: '049f8bdbcf6ce9e2210638e8c3847bb2a6cb2fcb'
2
+ SHA256:
3
+ metadata.gz: 9dbcf89597c1edf920601efe0ee42f04a1a52eb8aa2f1789f923a6f642d7070a
4
+ data.tar.gz: 7e6a08658f4608f9a1e80661c297ac5f4ce0e802fcef9013d3c4baa01a60ed90
5
5
  SHA512:
6
- metadata.gz: 2338ad347298988b9026f1bca4690450b38fad4358fb62042960f9b503d748148295e72df2aa7a652de12c6530729725326c91257517c6932428f616ffb6c126
7
- data.tar.gz: 7a2162bc6bb6a2e8e2f18c05d5d33340364e88e265d8fb7934e6a0098d8e4b591c930430c91c659eeebccb23b898bd3e03528c4b07a2adf34d1e6a32733d3e60
6
+ metadata.gz: 8c3356d9bfb1e654400016a7ccc597d3cb4f09ee34cf3666c2f4dc8174312b0f996dd6d886806699cc50982a0aea8a777271ecf8f929b48238614dad943b8a2d
7
+ data.tar.gz: 151c23ce93c604087522ee4fcabe5eb6901db24dc89361e4a25e9770215fe74b756baebe4ef60a9f4a5d5d931afbdc1bf3eefcf291f64614488d383944504b03
data/.travis.yml CHANGED
@@ -1,9 +1,23 @@
1
- ---
2
1
  sudo: false
3
2
  language: ruby
4
- cache: bundler
5
- rvm:
6
- - 2.4.5
7
- - 2.5.3
8
- - 2.6.0-rc1
9
- before_install: gem install bundler -v 1.17.1
3
+
4
+ jobs:
5
+ include:
6
+ - stage: test
7
+ before_install: gem install bundler -v 1.17.1
8
+ cache: bundler
9
+ rvm:
10
+ - 2.4.5
11
+ - 2.5.3
12
+ - 2.6.0-rc1
13
+ - stage: deploy
14
+ before_install: gem install bundler -v 1.17.1
15
+ script: skip
16
+ deploy:
17
+ provider: rubygems
18
+ api_key:
19
+ secure: "VvcCu3nHImRHjl5BFOAui4kT5bmwA13WFPe4svkG44cFMKxYh4XxGi2xCdoPvwaZiMQ5BfFaoH4B1Z0v/tOa31UTLnS0IIaN51mtKKjLJMv7FiVliliGOPLyAzSpM88psrXGiYTzLC20UiQWUIHT9al4Rh2a9tNZ5D2DFIs0PnupGVCIpLVYqeT2GqOEj886GNCW4+VFT+PblI+140gMrLwj0Z+G5DhwPsvNtG6Z8L31w+xQyzBYnyWYxEZnoZTnn4zTwyqWv65Pse9fWbxca6rGYfpFyhAhvN+TLzWmF4sHvRJx8U9RxixCk1QX6xaaVMh+O7CpKs4hl1D8EeME5miB/Sj2VWdbiv57DOKMieEI1ZxqUj5QqpLNWa546CU9p/rNPTXBbIPXNaZq3MY09cLdu4iFxgbDNdUt+Y5O5a19U2dDh8+dTIRrmNrXXSXseqJbH5g58HHcJ3hta00KZveBMUOyUVreRCVQNgNMlVwp7IMwEb/upT7Dzonn80mLsP+4FEPTjlg1oIbYWuNJUg6tyVx/uuQbggrAhiWhxfvrKTa4t6da46qPI7MrQ+/z2gu6Zy+POhxBAiETVAvwIlgUPZga1eDWNp07WmHXaimy+sXaZeS1QalBf3A2+VACy8guKzj6e5J/EuNnI+NaNgErHPqW9l/6yVkZhYFYR0w="
20
+ gem: rspec_enhanced_json_formatter
21
+ on:
22
+ tags: true
23
+ repo: uniite/rspec_enhanced_json_formatter
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # RSpecEnhancedJSONFormatter
2
2
 
3
+ [![Build Status](https://travis-ci.com/uniite/rspec_enhanced_json_formatter.svg?branch=master)](https://travis-ci.com/uniite/rspec_enhanced_json_formatter)
4
+
3
5
  Enhanced JSON formatter for RSpec
4
6
 
5
7
  ## Installation
@@ -42,7 +42,9 @@ class RSpecEnhancedJSONFormatter < RSpec::Core::Formatters::BaseFormatter
42
42
  id: example.id,
43
43
  name: example.full_description,
44
44
  duration: example.execution_result.run_time,
45
- status: example.execution_result.status
45
+ status: example.execution_result.status,
46
+ path: example.metadata[:file_path],
47
+ line: example.metadata[:line_number],
46
48
  }
47
49
 
48
50
  if notification.respond_to?(:fully_formatted_lines)
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "rspec_enhanced_json_formatter"
7
- spec.version = "0.1.0"
7
+ spec.version = "0.2.1"
8
8
  spec.authors = ["Jon Botelho"]
9
9
  spec.email = ["jon@jbotelho.com"]
10
10
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec_enhanced_json_formatter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jon Botelho
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-12-09 00:00:00.000000000 Z
11
+ date: 2018-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec-core
@@ -83,7 +83,6 @@ files:
83
83
  - ".rspec"
84
84
  - ".travis.yml"
85
85
  - Gemfile
86
- - Gemfile.lock
87
86
  - LICENSE.txt
88
87
  - README.md
89
88
  - Rakefile
@@ -111,8 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
111
110
  - !ruby/object:Gem::Version
112
111
  version: '0'
113
112
  requirements: []
114
- rubyforge_project:
115
- rubygems_version: 2.6.14.1
113
+ rubygems_version: 3.0.0
116
114
  signing_key:
117
115
  specification_version: 4
118
116
  summary: Enhanced JSON formatter for RSpec
data/Gemfile.lock DELETED
@@ -1,36 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- rspec_enhanced_json_formatter (0.1.0)
5
- rspec-core (>= 3, < 4)
6
-
7
- GEM
8
- remote: https://rubygems.org/
9
- specs:
10
- diff-lcs (1.3)
11
- rake (10.5.0)
12
- rspec (3.8.0)
13
- rspec-core (~> 3.8.0)
14
- rspec-expectations (~> 3.8.0)
15
- rspec-mocks (~> 3.8.0)
16
- rspec-core (3.8.0)
17
- rspec-support (~> 3.8.0)
18
- rspec-expectations (3.8.2)
19
- diff-lcs (>= 1.2.0, < 2.0)
20
- rspec-support (~> 3.8.0)
21
- rspec-mocks (3.8.0)
22
- diff-lcs (>= 1.2.0, < 2.0)
23
- rspec-support (~> 3.8.0)
24
- rspec-support (3.8.0)
25
-
26
- PLATFORMS
27
- ruby
28
-
29
- DEPENDENCIES
30
- bundler (~> 1.17)
31
- rake (~> 10.0)
32
- rspec (~> 3.0)
33
- rspec_enhanced_json_formatter!
34
-
35
- BUNDLED WITH
36
- 1.17.1