learn-web 1.2.0 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 35681d6a319de7327b2f46690d87860ce0acd1b2
4
- data.tar.gz: 8d9af970a0af4dec7ee53896e21810da1a773431
3
+ metadata.gz: 52c4ca89f3a676d9e5d679354354ab8c77dceacf
4
+ data.tar.gz: 482397e196c91c25a22547f918f85b75144d3f7f
5
5
  SHA512:
6
- metadata.gz: a83f2519b3265e5094bf6d0947bdd5ab2ce6f7f2c5bade326fdbdfcb7c2ade3426c1f0bdc72ebc3a4f3f27f6e8566c0b04896b680d4d94f5e31721cdd6650d00
7
- data.tar.gz: 7f0eb8fc1c5bc5277b2ab09ac9174e739a40d82e2d051446433ebe3839cc10a790b765fa513c3c81889cecadf712e3baa49d1e0f4207148715bd6868a5537101
6
+ metadata.gz: 93ef9baa5628858d6deef57ac14d21f9c835e4042ba7a7a6059c2cd2d4e4efcda6604c63eae43e4d97446b11578d2658a6909c42ccdc428b36bb2a637ca26d1d
7
+ data.tar.gz: d89afc81169441de4ad226729d1b53e1b01d39b41c56e6839811aa02a6526b2b0b41976932be10acd23c978586a73a33529924640ac95b9b8139eca0076b8575
@@ -7,11 +7,11 @@ module LearnWeb
7
7
  "#{API_ROOT}/lesson_submissions"
8
8
  end
9
9
 
10
- def issue_pull_request(repo_name:, branch_name:)
10
+ def issue_pull_request(repo_name:, branch_name:, message: nil)
11
11
  response = post(
12
12
  pr_endpoint,
13
13
  headers: { 'Authorization' => "Bearer #{token}" },
14
- params: { 'repo_name' => repo_name, 'branch_name' => branch_name }
14
+ params: { 'repo_name' => repo_name, 'branch_name' => branch_name, 'message' => message }
15
15
  )
16
16
 
17
17
  LearnWeb::Client::PullRequest::Response.new(response)
@@ -1,3 +1,3 @@
1
1
  module LearnWeb
2
- VERSION = '1.2.0'
2
+ VERSION = '1.3.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: learn-web
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Flatiron School
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-02 00:00:00.000000000 Z
11
+ date: 2015-08-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler