flash_flow 1.4.4 → 1.4.5

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: 850c7954c81a98af1fd93586fa26480206f77e1b
4
- data.tar.gz: 84c7d961f340a47df35b7815ef8aa28b476dd044
3
+ metadata.gz: 4aff3163ea68205769ff9157ffcc3186797b571c
4
+ data.tar.gz: d917594c16e2f836b6572922a227df7f696bbd39
5
5
  SHA512:
6
- metadata.gz: 3152a86788e0a3a1ced7ce324b53de41c7675f16db7fb7c0c234be495240794e18e5e06363791082f08eb8fee9ef408bd8ad9ded1e90dcc5621f4876a6bfd00c
7
- data.tar.gz: a24836c67acb42b3125694d48b063516393f08c83ba390ae4fef7d7d75929ff589ed4796a4ed89112a01ef1185f0254ab72b4e3365c7e68de6fe8d521b7d5637
6
+ metadata.gz: 39d51941b834bc218524412c37e7fd02309a3e947e39aad06ff5b45ff0815fa65c79bb6939accff3c98072c0c119e3e82753f195c1f9901101ae27b5694c4238
7
+ data.tar.gz: 75ba31076eaa53acb0f84a81088f7dcd4e21e892e03bd9903be25ba38df81f4c87c3fd747f49bead11ce399bf6857b6643d16a14fe0f60c412b56df2917d585f
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- flash_flow (1.4.4)
4
+ flash_flow (1.4.5)
5
5
  hipchat (~> 1.5)
6
6
  octokit (~> 4.1)
7
7
  percy-client
@@ -29,7 +29,7 @@ case
29
29
  when options[:merge_status_html]
30
30
  FlashFlow::Merge::Status.new(FlashFlow::Config.configuration.issue_tracker, FlashFlow::Config.configuration.branches, FlashFlow::Config.configuration.branch_info_file, FlashFlow::Config.configuration.git, logger: FlashFlow::Config.configuration.logger).status_html
31
31
  when options[:release_branches]
32
- FlashFlow::Merge::Master.new(options).run
32
+ FlashFlow::Merge::Release.new(options).run
33
33
  else
34
34
  FlashFlow::Merge::Acceptance.new(options).run
35
35
  FlashFlow::IssueTracker::Base.new(FlashFlow::Config.configuration.issue_tracker).stories_pushed
@@ -4,5 +4,5 @@ module FlashFlow
4
4
  end
5
5
 
6
6
  require 'flash_flow/merge/acceptance'
7
- require 'flash_flow/merge/master'
7
+ require 'flash_flow/merge/release'
8
8
  require 'flash_flow/merge/status'
@@ -56,7 +56,7 @@ module FlashFlow
56
56
 
57
57
  def commit_branch_info
58
58
  @stories.each do |story_id|
59
- @data.add_story(@git.remote, @git.working_branch, story_id)
59
+ @data.add_story(@git.working_branch, story_id)
60
60
  end
61
61
  @data.save!
62
62
  end
@@ -2,7 +2,7 @@ require 'flash_flow/merge/base'
2
2
 
3
3
  module FlashFlow
4
4
  module Merge
5
- class Master < Base
5
+ class Release < Base
6
6
 
7
7
  class PendingReleaseError < RuntimeError; end
8
8
  class NothingToMergeError < RuntimeError; end
@@ -24,6 +24,7 @@ module FlashFlow
24
24
  opts.on('--merge-status', 'Show status of all branches and their stories and exit') { |v| options[:merge_status] = true }
25
25
  opts.on('--merge-status-html', 'Show status of all branches and their stories in html format and exit') { |v| options[:merge_status_html] = true }
26
26
  opts.on('--make-release branch1,branch2', 'Comma-delimited list of branches to merge to the release branch. Run "--merge-release ready" to merge all ready to ship branches') { |v| options[:release_branches] = v.split(',') }
27
+ opts.on('--merge-release', 'Merge the release branch into the master branch and push') { |v| options[:merge_release] = v.split(',') }
27
28
 
28
29
  opts.on_tail("-h", "--help", "Show this message") do
29
30
  puts opts
@@ -1,3 +1,3 @@
1
1
  module FlashFlow
2
- VERSION = "1.4.4"
2
+ VERSION = "1.4.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flash_flow
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.4
4
+ version: 1.4.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Flashfunders
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-12 00:00:00.000000000 Z
11
+ date: 2016-08-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: octokit
@@ -188,8 +188,8 @@ files:
188
188
  - lib/flash_flow/merge.rb
189
189
  - lib/flash_flow/merge/acceptance.rb
190
190
  - lib/flash_flow/merge/base.rb
191
- - lib/flash_flow/merge/master.rb
192
191
  - lib/flash_flow/merge/merge_status.html.erb
192
+ - lib/flash_flow/merge/release.rb
193
193
  - lib/flash_flow/merge/release_graph.rb
194
194
  - lib/flash_flow/merge/status.rb
195
195
  - lib/flash_flow/merge_order.rb