fanforce-plugin-factory 0.7.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZGI0MzkyNmQ5MDU4ZGM0MDMzNjg1ZjQzYmFkYzdmYTFiNGU4MDI3Yg==
4
+ ZWExZWE4MTY5YzgxZTQyNGQzMTEwZTRjNzMzZGUyNjhlM2I0MDY5NQ==
5
5
  data.tar.gz: !binary |-
6
- YzJmMmVlYWM1OGQzYWZkM2NkMjZiN2RhNDI3MDRlZjY0ZDliODk2ZA==
6
+ N2Q5MThlYWIwNGNiNWI0YTMxMmRiMzRkMmRhNTYzMzA0MzU2YzJkMQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- ZDJlYjQ3NTVmNjE1YWEyYjczNjVmOGM1OGVjYTA4MzA4N2IzNTkyMTM2NWEw
10
- OGEzMzEzNGM3YzdlNDY4ZWVkYjg3NTM3N2NlYzBiM2IxYWE5NGM1YzUwMmE3
11
- YTRiYzliZTZkODcyMGU1ZWRiODg1ZTBhMmM4MjI0NmIzYjhiNGQ=
9
+ YWNkYzRlYzM5MWE3Nzg4OTlkMmI2Zjg2OTUxZTlmNWZjODJmMWFlODMwY2Ni
10
+ ZjE5ZmUyMjNmYWQwZjM3MDJlM2FlM2ZjNDRmNGExOGY5OTI2ZGZmZmVkMzY4
11
+ MzAyYzkyYmJhZjg0MDZlOTU0NDhiYzczNjQ0Y2M5ODY1ZmE0Y2Y=
12
12
  data.tar.gz: !binary |-
13
- YTZlZGJiYTc1ZjFlNjBmNGNhYTNkY2UzMGQzZTUyZDc5OTIyMmQ2NzhjYmNl
14
- ZWQ3YzUyYWMxMzQwNDM3ZDY1MThjMzQ1Yzg2ZGYxODFjZTNjZjMxY2Q5Yzc4
15
- ZTIzNGZhODY3YjFhYjY5OTA1MDY5MDBjNmMyYzgwOWRmNmQxYzI=
13
+ NGYwMGNiZmQ3YTEyYzFkNzI5MmVhNTJmMGNkNTAwZGY0YzMxZGM2ZGM5ZjQ0
14
+ MjE0MGZhYmFiMTExNjgzYTMyNjI1NmI1NTkwMTZiOGRmZDBmMWYxOGNhOWJm
15
+ YzNmN2FmNGU2OTkyYmU3Y2FiZmExMDVjYjI1MjNhMmU0YWFhZjg=
@@ -37,6 +37,6 @@ Gem::Specification.new do |gem|
37
37
  gem.add_runtime_dependency 'uglifier', '~> 1.3'
38
38
 
39
39
  gem.add_runtime_dependency 'rack-jsonr', '~> 0.2'
40
- gem.add_runtime_dependency 'fanforce-api', '~> 0.8'
40
+ gem.add_runtime_dependency 'fanforce-api', '~> 0.9'
41
41
  gem.add_runtime_dependency 'fanforce-errors', '~> 0.2'
42
42
  end
@@ -7,7 +7,7 @@ module Sinatra::FanforceHelpers
7
7
 
8
8
  def ff
9
9
  return @ff if @ff.present?
10
- @ff = Fanforce.new(params)
10
+ @ff = Fanforce::API.new(params)
11
11
  #return @ff if !@ff.valid_fanforce_request? and !@ff.valid_fanforce_js_request?
12
12
 
13
13
  @ff.auth Sinatra::FanforceHelpers.find_api_key(ff.params[:fanforce_id])
@@ -32,4 +32,10 @@ class FanforcePlugin::Sinatra
32
32
  end
33
33
  any '/uninstall' do route_uninstall(params) end
34
34
 
35
+ # PING-PONG ####################################################################
36
+ def route_ping_pong(params)
37
+ json success: true
38
+ end
39
+ get '/ping-pong' do route_ping_pong(params) end
40
+
35
41
  end
@@ -1,5 +1,5 @@
1
1
  class Fanforce
2
2
  module PluginFactory
3
- VERSION = '0.7.0'
3
+ VERSION = '0.8.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fanforce-plugin-factory
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Caleb Clark
@@ -268,14 +268,14 @@ dependencies:
268
268
  requirements:
269
269
  - - ~>
270
270
  - !ruby/object:Gem::Version
271
- version: '0.8'
271
+ version: '0.9'
272
272
  type: :runtime
273
273
  prerelease: false
274
274
  version_requirements: !ruby/object:Gem::Requirement
275
275
  requirements:
276
276
  - - ~>
277
277
  - !ruby/object:Gem::Version
278
- version: '0.8'
278
+ version: '0.9'
279
279
  - !ruby/object:Gem::Dependency
280
280
  name: fanforce-errors
281
281
  requirement: !ruby/object:Gem::Requirement