startling 0.0.6 → 0.0.7
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 10286b9e25378a5e77ad448005d7961668606845
|
4
|
+
data.tar.gz: 0327fb164ccba036d2042bf5bd3a25a985926c2f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cbca7e8dd625bd5b54bb7a193e05be0539dcc903305f25f34962fb04f4daccaa42e55c0a5b024d96f71701d908472de68b59826f66ce3fb41b93bf321e75c805
|
7
|
+
data.tar.gz: 67262bda0568f2c4f1f21c0927a90c8ce3e62536067043159172d3bb468ddde869f02bb50d98bbffabd370da4e97915d46945f26373818c44bcf0771f373c910
|
@@ -22,8 +22,12 @@ module Startling
|
|
22
22
|
|
23
23
|
git.push_origin_head
|
24
24
|
|
25
|
-
repo.open_pull_request title: pull_request_handler.title,
|
25
|
+
pull_request = repo.open_pull_request title: pull_request_handler.title,
|
26
26
|
body: pull_request_handler.body, branch: @branch_name
|
27
|
+
|
28
|
+
puts pull_request.url if pull_request
|
29
|
+
|
30
|
+
pull_request
|
27
31
|
end
|
28
32
|
|
29
33
|
def repo
|
data/lib/startling/version.rb
CHANGED
@@ -17,7 +17,8 @@ describe Startling::Commands::CreatePullRequest do
|
|
17
17
|
)
|
18
18
|
end
|
19
19
|
|
20
|
-
let(:
|
20
|
+
let(:pull_request) { double(:pull_request, url: 'pull request URL') }
|
21
|
+
let(:repo) { double(:repo, open_pull_request: pull_request) }
|
21
22
|
|
22
23
|
before do
|
23
24
|
allow(create_pull_request).to receive(:pull_request_handler) { pull_request_handler }
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: startling
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aaron Jensen
|
@@ -217,7 +217,6 @@ executables:
|
|
217
217
|
extensions: []
|
218
218
|
extra_rdoc_files: []
|
219
219
|
files:
|
220
|
-
- ".gitignore"
|
221
220
|
- ".ruby-gemset"
|
222
221
|
- Gemfile
|
223
222
|
- LICENSE.txt
|
data/.gitignore
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
*.gem
|
2
|
-
*.rbc
|
3
|
-
.bundle
|
4
|
-
.config
|
5
|
-
.env
|
6
|
-
.github_access_token
|
7
|
-
.pivotal_api_token
|
8
|
-
.ruby-version
|
9
|
-
.yardoc
|
10
|
-
Gemfile.lock
|
11
|
-
InstalledFiles
|
12
|
-
_yardoc
|
13
|
-
coverage
|
14
|
-
doc/
|
15
|
-
lib/bundler/man
|
16
|
-
pkg
|
17
|
-
rdoc
|
18
|
-
spec/reports
|
19
|
-
test/tmp
|
20
|
-
test/version_tmp
|
21
|
-
tmp
|