blinka-reporter 0.5.1 → 0.6.1

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
  SHA256:
3
- metadata.gz: badbf83646cbee4602ea1dc639afe398237a1932615099a733ff84c1acdbb664
4
- data.tar.gz: 19dbdeec9e1c8cbf1a4545426e7b0ad88e86aaa01e53abcf6f451bb9ca8ba832
3
+ metadata.gz: 9c1fc7642c8c305df691452e7c08bf3d0f5cd3f93942fe05123727e7190ce43c
4
+ data.tar.gz: 5695c3b9e7e5db14f9584515a06b1abbbe36f40900f90226e8f8cf8bfdc6922a
5
5
  SHA512:
6
- metadata.gz: 257ec90e005aef2634292bd3f7346e9233f460c830a97adf4349ae89bf27e80c6a67a6b0af961ecb668ed2ec6f58f2777d4b1bc87d95ba5101a55ba812638f5e
7
- data.tar.gz: a2795269a1fa2eb0d6716d219c062017f76af7892fdc8c7a390d88f9470583c6d96b448d7a83417fa4877e124bb9c13b5b112e95391974f374d90fe20793d1c2
6
+ metadata.gz: 6e3b2bfaf92e19ac3630f3bd89f84f5f53ad065b3c41e47fa8a1f0f80f2300b68ce6eec6368ebd50b9bfa5208ddf75c3c206e5875bbc440bca6ad403c24fe79e
7
+ data.tar.gz: 2449352484f17be048e5b84c37a715e2130402832481a61534a344ccba7cedb42074d653570f513d33cfbe13907ab5846946b3fe52519804e4893e6de75009a9
@@ -0,0 +1,18 @@
1
+ # To get started with Dependabot version updates, you'll need to specify which
2
+ # package ecosystems to update and where the package manifests are located.
3
+ # Please see the documentation for all configuration options:
4
+ # https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5
+
6
+ version: 2
7
+ updates:
8
+ - package-ecosystem: "bundler"
9
+ directory: "/"
10
+ schedule:
11
+ interval: "daily"
12
+ target-branch: "main"
13
+
14
+ - package-ecosystem: "npm"
15
+ directory: "/"
16
+ schedule:
17
+ interval: "daily"
18
+ target-branch: "main"
@@ -0,0 +1,9 @@
1
+ changelog:
2
+ categories:
3
+ - title: Dependencies 🤖
4
+ labels:
5
+ - dependencies
6
+
7
+ - title: Changes
8
+ labels:
9
+ - "*"
@@ -0,0 +1,46 @@
1
+ name: Main
2
+ on:
3
+ push:
4
+ workflow_dispatch:
5
+
6
+ jobs:
7
+ tests:
8
+ name: Tests
9
+ runs-on: ubuntu-latest
10
+ strategy:
11
+ matrix:
12
+ ruby: ["2.6", "2.7", "3.0", "3.1"]
13
+
14
+ steps:
15
+ - name: Checkout code
16
+ uses: actions/checkout@v2
17
+
18
+ - name: Setup Ruby
19
+ uses: ruby/setup-ruby@v1
20
+ with:
21
+ ruby-version: ${{ matrix.ruby }}
22
+ bundler-cache: true
23
+
24
+ - name: Generate lockfile
25
+ run: bundle lock
26
+
27
+ - name: Run Setup
28
+ run: ./bin/setup
29
+
30
+ - name: Run tests
31
+ env:
32
+ BLINKA_JSON: true
33
+ run: bundle exec rake test
34
+
35
+ - name: Build and install gem
36
+ if: always()
37
+ run: gem build blinka_reporter.gemspec && gem install blinka-reporter-*.gem
38
+
39
+ - name: Report to Blinka
40
+ if: always()
41
+ env:
42
+ BLINKA_REPOSITORY: davidwessman/blinka_reporter
43
+ BLINKA_TEAM_ID: ${{ secrets.BLINKA_TEAM_ID }}
44
+ BLINKA_TEAM_SECRET: ${{ secrets.BLINKA_TEAM_SECRET }}
45
+ BLINKA_TAG: ${{ matrix.ruby }}
46
+ run: blinka_reporter --blinka --tap --path ./blinka_results.json
data/.gitignore ADDED
@@ -0,0 +1,28 @@
1
+ # See https://help.github.com/articles/ignoring-files for more about ignoring files.
2
+ #
3
+ # If you find yourself ignoring temporary files generated by your text editor # or operating system, you probably want to add a global ignore instead:
4
+ # git config --global core.excludesfile '~/.gitignore_global'
5
+
6
+ # Ignore bundler config.
7
+ /.bundle
8
+
9
+ # Environment
10
+ /.env
11
+
12
+ # Ignore all logfiles and tempfiles.
13
+ /log/*
14
+ /tmp/*
15
+ !/log/.keep
16
+ !/tmp/.keep
17
+
18
+ # Ignore all gems
19
+ /*.gem
20
+ Gemfile.lock
21
+
22
+ .byebug_history
23
+ /node_modules
24
+ yarn-debug.log*
25
+ yarn-error.log*
26
+ .yarn-integrity
27
+
28
+ /blinka_results.json
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 2.7.1
data/CHANGELOG.md ADDED
@@ -0,0 +1,160 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [Unreleased]
9
+
10
+ ## [0.6.1] - 2022-02-27
11
+
12
+ - Rspec
13
+ - Improve handling of newlines in backtrace
14
+ - Adds more testing
15
+ - Handles multiple screenshot tags
16
+
17
+ ## [0.6.0] - 2022-02-20
18
+
19
+ - Adds support for Rspec.
20
+ - Remove support for `BLINKA_REPORT`, instead use `bundle exec blinka-reporter --blinka` for reporting.
21
+ - Remove `BLINKA_TAP` and replace with `bundle exec blinka-reporter --tap`.
22
+ - Restructure gem internals.
23
+ - Support Rspec screenshots.
24
+
25
+ ## [0.5.2] - 2022-02-01
26
+
27
+ - Require MFA for pushing to [Rubygems](https://guides.rubygems.org/mfa-requirement-opt-in/)
28
+
29
+ ## [0.5.1] - 2022-02-01
30
+
31
+ - Look for screenshots in `Capybara.save_path` to allow different output folders for screenshots.
32
+ - For example a Rails application can be configured with `Capybara.save_path = ENV.fetch('CAPYBARA_ARTIFACTS', './tmp/capybara')` which can then be overriden in CI.
33
+
34
+ ## [0.5.0] - 2022-01-21
35
+
36
+ ### Added
37
+
38
+ - `BLINKA_APPEND` allows multiple test-runs to be appended to the same JSON-file.
39
+
40
+ ## [0.4.0] - 2021-03-27
41
+
42
+ ### Changed
43
+
44
+ - Change tempus of failing results from `failed` to `fail`.
45
+
46
+ ## [0.3.6] - 2021-03-25
47
+
48
+ ### Changed
49
+
50
+ - Removes dependency on mimemagic.
51
+ - Only allow images of `jpeg` or `png` format, handles their mime-types by extension.
52
+
53
+ ## [0.3.5] - 2021-03-11
54
+
55
+ ### Changed
56
+
57
+ - Move commit and tag to JSON-report instead of setting in the reporting client.
58
+ This allows the report to be made by a general script instead of in the test environment. In preparation of supporting Github Actions without access to secrets.
59
+
60
+ ## [0.3.4] - 2021-02-24
61
+
62
+ ### Changed
63
+
64
+ - Reported test cases now include the line in the file where they are defined, previously the line number was connected to the backtrace.
65
+
66
+ ## [0.3.3] - 2021-02-13
67
+
68
+ ### Added
69
+
70
+ - Use `HEROKU_TEST_RUN_COMMIT_VERSION` defined on Heroku CI when reporting test results to Blinka.
71
+
72
+ ## [0.3.2] - 2021-02-12
73
+
74
+ ### Fixed
75
+
76
+ - Allow to report with `BLINKA_REPORT` while using in tests `WebMock`.
77
+
78
+ ## [0.3.1] - 2021-02-12
79
+
80
+ ### Added
81
+
82
+ - Setting `BLINKA_REPORT` with credentials allow report to be sent to Blinka directly at the end of the test run.
83
+
84
+ ## [0.3.0] - 2021-02-08
85
+
86
+ ### Changed
87
+
88
+ - BREAKING 🚨 - Require setting environment variable `BLINKA_JSON` to any value to generate `blinka_results.json` used for reporting to Blinka.
89
+
90
+ ## [0.2.1] - 2021-02-08
91
+
92
+ ### Changed
93
+
94
+ - Raise error if configuration to report to Blinka is missing when reporting.
95
+
96
+ ## [0.2.0] - 2021-02-07
97
+
98
+ ### Added
99
+
100
+ - Adds support for reporting test results in TAP-format.
101
+
102
+ ## [0.1.1] - 2021-02-04
103
+
104
+ ### Changed
105
+
106
+ - Correct the homepage on rubygems.
107
+
108
+ ## [0.1.0] - 2021-02-03
109
+
110
+ ### Added
111
+
112
+ - Support for adding tag to report using `BLINKA_TAG` environment variable.
113
+
114
+ ### Removed
115
+
116
+ - No longer support `BLINKA_BRANCH`, use `BLINKA_TAG` instead.
117
+
118
+ ## [0.0.3] - 2021-02-02
119
+
120
+ ### Added
121
+
122
+ - Allow supplying which git commit sha to report.
123
+
124
+ ## [0.0.2] - 2021-02-01
125
+
126
+ ### Added
127
+
128
+ - Debug print for which commit hash was reported.
129
+
130
+ ## [0.0.1] - 2021-01-31
131
+
132
+ ### Added
133
+
134
+ - Setup LICENSE and CHANGELOG.
135
+
136
+ ### Fixed
137
+
138
+ - Handle inconsistency in source_location of test result in Minitest for different versions.
139
+
140
+ [unreleased]: https://github.com/davidwessman/blinka_reporter/compare/v0.6.1...HEAD
141
+ [0.6.1]: https://github.com/davidwessman/blinka_reporter/compare/v0.6.0...v0.6.1
142
+ [0.6.0]: https://github.com/davidwessman/blinka_reporter/compare/v0.5.2...v0.6.0
143
+ [0.5.2]: https://github.com/davidwessman/blinka_reporter/compare/v0.5.1...v0.5.2
144
+ [0.5.1]: https://github.com/davidwessman/blinka_reporter/compare/v0.5.0...v0.5.1
145
+ [0.5.0]: https://github.com/davidwessman/blinka_reporter/compare/v0.4.0...v0.5.0
146
+ [0.4.0]: https://github.com/davidwessman/blinka_reporter/compare/v0.3.6...v0.4.0
147
+ [0.3.6]: https://github.com/davidwessman/blinka_reporter/compare/v0.3.5...v0.3.6
148
+ [0.3.5]: https://github.com/davidwessman/blinka_reporter/compare/v0.3.4...v0.3.5
149
+ [0.3.4]: https://github.com/davidwessman/blinka_reporter/compare/v0.3.3...v0.3.4
150
+ [0.3.3]: https://github.com/davidwessman/blinka_reporter/compare/v0.3.2...v0.3.3
151
+ [0.3.2]: https://github.com/davidwessman/blinka_reporter/compare/v0.3.1...v0.3.2
152
+ [0.3.1]: https://github.com/davidwessman/blinka_reporter/compare/v0.3.0...v0.3.1
153
+ [0.3.0]: https://github.com/davidwessman/blinka_reporter/compare/v0.2.1...v0.3.0
154
+ [0.2.1]: https://github.com/davidwessman/blinka_reporter/compare/v0.2.0...v0.2.1
155
+ [0.2.0]: https://github.com/davidwessman/blinka_reporter/compare/v0.1.1...v0.2.0
156
+ [0.1.1]: https://github.com/davidwessman/blinka_reporter/compare/v0.1.0...v0.1.1
157
+ [0.1.0]: https://github.com/davidwessman/blinka_reporter/compare/v0.0.3...v0.1.0
158
+ [0.0.3]: https://github.com/davidwessman/blinka_reporter/compare/v0.0.2...v0.0.3
159
+ [0.0.2]: https://github.com/davidwessman/blinka_reporter/compare/v0.0.1...v0.0.2
160
+ [0.0.1]: https://github.com/davidwessman/blinka_reporter/releases/tag/v0.0.1
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in blinka_reporter.gemspec
4
+ gemspec
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2021 David Wessman
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,163 @@
1
+ # Blinka reporter
2
+
3
+ ## What does this gem do?
4
+
5
+ Generate a test results report for Minitest or interpret a junit-report from Rspec.
6
+ These results can then be [reported](#how-to-send-report-to-blinka) to [Blinka](#what-is-blinka) which posts your test results directly in your Github Pull Requests.
7
+
8
+ ## How do I install the gem?
9
+
10
+ Run
11
+
12
+ ```sh
13
+ gem install blinka-reporter
14
+ ```
15
+
16
+ or add to your Gemfile
17
+
18
+ ```ruby
19
+ gem 'blinka-repoter', '~> 0.5.0'
20
+ ```
21
+
22
+ ## Which ruby testing frameworks are supported?
23
+
24
+ - Minitest
25
+ - Rspec
26
+
27
+ > Please reach out for other frameworks or create a reporter yourself.
28
+
29
+ ## What is Blinka?
30
+
31
+ Blinka is a web service developed by [@davidwessman](https://github.com/davidwessman) to store test results from CI and report interesting results back to Github, right in the pull request.
32
+
33
+ ## How to generate test report in the right format?
34
+
35
+ ### Minitest
36
+
37
+ ```sh
38
+ BLINKA_JSON=true bundle exec rails test
39
+ ```
40
+
41
+ Output as `./blinka_results.json`
42
+
43
+ ### Rspec
44
+
45
+ Make sure [rspec_junit_formatter](https://github.com/sj26/rspec_junit_formatter) is installed.
46
+
47
+ ```sh
48
+ bundle exec rspec --formatter RspecJunitFormatter --out ./rspec.xml
49
+ ```
50
+
51
+ ## How to send report to Blinka?
52
+
53
+ 1. Output your test results as described [above](#how-to-generate-test-report-in-the-right-format).
54
+ 1. Configure `BLINKA_TEAM_ID`, `BLINKA_TEAM_SECRET`, `BLINKA_REPOSITORY`.
55
+ 1. `bundle exec blinka_reporter --path {./blinka_results.json,./rspec.xml} --blinka`
56
+
57
+ ## How can I send report in Github Action?
58
+
59
+ Add a step to your Github Action Workflow after running tests:
60
+
61
+ ```yaml
62
+ - name: Minitest
63
+ env:
64
+ BLINKA_JSON: true
65
+ run: bundle exec rake test
66
+
67
+ - name: Report minitest to Blinka
68
+ env:
69
+ BLINKA_COMMIT: ${{ github.event.pull_request.head.sha || github.sha }}
70
+ BLINKA_REPOSITORY: davidwessman/blinka_reporter
71
+ BLINKA_TAG: ""
72
+ BLINKA_TEAM_ID: ${{ secrets.BLINKA_TEAM_ID }}
73
+ BLINKA_TEAM_SECRET: ${{ secrets.BLINKA_TEAM_SECRET }}
74
+ run: bundle exec blinka_reporter --path ./blinka_results.json --blinka
75
+ ```
76
+
77
+ ```yaml
78
+ - name: Rspec
79
+ run: bundle exec rspec --formatter RspecJunitFormatter --out ./rspec.xml
80
+ - name: Report minitest to Blinka
81
+ env:
82
+ BLINKA_COMMIT: ${{ github.event.pull_request.head.sha || github.sha }}
83
+ BLINKA_REPOSITORY: davidwessman/blinka_reporter
84
+ BLINKA_TAG: ""
85
+ BLINKA_TEAM_ID: ${{ secrets.BLINKA_TEAM_ID }}
86
+ BLINKA_TEAM_SECRET: ${{ secrets.BLINKA_TEAM_SECRET }}
87
+ run: bundle exec blinka_reporter --path ./rspec.xml --blinka
88
+ ```
89
+
90
+ `BLINKA_TAG` is optional and can be used to separate different reports, for example when using a build matrix.
91
+
92
+ ## How to make multiple test runs into one report?
93
+
94
+ **Only supported for Minitest, open an issue for Rspec-support**
95
+
96
+ For example when running tests in parallel you might need to run system tests separately.
97
+ By first using `BLINKA_JSON` it will create a clean file, `BLINKA_APPEND` will append the results.
98
+
99
+ ```yaml
100
+ - name: System tests
101
+ env:
102
+ BLINKA_JSON: true
103
+ PARALLEL_WORKERS: 1
104
+ run: bundle exec rails test:system
105
+
106
+ - name: Tests
107
+ env:
108
+ BLINKA_JSON: true
109
+ BLINKA_APPEND: true
110
+ run: bundle exec rails test
111
+
112
+ - name: Report to Blinka
113
+ env:
114
+ BLINKA_COMMIT: ${{ github.event.pull_request.head.sha || github.sha }}
115
+ BLINKA_REPOSITORY: davidwessman/blinka_reporter
116
+ BLINKA_TAG: ""
117
+ BLINKA_TEAM_ID: ${{ secrets.BLINKA_TEAM_ID }}
118
+ BLINKA_TEAM_SECRET: ${{ secrets.BLINKA_TEAM_SECRET }}
119
+ run: bundle exec blinka_reporter --path ./blinka_results.json --blinka
120
+ ```
121
+
122
+ ## How can I report tests in TAP-format?
123
+
124
+ TAP-format ([Test anything protocol](https://testanything.org)) is used to parse tests results on for example Heroku CI.
125
+
126
+ Generate your test results like [above](#how-to-generate-test-report-in-the-right-format),
127
+ replace `<path>` with your json or xml file.
128
+
129
+ ```sh
130
+ bundle exec blinka_reporter --tap --path <path>
131
+
132
+ TAP version 13
133
+ 1..14
134
+ ok 1 - test/test_blinka_minitest.rb - test_message
135
+ ok 2 - test/test_blinka_minitest.rb - test_image
136
+ ok 3 - test/test_blinka_minitest.rb - test_image_no_file
137
+ ok 4 - test/test_blinka_minitest.rb - test_report_with_image
138
+ ok 5 - test/test_blinka_minitest.rb - test_line
139
+ ok 6 - test/test_blinka_minitest.rb - test_backtrace
140
+ ok 7 - test/test_blinka_minitest.rb - test_line_no_failure
141
+ ok 8 - test/test_blinka_minitest.rb - test_report
142
+ ok 9 - test/test_blinka_minitest.rb - test_backtrace_no_failure
143
+ ok 10 - test/test_blinka_minitest.rb - test_kind_no_folder
144
+ ok 11 - test/test_blinka_minitest.rb - test_result
145
+ ok 12 - test/test_blinka_minitest.rb - test_kind
146
+ ok 13 - test/test_blinka_minitest.rb - test_message_no_failure
147
+ ok 14 - test/test_blinka_minitest.rb - test_source_location
148
+ ```
149
+
150
+ # Development
151
+
152
+ ## Release new version
153
+
154
+ 1. Update version in [`CHANGELOG.md`](./CHANGELOG.md) and include changes.
155
+ 1. Update version in [`lib/blinka_reporter/version.rb`](./lib/blinka_reporter/version.rb).
156
+ 1. Create pull request and merge to default branch.
157
+ 1. `gem build blinka_reporter.gemspec` (make sure it matches the bumped version).
158
+ 1. `gem push blinka-reporter-{version}.gem` (had to use `--otp` because I could not enter it when prompted).
159
+ 1. Create a release and tag on Github for history.
160
+
161
+ # License
162
+
163
+ `blinka-reporter` is licensed under the MIT license, see [LICENSE](LICENSE) for details.
data/Rakefile ADDED
@@ -0,0 +1,7 @@
1
+ require 'rake/testtask'
2
+ require 'dotenv/load'
3
+
4
+ Rake::TestTask.new { |t| t.libs << 'test' }
5
+
6
+ desc('Run tests')
7
+ task(default: :test)
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ $LOAD_PATH.unshift("#{__dir__}/../lib")
4
+
5
+ require "blinka_reporter/cli"
6
+
7
+ exit BlinkaReporter::Cli.run(ARGV)
data/bin/setup ADDED
@@ -0,0 +1,15 @@
1
+ #!/bin/sh
2
+
3
+ set -e
4
+
5
+ # CI-specific setup
6
+ if [ -n "$GITHUB_ACTIONS" ]; then
7
+ bundle config path vendor/bundle
8
+ bundle config jobs 4
9
+ bundle config retry 3
10
+ git config --global user.name 'GitHub Actions'
11
+ git config --global user.email 'github-actions@blinka'
12
+ fi
13
+
14
+ gem install bundler --conservative
15
+ bundle check || bundle install
@@ -0,0 +1,41 @@
1
+ require_relative 'lib/blinka_reporter/version'
2
+
3
+ Gem::Specification.new do |gem|
4
+ gem.authors = ['David Wessman']
5
+ gem.description =
6
+ 'Use to format test results from Minitest to use with Blinka.'
7
+ gem.email = 'david@wessman.co'
8
+ gem.homepage = 'https://github.com/davidwessman/blinka_reporter'
9
+ gem.license = 'MIT'
10
+ gem.summary = 'Format tests for Blinka'
11
+
12
+ gem.metadata = {
13
+ 'homepage_uri' => 'https://github.com/davidwessman/blinka_reporter',
14
+ 'bug_tracker_uri' =>
15
+ 'https://github.com/davidwessman/blinka_reporter/issues',
16
+ 'documentation_uri' => 'https://github.com/davidwessman/blinka_reporter',
17
+ 'changelog_uri' =>
18
+ 'https://github.com/davidwessman/blinka_reporter/main/CHANGELOG.md',
19
+ 'source_code_uri' => 'https://github.com/davidwessman/blinka_reporter',
20
+ 'rubygems_mfa_required' => 'true'
21
+ }
22
+
23
+ gem.files =
24
+ Dir.chdir(File.expand_path('..', __FILE__)) do
25
+ `git ls-files -z`
26
+ .split("\x0")
27
+ .reject { |f| f.match(%r{^(test|spec|features)/}) }
28
+ end
29
+ gem.name = 'blinka-reporter'
30
+ gem.version = BlinkaReporter::VERSION
31
+ gem.executables = ['blinka_reporter']
32
+ gem.require_path = ['lib']
33
+
34
+ gem.add_dependency('httparty', '~> 0.18')
35
+ gem.add_dependency('ox', '~> 2')
36
+ gem.add_development_dependency('dotenv', '~> 2.7.6')
37
+ gem.add_development_dependency('minitest', '~> 5.0')
38
+ gem.add_development_dependency('mocha', '~> 1.12')
39
+ gem.add_development_dependency('rake', '~> 13')
40
+ gem.add_development_dependency('webmock', '~> 3.11')
41
+ end