jericho 0.2.3 → 0.2.4

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
  SHA256:
3
- metadata.gz: 014e38bd218cbf64d097a9810cc4d40036c9dd8899f9743d49a18c431a94c49d
4
- data.tar.gz: 23fa53f5fe0a443cbd4d38c02bc7ba71a3304735a091f60277d43db729b71f77
3
+ metadata.gz: c0a88382aeea581615b61dd83526f083e68ca46ecb0e71044269c784fce37add
4
+ data.tar.gz: eb1b26bb20f62200c5ef5df45ceac1dcfeb285a65b978972b1c7f14c30904ae7
5
5
  SHA512:
6
- metadata.gz: 04bee2cde9c3ea3171c2575af8ee21792483df1ec85f8f0dc5e80c1fe52b949926fbbed9ad1b9d697c8ffb1db1cd5f7e1b8a1645730fae3a918bf662ea50a64e
7
- data.tar.gz: ff8201780e4816d13e941f7094f049b1f75690b1a288323c3284a7103dcbdabb4fc617c2c2868abba31b318a7f44efcf9885d122483d641b5f9443cc46bce43e
6
+ metadata.gz: e8c4226aba7cc82ece6d0fc5f3262d4c0a8201e3399fd29e507ef24e7f20fce13f8be5832a79449e692e9676339ee33db4f6256933ab53f488444bf95469aad7
7
+ data.tar.gz: 6ccc664029ae2ab73411ea786d8e103605a0bfd5658bf19afb38507388755d6c952ebb1cc2809895cf17d4f10952eb9ca100619c9075cd696c86b04a0ffa3234
data/README.md CHANGED
@@ -23,9 +23,13 @@ Or install it yourself as:
23
23
  ## Usage
24
24
  Small simple gem to clear you cucumber ```.json``` reports of redundant info and post results to Slack
25
25
 
26
- Add ```purify``` and ```repent``` calls to ```at_exit``` hook of your test suite and enjoy
26
+ Add ```Jericho.purify``` and ```Jericho.repent``` calls to ```at_exit``` hook of your Cucumber test suite and enjoy
27
27
 
28
28
  Note that gem uses ```slack_ruby_client``` and ```dotenv``` to work properly
29
+
30
+ For gem to work properly:
31
+ 1. Add it to your Gemfile (```gem 'jericho'```) and require it in your ```env.rb``` file (```require 'jericho'```)
32
+ 2. Run your cucumber scenarios with ```cucumber --format json --out report" $(date)".json --format html --out report" $(date)".html --format pretty``` bash script
29
33
  ## Development
30
34
 
31
35
  After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
data/jericho.gemspec CHANGED
@@ -9,8 +9,8 @@ Gem::Specification.new do |spec|
9
9
  spec.authors = ["Kirill"]
10
10
  spec.email = ["alexeyenko92@gmail.com"]
11
11
 
12
- spec.summary = %q{"Epic gem"}
13
- spec.description = %q{"Epic stuff"}
12
+ spec.summary = %q{"Additional gem for cucumber tests"}
13
+ spec.description = %q{"Tiny simple gem which cleans your cucumber JSON reports from redundant info and compares report from your last test run and report from previous test run. After it you'll receive a test run summary to desired slack channel. Please note that in rder to use slack integration - you'll need to configure dotenv gem with your Slack credentials"}
14
14
  spec.homepage = "https://github.com/M1khah/jericho"
15
15
  spec.license = "MIT"
16
16
 
@@ -1,3 +1,3 @@
1
1
  module Jericho
2
- VERSION = "0.2.3"
2
+ VERSION = "0.2.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jericho
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kirill
@@ -80,7 +80,11 @@ dependencies:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
82
  version: 0.14.1
83
- description: '"Epic stuff"'
83
+ description: '"Tiny simple gem which cleans your cucumber JSON reports from redundant
84
+ info and compares report from your last test run and report from previous test run.
85
+ After it you''ll receive a test run summary to desired slack channel. Please note
86
+ that in rder to use slack integration - you''ll need to configure dotenv gem with
87
+ your Slack credentials"'
84
88
  email:
85
89
  - alexeyenko92@gmail.com
86
90
  executables: []
@@ -123,5 +127,5 @@ rubyforge_project:
123
127
  rubygems_version: 2.7.8
124
128
  signing_key:
125
129
  specification_version: 4
126
- summary: '"Epic gem"'
130
+ summary: '"Additional gem for cucumber tests"'
127
131
  test_files: []