rsubhak 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1) hide show
  1. metadata +7 -8
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rsubhak
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,14 +9,13 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-04-03 00:00:00.000000000Z
12
+ date: 2012-04-04 00:00:00.000000000Z
13
13
  dependencies: []
14
- description: ! 'Rsubhak can be used to sanitize a params hash. For instance, remove
15
- currency symbols and/or commas from decimal fields (e.g. price, cost, quantity),
16
- thereby converting ''$1,500.00'' to ''1500.00''. But really, it''s quite generic:
17
- Recursively traverse a hash or array (ha), searching for all occurrences of hash
18
- key (k), and substituting (within their values) all occurrences of pattern (p) for
19
- replacement (r).'
14
+ description: ! 'Recursively traverse a hash or array (ha), searching for all occurrences
15
+ of hash key (k), and substituting (within their values) all occurrences of pattern
16
+ (p) for replacement (r).. Though the initial intent was to sanitize the params hash
17
+ as far as removing currency symbols and/or commas from attributes such as price
18
+ and quantity, there is a better approach: see the note on the homepage.'
20
19
  email:
21
20
  - alexbatko@gmail.com
22
21
  executables: []