fanforce 0.3.8 → 0.3.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -42,7 +42,7 @@ module Fanforce::Utils
42
42
  end
43
43
 
44
44
  def remove_nil_values(hash)
45
- hash.delete_if {|k,v| v.nil? }
45
+ hash.clone.delete_if {|k,v| v.nil? }
46
46
  end
47
47
 
48
48
  def collect_known_params(params)
@@ -63,11 +63,11 @@ module Fanforce::Utils
63
63
  end
64
64
 
65
65
  def remove_internal_params(params)
66
- params.delete_if { |k,v| [:app_id, :behavior_id, :module_id, :widget_id, :plugin_type, :plugin_id, :fanforce_id, :fanforce_slug, :api_key].include? k }
66
+ params.clone.delete_if { |k,v| [:app_id, :behavior_id, :module_id, :widget_id, :plugin_type, :plugin_id, :fanforce_id, :fanforce_slug, :api_key].include? k }
67
67
  end
68
68
 
69
69
  def remove_sensitive_params(params)
70
- params.delete_if { |k,v| [:api_key].include? k }
70
+ params.clone.delete_if { |k,v| [:api_key].include? k }
71
71
  end
72
72
 
73
73
  def parse_url(raw_url)
@@ -1,3 +1,3 @@
1
1
  class Fanforce
2
- VERSION = "0.3.8"
2
+ VERSION = "0.3.9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fanforce
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.8
4
+ version: 0.3.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: