glitchy_gem 0.3 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # GlitchyGem
2
2
 
3
- To install go to http://glitchapp.com and create an account. Click edit profile and save your API Key. Create a file in you config/initializers directory called glitchy.rb and put this in it:
3
+ To install go to http://glitchyapp.com and create an account. Click edit profile and save your API Key. Create a file in you config/initializers directory called glitchy.rb and put this in it:
4
4
 
5
5
  ```ruby
6
6
  GlitchyGem.configure do |config|
@@ -36,6 +36,9 @@ module GlitchyGem
36
36
  filter_fields = GlitchyGem.filter_params.map(&:upcase)
37
37
  filtered_params = {}
38
38
  params.each_pair do |k,v|
39
+ if v.class.to_s == "Hash"
40
+ v = filter_params(v)
41
+ end
39
42
  filtered_params[k] = filter_fields.include?(k.upcase) ? "[FILTERED]" : v
40
43
  end
41
44
 
@@ -1,3 +1,3 @@
1
1
  module GlitchyGem
2
- VERSION = "0.3"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glitchy_gem
3
3
  version: !ruby/object:Gem::Version
4
- hash: 13
4
+ hash: 17
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- version: "0.3"
9
+ - 1
10
+ version: 0.3.1
10
11
  platform: ruby
11
12
  authors:
12
13
  - GlitchyApp
@@ -14,7 +15,7 @@ autorequire:
14
15
  bindir: bin
15
16
  cert_chain: []
16
17
 
17
- date: 2011-06-29 00:00:00 -07:00
18
+ date: 2011-07-02 00:00:00 -07:00
18
19
  default_executable:
19
20
  dependencies:
20
21
  - !ruby/object:Gem::Dependency