fanforce 0.4.9 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- data/fanforce.gemspec +2 -2
- data/lib/fanforce/main.rb +1 -1
- data/lib/fanforce/version.rb +1 -1
- metadata +7 -7
data/fanforce.gemspec
CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |gem|
|
|
18
18
|
gem.require_paths = ["lib"]
|
19
19
|
|
20
20
|
gem.add_development_dependency 'rake'
|
21
|
-
gem.add_runtime_dependency 'multi_json', '
|
22
|
-
gem.add_runtime_dependency 'rest-client', '
|
21
|
+
gem.add_runtime_dependency 'multi_json', '~> 1.3'
|
22
|
+
gem.add_runtime_dependency 'rest-client', '~> 1.6.7'
|
23
23
|
gem.add_runtime_dependency 'rack', '> 1.0'
|
24
24
|
end
|
data/lib/fanforce/main.rb
CHANGED
@@ -102,7 +102,7 @@ class Fanforce
|
|
102
102
|
@auth_hash ||= {}
|
103
103
|
return @auth_hash if is_blank?(auth_data)
|
104
104
|
auth_data = auth_data.is_a?(Hash) ? auth_data.symbolize_keys : {api_key: auth_data.to_s}
|
105
|
-
@auth_hash.merge! remove_nil_values(api_key: auth_data[:api_key], fanforce_id: auth_data[:fanforce_id], fanforce_slug: auth_data[:fanforce_slug]
|
105
|
+
@auth_hash.merge! remove_nil_values(api_key: auth_data[:api_key], fanforce_id: auth_data[:fanforce_id], fanforce_slug: auth_data[:fanforce_slug])
|
106
106
|
params.merge!(@auth_hash)
|
107
107
|
valid_auth?
|
108
108
|
end
|
data/lib/fanforce/version.rb
CHANGED
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.
|
4
|
+
version: 0.5.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -32,23 +32,23 @@ dependencies:
|
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
33
33
|
none: false
|
34
34
|
requirements:
|
35
|
-
- -
|
35
|
+
- - ~>
|
36
36
|
- !ruby/object:Gem::Version
|
37
|
-
version: 1.3
|
37
|
+
version: '1.3'
|
38
38
|
type: :runtime
|
39
39
|
prerelease: false
|
40
40
|
version_requirements: !ruby/object:Gem::Requirement
|
41
41
|
none: false
|
42
42
|
requirements:
|
43
|
-
- -
|
43
|
+
- - ~>
|
44
44
|
- !ruby/object:Gem::Version
|
45
|
-
version: 1.3
|
45
|
+
version: '1.3'
|
46
46
|
- !ruby/object:Gem::Dependency
|
47
47
|
name: rest-client
|
48
48
|
requirement: !ruby/object:Gem::Requirement
|
49
49
|
none: false
|
50
50
|
requirements:
|
51
|
-
- -
|
51
|
+
- - ~>
|
52
52
|
- !ruby/object:Gem::Version
|
53
53
|
version: 1.6.7
|
54
54
|
type: :runtime
|
@@ -56,7 +56,7 @@ dependencies:
|
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
none: false
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - ~>
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: 1.6.7
|
62
62
|
- !ruby/object:Gem::Dependency
|