Permalink
Browse files

remove unused github sample payloads

  • Loading branch information...
1 parent 881fa03 commit 296d67b0d8578a11a1cb90b52507138b0855528e @joshk joshk committed Apr 7, 2012
Showing with 1 addition and 136 deletions.
  1. +1 −136 spec/support/payloads.rb
View
@@ -1,30 +1,4 @@
GITHUB_PAYLOADS = {
- "private-repo" => %({
- "repository": {
- "url": "http://github.com/svenfuchs/gem-release",
- "name": "gem-release",
- "private":true,
- "owner": {
- "email": "svenfuchs@artweb-design.de",
- "name": "svenfuchs"
- }
- },
- "commits": [{
- "id": "9854592",
- "message": "Bump to 0.0.15",
- "timestamp": "2010-10-27 04:32:37",
- "committer": {
- "name": "Sven Fuchs",
- "email": "svenfuchs@artweb-design.de"
- },
- "author": {
- "name": "Christopher Floess",
- "email": "chris@flooose.de"
- }
- }],
- "ref": "refs/heads/master"
- }),
-
"gem-release" => %({
"repository": {
"url": "http://github.com/svenfuchs/gem-release",
@@ -49,116 +23,7 @@
}],
"ref": "refs/heads/master",
"compare": "https://github.com/svenfuchs/gem-release/compare/af674bd...9854592"
- }),
-
- "gh-pages-update" => %({
- "repository": {
- "url": "http://github.com/svenfuchs/gem-release",
- "name": "gem-release",
- "owner": {
- "email": "svenfuchs@artweb-design.de",
- "name": "svenfuchs"
- }
- },
- "commits": [{
- "id": "9854592",
- "message": "Bump to 0.0.15",
- "timestamp": "2010-10-27 04:32:37",
- "committer": {
- "name": "Sven Fuchs",
- "email": "svenfuchs@artweb-design.de"
- },
- "author": {
- "name": "Christopher Floess",
- "email": "chris@flooose.de"
- }
- }],
- "ref": "refs/heads/gh-pages"
- }),
-
- "gh_pages-update" => %({
- "repository": {
- "url": "http://github.com/svenfuchs/gem-release",
- "name": "gem-release",
- "owner": {
- "email": "svenfuchs@artweb-design.de",
- "name": "svenfuchs"
- }
- },
- "commits": [{
- "id": "9854592",
- "message": "Bump to 0.0.15",
- "timestamp": "2010-10-27 04:32:37",
- "committer": {
- "name": "Sven Fuchs",
- "email": "svenfuchs@artweb-design.de"
- },
- "author": {
- "name": "Christopher Floess",
- "email": "chris@flooose.de"
- }
- }],
- "ref": "refs/heads/gh_pages"
- }),
-
- # it is unclear why this payload was send but it happened quite often. the force option
- # seems to indicate something like $ git push --force
- "force-no-commit" => %({
- "pusher": { "name": "LTe", "email":"lite.88@gmail.com" },
- "repository":{
- "name":"acts-as-messageable",
- "created_at":"2010/08/02 07:41:30 -0700",
- "has_wiki":true,
- "size":200,
- "private":false,
- "watchers":13,
- "fork":false,
- "url":"https://github.com/LTe/acts-as-messageable",
- "language":"Ruby",
- "pushed_at":"2011/05/31 04:16:01 -0700",
- "open_issues":0,
- "has_downloads":true,
- "homepage":"http://github.com/LTe/acts-as-messageable",
- "has_issues":true,
- "forks":5,
- "description":"ActsAsMessageable",
- "owner": { "name":"LTe", "email":"lite.88@gmail.com" }
- },
- "ref_name":"v0.3.0",
- "forced":true,
- "after":"b842078c2f0084bb36cea76da3dad09129b3c26b",
- "deleted":false,
- "ref":"refs/tags/v0.3.0",
- "commits":[],
- "base_ref":"refs/heads/master",
- "before":"0000000000000000000000000000000000000000",
- "compare":"https://github.com/LTe/acts-as-messageable/compare/v0.3.0",
- "created":true
- }),
-
- :oauth => {
- "uid" => "234423",
- "user_info" => {
- "name" => "John",
- "nickname" => "john",
- "email" => "john@email.com"
- },
- "credentials" => {
- "token" => "1234567890abcdefg"
- }
- },
-
- :oauth_updated => {
- "uid" => "234423",
- "user_info" => {
- "name" => "Johnathan",
- "nickname" => "johnathan",
- "email" => "johnathan@email.com"
- },
- "credentials" => {
- "token" => "1234567890abcdefg"
- }
- }
+ })
}
WORKER_PAYLOADS = {

0 comments on commit 296d67b

Please sign in to comment.