octopolo 0.3.6 → 0.4.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.
@@ -45,7 +45,7 @@ module Octopolo
45
45
  expect(subject).to receive(:update_pivotal)
46
46
  expect(subject).to receive(:update_jira)
47
47
  expect(subject).to receive(:update_label)
48
- expect(subject).to receive(:open_pull_request)
48
+ expect(subject).to receive(:open_in_browser)
49
49
 
50
50
  subject.execute
51
51
  end
@@ -255,7 +255,7 @@ module Octopolo
255
255
 
256
256
  end
257
257
 
258
- context "#open_pull_request" do
258
+ context "#open_in_browser" do
259
259
  before do
260
260
  subject.pull_request = pull_request
261
261
  pull_request.stub(:url) { pull_request_url }
@@ -264,7 +264,7 @@ module Octopolo
264
264
  it "copies the pull request's URL to the clipboard and opens it in the browser" do
265
265
  cli.should_receive(:copy_to_clipboard) { pull_request.url}
266
266
  cli.should_receive(:open) { pull_request.url }
267
- subject.send(:open_pull_request)
267
+ subject.send(:open_in_browser)
268
268
  end
269
269
  end
270
270
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: octopolo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.6
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Patrick Byrne
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-03-26 00:00:00.000000000 Z
12
+ date: 2015-05-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
@@ -211,6 +211,7 @@ files:
211
211
  - lib/octopolo/commands/compare_release.rb
212
212
  - lib/octopolo/commands/deployable.rb
213
213
  - lib/octopolo/commands/github_auth.rb
214
+ - lib/octopolo/commands/issue.rb
214
215
  - lib/octopolo/commands/new_branch.rb
215
216
  - lib/octopolo/commands/new_deployable.rb
216
217
  - lib/octopolo/commands/new_staging.rb
@@ -228,6 +229,8 @@ files:
228
229
  - lib/octopolo/git.rb
229
230
  - lib/octopolo/github.rb
230
231
  - lib/octopolo/github/commit.rb
232
+ - lib/octopolo/github/issue.rb
233
+ - lib/octopolo/github/issue_creator.rb
231
234
  - lib/octopolo/github/label.rb
232
235
  - lib/octopolo/github/pull_request.rb
233
236
  - lib/octopolo/github/pull_request_creator.rb
@@ -243,6 +246,7 @@ files:
243
246
  - lib/octopolo/scripts/compare_release.rb
244
247
  - lib/octopolo/scripts/deployable.rb
245
248
  - lib/octopolo/scripts/github_auth.rb
249
+ - lib/octopolo/scripts/issue.rb
246
250
  - lib/octopolo/scripts/new_branch.rb
247
251
  - lib/octopolo/scripts/new_deployable.rb
248
252
  - lib/octopolo/scripts/new_staging.rb
@@ -255,6 +259,7 @@ files:
255
259
  - lib/octopolo/scripts/sync_branch.rb
256
260
  - lib/octopolo/scripts/tag_release.rb
257
261
  - lib/octopolo/semver_tag_scrubber.rb
262
+ - lib/octopolo/templates/issue_body.erb
258
263
  - lib/octopolo/templates/pull_request_body.erb
259
264
  - lib/octopolo/user_config.rb
260
265
  - lib/octopolo/version.rb
@@ -267,6 +272,8 @@ files:
267
272
  - spec/octopolo/dated_branch_creator_spec.rb
268
273
  - spec/octopolo/git_spec.rb
269
274
  - spec/octopolo/github/commit_spec.rb
275
+ - spec/octopolo/github/issue_creator_spec.rb
276
+ - spec/octopolo/github/issue_spec.rb
270
277
  - spec/octopolo/github/label_spec.rb
271
278
  - spec/octopolo/github/pull_request_creator_spec.rb
272
279
  - spec/octopolo/github/pull_request_spec.rb
@@ -281,6 +288,7 @@ files:
281
288
  - spec/octopolo/scripts/compare_release_spec.rb
282
289
  - spec/octopolo/scripts/deployable_spec.rb
283
290
  - spec/octopolo/scripts/github_auth_spec.rb
291
+ - spec/octopolo/scripts/issue_spec.rb
284
292
  - spec/octopolo/scripts/new_branch_spec.rb
285
293
  - spec/octopolo/scripts/new_deployable_spec.rb
286
294
  - spec/octopolo/scripts/new_staging_spec.rb
@@ -333,6 +341,8 @@ test_files:
333
341
  - spec/octopolo/dated_branch_creator_spec.rb
334
342
  - spec/octopolo/git_spec.rb
335
343
  - spec/octopolo/github/commit_spec.rb
344
+ - spec/octopolo/github/issue_creator_spec.rb
345
+ - spec/octopolo/github/issue_spec.rb
336
346
  - spec/octopolo/github/label_spec.rb
337
347
  - spec/octopolo/github/pull_request_creator_spec.rb
338
348
  - spec/octopolo/github/pull_request_spec.rb
@@ -347,6 +357,7 @@ test_files:
347
357
  - spec/octopolo/scripts/compare_release_spec.rb
348
358
  - spec/octopolo/scripts/deployable_spec.rb
349
359
  - spec/octopolo/scripts/github_auth_spec.rb
360
+ - spec/octopolo/scripts/issue_spec.rb
350
361
  - spec/octopolo/scripts/new_branch_spec.rb
351
362
  - spec/octopolo/scripts/new_deployable_spec.rb
352
363
  - spec/octopolo/scripts/new_staging_spec.rb