philter 0.6.0 → 0.7.0

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.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +4 -0
  3. data/README.md +14 -2
  4. data/lib/version.rb +1 -1
  5. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d34fdc2c11fc99bd8a888a5fbc35f53c6ffd21cf
4
- data.tar.gz: 01a3d93900d8c15305ca92e31a35937c91e307ff
3
+ metadata.gz: 8951ec753df7fa132093b21a0a8009a9c329d9cb
4
+ data.tar.gz: 07984bed1282a70c5de687efd3437cec0aea6253
5
5
  SHA512:
6
- metadata.gz: 68143b50dacb7215269c26253418c3e6dacf266fd6290377f30770872042cfeae91cf794ec3d8347c845359b08ecea803f0e12c1220d141a0a0258f565fa9a72
7
- data.tar.gz: 9be1d27635d66c6e2a533704629895ef25c253102b0ced666dfb8b7275a2576b169635d09fca77fa49de8abea19cd89433323a7ab57aa1146676ebbd480ad942
6
+ metadata.gz: 6433fb9f2a1834a1338bf35eac6212abbda14fa56e6c82eb3e8ece0a5a2bcbb8eab677e563151efe3486435745b2478b1e8910c6bc0de27af1d91a9bc1189e48
7
+ data.tar.gz: 668b8cf92c6e6267a98c96c916c01ee49fc82f4f50f357d42d03eaa3a075ac8fe6f10eed420d81c59f9cdfd414846d7fefc0595554c72e085a16e3f6f6d09513
@@ -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
- bundle exec ruby test\philter_test.rb
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
 
@@ -1,5 +1,5 @@
1
1
  module Philter
2
2
  def self.version
3
- "0.6.0"
3
+ "0.7.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: philter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marco Mastrodonato