pontiac-webhook 0.1.2

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.
Files changed (27) hide show
  1. checksums.yaml +15 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +32 -0
  4. data/Rakefile +27 -0
  5. data/app/assets/javascripts/pontiac_webhook/application.js +15 -0
  6. data/app/assets/stylesheets/pontiac_webhook/application.css +13 -0
  7. data/app/controllers/pontiac_webhook/application_controller.rb +4 -0
  8. data/app/controllers/pontiac_webhook/webhook_controller.rb +36 -0
  9. data/app/helpers/pontiac_webhook/application_helper.rb +4 -0
  10. data/app/models/shop.rb +8 -0
  11. data/lib/generators/pontiac_webhook/USAGE +11 -0
  12. data/lib/generators/pontiac_webhook/pontiac_webhook_generator.rb +35 -0
  13. data/lib/generators/pontiac_webhook/templates/README +10 -0
  14. data/lib/generators/pontiac_webhook/templates/app/controllers/home_controller.rb +11 -0
  15. data/lib/generators/pontiac_webhook/templates/app/controllers/webhook_controller.rb +18 -0
  16. data/lib/generators/pontiac_webhook/templates/app/jobs/webhook_job.rb +9 -0
  17. data/lib/generators/pontiac_webhook/templates/app/models/order.rb +8 -0
  18. data/lib/generators/pontiac_webhook/templates/app/views/home/index.html.haml +18 -0
  19. data/lib/generators/pontiac_webhook/templates/db/migrate/create_delayed_jobs.rb +22 -0
  20. data/lib/generators/pontiac_webhook/templates/db/migrate/create_orders.rb +16 -0
  21. data/lib/generators/pontiac_webhook/templates/script/delayed_job +5 -0
  22. data/lib/pontiac-webhook.rb +10 -0
  23. data/lib/pontiac_webhook/engine.rb +21 -0
  24. data/lib/pontiac_webhook/rails/routes.rb +15 -0
  25. data/lib/pontiac_webhook/version.rb +3 -0
  26. data/lib/tasks/pontiac-webhook_tasks.rake +4 -0
  27. metadata +181 -0
checksums.yaml ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ OWU3NjNlNjJkMDc0YjJlZjBkZTlkMTA2OWQ3ZTExNDQwMmI2ZTJhNA==
5
+ data.tar.gz: !binary |-
6
+ MDBlZjBkN2YyZmMxZWE4NWRiNDJhMmM2ZDM2NDFhZDZlNTk0ODA1Zg==
7
+ SHA512:
8
+ metadata.gz: !binary |-
9
+ NTIzMTZiOGUwNzAxZTFkZWNkZWViNjBkZjVmNzMwNGMyNTlhMzBmMjVhZTQ5
10
+ ZTJjYzAzNTY1ZDRkYjk3YWVlM2MzZWNlNWUzODIxOTZmYjBmYjUzZTU2NDE5
11
+ OGYzYWZmNjEyMDEwOTQ3MDVhMTFmZTQyYzM0YjdmNjEzYmExMWI=
12
+ data.tar.gz: !binary |-
13
+ MTllMjc1ZmY2NTcxMzg3Yzk5MDk5ZDA2MDY3YjdiMjc4ZTRlNmYyMTg5ZjI1
14
+ MjUxZTNiNDRiOGM0M2Q0OTVlYjMyMzhiZDRmMGNjN2IyYTU0Njc0NDRmYTFk
15
+ OGQ5MTQ1YWVmYWVhZGRjMjg4MWEwMTAzN2Y1NTliMzkxYTQ2NjU=
data/MIT-LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright 2014
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,32 @@
1
+ # Pontiac Webhook Engine
2
+
3
+ ## Install
4
+
5
+ Add to Gemfile
6
+
7
+ gem 'pontiac'
8
+ gem 'pontiac-webhook'
9
+
10
+ Start bundle command
11
+
12
+ $ bundle
13
+
14
+ ## Step 1
15
+
16
+ Start generator
17
+
18
+ $ rails g pontiac client_id client_secret
19
+
20
+ $ bundle exec rake db:create db:migrate
21
+
22
+ $ rails g pontiac_webhook
23
+
24
+ $ bundle exec rake db:create db:migrate
25
+
26
+ ## Step 2
27
+
28
+ $ rails s # start server
29
+
30
+ $ script/delayed_job start # start delayed_job server
31
+
32
+ [http://localhost:3000](http://localhost:3000)
data/Rakefile ADDED
@@ -0,0 +1,27 @@
1
+ #!/usr/bin/env rake
2
+ begin
3
+ require 'bundler/setup'
4
+ rescue LoadError
5
+ puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
6
+ end
7
+ begin
8
+ require 'rdoc/task'
9
+ rescue LoadError
10
+ require 'rdoc/rdoc'
11
+ require 'rake/rdoctask'
12
+ RDoc::Task = Rake::RDocTask
13
+ end
14
+
15
+ RDoc::Task.new(:rdoc) do |rdoc|
16
+ rdoc.rdoc_dir = 'rdoc'
17
+ rdoc.title = 'PontiacWebhook'
18
+ rdoc.options << '--line-numbers'
19
+ rdoc.rdoc_files.include('README.rdoc')
20
+ rdoc.rdoc_files.include('lib/**/*.rb')
21
+ end
22
+
23
+ APP_RAKEFILE = File.expand_path("../spec/dummy/Rakefile", __FILE__)
24
+ load 'rails/tasks/engine.rake'
25
+
26
+ Bundler::GemHelper.install_tasks
27
+
@@ -0,0 +1,15 @@
1
+ // This is a manifest file that'll be compiled into application.js, which will include all the files
2
+ // listed below.
3
+ //
4
+ // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
5
+ // or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
6
+ //
7
+ // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
8
+ // the compiled file.
9
+ //
10
+ // WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT'S TO BE PROCESSED, ANY BLANK LINE SHOULD
11
+ // GO AFTER THE REQUIRES BELOW.
12
+ //
13
+ //= require jquery
14
+ //= require jquery_ujs
15
+ //= require_tree .
@@ -0,0 +1,13 @@
1
+ /*
2
+ * This is a manifest file that'll be compiled into application.css, which will include all the files
3
+ * listed below.
4
+ *
5
+ * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
6
+ * or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
7
+ *
8
+ * You're free to add application-wide styles to this file and they'll appear at the top of the
9
+ * compiled file, but it's generally better to create a new file per style scope.
10
+ *
11
+ *= require_self
12
+ *= require_tree .
13
+ */
@@ -0,0 +1,4 @@
1
+ module PontiacWebhook
2
+ class ApplicationController < ActionController::Base
3
+ end
4
+ end
@@ -0,0 +1,36 @@
1
+ module PontiacWebhook
2
+ class WebhookController < ApplicationController
3
+ skip_before_filter :verify_authenticity_token
4
+ skip_before_filter :authenticate_shop!
5
+ before_filter :check_source
6
+ before_filter :check_shop
7
+
8
+ def orders_fulfilled
9
+ render nothing: true
10
+ end
11
+
12
+ protected
13
+ def check_source
14
+ payponty_sign = request.headers['HTTP_X_FWM_HMAC_SHA256']
15
+ data = request.body.read
16
+ request.body.rewind
17
+ digest = OpenSSL::Digest::Digest.new('sha256')
18
+ sign = Base64.encode64(OpenSSL::HMAC.digest(digest, SecretSetting.oauth.secret, data)).strip
19
+ render json: { errors: 'Signature invalid' } and return unless sign == payponty_sign
20
+ end
21
+
22
+ def check_shop
23
+ render json: { errors: 'Domain invalid' } and return unless shop
24
+ end
25
+
26
+ def shop
27
+ domain = request.headers['HTTP_X_FWM_DOMAIN']
28
+ @shop ||= Shop.find_by_fwm_domain(domain) unless domain.blank?
29
+ end
30
+
31
+ def order_id
32
+ request.headers['HTTP_X_FWM_ORDER_ID']
33
+ end
34
+
35
+ end
36
+ end
@@ -0,0 +1,4 @@
1
+ module PontiacWebhook
2
+ module ApplicationHelper
3
+ end
4
+ end
@@ -0,0 +1,8 @@
1
+ require "#{Pontiac::Engine.models_dir}/shop"
2
+ class Shop
3
+ after_create :add_webhook
4
+
5
+ def add_webhook
6
+ Delayed::Job.enqueue WebhookJob.new(self.id)
7
+ end
8
+ end
@@ -0,0 +1,11 @@
1
+ Description:
2
+ Generate Pontiac Webhook Files.
3
+
4
+ Example:
5
+ rails generate pontiac_webhook
6
+
7
+ This will create:
8
+ app/controllers/webhook_controller.rb
9
+ app/jobs/webhook_workers.rb
10
+ db/models/order.rb
11
+ db/migrate/create_orders.rb
@@ -0,0 +1,35 @@
1
+ require 'rails/generators/active_record'
2
+
3
+ class PontiacWebhookGenerator < Rails::Generators::Base
4
+ include Rails::Generators::Migration
5
+ namespace 'pontiac_webhook'
6
+ source_root File.expand_path('../templates', __FILE__)
7
+
8
+ def copy_files
9
+ directory 'app'
10
+ directory 'script'
11
+ chmod "script/delayed_job", 0755
12
+ end
13
+
14
+ def add_routes
15
+ route "use_pontiac_webhook"
16
+ end
17
+
18
+ def update_files
19
+ prepend_to_file "app/models/shop.rb", "require \"\#{PontiacWebhook::Engine.models_dir}/shop\" # add webhook after shop create\n"
20
+ insert_into_file "app/models/shop.rb", "\s\shas_many :orders, dependent: :destroy\n", after: /class Shop( < ActiveRecord::Base){0,1}\n/
21
+ end
22
+
23
+ def install_migration
24
+ migration_template 'db/migrate/create_delayed_jobs.rb', 'db/migrate/create_delayed_jobs.rb'
25
+ migration_template 'db/migrate/create_orders.rb', 'db/migrate/create_orders.rb'
26
+ end
27
+
28
+ def show
29
+ readme "README"
30
+ end
31
+
32
+ def self.next_migration_number(dirname)
33
+ ActiveRecord::Generators::Base.next_migration_number(dirname)
34
+ end
35
+ end
@@ -0,0 +1,10 @@
1
+ ===============================================================================
2
+
3
+ Step 1.
4
+ $ bundle exec rake db:create db:migrate
5
+
6
+ Step 2.
7
+ $ rails server
8
+ $ script/delayed_job start
9
+
10
+ ===============================================================================
@@ -0,0 +1,11 @@
1
+ class HomeController < ApplicationController
2
+ skip_before_filter :authenticate_shop!, only: :index
3
+
4
+ def index
5
+ if signed_in?
6
+ @orders = current_shop.orders
7
+ else
8
+ redirect_to login_path
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,18 @@
1
+ class WebhookController < PontiacWebhook::WebhookController
2
+
3
+ def orders_fulfilled
4
+ order = JSON(request.body.read)['order']
5
+ shop.orders.where(order_id: order_id).first_or_create!({
6
+ name: order['name'],
7
+ financial_status_name: order['financial_status_name'],
8
+ financial_status: order['financial_status'],
9
+ fulfillment_status: order['fulfillment_status'],
10
+ fulfillment_status_name: order['fulfillment_status_name'],
11
+ order_id: order['id'],
12
+ total_price: order['total_price'],
13
+ created_at: order['created_at']
14
+ })
15
+ render nothing: true
16
+ end
17
+
18
+ end
@@ -0,0 +1,9 @@
1
+ # encoding: utf-8
2
+ class WebhookJob < Struct.new(:shop_id)
3
+
4
+ def perform
5
+ Shop.find(shop_id).use_kitpay
6
+ Kitpay.create_webhook event: 'orders/fulfilled', callback_url: "http://#{SecretSetting.domain.host}/webhook"
7
+ end
8
+
9
+ end
@@ -0,0 +1,8 @@
1
+ class Order < ActiveRecord::Base
2
+ belongs_to :shop
3
+ attr_accessible :name, :financial_status, :financial_status_name, :fulfillment_status, :fulfillment_status_name, :order_id, :total_price, :created_at
4
+
5
+ def admin_url
6
+ "#{shop.admin_url}/orders/#{order_id}"
7
+ end
8
+ end
@@ -0,0 +1,18 @@
1
+ .content
2
+ %h2 Последние заказы
3
+ %table.table.table-striped
4
+ %thead
5
+ %tr
6
+ %th Номер заказа
7
+ %th Статус оплаты
8
+ %th Статус доставки
9
+ %th Сумма
10
+ %tbody
11
+ -@orders.each do |order|
12
+ %tr
13
+ %td=link_to order.name, order.admin_url, target: :_blank
14
+ %td
15
+ %span.label{class: financial_class(order.financial_status)}=order.financial_status_name
16
+ %td
17
+ %span.label{class: fulfillment_class(order.fulfillment_status)}=order.fulfillment_status_name
18
+ %td=order.total_price
@@ -0,0 +1,22 @@
1
+ class CreateDelayedJobs < ActiveRecord::Migration
2
+ def self.up
3
+ create_table :delayed_jobs, :force => true do |table|
4
+ table.integer :priority, :default => 0 # Allows some jobs to jump to the front of the queue
5
+ table.integer :attempts, :default => 0 # Provides for retries, but still fail eventually.
6
+ table.text :handler # YAML-encoded string of the object that will do work
7
+ table.text :last_error # reason for last failure (See Note below)
8
+ table.datetime :run_at # When to run. Could be Time.zone.now for immediately, or sometime in the future.
9
+ table.datetime :locked_at # Set when a client is working on this object
10
+ table.datetime :failed_at # Set when all retries have failed (actually, by default, the record is deleted instead)
11
+ table.string :locked_by # Who is working on this object (if locked)
12
+ table.string :queue # The name of the queue this job is in
13
+ table.timestamps
14
+ end
15
+
16
+ add_index :delayed_jobs, [:priority, :run_at], :name => 'delayed_jobs_priority'
17
+ end
18
+
19
+ def self.down
20
+ drop_table :delayed_jobs
21
+ end
22
+ end
@@ -0,0 +1,16 @@
1
+ class CreateOrders < ActiveRecord::Migration
2
+ def change
3
+ create_table :orders do |t|
4
+ t.references :shop , null: false
5
+ t.integer :order_id , null: false, unique: true
6
+ t.string :name , null: false, limit: 32
7
+ t.string :financial_status , null: false, limit: 16
8
+ t.string :financial_status_name , null: false, limit: 32
9
+ t.string :fulfillment_status , null: false, limit: 16
10
+ t.string :fulfillment_status_name, null: false, limit: 32
11
+ t.float :total_price , null: false
12
+ t.datetime :created_at , null: false
13
+ end
14
+ add_index :orders, :order_id, unique: true
15
+ end
16
+ end
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require File.expand_path(File.join(File.dirname(__FILE__), '..', 'config', 'environment'))
4
+ require 'delayed/command'
5
+ Delayed::Command.new(ARGV).daemonize
@@ -0,0 +1,10 @@
1
+ require "pontiac_webhook/engine"
2
+ require "delayed_job_active_record"
3
+
4
+ module PontiacWebhook
5
+
6
+ module Rails
7
+ autoload :Routes, "pontiac_webhook/rails/routes"
8
+ end
9
+
10
+ end
@@ -0,0 +1,21 @@
1
+ module PontiacWebhook
2
+ class Engine < Rails::Engine
3
+ isolate_namespace PontiacWebhook
4
+ engine_name 'pontiac_webhook'
5
+
6
+ def models_dir
7
+ root.join 'app', 'models'
8
+ end
9
+
10
+ initializer "pontiac_webhook.routes" do
11
+ PontiacWebhook::Rails::Routes.install
12
+ end
13
+
14
+ initializer "pontiac.acronym" do
15
+ ActiveSupport::Inflector.inflections do |inflect|
16
+ inflect.acronym 'Fwm'
17
+ end
18
+ end
19
+
20
+ end
21
+ end
@@ -0,0 +1,15 @@
1
+ module PontiacWebhook
2
+ module Rails
3
+ class Routes
4
+ module Helper
5
+ def use_pontiac_webhook(options = {}, &block)
6
+ self.post '/webhook', to: 'webhook#orders_fulfilled'
7
+ end
8
+ end
9
+
10
+ def self.install
11
+ ActionDispatch::Routing::Mapper.send :include, PontiacWebhook::Rails::Routes::Helper
12
+ end
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,3 @@
1
+ module PontiacWebhook
2
+ VERSION = "0.1.2"
3
+ end
@@ -0,0 +1,4 @@
1
+ # desc "Explaining what the task does"
2
+ # task :pontiac-webhook do
3
+ # # Task goes here
4
+ # end
metadata ADDED
@@ -0,0 +1,181 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: pontiac-webhook
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.2
5
+ platform: ruby
6
+ authors:
7
+ - PayPonty
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-02-27 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: pontiac
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ~>
32
+ - !ruby/object:Gem::Version
33
+ version: 0.1.4
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ~>
39
+ - !ruby/object:Gem::Version
40
+ version: 0.1.4
41
+ - !ruby/object:Gem::Dependency
42
+ name: delayed_job_active_record
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ~>
46
+ - !ruby/object:Gem::Version
47
+ version: 0.3.2
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ version: 0.3.2
55
+ - !ruby/object:Gem::Dependency
56
+ name: daemons
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: 1.1.8
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ~>
67
+ - !ruby/object:Gem::Version
68
+ version: 1.1.8
69
+ - !ruby/object:Gem::Dependency
70
+ name: sqlite3
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
+ - !ruby/object:Gem::Dependency
84
+ name: rspec-rails
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ~>
88
+ - !ruby/object:Gem::Version
89
+ version: 2.10.1
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ~>
95
+ - !ruby/object:Gem::Version
96
+ version: 2.10.1
97
+ - !ruby/object:Gem::Dependency
98
+ name: factory_girl_rails
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ! '>='
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ! '>='
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: webmock
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ! '>='
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ! '>='
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ description: Pontiac Webhook Engine
126
+ email:
127
+ - payponty.info@gmail.com
128
+ executables: []
129
+ extensions: []
130
+ extra_rdoc_files: []
131
+ files:
132
+ - MIT-LICENSE
133
+ - README.md
134
+ - Rakefile
135
+ - app/assets/javascripts/pontiac_webhook/application.js
136
+ - app/assets/stylesheets/pontiac_webhook/application.css
137
+ - app/controllers/pontiac_webhook/application_controller.rb
138
+ - app/controllers/pontiac_webhook/webhook_controller.rb
139
+ - app/helpers/pontiac_webhook/application_helper.rb
140
+ - app/models/shop.rb
141
+ - lib/generators/pontiac_webhook/USAGE
142
+ - lib/generators/pontiac_webhook/pontiac_webhook_generator.rb
143
+ - lib/generators/pontiac_webhook/templates/README
144
+ - lib/generators/pontiac_webhook/templates/app/controllers/home_controller.rb
145
+ - lib/generators/pontiac_webhook/templates/app/controllers/webhook_controller.rb
146
+ - lib/generators/pontiac_webhook/templates/app/jobs/webhook_job.rb
147
+ - lib/generators/pontiac_webhook/templates/app/models/order.rb
148
+ - lib/generators/pontiac_webhook/templates/app/views/home/index.html.haml
149
+ - lib/generators/pontiac_webhook/templates/db/migrate/create_delayed_jobs.rb
150
+ - lib/generators/pontiac_webhook/templates/db/migrate/create_orders.rb
151
+ - lib/generators/pontiac_webhook/templates/script/delayed_job
152
+ - lib/pontiac-webhook.rb
153
+ - lib/pontiac_webhook/engine.rb
154
+ - lib/pontiac_webhook/rails/routes.rb
155
+ - lib/pontiac_webhook/version.rb
156
+ - lib/tasks/pontiac-webhook_tasks.rake
157
+ homepage: http://payponty.github.io/pontiac-webhook
158
+ licenses: []
159
+ metadata: {}
160
+ post_install_message:
161
+ rdoc_options: []
162
+ require_paths:
163
+ - lib
164
+ required_ruby_version: !ruby/object:Gem::Requirement
165
+ requirements:
166
+ - - ! '>='
167
+ - !ruby/object:Gem::Version
168
+ version: '0'
169
+ required_rubygems_version: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - ! '>='
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
174
+ requirements: []
175
+ rubyforge_project:
176
+ rubygems_version: 2.2.2
177
+ signing_key:
178
+ specification_version: 4
179
+ summary: Pontiac Webhook Engine
180
+ test_files: []
181
+ has_rdoc: