omg_pull_request 0.2.3 → 0.3.0

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.
data/.gitignore CHANGED
@@ -31,6 +31,9 @@
31
31
  *.swn
32
32
  *.swm
33
33
 
34
+ # No Gemfile.lock since this is a gem
35
+ Gemfile.lock
36
+
34
37
  test/functional/coverage/**
35
38
  test/unit/coverage/**
36
39
  test/functional/advertisers/coverage/**
@@ -48,3 +51,4 @@ tags
48
51
  test/omg_pull_request/config.yml
49
52
  test/integrations/config.yml
50
53
  test/integrations/.stage
54
+ .omgprrc
data/README.md CHANGED
@@ -29,9 +29,10 @@ On running the test suite an animated gif can be generated of the lolcommits tha
29
29
 
30
30
  * In a rails project, add `omg_pull_request` to the Gemfile.
31
31
  * Make an `omg_pull_request` directory in the project's `test` directory.
32
- * Add a `database.yml` file in the `omg_pull_request` dir. This will drop databases, so it is suggested this points to different databases than the main `config/database.yml` file
32
+ * Make an `.omgprrc` directory in the project's `root` directory.
33
+ * Add a `database.yml` file in the `.omgprrc` dir. This will drop databases, so it is suggested this points to different databases than the main `config/database.yml` file
33
34
  * Create a github user to run the tests as. This user will need to have access to the repo the test is run on. It can be your developer account, or a new account specifically for this.
34
- * Add a `config.yml` file in the `omg_pull_request` dir. It follows this template:
35
+ * Add a `config.yml` file in the `.omgprrc` dir. It follows this template:
35
36
 
36
37
  ```
37
38
  repo_owner: kenmazaika
@@ -38,7 +38,7 @@ module OmgPullRequest
38
38
  end
39
39
 
40
40
  def omg_dir
41
- File.join(local_repo, 'test/omg_pull_request')
41
+ File.join(local_repo, '.omgprrc')
42
42
  end
43
43
 
44
44
  def runner_class
@@ -1,6 +1,12 @@
1
1
  module OmgPullRequest
2
2
  class GithubWrapper
3
3
  attr_accessor :configuration
4
+ STATUSES = {
5
+ :pending => "pending",
6
+ :success => "success",
7
+ :conflict => "error",
8
+ :failure => "failure"
9
+ }
4
10
 
5
11
  def initialize(attributes={})
6
12
  attributes.each do |attr, value|
@@ -30,10 +36,23 @@ module OmgPullRequest
30
36
  end
31
37
  end
32
38
 
33
- def make_comment(issue_number, body)
39
+ def create_comment(issue_number, body)
34
40
  github_client.issues.comments.create(repo_owner, repo, issue_number, :body => body)
35
41
  end
36
42
 
43
+ def create_status(sha, status, params={})
44
+ if STATUSES.has_value? status
45
+ params.merge! :state => status
46
+ github_client.repos.statuses.create(repo_owner, repo, sha, params)
47
+ end
48
+ end
49
+
50
+ def get_statuses(sha, params={})
51
+ github_client.repos.statuses.list(repo_owner, repo, sha, params).collect do |h|
52
+ h.slice("state", "target_url", "description")
53
+ end
54
+ end
55
+
37
56
  def pull_requests
38
57
  github_client.pull_requests.list(repo_owner, repo)
39
58
  end
@@ -22,6 +22,37 @@ module OmgPullRequest
22
22
  github_comment(message)
23
23
  end
24
24
 
25
+ #GITHUB STATUS
26
+ def make_status_success!(output_file)
27
+ github_status(
28
+ GithubWrapper::STATUSES[:success],
29
+ :target_url => output_file,
30
+ :description => t("completed.github_status.success", runner_hash)
31
+ )
32
+ end
33
+
34
+ def make_status_failure!(output_file)
35
+ github_status(
36
+ GithubWrapper::STATUSES[:failure],
37
+ :target_url => output_file,
38
+ :description => t("completed.github_status.failure", runner_hash)
39
+ )
40
+ end
41
+
42
+ def make_status_conflict!
43
+ github_status(
44
+ GithubWrapper::STATUSES[:conflict],
45
+ :description => t("error.github_status.conflict", runner_hash)
46
+ )
47
+ end
48
+
49
+ def make_status_test_running!
50
+ github_status(
51
+ GithubWrapper::STATUSES[:pending],
52
+ :description => t("start.github_status.message", runner_hash)
53
+ )
54
+ end
55
+
25
56
  # PROWL
26
57
  def prowl_alert_success!
27
58
  message = t("completed.prowl.success", runner_hash)
@@ -38,15 +69,21 @@ module OmgPullRequest
38
69
  output_file = store_logger_data!
39
70
  if self.success?
40
71
  make_comment_success!(output_file)
72
+ make_status_success!(output_file)
41
73
  prowl_alert_success!
42
74
  else
43
75
  make_comment_failure!(output_file)
76
+ make_status_failure!(output_file)
44
77
  prowl_alert_failure!
45
78
  end
46
79
  end
47
80
 
48
81
  def github_comment(message)
49
- self.github_wrapper.make_comment(self.issue_number, message)
82
+ self.github_wrapper.create_comment(self.issue_number, message)
83
+ end
84
+
85
+ def github_status(status, params={})
86
+ self.github_wrapper.create_status(self.to_sha, status, params)
50
87
  end
51
88
 
52
89
  def runner_hash(also=Hash.new)
@@ -18,12 +18,14 @@ module OmgPullRequest
18
18
  def run
19
19
  log_test_details!
20
20
  make_comment_test_running!
21
+ make_status_test_running!
21
22
 
22
23
  git_client.checkout!(from_sha)
23
24
  merge_response = git_client.merge!(to_sha)
24
25
 
25
26
  if merge_response == :conflict
26
27
  make_comment_conflict!
28
+ make_status_conflict!
27
29
  return
28
30
  end
29
31
 
@@ -3,7 +3,7 @@ module OmgPullRequest
3
3
  class Rails < TestRunner::Base
4
4
  def setup
5
5
  execute!("cd #{local_repo} && cp #{database_yml} config/database.yml && bundle")
6
- execute!("cd #{local_repo} && bundle exec rake db:drop:all && rake db:create:all && bundle exec rake db:schema:load")
6
+ execute!("cd #{local_repo} && bundle exec rake db:drop:all && bundle exec rake db:create:all && bundle exec rake db:schema:load")
7
7
  end
8
8
 
9
9
  def execute_tests
@@ -1,3 +1,3 @@
1
1
  module OmgPullRequest
2
- VERSION = "0.2.3"
2
+ VERSION = "0.3.0"
3
3
  end
data/locales/en.yml CHANGED
@@ -2,12 +2,16 @@ en:
2
2
  error:
3
3
  github:
4
4
  conflict: "### Unable To Run \nA conflict prevented the test suite from being run. Please manually resolve the conflict and the tests will be rerun.\nFrom `%{abbr_from_sha}` to `%{abbr_to_sha}`"
5
+ github_status:
6
+ conflict: "A conflict prevented the test suite from being run."
5
7
 
6
8
  start:
7
9
  banner: "OmgPullRequest %{version}\n
8
10
  From: %{abbr_from_sha}\n
9
11
  To: %{abbr_to_sha}\n
10
12
  Issue Number: %{issue_number}"
13
+ github_status:
14
+ message: "Running tests %{abbr_from_sha} to %{abbr_to_sha}"
11
15
  github:
12
16
  message: ":trollface: Running tests: `%{abbr_from_sha}` to `%{abbr_to_sha}`"
13
17
  lolcommits:
@@ -17,6 +21,9 @@ Issue Number: %{issue_number}"
17
21
  github:
18
22
  success: ":thumbsup: :shipit: \n### Tests Passed \nFrom `%{abbr_from_sha}` to `%{abbr_to_sha}`\nTests took %{minutes} minutes, %{seconds} seconds.\n[results](%{output_file})"
19
23
  failure: ":thumbsdown: :fire: :broken_heart: \n### Tests Failed \n `%{abbr_from_sha}` to `%{abbr_to_sha}`\nTests too %{minutes} minutes, %{seconds} seconds.\n[results](%{output_file})"
24
+ github_status:
25
+ success: "Tests Passed (%{abbr_from_sha} to %{abbr_to_sha}) in %{minutes} minutes, %{seconds} seconds."
26
+ failure: "Tests Failed (%{abbr_from_sha} to %{abbr_to_sha}) in %{minutes} minutes, %{seconds} seconds."
20
27
  prowl:
21
28
  success: "Thumbs up, bro.\nPull request #%{issue_number}\n%{title}\nTests took %{minutes} minutes, %{seconds} seconds."
22
29
  failure: "Sad face to the max, homie.\nPull request #%{issue_number}\n%{title}\nTests took %{minutes} minutes, %{seconds} seconds."
@@ -17,7 +17,7 @@ Gem::Specification.new do |gem|
17
17
 
18
18
  gem.add_runtime_dependency(%q<aws-s3>, ">= 0.6.3")
19
19
  gem.add_runtime_dependency(%q<faraday>, ">= 0.8.4")
20
- gem.add_runtime_dependency(%q<github_api>, ">= 0.6.5")
20
+ gem.add_runtime_dependency(%q<github_api>, ">= 0.7.0")
21
21
  gem.add_runtime_dependency(%q<uuid>, ">= 2.3.5")
22
22
  gem.add_runtime_dependency(%q<rake>, ">= 0.9.2.2")
23
23
  gem.add_runtime_dependency(%q<activesupport>, ">= 3.1.0")
@@ -0,0 +1,24 @@
1
+ HTTP/1.1 201 Created
2
+ Server: nginx/0.8.52
3
+ Date: Fri, 17 Dec 2010 02:02:58 GMT
4
+ Content-Type: application/json; charset=utf-8
5
+ Connection: keep-alive
6
+ Expires: Fri, 17 Dec 2010 02:02:58 UTC
7
+ Cache-Control: no-cache; private; no-store
8
+ Pragma: no-cache
9
+
10
+ {
11
+ "created_at": "2012-08-27T06:12:24Z",
12
+ "updated_at": "2012-08-27T06:12:24Z",
13
+ "state": "success",
14
+ "id": 8047694,
15
+ "url": "https://api.github.com/repos/kenmazaika/pictures/issues/comments/8047694",
16
+ "user": {
17
+ "gravatar_id": "2a9b8f5273d934fe57daa8cf54c3a017",
18
+ "avatar_url": "https://secure.gravatar.com/avatar/2a9b8f5273d934fe57daa8cf54c3a017?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png",
19
+ "login": "kenmazaika",
20
+ "url": "https://api.github.com/users/kenmazaika",
21
+ "id": 233615
22
+ }
23
+ }
24
+
@@ -0,0 +1,25 @@
1
+ HTTP/1.1 201 Created
2
+ Server: nginx/0.8.52
3
+ Date: Fri, 17 Dec 2010 02:02:58 GMT
4
+ Content-Type: application/json; charset=utf-8
5
+ Connection: keep-alive
6
+ Expires: Fri, 17 Dec 2010 02:02:58 UTC
7
+ Cache-Control: no-cache; private; no-store
8
+ Pragma: no-cache
9
+
10
+ [
11
+ {
12
+ "created_at": "2012-08-27T06:12:24Z",
13
+ "updated_at": "2012-08-27T06:12:24Z",
14
+ "state": "success",
15
+ "id": 8047694,
16
+ "url": "https://api.github.com/repos/kenmazaika/pictures/issues/comments/8047694",
17
+ "creator": {
18
+ "gravatar_id": "2a9b8f5273d934fe57daa8cf54c3a017",
19
+ "avatar_url": "https://secure.gravatar.com/avatar/2a9b8f5273d934fe57daa8cf54c3a017?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png",
20
+ "login": "kenmazaika",
21
+ "url": "https://api.github.com/users/kenmazaika",
22
+ "id": 233615
23
+ }
24
+ }
25
+ ]
@@ -55,7 +55,34 @@ class RunnerTest < MiniTest::Unit::TestCase
55
55
  runner.run
56
56
 
57
57
  posts = github.issues.comments.list(config[:login], 'omg', pr.number)
58
+ statuses = github.repos.statuses.list(config[:login], 'omg', pr.head.sha)
58
59
  assert_equal 2, posts.count
60
+ assert_equal "success", statuses.first.state
61
+ running = posts.first
62
+ pass = posts.last
63
+
64
+ assert running['body'].match(/Running tests/)
65
+ assert pass['body'].match(/Tests Passed/)
66
+ end
67
+
68
+ def test_pending
69
+ github.pull_requests.create config[:login], 'omg',
70
+ "head" => "#{config[:login]}:success",
71
+ "base" => "master",
72
+ "title" => 'Success'
73
+
74
+ prs = github.pull_requests.list(config[:login], "omg")
75
+ assert_equal 1, prs.count
76
+ pr = prs.first
77
+
78
+ runner = build_runner(pr)
79
+
80
+ runner.run
81
+
82
+ posts = github.issues.comments.list(config[:login], 'omg', pr.number)
83
+ statuses = github.repos.statuses.list(config[:login], 'omg', pr.head.sha)
84
+ assert_equal 2, posts.count
85
+ assert_equal "pending", statuses.at(1).state
59
86
  running = posts.first
60
87
  pass = posts.last
61
88
 
@@ -78,7 +105,9 @@ class RunnerTest < MiniTest::Unit::TestCase
78
105
  runner.run
79
106
 
80
107
  posts = github.issues.comments.list(config[:login], 'omg', pr.number)
108
+ statuses = github.repos.statuses.list(config[:login], 'omg', pr.head.sha)
81
109
  assert_equal 2, posts.count
110
+ assert_equal "failure", statuses.first.state
82
111
  running = posts.first
83
112
  pass = posts.last
84
113
 
@@ -101,7 +130,9 @@ class RunnerTest < MiniTest::Unit::TestCase
101
130
  runner.run
102
131
 
103
132
  posts = github.issues.comments.list(config[:login], 'omg', pr.number)
133
+ statuses = github.repos.statuses.list(config[:login], 'omg', pr.head.sha)
104
134
  assert_equal 2, posts.count
135
+ assert_equal "error", statuses.first.state
105
136
  running = posts.first
106
137
  conflict = posts.last
107
138
 
data/test/test_helper.rb CHANGED
@@ -56,6 +56,18 @@ def fakeweb_create_comment
56
56
  :response => File.expand_path('test/fixtures/create_comment'))
57
57
  end
58
58
 
59
+ def fakeweb_create_status
60
+ FakeWeb.register_uri(:post,
61
+ "https://omg:pull_request@api.github.com/repos/kenmazaika/pictures/statuses/HEAD_SHA",
62
+ :response => File.expand_path('test/fixtures/create_status'))
63
+ end
64
+
65
+ def fakeweb_get_statuses
66
+ FakeWeb.register_uri(:get,
67
+ "https://omg:pull_request@api.github.com/repos/kenmazaika/pictures/statuses/HEAD_SHA",
68
+ :response => File.expand_path('test/fixtures/get_statuses'))
69
+ end
70
+
59
71
  def fakeweb_pull_requests
60
72
  FakeWeb.register_uri(:get,
61
73
  "https://omg:pull_request@api.github.com/repos/kenmazaika/pictures/pulls",
@@ -19,9 +19,20 @@ module OmgPullRequest
19
19
  assert_equal expected, github_wrapper.commit_shas(MockPullRequest.new)
20
20
  end
21
21
 
22
- def test_make_comment
22
+ def test_create_comment
23
23
  fakeweb_create_comment
24
- github_wrapper.make_comment(MockPullRequest.new.number, "omg")
24
+ github_wrapper.create_comment(MockPullRequest.new.number, "omg")
25
+ end
26
+
27
+ def test_create_status
28
+ fakeweb_create_status
29
+ github_wrapper.create_status(MockPullRequest.new.head.sha, "success")
30
+ end
31
+
32
+ def test_get_statuses
33
+ fakeweb_get_statuses
34
+ expected = [ "state" => "success" ]
35
+ assert_equal expected, github_wrapper.get_statuses(MockPullRequest.new.head.sha)
25
36
  end
26
37
 
27
38
  def test_pull_requests
@@ -66,6 +66,41 @@ module OmgPullRequest
66
66
  mock_runner.send(:make_comment_success!, "url")
67
67
  end
68
68
 
69
+ def test_make_status_success
70
+ mock_runner.expects(:github_status).with(
71
+ GithubWrapper::STATUSES[:success],
72
+ :target_url => "url",
73
+ :description => "Tests Passed (abbr_from_sha to abbr_to_sha) in 1 minutes, 3.45 seconds."
74
+ )
75
+ mock_runner.send(:make_status_success!, "url")
76
+ end
77
+
78
+ def test_make_status_failure
79
+ mock_runner.expects(:github_status).with(
80
+ GithubWrapper::STATUSES[:failure],
81
+ :target_url => "url",
82
+ :description => "Tests Failed (abbr_from_sha to abbr_to_sha) in 1 minutes, 3.45 seconds."
83
+
84
+ )
85
+ mock_runner.send(:make_status_failure!, "url")
86
+ end
87
+
88
+ def test_make_status_conflict
89
+ mock_runner.expects(:github_status).with(
90
+ GithubWrapper::STATUSES[:conflict],
91
+ :description => "A conflict prevented the test suite from being run."
92
+ )
93
+ mock_runner.send(:make_status_conflict!)
94
+ end
95
+
96
+ def test_make_status_test_running
97
+ mock_runner.expects(:github_status).with(
98
+ GithubWrapper::STATUSES[:pending],
99
+ :description => "Running tests abbr_from_sha to abbr_to_sha"
100
+ )
101
+ mock_runner.send(:make_status_test_running!)
102
+ end
103
+
69
104
  protected
70
105
 
71
106
  def mock_runner
@@ -28,9 +28,11 @@ module OmgPullRequest
28
28
  def test_run_success
29
29
  runner.expects(:log_test_details!).once
30
30
  runner.expects(:make_comment_test_running!).once
31
+ runner.expects(:make_status_test_running!).once
31
32
  runner.git_client.expects(:checkout!).once
32
33
  runner.git_client.expects(:merge!).once.returns(:success)
33
34
  runner.expects(:make_comment_conflict!).never
35
+ runner.expects(:make_status_conflict!).never
34
36
  runner.expects(:process_output!).once
35
37
 
36
38
  runner.run
@@ -39,9 +41,11 @@ module OmgPullRequest
39
41
  def test_run_conflict
40
42
  runner.expects(:log_test_details!).once
41
43
  runner.expects(:make_comment_test_running!).once
44
+ runner.expects(:make_status_test_running!).once
42
45
  runner.git_client.expects(:checkout!).once
43
46
  runner.git_client.expects(:merge!).once.returns(:conflict)
44
47
  runner.expects(:make_comment_conflict!).once
48
+ runner.expects(:make_status_conflict!).once
45
49
  runner.expects(:process_output!).never
46
50
 
47
51
  runner.run
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omg_pull_request
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.3.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -12,11 +12,11 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2012-09-26 00:00:00.000000000Z
15
+ date: 2012-11-16 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: aws-s3
19
- requirement: &70319646326680 !ruby/object:Gem::Requirement
19
+ requirement: !ruby/object:Gem::Requirement
20
20
  none: false
21
21
  requirements:
22
22
  - - ! '>='
@@ -24,10 +24,15 @@ dependencies:
24
24
  version: 0.6.3
25
25
  type: :runtime
26
26
  prerelease: false
27
- version_requirements: *70319646326680
27
+ version_requirements: !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: 0.6.3
28
33
  - !ruby/object:Gem::Dependency
29
34
  name: faraday
30
- requirement: &70319646326180 !ruby/object:Gem::Requirement
35
+ requirement: !ruby/object:Gem::Requirement
31
36
  none: false
32
37
  requirements:
33
38
  - - ! '>='
@@ -35,21 +40,31 @@ dependencies:
35
40
  version: 0.8.4
36
41
  type: :runtime
37
42
  prerelease: false
38
- version_requirements: *70319646326180
43
+ version_requirements: !ruby/object:Gem::Requirement
44
+ none: false
45
+ requirements:
46
+ - - ! '>='
47
+ - !ruby/object:Gem::Version
48
+ version: 0.8.4
39
49
  - !ruby/object:Gem::Dependency
40
50
  name: github_api
41
- requirement: &70319646325720 !ruby/object:Gem::Requirement
51
+ requirement: !ruby/object:Gem::Requirement
42
52
  none: false
43
53
  requirements:
44
54
  - - ! '>='
45
55
  - !ruby/object:Gem::Version
46
- version: 0.6.5
56
+ version: 0.7.0
47
57
  type: :runtime
48
58
  prerelease: false
49
- version_requirements: *70319646325720
59
+ version_requirements: !ruby/object:Gem::Requirement
60
+ none: false
61
+ requirements:
62
+ - - ! '>='
63
+ - !ruby/object:Gem::Version
64
+ version: 0.7.0
50
65
  - !ruby/object:Gem::Dependency
51
66
  name: uuid
52
- requirement: &70319646325260 !ruby/object:Gem::Requirement
67
+ requirement: !ruby/object:Gem::Requirement
53
68
  none: false
54
69
  requirements:
55
70
  - - ! '>='
@@ -57,10 +72,15 @@ dependencies:
57
72
  version: 2.3.5
58
73
  type: :runtime
59
74
  prerelease: false
60
- version_requirements: *70319646325260
75
+ version_requirements: !ruby/object:Gem::Requirement
76
+ none: false
77
+ requirements:
78
+ - - ! '>='
79
+ - !ruby/object:Gem::Version
80
+ version: 2.3.5
61
81
  - !ruby/object:Gem::Dependency
62
82
  name: rake
63
- requirement: &70319646324800 !ruby/object:Gem::Requirement
83
+ requirement: !ruby/object:Gem::Requirement
64
84
  none: false
65
85
  requirements:
66
86
  - - ! '>='
@@ -68,10 +88,15 @@ dependencies:
68
88
  version: 0.9.2.2
69
89
  type: :runtime
70
90
  prerelease: false
71
- version_requirements: *70319646324800
91
+ version_requirements: !ruby/object:Gem::Requirement
92
+ none: false
93
+ requirements:
94
+ - - ! '>='
95
+ - !ruby/object:Gem::Version
96
+ version: 0.9.2.2
72
97
  - !ruby/object:Gem::Dependency
73
98
  name: activesupport
74
- requirement: &70319646324340 !ruby/object:Gem::Requirement
99
+ requirement: !ruby/object:Gem::Requirement
75
100
  none: false
76
101
  requirements:
77
102
  - - ! '>='
@@ -79,10 +104,15 @@ dependencies:
79
104
  version: 3.1.0
80
105
  type: :runtime
81
106
  prerelease: false
82
- version_requirements: *70319646324340
107
+ version_requirements: !ruby/object:Gem::Requirement
108
+ none: false
109
+ requirements:
110
+ - - ! '>='
111
+ - !ruby/object:Gem::Version
112
+ version: 3.1.0
83
113
  - !ruby/object:Gem::Dependency
84
114
  name: i18n
85
- requirement: &70319646323880 !ruby/object:Gem::Requirement
115
+ requirement: !ruby/object:Gem::Requirement
86
116
  none: false
87
117
  requirements:
88
118
  - - ! '>='
@@ -90,7 +120,12 @@ dependencies:
90
120
  version: 0.6.0
91
121
  type: :runtime
92
122
  prerelease: false
93
- version_requirements: *70319646323880
123
+ version_requirements: !ruby/object:Gem::Requirement
124
+ none: false
125
+ requirements:
126
+ - - ! '>='
127
+ - !ruby/object:Gem::Version
128
+ version: 0.6.0
94
129
  description: Have tests run automatically for your Github Pull Request
95
130
  email:
96
131
  - kenmazaika@gmail.com
@@ -101,7 +136,6 @@ extra_rdoc_files: []
101
136
  files:
102
137
  - .gitignore
103
138
  - Gemfile
104
- - Gemfile.lock
105
139
  - README.md
106
140
  - Rakefile
107
141
  - bin/omg_pull_request
@@ -129,6 +163,8 @@ files:
129
163
  - test/fixtures/comments
130
164
  - test/fixtures/config.yml
131
165
  - test/fixtures/create_comment
166
+ - test/fixtures/create_status
167
+ - test/fixtures/get_statuses
132
168
  - test/fixtures/github_commits
133
169
  - test/fixtures/kenmazaika
134
170
  - test/fixtures/make_gist
@@ -166,7 +202,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
166
202
  version: '0'
167
203
  requirements: []
168
204
  rubyforge_project:
169
- rubygems_version: 1.8.10
205
+ rubygems_version: 1.8.23
170
206
  signing_key:
171
207
  specification_version: 3
172
208
  summary: Have tests run automatically for your Github Pull Request
@@ -174,6 +210,8 @@ test_files:
174
210
  - test/fixtures/comments
175
211
  - test/fixtures/config.yml
176
212
  - test/fixtures/create_comment
213
+ - test/fixtures/create_status
214
+ - test/fixtures/get_statuses
177
215
  - test/fixtures/github_commits
178
216
  - test/fixtures/kenmazaika
179
217
  - test/fixtures/make_gist
data/Gemfile.lock DELETED
@@ -1,68 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- omg_pull_request (0.2.3)
5
- activesupport (>= 3.1.0)
6
- aws-s3 (>= 0.6.3)
7
- faraday (>= 0.8.4)
8
- github_api (>= 0.6.5)
9
- i18n (>= 0.6.0)
10
- rake (>= 0.9.2.2)
11
- uuid (>= 2.3.5)
12
-
13
- GEM
14
- remote: http://rubygems.org/
15
- specs:
16
- activesupport (3.2.8)
17
- i18n (~> 0.6)
18
- multi_json (~> 1.0)
19
- aws-s3 (0.6.3)
20
- builder
21
- mime-types
22
- xml-simple
23
- builder (3.0.0)
24
- fakeweb (1.3.0)
25
- faraday (0.8.4)
26
- multipart-post (~> 1.1)
27
- github_api (0.6.5)
28
- faraday (~> 0.8.1)
29
- hashie (~> 1.2.0)
30
- multi_json (~> 1.3)
31
- nokogiri (~> 1.5.2)
32
- oauth2
33
- hashie (1.2.0)
34
- httpauth (0.1)
35
- i18n (0.6.1)
36
- jwt (0.1.5)
37
- multi_json (>= 1.0)
38
- macaddr (1.6.1)
39
- systemu (~> 2.5.0)
40
- metaclass (0.0.1)
41
- mime-types (1.19)
42
- minitest (3.3.0)
43
- mocha (0.12.3)
44
- metaclass (~> 0.0.1)
45
- multi_json (1.3.6)
46
- multipart-post (1.1.5)
47
- nokogiri (1.5.5)
48
- oauth2 (0.8.0)
49
- faraday (~> 0.8)
50
- httpauth (~> 0.1)
51
- jwt (~> 0.1.4)
52
- multi_json (~> 1.0)
53
- rack (~> 1.2)
54
- rack (1.4.1)
55
- rake (0.9.2.2)
56
- systemu (2.5.2)
57
- uuid (2.3.5)
58
- macaddr (~> 1.0)
59
- xml-simple (1.1.1)
60
-
61
- PLATFORMS
62
- ruby
63
-
64
- DEPENDENCIES
65
- fakeweb
66
- minitest
67
- mocha
68
- omg_pull_request!