fanforce-plugin-factory 0.8.0 → 0.8.1

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
- ZWExZWE4MTY5YzgxZTQyNGQzMTEwZTRjNzMzZGUyNjhlM2I0MDY5NQ==
4
+ YWFlNjViNmUzNDkyODgyYTgwOTllZmEyYjdlNzY5YzdkZGVmMDJmOA==
5
5
  data.tar.gz: !binary |-
6
- N2Q5MThlYWIwNGNiNWI0YTMxMmRiMzRkMmRhNTYzMzA0MzU2YzJkMQ==
6
+ ZTU1NzE1NWVhOTYwYWM0NWQxZDNhMjAyYjBlMzE5Y2M5YmI1ODU2Yw==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- YWNkYzRlYzM5MWE3Nzg4OTlkMmI2Zjg2OTUxZTlmNWZjODJmMWFlODMwY2Ni
10
- ZjE5ZmUyMjNmYWQwZjM3MDJlM2FlM2ZjNDRmNGExOGY5OTI2ZGZmZmVkMzY4
11
- MzAyYzkyYmJhZjg0MDZlOTU0NDhiYzczNjQ0Y2M5ODY1ZmE0Y2Y=
9
+ YWNiMzhmNjI5MTQ0ZWU1MzY1NDY1Yjk3NDY4YjAxZDRhZWQzMjMzZmE1MzM2
10
+ ZjdjYmIzNjc3Njg5YWMxODdlMmUzZWE5ZDJkYTUzMzE5ZDA1NmQyZmZkOWMx
11
+ MWU5NjM5NGNiZTQ4OTdkY2FlMTk3NGI3MTUxMWM0MGIyNTQ2Zjk=
12
12
  data.tar.gz: !binary |-
13
- NGYwMGNiZmQ3YTEyYzFkNzI5MmVhNTJmMGNkNTAwZGY0YzMxZGM2ZGM5ZjQ0
14
- MjE0MGZhYmFiMTExNjgzYTMyNjI1NmI1NTkwMTZiOGRmZDBmMWYxOGNhOWJm
15
- YzNmN2FmNGU2OTkyYmU3Y2FiZmExMDVjYjI1MjNhMmU0YWFhZjg=
13
+ ZjdiYmYyMDIxMDRmMWRjZjdhN2Y3MmY4MjYxZjY1ZTU5MzU0NjkxMmIyMTQx
14
+ Y2M4NDFiMmRiYmMxOTA5ZjZkNzA4YzYwODUxMzgzMzg5MTdiNmMxOGY4MDlj
15
+ NWExYmYxMDUwNTFmOTVlZjdhNGM5YmExMThlODY4YzA4MTM1ZTY=
@@ -8,7 +8,7 @@ class FanforcePlugin::Sinatra
8
8
  error 400..600 do
9
9
  e = env['sinatra.error'] or (next response if e.nil?)
10
10
 
11
- if Object.const_defined?('Fanforce') and Fanforce.const_defined?('Api') and e.is_a?(Fanforce::Api::Error)
11
+ if Object.const_defined?('Fanforce') and Fanforce.const_defined?('API') and e.is_a?(Fanforce::API::Error)
12
12
  errors = e.errors
13
13
  else
14
14
  errors = e.respond_to?(:public_errors) ? e.public_errors : []
@@ -1,5 +1,5 @@
1
1
  class Fanforce
2
2
  module PluginFactory
3
- VERSION = '0.8.0'
3
+ VERSION = '0.8.1'
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.8.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Caleb Clark