lita-github-web-hooks-storer 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 9fede0b53ba33ec495997430984ccd35d6c6882d
4
+ data.tar.gz: b37b4c85a53b42300afcc53b0c3344bd78ee905c
5
+ SHA512:
6
+ metadata.gz: 0d5dfa8d27073aaaf37b89a31ce76ca718c90710fca6c916dcfd7bd6f214ae5e2bf6025c6945582e09c0063af2f3360145a3f274408fd7d5c70fd7f560bd298d
7
+ data.tar.gz: b70285bf12d62795c93f71ebdaa9093893c11b7d47ecd673e628e9a6746f0969a82018532e791f3e945458aaf4f87fe9f064f70c6abbf1e230bfca2cd307afb9
@@ -0,0 +1,26 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
18
+ /.bundle/
19
+ /.yardoc
20
+ /Gemfile.lock
21
+ /_yardoc/
22
+ /coverage/
23
+ /doc/
24
+ /pkg/
25
+ /spec/reports/
26
+ /tmp/
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
@@ -0,0 +1,4 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.2.3
4
+ before_install: gem install bundler -v 1.10.6
@@ -0,0 +1,13 @@
1
+ # Contributor Code of Conduct
2
+
3
+ As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
4
+
5
+ We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, or religion.
6
+
7
+ Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
8
+
9
+ Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
10
+
11
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
12
+
13
+ This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in lita-github-web-hooks-storer.gemspec
4
+ gemspec
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015 Jim Van Fleet
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015 Jim Van Fleet
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,52 @@
1
+ # lita-github-web-hooks-storer
2
+
3
+ This gem is a Lita handler that demonstrates the capabilities of [lita-github-web-hooks-core](https://github.com/GetLevvel/lita-github-web-hooks-core).
4
+
5
+ Installing, configuring and deploying this gem as a part of your litabot
6
+ will store the JSON payloads of your GitHub web hooks on disk in a location
7
+ you specify. You may find it useful in creating your own GitHub web hook
8
+ powered handler, as it has the capability of capturing your own edge cases
9
+ while your handler is in operation!
10
+
11
+ ## Installation
12
+
13
+ Add lita-github-web-hooks-storer to your Lita instance's Gemfile:
14
+
15
+ ``` ruby
16
+ gem "lita-github-web-hooks-storer"
17
+ ```
18
+
19
+ ## Configuration
20
+
21
+ In your `lita_config.rb` file, add a stanza like the following:
22
+
23
+ ```
24
+ config.handlers.lita_github_web_hooks_storer.directory = "/path/you/would/prefer"
25
+ ```
26
+
27
+ Otherwise your files will be stored in /tmp.
28
+
29
+ ## Usage
30
+
31
+ After installation and configuration, there is no step 3! Enjoy.
32
+
33
+ ## Rolling your own
34
+
35
+ Information on using this gem as a reference to use
36
+ [lita-github-web-hooks-core](https://github.com/GetLevvel/lita-github-web-hooks-core)
37
+ in your own handler? Our [handler walkthrough](https://github.com/GetLevvel/lita-github-web-hooks-storer/blob/master/docs/handler-walkthrough.md) has what you're looking for.
38
+
39
+ ## Development
40
+
41
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
42
+
43
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
44
+
45
+ ## Contributing
46
+
47
+ Bug reports and pull requests are welcome on GitHub at https://github.com/GetLevvel/lita-github-web-hooks-storer. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.
48
+
49
+
50
+ ## License
51
+
52
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "lita/github/web/hooks/storer"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start
@@ -0,0 +1,7 @@
1
+ #!/bin/bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+
5
+ bundle install
6
+
7
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,84 @@
1
+ # Lita + GitHub, step by step.
2
+
3
+ This extension has some utility on its own, but is mostly an exhibition of how
4
+ to properly write a handler that leverages [lita-github-web-hooks-core](https://github.com/GetLevvel/lita-github-web-hooks-core).
5
+ This document will be a detailed, step-by-step walkthrough. If it's not
6
+ helpful enough, please open a ticket. Documentation PR's are welcome here.
7
+
8
+ ## At GitHub
9
+
10
+ Adding Webhooks to your organization at GitHub currently has an interface that looks like this:
11
+
12
+ ![GitHub Webhooks Interface](https://www.evernote.com/shard/s1/sh/19d1959c-cbef-4fdb-b0bb-3c2fa356de68/b44517978bc8dee1/res/8bef0b37-41da-4e5f-ab57-114756c3d4b4/skitch.png?resizeSmall&width=832)
13
+
14
+ Web Hooks need to be received at a particular URL that you provide GitHub.
15
+ [Lita's HTTP event](http://docs.lita.io/plugin-authoring/handlers/#http-routes)
16
+ functionality is a great fit for that. But there's no need for every plugin to
17
+ take the steps that our extension provides to verify the legitimacy of the
18
+ webhook, and having a handler handle more than one type of event becomes
19
+ complex.
20
+
21
+ ## Installation
22
+
23
+ Inside the file created in your lib directory, require the core:
24
+
25
+ require 'lita-github-web-hooks-core'
26
+
27
+ ### Plugging In
28
+
29
+ The handler that the ```lita handler``` command creates is a fine choice
30
+ to receive these extra capabilities. Two stanzas will allow our newly
31
+ created handler to process GitHub events.
32
+
33
+ #### Become a HookReceiver
34
+
35
+ Just replace your equivalent of this line:
36
+
37
+ class GithubWebHooksStorer < Handler
38
+
39
+ with this:
40
+
41
+ class GithubWebHooksStorer < Lita::Extensions::GitHubWebHooksCore::HookReceiver
42
+
43
+ Inheriting from this class will ensure your handler is ready to receive
44
+ Webhook events from GitHub.
45
+
46
+ #### Configure your reception
47
+
48
+ def self.name
49
+ "GithubWebHookStorer"
50
+ end
51
+
52
+ http.post "/github-web-hooks", :receive_hook
53
+
54
+ These code blocks determine how your handler will look in Lita's logging
55
+ system, and what URL you will be provide GitHub's UI for WebHook publishing.
56
+
57
+ Choose any HTTP endpoint you like, but *don't* change the ```:receive_hook```
58
+ part unless you know what you're doing.
59
+
60
+ ### Handling events
61
+
62
+ With your ```HookReceiver``` configured, any GitHub webhook event will be
63
+ published across Lita's [event routing](http://docs.lita.io/plugin-authoring/handlers/#event-routes)
64
+ mechanism. That means you can react to events in any registered Lita handler,
65
+ including the one that you've already been editing!
66
+
67
+ In this case, we have a handler that will store every event type. You can
68
+ configure any handler you write to respond to any specific type of event.
69
+ To ensure we receive those events published above, we use lita's ```on```
70
+ mechanism to activate an [event route](http://docs.lita.io/plugin-authoring/handlers/#event-routes)
71
+
72
+ [:pull_request, :status, :push, :deployment,
73
+ :deployment_status, :commit_comment,
74
+ :issue_comment, :pull_request_review_comment].each do |event_type|
75
+ on event_type, :store
76
+ end
77
+
78
+ Refer to the handler in this repository for additional examples on how to process.
79
+
80
+ (I recommend that you create a new handler to contain your real logic.)
81
+
82
+ ## Celebrate and share
83
+
84
+ If you've written a webhook that uses lita-github-web-hooks-core, feel free to [hit me up on Twitter](https://twitter.com/bigfleet). I'll get you added to a list!
@@ -0,0 +1,13 @@
1
+ require "lita"
2
+ require 'lita-github-web-hooks-core'
3
+
4
+ Lita.load_locales Dir[File.expand_path(
5
+ File.join("..", "..", "locales", "*.yml"), __FILE__
6
+ )]
7
+
8
+ require "lita/handlers/github_web_hooks_storer"
9
+
10
+ Lita::Handlers::GithubWebHooksStorer.template_root File.expand_path(
11
+ File.join("..", "..", "templates"),
12
+ __FILE__
13
+ )
@@ -0,0 +1,13 @@
1
+ require "lita/github/web/hooks/storer/version"
2
+
3
+ module Lita
4
+ module Github
5
+ module Web
6
+ module Hooks
7
+ module Storer
8
+ # Your code goes here...
9
+ end
10
+ end
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,11 @@
1
+ module Lita
2
+ module Github
3
+ module Web
4
+ module Hooks
5
+ module Storer
6
+ VERSION = "1.0.0"
7
+ end
8
+ end
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,44 @@
1
+ module Lita
2
+ module Handlers
3
+ class GithubWebHooksStorer < Handler
4
+
5
+ config :directory, default: "/tmp"
6
+
7
+ # Overrides the handler config key, from plugin to github_web_hooks.
8
+ def self.name
9
+ "GithubWebHooksStorer"
10
+ end
11
+
12
+ [:pull_request, :status, :push, :deployment,
13
+ :deployment_status, :commit_comment,
14
+ :issue_comment, :pull_request_review_comment].each do |event_type|
15
+ on event_type, :store
16
+ end
17
+
18
+ def logger
19
+ Lita.logger
20
+ end
21
+
22
+ def store(payload)
23
+ path = path(payload)
24
+ logger.debug("Payload received: storing in #{path}")
25
+ FileUtils.mkdir_p config.directory
26
+ File.open(path, 'w') { |file| file.write(JSON.generate(payload)) }
27
+ end
28
+
29
+ def path(payload)
30
+ File.join(config.directory, filename(payload))
31
+ end
32
+
33
+ def filename(payload)
34
+ "#{Time.now.to_i}-#{payload[:event_type]}.json"
35
+ end
36
+
37
+ # [FIXME] allow users to enable this in their config
38
+ # http.post "/github-web-hooks", :receive_hook
39
+
40
+ end
41
+
42
+ Lita.register_handler(GithubWebHooksStorer)
43
+ end
44
+ end
@@ -0,0 +1,31 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'lita/github/web/hooks/storer/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "lita-github-web-hooks-storer"
8
+ spec.version = Lita::Github::Web::Hooks::Storer::VERSION
9
+ spec.authors = ["Jim Van Fleet"]
10
+ spec.email = ["jim.van.fleet@levvel.io"]
11
+ spec.description = "Lita handler that saves all GitHub web hooks to disk."
12
+ spec.summary = "Store webhook information to ensure you can create great GitHub messages for your organization."
13
+ spec.homepage = "https://github.com/GetLevvel/lita-github-web-hooks-storer/"
14
+ spec.license = "MIT"
15
+ spec.metadata = { "lita_plugin_type" => "handler" }
16
+
17
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
+ spec.bindir = "exe"
19
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
21
+ spec.require_paths = ["lib"]
22
+
23
+ spec.add_runtime_dependency "lita", ">= 4.4"
24
+ spec.add_runtime_dependency "lita-github-web-hooks-core", '~> 1.0', ">= 1.0.0"
25
+
26
+ spec.add_development_dependency "bundler", "~> 1.10"
27
+ spec.add_development_dependency "pry-byebug", '~> 3.3', ">= 3.3.0"
28
+ spec.add_development_dependency "rake", "~> 10.0"
29
+ spec.add_development_dependency "rack-test", '~> 0'
30
+ spec.add_development_dependency "rspec", ">= 3.0.0"
31
+ end
@@ -0,0 +1,4 @@
1
+ en:
2
+ lita:
3
+ handlers:
4
+ github_web_hooks_storer:
File without changes
@@ -0,0 +1,3 @@
1
+ <%= @commenter %> commented on commit <%= @commit_id %>:
2
+ <%= @body %>
3
+ <%= @url %>
@@ -0,0 +1 @@
1
+ <%= @creator %> created a <%= @creation %> on <%= @repo %>: <%= @creation_name %>
@@ -0,0 +1 @@
1
+ <%= @deletor %> deleted a <%= @deletion %> on <%= @repo %>: <%= @deletion_name %>
@@ -0,0 +1 @@
1
+ <%= @deployer %> is deploying <%= @ref %> of <%= @repo %> to <%= @env %>
@@ -0,0 +1 @@
1
+ Deployment of <%= @repo %> <%= @ref %> to <%= @environment %>: <%= @status %>
@@ -0,0 +1 @@
1
+ <%= @forker %> forked <%= @source %> to <%= @target %>
@@ -0,0 +1,2 @@
1
+ <%= @author %> changed the <%= @title %> page on the <%= @repo %> wiki:
2
+ <%= @url %>
@@ -0,0 +1,3 @@
1
+ <%= @commenter %> commented on <%= @repo %> #<%= @number %>: <%= @target %>
2
+
3
+ <%= @body %>
@@ -0,0 +1,2 @@
1
+ <%= @creator %> <%= @action %> issue #<%= @number %> on <%= @repo %> wiki: <%= @title %>
2
+ <%= @url %>
@@ -0,0 +1 @@
1
+ <%= @admin %> added <%= @addition %> to <%= @repo %>
@@ -0,0 +1 @@
1
+ <%= @admin %> added <%= @addition %> to the <%= @org %> team <%= @team_name %>
@@ -0,0 +1 @@
1
+ Pages <%= @status %> for <%= @repo %>
@@ -0,0 +1 @@
1
+ <%= @repo %> has been open sourced
@@ -0,0 +1 @@
1
+ <%= @requester["login"] %> has issued a pull request: <%= @pr["title"] %>: <%= @url %>
@@ -0,0 +1,3 @@
1
+ <%= @commenter %> commented on a change to <%= @path %> in <%= @repo %> #<%= @number %>: <%= @title %>
2
+
3
+ <%= @body %>
@@ -0,0 +1 @@
1
+ <%= @committer %> pushed <%= @commit_count %> commit(s) including <%= @commit_message %> to <%= @repo %>
@@ -0,0 +1,2 @@
1
+ <%= @publisher %> has released <%= @version %> of <%= @repo %>:
2
+ <%= @url %>
@@ -0,0 +1 @@
1
+ <%= @creator %> has created a new repository: <%= @repo %>
@@ -0,0 +1,5 @@
1
+ [<%= @context %>] Status of commit <%= @sha %> to <%= @repo %>: <%= @status %>
2
+ <% if !@description.nil? %>
3
+
4
+ <%= @description %>
5
+ <% end %>
@@ -0,0 +1 @@
1
+ <%= @org %> team <%= @team_name %> has been added to <%= @repo %>
@@ -0,0 +1 @@
1
+ <%= @user %> started watching <%= @repo %>
metadata ADDED
@@ -0,0 +1,196 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: lita-github-web-hooks-storer
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Jim Van Fleet
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2015-11-11 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: lita
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '4.4'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '4.4'
27
+ - !ruby/object:Gem::Dependency
28
+ name: lita-github-web-hooks-core
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.0'
34
+ - - ">="
35
+ - !ruby/object:Gem::Version
36
+ version: 1.0.0
37
+ type: :runtime
38
+ prerelease: false
39
+ version_requirements: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - "~>"
42
+ - !ruby/object:Gem::Version
43
+ version: '1.0'
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: 1.0.0
47
+ - !ruby/object:Gem::Dependency
48
+ name: bundler
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - "~>"
52
+ - !ruby/object:Gem::Version
53
+ version: '1.10'
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - "~>"
59
+ - !ruby/object:Gem::Version
60
+ version: '1.10'
61
+ - !ruby/object:Gem::Dependency
62
+ name: pry-byebug
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - "~>"
66
+ - !ruby/object:Gem::Version
67
+ version: '3.3'
68
+ - - ">="
69
+ - !ruby/object:Gem::Version
70
+ version: 3.3.0
71
+ type: :development
72
+ prerelease: false
73
+ version_requirements: !ruby/object:Gem::Requirement
74
+ requirements:
75
+ - - "~>"
76
+ - !ruby/object:Gem::Version
77
+ version: '3.3'
78
+ - - ">="
79
+ - !ruby/object:Gem::Version
80
+ version: 3.3.0
81
+ - !ruby/object:Gem::Dependency
82
+ name: rake
83
+ requirement: !ruby/object:Gem::Requirement
84
+ requirements:
85
+ - - "~>"
86
+ - !ruby/object:Gem::Version
87
+ version: '10.0'
88
+ type: :development
89
+ prerelease: false
90
+ version_requirements: !ruby/object:Gem::Requirement
91
+ requirements:
92
+ - - "~>"
93
+ - !ruby/object:Gem::Version
94
+ version: '10.0'
95
+ - !ruby/object:Gem::Dependency
96
+ name: rack-test
97
+ requirement: !ruby/object:Gem::Requirement
98
+ requirements:
99
+ - - "~>"
100
+ - !ruby/object:Gem::Version
101
+ version: '0'
102
+ type: :development
103
+ prerelease: false
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ requirements:
106
+ - - "~>"
107
+ - !ruby/object:Gem::Version
108
+ version: '0'
109
+ - !ruby/object:Gem::Dependency
110
+ name: rspec
111
+ requirement: !ruby/object:Gem::Requirement
112
+ requirements:
113
+ - - ">="
114
+ - !ruby/object:Gem::Version
115
+ version: 3.0.0
116
+ type: :development
117
+ prerelease: false
118
+ version_requirements: !ruby/object:Gem::Requirement
119
+ requirements:
120
+ - - ">="
121
+ - !ruby/object:Gem::Version
122
+ version: 3.0.0
123
+ description: Lita handler that saves all GitHub web hooks to disk.
124
+ email:
125
+ - jim.van.fleet@levvel.io
126
+ executables: []
127
+ extensions: []
128
+ extra_rdoc_files: []
129
+ files:
130
+ - ".gitignore"
131
+ - ".rspec"
132
+ - ".travis.yml"
133
+ - CODE_OF_CONDUCT.md
134
+ - Gemfile
135
+ - LICENSE
136
+ - LICENSE.txt
137
+ - README.md
138
+ - Rakefile
139
+ - bin/console
140
+ - bin/setup
141
+ - docs/handler-walkthrough.md
142
+ - lib/lita-github-web-hooks-storer.rb
143
+ - lib/lita/github/web/hooks/storer.rb
144
+ - lib/lita/github/web/hooks/storer/version.rb
145
+ - lib/lita/handlers/github_web_hooks_storer.rb
146
+ - lita-github-web-hooks-storer.gemspec
147
+ - locales/en.yml
148
+ - templates/.gitkeep
149
+ - templates/commit_comment.erb
150
+ - templates/create.erb
151
+ - templates/delete.erb
152
+ - templates/deployment.erb
153
+ - templates/deployment_status.erb
154
+ - templates/fork.erb
155
+ - templates/gollum.erb
156
+ - templates/issue_comment.erb
157
+ - templates/issues.erb
158
+ - templates/member.erb
159
+ - templates/membership.erb
160
+ - templates/page_build.erb
161
+ - templates/public.erb
162
+ - templates/pull_request.erb
163
+ - templates/pull_request_review_comment.erb
164
+ - templates/push.erb
165
+ - templates/release.erb
166
+ - templates/repository.erb
167
+ - templates/status.erb
168
+ - templates/team_add.erb
169
+ - templates/watch.erb
170
+ homepage: https://github.com/GetLevvel/lita-github-web-hooks-storer/
171
+ licenses:
172
+ - MIT
173
+ metadata:
174
+ lita_plugin_type: handler
175
+ post_install_message:
176
+ rdoc_options: []
177
+ require_paths:
178
+ - lib
179
+ required_ruby_version: !ruby/object:Gem::Requirement
180
+ requirements:
181
+ - - ">="
182
+ - !ruby/object:Gem::Version
183
+ version: '0'
184
+ required_rubygems_version: !ruby/object:Gem::Requirement
185
+ requirements:
186
+ - - ">="
187
+ - !ruby/object:Gem::Version
188
+ version: '0'
189
+ requirements: []
190
+ rubyforge_project:
191
+ rubygems_version: 2.4.5.1
192
+ signing_key:
193
+ specification_version: 4
194
+ summary: Store webhook information to ensure you can create great GitHub messages
195
+ for your organization.
196
+ test_files: []