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: b26b3cd09c416dd020682a1731d63bcf931d8c56
4
- data.tar.gz: bd084e7429476ee0fee565fc0f74701875727f04
3
+ metadata.gz: 10286b9e25378a5e77ad448005d7961668606845
4
+ data.tar.gz: 0327fb164ccba036d2042bf5bd3a25a985926c2f
5
5
  SHA512:
6
- metadata.gz: ccda655ad497e3ab4b4ef1fb944cdc30e3dc1ccd8ab7a145002280e2040b42633e4ad17266c9b28c49e4c029d9f5d058258aa8b20bf993382c62d65c11784d40
7
- data.tar.gz: 70f5f05b33ea24147babfc561eabfc5e5d2e1ca05db3c4ef630ba4095be2318782fb8824c4ef81cbac6a76ce3fa7a417a1c6457f386d4339921dd431685f9934
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
@@ -1,3 +1,3 @@
1
1
  module Startling
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
@@ -17,7 +17,8 @@ describe Startling::Commands::CreatePullRequest do
17
17
  )
18
18
  end
19
19
 
20
- let(:repo) { double(:repo, open_pull_request: true) }
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.6
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