fanforce-app-factory 0.31.1 → 0.34.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
- MDQ1Y2Q5M2M4MTAzMzlkZDA4NGQ0MDQ0ZjlkNDcyMDNjYzQyNmZkNA==
4
+ YTVlNTg4MTQ0MGY1MDY1NmY1MWU0NjljYjY5MzlmMDkwNDMwNmQyMA==
5
5
  data.tar.gz: !binary |-
6
- NGVlZjZlOGMxOGE3ZTc4M2ViZWJjZDZjNDkwNjA4MGNkMGYzMzA4NA==
6
+ NTc1OTMyOTA4NGU3NzY0NzMwN2IyYjIxMzdhZjljMDY2NzJlYmE4Yg==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- OGJkYzRlZTI1MjY3NTlhM2Y0ZDI3ZTI5OWExMWY2NjRhNTdiNmQ1MzczNDhj
10
- NTQxMzA0MDBmOTkxYWU2NTlmZGM4ZTY5OGFlNzc2NDRiOThhOTA2YTUxOGNh
11
- OWVjNGZiMGQyNTEyN2VlZGUyNTAwYTZmOWUxYzg3MjQ2NjM2YWE=
9
+ OTU1NmIxNWEzZDhjMTAwNmFkYzRlNzBmNmRiYjExZmNjODY4MWQ0YTk2YWVk
10
+ NDBkMDAxM2Q3MzhmNWNkYzAyNGQzNTJmNTkxM2ZlYjAzZGRmNGExNzBkNWRh
11
+ NjhlYmZlODZiYzgzNDZkYWUwZjcxMzQ0NjM1NTM0MGU3MTNiOWY=
12
12
  data.tar.gz: !binary |-
13
- MWVkZTc1NzRjYTJkYjhjN2I3Y2E1M2JhNjVhYmY3ZWE2Yzc3NDRlOTJiMWI5
14
- YzIyMzEwOWY2MjA0YTEzNWQ3MWJlZjJkMThjZWU3ZDdjNDRjMTI4ZGUzN2Rh
15
- NjEyZjkwMzc4NmFiMWYyN2M1MjRkMTYyODliNWQ3YjFkZTBlOTc=
13
+ ZGUwMzNjNjZlMTcwYWIxMjZmYmUxMWJjZWJhNmE5ZTMxMTk3ZTAxZDA2OWVk
14
+ MGE4ZTZlMmMxNmQyMjBhMmMyZTU3MzZkNmFjNDM0NzczMzcyYTJlZWFmZjk5
15
+ ZDlmZWE4Nzc3ODY5YTRlNWJhNWUxZmI1M2ExM2ZjM2FiZWIzYzM=
@@ -1,5 +1,6 @@
1
1
  ENV['RACK_ENV'] ||= 'development'
2
2
  ####################################################################################
3
+ require 'rack/jsonr'
3
4
  require 'fanforce/api'
4
5
  require 'fanforce/worker'
5
6
  require 'active_support/all'
@@ -53,7 +54,9 @@ module FanforceApp
53
54
  return sprockets.index.call(env)
54
55
  end
55
56
  require_relative 'app_factory/_init_sinatra'
56
- FanforceApp::Sinatra.new.call(env)
57
+ app = FanforceApp::Sinatra.new
58
+ Rack::JSONR.new(app, :method_override => :all).call(env)
59
+ app.call(env)
57
60
  end
58
61
 
59
62
  require_relative 'app_factory/config/core_config'
@@ -1,5 +1,4 @@
1
1
  require 'sinatra/content_for'
2
- require 'rack/jsonr'
3
2
  require 'bugsnag'
4
3
  ####################################################################################
5
4
 
@@ -1,5 +1,5 @@
1
1
  class Fanforce
2
2
  module AppFactory
3
- VERSION = '0.31.1'
3
+ VERSION = '0.34.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fanforce-app-factory
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.31.1
4
+ version: 0.34.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Caleb Clark