jive_webhooks 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a87d191596f7a54c9855cc10ac2ce876cacdc200
4
- data.tar.gz: 317e0189c0fcaffcfe7c3cda9a4eb92e857f1af2
3
+ metadata.gz: ea2b2471f9b7ec6221aa1990151d91b3864b64f5
4
+ data.tar.gz: 015bb75123faaecaf14b06e9327ede40711ea722
5
5
  SHA512:
6
- metadata.gz: c2e4245992e22e2f003b0dad8a28af59ebcf9bf3c6de5759bc17b6c4e082c8dd37ffa666bf3d36d98a53c34f4670e4168c5617357bdcefac24d1a17e55ba48a3
7
- data.tar.gz: 0186035b1d48850253f15ec924c4b5a447ed02174976f16dd592f83aa98dc5ea41c56e0812bf90bb4ff21767714da1de2401aca0de25213702f04f959fffd111
6
+ metadata.gz: 0014b737094d453e0e737baca1005e6bfd617ab991da53565c6b2a861e1104bcc8d8445b0bbce1e9c3ea4b3afa9a1449c4b5be56fa0f68cf73daf161352945a7
7
+ data.tar.gz: b791aa1b68bc4012f1359a27b2036e6e7cc624a7593f09066078826866a3cdb2d0fcd1178a088ff581f44cfe1db0f7e9a50ff3c406668378f2fff066a814985e
@@ -0,0 +1,15 @@
1
+ require_dependency "jive_webhooks/application_controller"
2
+
3
+ module Concerns
4
+ module Controllers
5
+ module Webhooks
6
+ extend JiveWebhooks::Concerns::Controllers::Webhooks
7
+ end
8
+ end
9
+ end
10
+
11
+ module JiveWebhooks
12
+ class WebhooksController < ApplicationController
13
+ include Concerns::Controllers::Webhooks
14
+ end
15
+ end
data/config/routes.rb CHANGED
@@ -1,2 +1,3 @@
1
1
  JiveWebhooks::Engine.routes.draw do
2
+ post '' => "webhooks#create", :as => :webhook_callback
2
3
  end
data/lib/jive_webhooks.rb CHANGED
@@ -1,4 +1,5 @@
1
1
  require "jive_webhooks/engine"
2
+ require "jive_webhooks/concerns/controllers/webhooks"
2
3
 
3
4
  module JiveWebhooks
4
5
  end
@@ -0,0 +1,14 @@
1
+ module JiveWebhooks
2
+ module Concerns
3
+ module Controllers
4
+ module Webhooks
5
+ extend ActiveSupport::Concern
6
+
7
+ def create
8
+
9
+ render :nothing => true, :status => 204
10
+ end
11
+ end
12
+ end
13
+ end
14
+ end
@@ -1,3 +1,3 @@
1
1
  module JiveWebhooks
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,139 +1,139 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jive_webhooks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Butch Marshall
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-26 00:00:00.000000000 Z
11
+ date: 2016-03-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 4.2.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: 4.2.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: jive-add_on
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: jive-webhook
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: sqlite3
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '>'
59
+ - - ">"
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - '>'
66
+ - - ">"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rspec-rails
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - '>='
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - '>='
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: factory_girl_rails
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - '>='
87
+ - - ">="
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - '>='
94
+ - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: capybara
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - '>='
101
+ - - ">="
102
102
  - !ruby/object:Gem::Version
103
103
  version: '0'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - '>='
108
+ - - ">="
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: database_cleaner
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - '>='
115
+ - - ">="
116
116
  - !ruby/object:Gem::Version
117
117
  version: '0'
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - '>='
122
+ - - ">="
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: webmock
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - '>='
129
+ - - ">="
130
130
  - !ruby/object:Gem::Version
131
131
  version: '0'
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - '>='
136
+ - - ">="
137
137
  - !ruby/object:Gem::Version
138
138
  version: '0'
139
139
  description: Api endpoints for making your platform Jive ready.
@@ -148,10 +148,12 @@ files:
148
148
  - app/assets/javascripts/jive_webhooks/application.js
149
149
  - app/assets/stylesheets/jive_webhooks/application.css
150
150
  - app/controllers/jive_webhooks/application_controller.rb
151
+ - app/controllers/jive_webhooks/webhooks_controller.rb
151
152
  - app/helpers/jive_webhooks/application_helper.rb
152
153
  - app/views/layouts/jive_webhooks/application.html.erb
153
154
  - config/routes.rb
154
155
  - lib/jive_webhooks.rb
156
+ - lib/jive_webhooks/concerns/controllers/webhooks.rb
155
157
  - lib/jive_webhooks/engine.rb
156
158
  - lib/jive_webhooks/version.rb
157
159
  - lib/tasks/jive_webhooks_tasks.rake
@@ -165,17 +167,17 @@ require_paths:
165
167
  - lib
166
168
  required_ruby_version: !ruby/object:Gem::Requirement
167
169
  requirements:
168
- - - '>='
170
+ - - ">="
169
171
  - !ruby/object:Gem::Version
170
172
  version: '0'
171
173
  required_rubygems_version: !ruby/object:Gem::Requirement
172
174
  requirements:
173
- - - '>='
175
+ - - ">="
174
176
  - !ruby/object:Gem::Version
175
177
  version: '0'
176
178
  requirements: []
177
179
  rubyforge_project:
178
- rubygems_version: 2.4.8
180
+ rubygems_version: 2.4.6
179
181
  signing_key:
180
182
  specification_version: 4
181
183
  summary: Rails Engine for handling Jive webhooks.