rooftop-rails 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 88ea19d1fe60db93b285c6ab729f39c77c635cef
|
4
|
+
data.tar.gz: f78fbc9c7a8d107535fb5bee0ab54fbb98ee0023
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b8eb321d553adf40043c152e46ff1136436c4ad5673a7b5bf69cadb54a34c08c4d10a4e51a7885dc807e0a6071f88a20f7af338cbc18719d07233695abe6a89
|
7
|
+
data.tar.gz: 32af41894c54d6da455089bf44ef305e121b240a21d8c4408b122d568443bc17d6184abfdcc8528536ce60486fd45c15dd9718116a2aabb0e2a4493074b34dd1
|
@@ -1,10 +1,10 @@
|
|
1
|
-
class Rooftop::Rails::WebhooksController <
|
1
|
+
class Rooftop::Rails::WebhooksController < ApplicationController
|
2
2
|
# if Rooftop::Rails.configuration.authenticate_webhooks
|
3
3
|
# http_basic_authenticate_with name: Rooftop::Rails.configuration.webhooks_username,
|
4
4
|
# password: Rooftop::Rails.configuration.webhooks_password
|
5
5
|
# end
|
6
6
|
|
7
|
-
|
7
|
+
skip_before_action :verify_authenticity_token, :only => [:create]
|
8
8
|
|
9
9
|
#this is where we receive a webhook, via a POST
|
10
10
|
def create
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rooftop-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Error Studio
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: require_all
|
@@ -99,6 +99,7 @@ files:
|
|
99
99
|
- lib/rooftop/rails/engine.rb
|
100
100
|
- lib/rooftop/rails/errors.rb
|
101
101
|
- lib/rooftop/rails/post_type_resolver.rb
|
102
|
+
- lib/rooftop/rails/rails_controller_factory.rb
|
102
103
|
- lib/rooftop/rails/route_resolver.rb
|
103
104
|
- lib/rooftop/rails/version.rb
|
104
105
|
- test/controllers/rooftop_rails/webhooks_controller_test.rb
|