philter 0.6.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +14 -2
- data/lib/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8951ec753df7fa132093b21a0a8009a9c329d9cb
|
4
|
+
data.tar.gz: 07984bed1282a70c5de687efd3437cec0aea6253
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6433fb9f2a1834a1338bf35eac6212abbda14fa56e6c82eb3e8ece0a5a2bcbb8eab677e563151efe3486435745b2478b1e8910c6bc0de27af1d91a9bc1189e48
|
7
|
+
data.tar.gz: 668b8cf92c6e6267a98c96c916c01ee49fc82f4f50f357d42d03eaa3a075ac8fe6f10eed420d81c59f9cdfd414846d7fefc0595554c72e085a16e3f6f6d09513
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
v0.7.0 [☰](https://github.com/marcomd/Philter/compare/v0.7.0...v0.6.0) May 24th, 2016
|
2
|
+
------------------------------
|
3
|
+
* Added performance tests
|
4
|
+
|
1
5
|
v0.6.0 [☰](https://github.com/marcomd/Philter/compare/v0.5.0...v0.6.0) May 24th, 2016
|
2
6
|
------------------------------
|
3
7
|
* Improved code readability
|
data/README.md
CHANGED
@@ -203,9 +203,21 @@ To use it in a rails project, add to gem file `gem 'philter'` and run `bundle in
|
|
203
203
|
|
204
204
|
## Testing
|
205
205
|
|
206
|
+
To test locally install the development requirements
|
207
|
+
|
206
208
|
bundle install
|
207
|
-
|
208
|
-
|
209
|
+
|
210
|
+
Then execute
|
211
|
+
|
212
|
+
bundle exec ruby test\unit_test.rb
|
213
|
+
|
214
|
+
Performance tests are calibrated to not exceed 1.2 seconds on my pc with a tolerance become 2 seconds:
|
215
|
+
|
216
|
+
bundle exec ruby test\performance_test.rb
|
217
|
+
|
218
|
+
If you have a very slow pc it could not pass. In this case you can pass as an argument a higher tolerance value, for example 3 seconds:
|
219
|
+
|
220
|
+
bundle exec ruby test\performance_test.rb 3.0
|
209
221
|
|
210
222
|
## Found a bug?
|
211
223
|
|
data/lib/version.rb
CHANGED