fanforce-api 0.20.0 → 0.21.0

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
File without changes
File without changes
File without changes
data/Gemfile CHANGED
File without changes
data/LICENSE.md CHANGED
File without changes
data/README.md CHANGED
File without changes
data/Rakefile CHANGED
File without changes
File without changes
File without changes
@@ -82,6 +82,11 @@ class Fanforce::API
82
82
  post '/bie/track', req_params.merge(plugin_id: plugin_id)
83
83
  end
84
84
 
85
+ def recommend(addon_type, addon_id, unique_key, custom_fields={})
86
+ req_params = {unique_key: unique_key, custom_fields: custom_fields, "#{addon_type}_id" => addon_id}
87
+ post '/bie/recommend', req_params
88
+ end
89
+
85
90
  def auth(auth_data=nil)
86
91
  @auth_hash ||= {}
87
92
  return @auth_hash if is_blank?(auth_data)
File without changes
File without changes
File without changes
@@ -1,5 +1,5 @@
1
1
  class Fanforce
2
2
  class API
3
- VERSION = '0.20.0'
3
+ VERSION = '0.21.0'
4
4
  end
5
5
  end
File without changes
metadata CHANGED
@@ -1,18 +1,20 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fanforce-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.20.0
4
+ version: 0.21.0
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Caleb Clark
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2013-12-02 00:00:00.000000000 Z
12
+ date: 2014-07-16 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: rest-client
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
19
  - - ~>
18
20
  - !ruby/object:Gem::Version
@@ -20,6 +22,7 @@ dependencies:
20
22
  type: :runtime
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
23
26
  requirements:
24
27
  - - ~>
25
28
  - !ruby/object:Gem::Version
@@ -27,6 +30,7 @@ dependencies:
27
30
  - !ruby/object:Gem::Dependency
28
31
  name: fanforce-exceptions
29
32
  requirement: !ruby/object:Gem::Requirement
33
+ none: false
30
34
  requirements:
31
35
  - - ~>
32
36
  - !ruby/object:Gem::Version
@@ -34,6 +38,7 @@ dependencies:
34
38
  type: :runtime
35
39
  prerelease: false
36
40
  version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
37
42
  requirements:
38
43
  - - ~>
39
44
  - !ruby/object:Gem::Version
@@ -41,6 +46,7 @@ dependencies:
41
46
  - !ruby/object:Gem::Dependency
42
47
  name: fanforce-validations
43
48
  requirement: !ruby/object:Gem::Requirement
49
+ none: false
44
50
  requirements:
45
51
  - - ~>
46
52
  - !ruby/object:Gem::Version
@@ -48,6 +54,7 @@ dependencies:
48
54
  type: :runtime
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
51
58
  requirements:
52
59
  - - ~>
53
60
  - !ruby/object:Gem::Version
@@ -76,26 +83,27 @@ files:
76
83
  - test/fanforce_test.rb
77
84
  homepage: http://github.com/fanforce/fanforce-api-ruby
78
85
  licenses: []
79
- metadata: {}
80
86
  post_install_message:
81
87
  rdoc_options: []
82
88
  require_paths:
83
89
  - lib
84
90
  required_ruby_version: !ruby/object:Gem::Requirement
91
+ none: false
85
92
  requirements:
86
93
  - - ! '>='
87
94
  - !ruby/object:Gem::Version
88
95
  version: '0'
89
96
  required_rubygems_version: !ruby/object:Gem::Requirement
97
+ none: false
90
98
  requirements:
91
99
  - - ! '>='
92
100
  - !ruby/object:Gem::Version
93
101
  version: '0'
94
102
  requirements: []
95
103
  rubyforge_project:
96
- rubygems_version: 2.0.3
104
+ rubygems_version: 1.8.23
97
105
  signing_key:
98
- specification_version: 4
106
+ specification_version: 3
99
107
  summary: Ruby API wrapper for Fanforce
100
108
  test_files:
101
109
  - test/fanforce_test.rb
checksums.yaml DELETED
@@ -1,15 +0,0 @@
1
- ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- NjY3OTM2Njg5NWQxODkzOTE5NGI4OGY2MTk4NWFlNWQwNDc5ZTRjNw==
5
- data.tar.gz: !binary |-
6
- NTE3NGZjODRmMzlmNDUyYThkYzVlOGZiMjA5YTFkNzYxZGFmMzBiYw==
7
- !binary "U0hBNTEy":
8
- metadata.gz: !binary |-
9
- MWFiZmEyOTJkYjQzNjA5OTA0NzcwOTcwOTYwY2ZmNDJjOWU3ZGQ3ODBmZjMw
10
- ZmZlZDdlMTlmNGIzYmExODM5ZTIzOTJjNjQ5YmE1MWZkMzA3NWY0ZTkwODU0
11
- NjhjNTJlYjA3YTE1NWYwZTNlNTM5OTYxN2E5N2ZiOGQwNzRmZmE=
12
- data.tar.gz: !binary |-
13
- ZDk3ZDA2MDBjZmViOWVhOGRhMjcwZGQ1YWJlNGE3MGJkYjJmZGY5YTM5YmNh
14
- ZjYxNzU4NmExZWM0N2Y4NWFlNjU3NzgxMjUyMzFhYWM1NDhkNGRjYTdhM2Y1
15
- OTE1ZDc2NzcyYzRiMTZjOThhNWQ0ZjdkMzRmMjYzNGFmYzRjY2Q=