ffcrm_endpoint 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. checksums.yaml +15 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +77 -0
  4. data/Rakefile +38 -0
  5. data/app/controllers/ffcrm_endpoint/endpoints_controller.rb +26 -0
  6. data/app/views/ffcrm_endpoint/endpoints/consume.html.haml +4 -0
  7. data/app/views/ffcrm_endpoint/endpoints/consume.js.erb +0 -0
  8. data/config/routes.rb +5 -0
  9. data/lib/ffcrm_endpoint/endpoint.rb +78 -0
  10. data/lib/ffcrm_endpoint/engine.rb +16 -0
  11. data/lib/ffcrm_endpoint/version.rb +3 -0
  12. data/lib/ffcrm_endpoint.rb +4 -0
  13. data/lib/tasks/ffcrm_endpoint_tasks.rake +4 -0
  14. data/spec/controllers/endpoints_controller_spec.rb +27 -0
  15. data/spec/dummy/README.rdoc +261 -0
  16. data/spec/dummy/Rakefile +7 -0
  17. data/spec/dummy/app/assets/javascripts/application.js +15 -0
  18. data/spec/dummy/app/assets/stylesheets/application.css +13 -0
  19. data/spec/dummy/app/controllers/application_controller.rb +3 -0
  20. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  21. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  22. data/spec/dummy/config/application.rb +65 -0
  23. data/spec/dummy/config/boot.rb +10 -0
  24. data/spec/dummy/config/database.yml +17 -0
  25. data/spec/dummy/config/environment.rb +5 -0
  26. data/spec/dummy/config/environments/development.rb +37 -0
  27. data/spec/dummy/config/environments/production.rb +67 -0
  28. data/spec/dummy/config/environments/test.rb +37 -0
  29. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  30. data/spec/dummy/config/initializers/inflections.rb +15 -0
  31. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  32. data/spec/dummy/config/initializers/secret_token.rb +7 -0
  33. data/spec/dummy/config/initializers/session_store.rb +8 -0
  34. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  35. data/spec/dummy/config/locales/en.yml +5 -0
  36. data/spec/dummy/config/routes.rb +58 -0
  37. data/spec/dummy/config.ru +4 -0
  38. data/spec/dummy/db/schema.rb +457 -0
  39. data/spec/dummy/log/development.log +221 -0
  40. data/spec/dummy/log/test.log +374 -0
  41. data/spec/dummy/public/404.html +26 -0
  42. data/spec/dummy/public/422.html +26 -0
  43. data/spec/dummy/public/500.html +25 -0
  44. data/spec/dummy/public/favicon.ico +0 -0
  45. data/spec/dummy/script/rails +6 -0
  46. data/spec/lib/endpoint_spec.rb +34 -0
  47. data/spec/routing/endpoint_routing_spec.rb +21 -0
  48. data/spec/spec_helper.rb +17 -0
  49. metadata +197 -0
metadata ADDED
@@ -0,0 +1,197 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ffcrm_endpoint
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Steve Kenworthy
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2013-11-23 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: 3.2.13
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: 3.2.13
27
+ - !ruby/object:Gem::Dependency
28
+ name: rspec-rails
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ! '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ! '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: capybara
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ! '>='
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: factory_girl_rails
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ! '>='
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: pg
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ! '>='
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ! '>='
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ description: A framework for quickly writing an endpoint to consume webhooks from
84
+ other systems.
85
+ email:
86
+ - steveyken@gmail.com
87
+ executables: []
88
+ extensions: []
89
+ extra_rdoc_files: []
90
+ files:
91
+ - app/controllers/ffcrm_endpoint/endpoints_controller.rb
92
+ - app/views/ffcrm_endpoint/endpoints/consume.js.erb
93
+ - app/views/ffcrm_endpoint/endpoints/consume.html.haml
94
+ - config/routes.rb
95
+ - lib/ffcrm_endpoint.rb
96
+ - lib/ffcrm_endpoint/engine.rb
97
+ - lib/ffcrm_endpoint/endpoint.rb
98
+ - lib/ffcrm_endpoint/version.rb
99
+ - lib/tasks/ffcrm_endpoint_tasks.rake
100
+ - MIT-LICENSE
101
+ - Rakefile
102
+ - README.md
103
+ - spec/routing/endpoint_routing_spec.rb
104
+ - spec/lib/endpoint_spec.rb
105
+ - spec/controllers/endpoints_controller_spec.rb
106
+ - spec/spec_helper.rb
107
+ - spec/dummy/app/controllers/application_controller.rb
108
+ - spec/dummy/app/views/layouts/application.html.erb
109
+ - spec/dummy/app/helpers/application_helper.rb
110
+ - spec/dummy/app/assets/javascripts/application.js
111
+ - spec/dummy/app/assets/stylesheets/application.css
112
+ - spec/dummy/README.rdoc
113
+ - spec/dummy/db/schema.rb
114
+ - spec/dummy/public/404.html
115
+ - spec/dummy/public/favicon.ico
116
+ - spec/dummy/public/422.html
117
+ - spec/dummy/public/500.html
118
+ - spec/dummy/log/test.log
119
+ - spec/dummy/log/development.log
120
+ - spec/dummy/config/application.rb
121
+ - spec/dummy/config/routes.rb
122
+ - spec/dummy/config/initializers/backtrace_silencers.rb
123
+ - spec/dummy/config/initializers/mime_types.rb
124
+ - spec/dummy/config/initializers/session_store.rb
125
+ - spec/dummy/config/initializers/inflections.rb
126
+ - spec/dummy/config/initializers/secret_token.rb
127
+ - spec/dummy/config/initializers/wrap_parameters.rb
128
+ - spec/dummy/config/locales/en.yml
129
+ - spec/dummy/config/boot.rb
130
+ - spec/dummy/config/database.yml
131
+ - spec/dummy/config/environments/development.rb
132
+ - spec/dummy/config/environments/test.rb
133
+ - spec/dummy/config/environments/production.rb
134
+ - spec/dummy/config/environment.rb
135
+ - spec/dummy/config.ru
136
+ - spec/dummy/script/rails
137
+ - spec/dummy/Rakefile
138
+ homepage: http://www.fatfreecrm.com
139
+ licenses:
140
+ - MIT-LICENSE
141
+ metadata: {}
142
+ post_install_message:
143
+ rdoc_options: []
144
+ require_paths:
145
+ - lib
146
+ required_ruby_version: !ruby/object:Gem::Requirement
147
+ requirements:
148
+ - - ! '>='
149
+ - !ruby/object:Gem::Version
150
+ version: '0'
151
+ required_rubygems_version: !ruby/object:Gem::Requirement
152
+ requirements:
153
+ - - ! '>='
154
+ - !ruby/object:Gem::Version
155
+ version: '0'
156
+ requirements: []
157
+ rubyforge_project:
158
+ rubygems_version: 2.0.3
159
+ signing_key:
160
+ specification_version: 4
161
+ summary: Enables Fat Free CRM to receive webhooks
162
+ test_files:
163
+ - spec/routing/endpoint_routing_spec.rb
164
+ - spec/lib/endpoint_spec.rb
165
+ - spec/controllers/endpoints_controller_spec.rb
166
+ - spec/spec_helper.rb
167
+ - spec/dummy/app/controllers/application_controller.rb
168
+ - spec/dummy/app/views/layouts/application.html.erb
169
+ - spec/dummy/app/helpers/application_helper.rb
170
+ - spec/dummy/app/assets/javascripts/application.js
171
+ - spec/dummy/app/assets/stylesheets/application.css
172
+ - spec/dummy/README.rdoc
173
+ - spec/dummy/db/schema.rb
174
+ - spec/dummy/public/404.html
175
+ - spec/dummy/public/favicon.ico
176
+ - spec/dummy/public/422.html
177
+ - spec/dummy/public/500.html
178
+ - spec/dummy/log/test.log
179
+ - spec/dummy/log/development.log
180
+ - spec/dummy/config/application.rb
181
+ - spec/dummy/config/routes.rb
182
+ - spec/dummy/config/initializers/backtrace_silencers.rb
183
+ - spec/dummy/config/initializers/mime_types.rb
184
+ - spec/dummy/config/initializers/session_store.rb
185
+ - spec/dummy/config/initializers/inflections.rb
186
+ - spec/dummy/config/initializers/secret_token.rb
187
+ - spec/dummy/config/initializers/wrap_parameters.rb
188
+ - spec/dummy/config/locales/en.yml
189
+ - spec/dummy/config/boot.rb
190
+ - spec/dummy/config/database.yml
191
+ - spec/dummy/config/environments/development.rb
192
+ - spec/dummy/config/environments/test.rb
193
+ - spec/dummy/config/environments/production.rb
194
+ - spec/dummy/config/environment.rb
195
+ - spec/dummy/config.ru
196
+ - spec/dummy/script/rails
197
+ - spec/dummy/Rakefile