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 +4 -4
- data/lib/learn_web/client/pull_request.rb +2 -2
- data/lib/learn_web/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 52c4ca89f3a676d9e5d679354354ab8c77dceacf
|
4
|
+
data.tar.gz: 482397e196c91c25a22547f918f85b75144d3f7f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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)
|
data/lib/learn_web/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2015-08-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|