simplecov_url 1.0.0 → 1.0.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 +4 -4
- data/README.md +16 -2
- data/lib/simplecov_url/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 89f7d75a6dbee66e24bd4d67737c30211fc51bd07494de4c2979ae53b9894af3
|
|
4
|
+
data.tar.gz: c3cad950e154bb95439ccba721cfd2f1105c49e8a5e8425efbc62f3bedf4858a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 831035bf617abc02d88c3e4e2ae53b55c403e4dd7d92bb034af4dbf3c5bbec6a8ce63f50f2115e51650bee6c8875b53e5af53c07150a72fe739be717a2056329
|
|
7
|
+
data.tar.gz: 904b2685a19ded04cba1dcdb11449b5f5cf7545f07fd7a2e47c6c16b8ed958e5a71deb5e6743c8d78fa9c6e7dc2b0e6a1f49711bebf0c532dc32a4bae3988627
|
data/README.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
The gem publishes Simplecov's test coverage reports to your_url/simplecov.
|
|
4
4
|
|
|
5
|
+
If you want to restrict the controller to specific Rails environments, please set their names in the **ALLOWED_SIMPLECOV_ENVIRONMENTS** environment variable.
|
|
6
|
+
|
|
7
|
+
Example:
|
|
8
|
+
|
|
9
|
+
```
|
|
10
|
+
ALLOWED_SIMPLECOV_ENVIRONMENTS=development,test
|
|
11
|
+
```
|
|
12
|
+
|
|
5
13
|
## Installation
|
|
6
14
|
|
|
7
15
|
Add this line to your application's Gemfile:
|
|
@@ -10,7 +18,7 @@ Add this line to your application's Gemfile:
|
|
|
10
18
|
gem 'simplecov_url', '~> 1.0'
|
|
11
19
|
```
|
|
12
20
|
|
|
13
|
-
And
|
|
21
|
+
And execute:
|
|
14
22
|
|
|
15
23
|
```
|
|
16
24
|
$ bundle
|
|
@@ -19,7 +27,7 @@ $ bundle
|
|
|
19
27
|
## Dependencies
|
|
20
28
|
|
|
21
29
|
```
|
|
22
|
-
gem 'rails', '
|
|
30
|
+
gem 'rails', '>= 5.0.3'
|
|
23
31
|
```
|
|
24
32
|
|
|
25
33
|
```
|
|
@@ -30,6 +38,12 @@ gem 'simplecov', '~> 0.16.1'
|
|
|
30
38
|
gem 'simplecov-html', '~> 0.10.0'
|
|
31
39
|
```
|
|
32
40
|
|
|
41
|
+
## Running the tests
|
|
42
|
+
|
|
43
|
+
```
|
|
44
|
+
$ bundle exec rspec
|
|
45
|
+
```
|
|
46
|
+
|
|
33
47
|
## Contributing
|
|
34
48
|
|
|
35
49
|
Bug reports and pull requests are welcome on GitHub at [https://github.com/evgeniradev/simplecov_url](https://github.com/evgeniradev/simplecov_url).
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: simplecov_url
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Evgeni Radev
|
|
@@ -14,16 +14,16 @@ dependencies:
|
|
|
14
14
|
name: rails
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
|
-
- - "
|
|
17
|
+
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: 5.
|
|
19
|
+
version: 5.0.3
|
|
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
|
-
version: 5.
|
|
26
|
+
version: 5.0.3
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: simplecov
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|