zenflow 0.8.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.
- checksums.yaml +7 -0
 - data/.gitignore +6 -0
 - data/.rspec +2 -0
 - data/.ruby-gemset +1 -0
 - data/.ruby-version +1 -0
 - data/.zenflow +10 -0
 - data/CHANGELOG.md +0 -0
 - data/Gemfile +3 -0
 - data/Gemfile.lock +95 -0
 - data/Guardfile +6 -0
 - data/LICENSE.md +22 -0
 - data/README.markdown +92 -0
 - data/VERSION.yml +5 -0
 - data/bin/zenflow +17 -0
 - data/lib/zenflow.rb +35 -0
 - data/lib/zenflow/cli.rb +130 -0
 - data/lib/zenflow/commands/deploy.rb +33 -0
 - data/lib/zenflow/commands/feature.rb +10 -0
 - data/lib/zenflow/commands/hotfix.rb +15 -0
 - data/lib/zenflow/commands/release.rb +16 -0
 - data/lib/zenflow/commands/reviews.rb +12 -0
 - data/lib/zenflow/helpers/ask.rb +66 -0
 - data/lib/zenflow/helpers/branch.rb +80 -0
 - data/lib/zenflow/helpers/branch_command.rb +95 -0
 - data/lib/zenflow/helpers/branch_commands/abort.rb +21 -0
 - data/lib/zenflow/helpers/branch_commands/branches.rb +21 -0
 - data/lib/zenflow/helpers/branch_commands/compare.rb +20 -0
 - data/lib/zenflow/helpers/branch_commands/deploy.rb +29 -0
 - data/lib/zenflow/helpers/branch_commands/diff.rb +19 -0
 - data/lib/zenflow/helpers/branch_commands/finish.rb +68 -0
 - data/lib/zenflow/helpers/branch_commands/review.rb +58 -0
 - data/lib/zenflow/helpers/branch_commands/start.rb +39 -0
 - data/lib/zenflow/helpers/branch_commands/update.rb +22 -0
 - data/lib/zenflow/helpers/changelog.rb +100 -0
 - data/lib/zenflow/helpers/config.rb +36 -0
 - data/lib/zenflow/helpers/github.rb +40 -0
 - data/lib/zenflow/helpers/help.rb +37 -0
 - data/lib/zenflow/helpers/log.rb +21 -0
 - data/lib/zenflow/helpers/pull_request.rb +68 -0
 - data/lib/zenflow/helpers/repo.rb +13 -0
 - data/lib/zenflow/helpers/shell.rb +89 -0
 - data/lib/zenflow/helpers/version.rb +87 -0
 - data/lib/zenflow/version.rb +3 -0
 - data/spec/fixtures/VERSION.yml +5 -0
 - data/spec/fixtures/cassettes/create_bad_pull_request.yml +57 -0
 - data/spec/fixtures/cassettes/create_pull_request.yml +68 -0
 - data/spec/fixtures/cassettes/existing_pull_request.yml +145 -0
 - data/spec/fixtures/cassettes/pull_request_by_ref.yml +145 -0
 - data/spec/fixtures/cassettes/pull_request_find.yml +70 -0
 - data/spec/fixtures/cassettes/pull_request_for_non-existent_ref.yml +145 -0
 - data/spec/fixtures/cassettes/pull_request_list.yml +74 -0
 - data/spec/fixtures/cassettes/unexisting_pull_request.yml +145 -0
 - data/spec/spec_helper.rb +36 -0
 - data/spec/support/shared_examples_for_version_number.rb +19 -0
 - data/spec/zenflow/commands/deploy_spec.rb +48 -0
 - data/spec/zenflow/commands/feature_spec.rb +11 -0
 - data/spec/zenflow/commands/hotfix_spec.rb +14 -0
 - data/spec/zenflow/commands/release_spec.rb +15 -0
 - data/spec/zenflow/commands/reviews_spec.rb +15 -0
 - data/spec/zenflow/helpers/ask_spec.rb +115 -0
 - data/spec/zenflow/helpers/branch_command_spec.rb +310 -0
 - data/spec/zenflow/helpers/branch_spec.rb +300 -0
 - data/spec/zenflow/helpers/changelog_spec.rb +188 -0
 - data/spec/zenflow/helpers/cli_spec.rb +277 -0
 - data/spec/zenflow/helpers/github_spec.rb +45 -0
 - data/spec/zenflow/helpers/help_spec.rb +36 -0
 - data/spec/zenflow/helpers/log_spec.rb +31 -0
 - data/spec/zenflow/helpers/pull_request_spec.rb +108 -0
 - data/spec/zenflow/helpers/shell_spec.rb +135 -0
 - data/spec/zenflow/helpers/version_spec.rb +111 -0
 - data/zenflow.gemspec +33 -0
 - metadata +273 -0
 
| 
         @@ -0,0 +1,135 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            require 'spec_helper'
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            describe Zenflow::Shell do
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
              describe '.failed!' do
         
     | 
| 
      
 6 
     | 
    
         
            +
                before(:all){ Zenflow::Shell.failed!(404) }
         
     | 
| 
      
 7 
     | 
    
         
            +
                it{expect(Zenflow::Shell.instance_variable_get('@failed')).to be_true}
         
     | 
| 
      
 8 
     | 
    
         
            +
                it{expect(Zenflow::Shell.instance_variable_get('@status')).to eq(404)}
         
     | 
| 
      
 9 
     | 
    
         
            +
              end
         
     | 
| 
      
 10 
     | 
    
         
            +
             
     | 
| 
      
 11 
     | 
    
         
            +
              describe '.failed?' do
         
     | 
| 
      
 12 
     | 
    
         
            +
                context 'when failed' do
         
     | 
| 
      
 13 
     | 
    
         
            +
                  before(:all){ Zenflow::Shell.failed!('bad') }
         
     | 
| 
      
 14 
     | 
    
         
            +
                  it{expect(Zenflow::Shell.failed?).to be_true}
         
     | 
| 
      
 15 
     | 
    
         
            +
                end
         
     | 
| 
      
 16 
     | 
    
         
            +
             
     | 
| 
      
 17 
     | 
    
         
            +
                context 'when not failed' do
         
     | 
| 
      
 18 
     | 
    
         
            +
                  before(:all){ Zenflow::Shell.instance_variable_set('@failed', false) }
         
     | 
| 
      
 19 
     | 
    
         
            +
                  it{expect(Zenflow::Shell.failed?).to be_false}
         
     | 
| 
      
 20 
     | 
    
         
            +
                end
         
     | 
| 
      
 21 
     | 
    
         
            +
              end
         
     | 
| 
      
 22 
     | 
    
         
            +
             
     | 
| 
      
 23 
     | 
    
         
            +
              describe '.status' do
         
     | 
| 
      
 24 
     | 
    
         
            +
                context 'with a status' do
         
     | 
| 
      
 25 
     | 
    
         
            +
                  before(:all){ Zenflow::Shell.instance_variable_set('@status', 200) }
         
     | 
| 
      
 26 
     | 
    
         
            +
                  it{expect(Zenflow::Shell.status).to eq(200)}
         
     | 
| 
      
 27 
     | 
    
         
            +
                end
         
     | 
| 
      
 28 
     | 
    
         
            +
             
     | 
| 
      
 29 
     | 
    
         
            +
                context 'without a status' do
         
     | 
| 
      
 30 
     | 
    
         
            +
                  before(:all){ Zenflow::Shell.instance_variable_set('@status', nil) }
         
     | 
| 
      
 31 
     | 
    
         
            +
                  it{expect(Zenflow::Shell.status).to eq(0)}
         
     | 
| 
      
 32 
     | 
    
         
            +
                end
         
     | 
| 
      
 33 
     | 
    
         
            +
              end
         
     | 
| 
      
 34 
     | 
    
         
            +
             
     | 
| 
      
 35 
     | 
    
         
            +
              describe '.[]' do
         
     | 
| 
      
 36 
     | 
    
         
            +
                let(:command){'foo'}
         
     | 
| 
      
 37 
     | 
    
         
            +
                it 'runs the command' do
         
     | 
| 
      
 38 
     | 
    
         
            +
                  Zenflow::Shell.should_receive(:run).with(command)
         
     | 
| 
      
 39 
     | 
    
         
            +
                  Zenflow::Shell[command]
         
     | 
| 
      
 40 
     | 
    
         
            +
                end
         
     | 
| 
      
 41 
     | 
    
         
            +
              end
         
     | 
| 
      
 42 
     | 
    
         
            +
             
     | 
| 
      
 43 
     | 
    
         
            +
              describe '.run' do
         
     | 
| 
      
 44 
     | 
    
         
            +
                before(:all){ Zenflow::Shell.instance_variable_set('@failed', false) }
         
     | 
| 
      
 45 
     | 
    
         
            +
             
     | 
| 
      
 46 
     | 
    
         
            +
                context 'silent' do
         
     | 
| 
      
 47 
     | 
    
         
            +
                  let(:command){'ls'}
         
     | 
| 
      
 48 
     | 
    
         
            +
             
     | 
| 
      
 49 
     | 
    
         
            +
                  it 'runs the command' do
         
     | 
| 
      
 50 
     | 
    
         
            +
                    Zenflow::Shell.should_receive(:run_without_output).with(command, {silent: true})
         
     | 
| 
      
 51 
     | 
    
         
            +
                    Zenflow::Shell.run(command, silent: true)
         
     | 
| 
      
 52 
     | 
    
         
            +
                  end
         
     | 
| 
      
 53 
     | 
    
         
            +
             
     | 
| 
      
 54 
     | 
    
         
            +
                  it 'logs the command' do
         
     | 
| 
      
 55 
     | 
    
         
            +
                    allow(Zenflow::Shell).to receive(:run_without_output).and_return(true)
         
     | 
| 
      
 56 
     | 
    
         
            +
                    Zenflow.should_receive(:LogToFile).once.with("$ #{command}\n")
         
     | 
| 
      
 57 
     | 
    
         
            +
                    Zenflow::Shell.run(command, silent: true)
         
     | 
| 
      
 58 
     | 
    
         
            +
                  end
         
     | 
| 
      
 59 
     | 
    
         
            +
                end
         
     | 
| 
      
 60 
     | 
    
         
            +
             
     | 
| 
      
 61 
     | 
    
         
            +
                context 'noisy' do
         
     | 
| 
      
 62 
     | 
    
         
            +
                  let(:command){'ls'}
         
     | 
| 
      
 63 
     | 
    
         
            +
             
     | 
| 
      
 64 
     | 
    
         
            +
                  it 'runs the command' do
         
     | 
| 
      
 65 
     | 
    
         
            +
                    allow(Zenflow).to receive(:Log)
         
     | 
| 
      
 66 
     | 
    
         
            +
                    Zenflow::Shell.should_receive(:run_with_output).with(command, {})
         
     | 
| 
      
 67 
     | 
    
         
            +
                    Zenflow::Shell.run(command)
         
     | 
| 
      
 68 
     | 
    
         
            +
                  end
         
     | 
| 
      
 69 
     | 
    
         
            +
             
     | 
| 
      
 70 
     | 
    
         
            +
                  it 'logs the command' do
         
     | 
| 
      
 71 
     | 
    
         
            +
                    allow(Zenflow::Shell).to receive(:run_with_output).and_return(true)
         
     | 
| 
      
 72 
     | 
    
         
            +
                    Zenflow.should_receive(:Log).once.with(
         
     | 
| 
      
 73 
     | 
    
         
            +
                      "$ #{command}", arrows: false, color: :yellow
         
     | 
| 
      
 74 
     | 
    
         
            +
                    )
         
     | 
| 
      
 75 
     | 
    
         
            +
                    Zenflow::Shell.run(command)
         
     | 
| 
      
 76 
     | 
    
         
            +
                  end
         
     | 
| 
      
 77 
     | 
    
         
            +
                end
         
     | 
| 
      
 78 
     | 
    
         
            +
              end
         
     | 
| 
      
 79 
     | 
    
         
            +
             
     | 
| 
      
 80 
     | 
    
         
            +
              describe '.run_with_output' do
         
     | 
| 
      
 81 
     | 
    
         
            +
                let(:command){'ls'}
         
     | 
| 
      
 82 
     | 
    
         
            +
                let(:response){"foo\nbar"}
         
     | 
| 
      
 83 
     | 
    
         
            +
             
     | 
| 
      
 84 
     | 
    
         
            +
                before(:each){
         
     | 
| 
      
 85 
     | 
    
         
            +
                  Zenflow::Shell.should_receive(:run_with_result_check).with(command,{}).and_return(response)
         
     | 
| 
      
 86 
     | 
    
         
            +
                  Zenflow::Shell.should_receive(:puts).with(Regexp.new(response))
         
     | 
| 
      
 87 
     | 
    
         
            +
                }
         
     | 
| 
      
 88 
     | 
    
         
            +
             
     | 
| 
      
 89 
     | 
    
         
            +
                subject{ Zenflow::Shell.run_with_output(command) }
         
     | 
| 
      
 90 
     | 
    
         
            +
                it{expect(subject).to eq(response)}
         
     | 
| 
      
 91 
     | 
    
         
            +
              end
         
     | 
| 
      
 92 
     | 
    
         
            +
             
     | 
| 
      
 93 
     | 
    
         
            +
              describe '.run_without_output' do
         
     | 
| 
      
 94 
     | 
    
         
            +
                let(:command){'ls'}
         
     | 
| 
      
 95 
     | 
    
         
            +
                let(:response){"foo\nbar"}
         
     | 
| 
      
 96 
     | 
    
         
            +
             
     | 
| 
      
 97 
     | 
    
         
            +
                before(:each){
         
     | 
| 
      
 98 
     | 
    
         
            +
                  Zenflow::Shell.should_receive(:run_with_result_check).with(command,{}).and_return(response)
         
     | 
| 
      
 99 
     | 
    
         
            +
                }
         
     | 
| 
      
 100 
     | 
    
         
            +
             
     | 
| 
      
 101 
     | 
    
         
            +
                subject{ Zenflow::Shell.run_with_output(command) }
         
     | 
| 
      
 102 
     | 
    
         
            +
              end
         
     | 
| 
      
 103 
     | 
    
         
            +
             
     | 
| 
      
 104 
     | 
    
         
            +
              describe '.run_with_result_check' do
         
     | 
| 
      
 105 
     | 
    
         
            +
                context 'successful' do
         
     | 
| 
      
 106 
     | 
    
         
            +
                  let(:command){'ls'}
         
     | 
| 
      
 107 
     | 
    
         
            +
                  let(:response){"foo\nbar"}
         
     | 
| 
      
 108 
     | 
    
         
            +
             
     | 
| 
      
 109 
     | 
    
         
            +
                  before(:each){
         
     | 
| 
      
 110 
     | 
    
         
            +
                    Zenflow::Shell.should_receive(:`).with(command).and_return(response)
         
     | 
| 
      
 111 
     | 
    
         
            +
                  }
         
     | 
| 
      
 112 
     | 
    
         
            +
             
     | 
| 
      
 113 
     | 
    
         
            +
                  subject{Zenflow::Shell.run_with_result_check(command)}
         
     | 
| 
      
 114 
     | 
    
         
            +
                  it{expect(subject).to eq(response)}
         
     | 
| 
      
 115 
     | 
    
         
            +
                end
         
     | 
| 
      
 116 
     | 
    
         
            +
             
     | 
| 
      
 117 
     | 
    
         
            +
                context 'unsuccessful' do
         
     | 
| 
      
 118 
     | 
    
         
            +
                  let(:command){'ls'}
         
     | 
| 
      
 119 
     | 
    
         
            +
                  let(:response){'100'}
         
     | 
| 
      
 120 
     | 
    
         
            +
             
     | 
| 
      
 121 
     | 
    
         
            +
                  before(:each){
         
     | 
| 
      
 122 
     | 
    
         
            +
                    allow(Zenflow::Shell).to receive(:last_exit_status).and_return(response)
         
     | 
| 
      
 123 
     | 
    
         
            +
                    Zenflow::Shell.should_receive(:`).with(command).and_return(response)
         
     | 
| 
      
 124 
     | 
    
         
            +
                    Zenflow::Shell.should_receive(:puts).with(Regexp.new(response))
         
     | 
| 
      
 125 
     | 
    
         
            +
                    Zenflow.should_receive(:Log).with(/aborted/, color: :red)
         
     | 
| 
      
 126 
     | 
    
         
            +
                    Zenflow.should_receive(:Log).with(/exit status: #{response}/i, color: :red, indent: true)
         
     | 
| 
      
 127 
     | 
    
         
            +
                    Zenflow.should_receive(:Log).with(/following commands manually/, color: :red)
         
     | 
| 
      
 128 
     | 
    
         
            +
                  }
         
     | 
| 
      
 129 
     | 
    
         
            +
             
     | 
| 
      
 130 
     | 
    
         
            +
                  subject{Zenflow::Shell.run_with_result_check(command)}
         
     | 
| 
      
 131 
     | 
    
         
            +
                  it{expect(subject).to eq(response)}
         
     | 
| 
      
 132 
     | 
    
         
            +
                end
         
     | 
| 
      
 133 
     | 
    
         
            +
              end
         
     | 
| 
      
 134 
     | 
    
         
            +
             
     | 
| 
      
 135 
     | 
    
         
            +
            end
         
     | 
| 
         @@ -0,0 +1,111 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            require 'spec_helper'
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            describe Zenflow::Version do
         
     | 
| 
      
 4 
     | 
    
         
            +
              describe '.[]' do
         
     | 
| 
      
 5 
     | 
    
         
            +
                context 'with a hash' do
         
     | 
| 
      
 6 
     | 
    
         
            +
                  subject{Zenflow::Version[1,0,7]}
         
     | 
| 
      
 7 
     | 
    
         
            +
                  it_should_behave_like "a version", [1,0,7,nil]
         
     | 
| 
      
 8 
     | 
    
         
            +
                end
         
     | 
| 
      
 9 
     | 
    
         
            +
             
     | 
| 
      
 10 
     | 
    
         
            +
                context 'with a string' do
         
     | 
| 
      
 11 
     | 
    
         
            +
                  subject{Zenflow::Version["#{Dir.pwd}/spec/fixtures/VERSION.yml"]}
         
     | 
| 
      
 12 
     | 
    
         
            +
                  it_should_behave_like "a version", [1,0,0,nil]
         
     | 
| 
      
 13 
     | 
    
         
            +
                end
         
     | 
| 
      
 14 
     | 
    
         
            +
              end
         
     | 
| 
      
 15 
     | 
    
         
            +
             
     | 
| 
      
 16 
     | 
    
         
            +
              describe '.current' do
         
     | 
| 
      
 17 
     | 
    
         
            +
                before(:each) do
         
     | 
| 
      
 18 
     | 
    
         
            +
                  YAML.stub(:load_file).and_return(
         
     | 
| 
      
 19 
     | 
    
         
            +
                    {'major' => 1, 'minor' => 2, 'patch' => 4, 'pre' => nil}
         
     | 
| 
      
 20 
     | 
    
         
            +
                  )
         
     | 
| 
      
 21 
     | 
    
         
            +
                end
         
     | 
| 
      
 22 
     | 
    
         
            +
                subject{Zenflow::Version.current}
         
     | 
| 
      
 23 
     | 
    
         
            +
                it_should_behave_like "a version", [1,2,4,nil]
         
     | 
| 
      
 24 
     | 
    
         
            +
              end
         
     | 
| 
      
 25 
     | 
    
         
            +
             
     | 
| 
      
 26 
     | 
    
         
            +
              describe '.update' do
         
     | 
| 
      
 27 
     | 
    
         
            +
             
     | 
| 
      
 28 
     | 
    
         
            +
              end
         
     | 
| 
      
 29 
     | 
    
         
            +
             
     | 
| 
      
 30 
     | 
    
         
            +
              describe '.bump' do
         
     | 
| 
      
 31 
     | 
    
         
            +
                before(:each) do
         
     | 
| 
      
 32 
     | 
    
         
            +
                  Zenflow::Version.stub(:current).and_return(Zenflow::Version[1,2,4])
         
     | 
| 
      
 33 
     | 
    
         
            +
                end
         
     | 
| 
      
 34 
     | 
    
         
            +
             
     | 
| 
      
 35 
     | 
    
         
            +
                context 'patch' do
         
     | 
| 
      
 36 
     | 
    
         
            +
                  subject{Zenflow::Version.current.bump(:patch)}
         
     | 
| 
      
 37 
     | 
    
         
            +
                  it_should_behave_like "a version", [1,2,5,nil]
         
     | 
| 
      
 38 
     | 
    
         
            +
                end
         
     | 
| 
      
 39 
     | 
    
         
            +
             
     | 
| 
      
 40 
     | 
    
         
            +
                context 'minor' do
         
     | 
| 
      
 41 
     | 
    
         
            +
                  subject{Zenflow::Version.current.bump(:minor)}
         
     | 
| 
      
 42 
     | 
    
         
            +
                  it_should_behave_like "a version", [1,3,0,nil]
         
     | 
| 
      
 43 
     | 
    
         
            +
                end
         
     | 
| 
      
 44 
     | 
    
         
            +
             
     | 
| 
      
 45 
     | 
    
         
            +
                context 'major' do
         
     | 
| 
      
 46 
     | 
    
         
            +
                  subject{Zenflow::Version.current.bump(:major)}
         
     | 
| 
      
 47 
     | 
    
         
            +
                  it_should_behave_like "a version", [2,0,0,nil]
         
     | 
| 
      
 48 
     | 
    
         
            +
                end
         
     | 
| 
      
 49 
     | 
    
         
            +
             
     | 
| 
      
 50 
     | 
    
         
            +
                context 'invalid level' do
         
     | 
| 
      
 51 
     | 
    
         
            +
                  it{expect{Zenflow::Version.current.bump(:foo)}.to(
         
     | 
| 
      
 52 
     | 
    
         
            +
                    raise_error("Invalid version part")
         
     | 
| 
      
 53 
     | 
    
         
            +
                  )}
         
     | 
| 
      
 54 
     | 
    
         
            +
                end
         
     | 
| 
      
 55 
     | 
    
         
            +
              end
         
     | 
| 
      
 56 
     | 
    
         
            +
             
     | 
| 
      
 57 
     | 
    
         
            +
              describe '#major' do
         
     | 
| 
      
 58 
     | 
    
         
            +
                it{expect(Zenflow::Version[1,2,4].major).to eq(1)}
         
     | 
| 
      
 59 
     | 
    
         
            +
              end
         
     | 
| 
      
 60 
     | 
    
         
            +
             
     | 
| 
      
 61 
     | 
    
         
            +
              describe '#minor' do
         
     | 
| 
      
 62 
     | 
    
         
            +
                it{expect(Zenflow::Version[1,2,4].minor).to eq(2)}
         
     | 
| 
      
 63 
     | 
    
         
            +
              end
         
     | 
| 
      
 64 
     | 
    
         
            +
             
     | 
| 
      
 65 
     | 
    
         
            +
              describe '#patch' do
         
     | 
| 
      
 66 
     | 
    
         
            +
                it{expect(Zenflow::Version[1,2,4].patch).to eq(4)}
         
     | 
| 
      
 67 
     | 
    
         
            +
              end
         
     | 
| 
      
 68 
     | 
    
         
            +
             
     | 
| 
      
 69 
     | 
    
         
            +
              describe '#pre' do
         
     | 
| 
      
 70 
     | 
    
         
            +
                it{expect(Zenflow::Version[1,2,4,'rc2'].pre).to eq('rc2')}
         
     | 
| 
      
 71 
     | 
    
         
            +
              end
         
     | 
| 
      
 72 
     | 
    
         
            +
             
     | 
| 
      
 73 
     | 
    
         
            +
              describe '#to_hash' do
         
     | 
| 
      
 74 
     | 
    
         
            +
                it{expect(Zenflow::Version[1,2,4].to_hash).to eq(
         
     | 
| 
      
 75 
     | 
    
         
            +
                  {
         
     | 
| 
      
 76 
     | 
    
         
            +
                    'major' => 1,
         
     | 
| 
      
 77 
     | 
    
         
            +
                    'minor' => 2,
         
     | 
| 
      
 78 
     | 
    
         
            +
                    'patch' => 4,
         
     | 
| 
      
 79 
     | 
    
         
            +
                    'pre' => nil
         
     | 
| 
      
 80 
     | 
    
         
            +
                  }
         
     | 
| 
      
 81 
     | 
    
         
            +
                )}
         
     | 
| 
      
 82 
     | 
    
         
            +
              end
         
     | 
| 
      
 83 
     | 
    
         
            +
             
     | 
| 
      
 84 
     | 
    
         
            +
              describe '#to_a' do
         
     | 
| 
      
 85 
     | 
    
         
            +
                it{expect(Zenflow::Version[1,2,4,'rc2'].to_a).to eq([1,2,4,'rc2'])}
         
     | 
| 
      
 86 
     | 
    
         
            +
              end
         
     | 
| 
      
 87 
     | 
    
         
            +
             
     | 
| 
      
 88 
     | 
    
         
            +
              describe '#to_s' do
         
     | 
| 
      
 89 
     | 
    
         
            +
                it{expect(Zenflow::Version[1,2,4,'rc2'].to_s).to eq('1.2.4.rc2')}
         
     | 
| 
      
 90 
     | 
    
         
            +
              end
         
     | 
| 
      
 91 
     | 
    
         
            +
             
     | 
| 
      
 92 
     | 
    
         
            +
              describe '#save' do
         
     | 
| 
      
 93 
     | 
    
         
            +
                let(:path){"#{Dir.pwd}/spec/fixtures/temp_version.yml"}
         
     | 
| 
      
 94 
     | 
    
         
            +
                let(:version){Zenflow::Version[1,2,5]}
         
     | 
| 
      
 95 
     | 
    
         
            +
                let(:file){double('file')}
         
     | 
| 
      
 96 
     | 
    
         
            +
             
     | 
| 
      
 97 
     | 
    
         
            +
                before(:each){ Zenflow::Version[1,3,4].save(path) }
         
     | 
| 
      
 98 
     | 
    
         
            +
                after(:each){ File.delete(path) }
         
     | 
| 
      
 99 
     | 
    
         
            +
             
     | 
| 
      
 100 
     | 
    
         
            +
                it{expect(YAML.load_file(path)).to(
         
     | 
| 
      
 101 
     | 
    
         
            +
                  eq(
         
     | 
| 
      
 102 
     | 
    
         
            +
                    {
         
     | 
| 
      
 103 
     | 
    
         
            +
                      'major' => 1,
         
     | 
| 
      
 104 
     | 
    
         
            +
                      'minor' => 3,
         
     | 
| 
      
 105 
     | 
    
         
            +
                      'patch' => 4,
         
     | 
| 
      
 106 
     | 
    
         
            +
                      'pre' => nil
         
     | 
| 
      
 107 
     | 
    
         
            +
                    }
         
     | 
| 
      
 108 
     | 
    
         
            +
                  )
         
     | 
| 
      
 109 
     | 
    
         
            +
                )}
         
     | 
| 
      
 110 
     | 
    
         
            +
              end
         
     | 
| 
      
 111 
     | 
    
         
            +
            end
         
     | 
    
        data/zenflow.gemspec
    ADDED
    
    | 
         @@ -0,0 +1,33 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # -*- encoding: utf-8 -*-
         
     | 
| 
      
 2 
     | 
    
         
            +
            lib = File.expand_path('../lib/', __FILE__)
         
     | 
| 
      
 3 
     | 
    
         
            +
            $:.unshift lib unless $:.include?(lib)
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            require 'yaml'
         
     | 
| 
      
 6 
     | 
    
         
            +
            require 'zenflow/helpers/version'
         
     | 
| 
      
 7 
     | 
    
         
            +
            require 'zenflow/version'
         
     | 
| 
      
 8 
     | 
    
         
            +
             
     | 
| 
      
 9 
     | 
    
         
            +
            Gem::Specification.new do |s|
         
     | 
| 
      
 10 
     | 
    
         
            +
              s.name        = "zenflow"
         
     | 
| 
      
 11 
     | 
    
         
            +
              s.version     = Zenflow::VERSION.to_s
         
     | 
| 
      
 12 
     | 
    
         
            +
              s.platform    = Gem::Platform::RUBY
         
     | 
| 
      
 13 
     | 
    
         
            +
              s.authors     = ["Adam Kittelson", "Brandon Arbini", "Chris Warren"]
         
     | 
| 
      
 14 
     | 
    
         
            +
              s.email       = ["a@zencoder.com", "b@zencoder.com", "c@zencoder.com"]
         
     | 
| 
      
 15 
     | 
    
         
            +
              s.homepage    = "http://github.com/zencoder/zenflow"
         
     | 
| 
      
 16 
     | 
    
         
            +
              s.summary     = "Branch management and deployment tool."
         
     | 
| 
      
 17 
     | 
    
         
            +
              s.description = "Zenflow is a development workflow management tool."
         
     | 
| 
      
 18 
     | 
    
         
            +
              s.license     = 'MIT'
         
     | 
| 
      
 19 
     | 
    
         
            +
              s.executables << "zenflow"
         
     | 
| 
      
 20 
     | 
    
         
            +
              s.add_dependency "thor", "~> 0.18.1"
         
     | 
| 
      
 21 
     | 
    
         
            +
              s.add_dependency "colored", "~> 1.2"
         
     | 
| 
      
 22 
     | 
    
         
            +
              s.add_dependency "terminal-table", "~> 1.4.5"
         
     | 
| 
      
 23 
     | 
    
         
            +
              s.add_dependency "httparty", "~> 0.11.0"
         
     | 
| 
      
 24 
     | 
    
         
            +
              s.add_development_dependency('rspec', '~> 2.14')
         
     | 
| 
      
 25 
     | 
    
         
            +
              s.add_development_dependency('simplecov', '~> 0.7.1')
         
     | 
| 
      
 26 
     | 
    
         
            +
              s.add_development_dependency('debugger', '~> 1.6.1')
         
     | 
| 
      
 27 
     | 
    
         
            +
              s.add_development_dependency('fuubar', '~> 1.1.1')
         
     | 
| 
      
 28 
     | 
    
         
            +
              s.add_development_dependency('guard-rspec', '~> 3.0.2')
         
     | 
| 
      
 29 
     | 
    
         
            +
              s.add_development_dependency('vcr', '~> 2.5.0')
         
     | 
| 
      
 30 
     | 
    
         
            +
              s.add_development_dependency('webmock', '~> 1.13.0')
         
     | 
| 
      
 31 
     | 
    
         
            +
              s.files = `git ls-files`.split("\n")
         
     | 
| 
      
 32 
     | 
    
         
            +
              s.require_path = "lib"
         
     | 
| 
      
 33 
     | 
    
         
            +
            end
         
     | 
    
        metadata
    ADDED
    
    | 
         @@ -0,0 +1,273 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            --- !ruby/object:Gem::Specification
         
     | 
| 
      
 2 
     | 
    
         
            +
            name: zenflow
         
     | 
| 
      
 3 
     | 
    
         
            +
            version: !ruby/object:Gem::Version
         
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.8.0
         
     | 
| 
      
 5 
     | 
    
         
            +
            platform: ruby
         
     | 
| 
      
 6 
     | 
    
         
            +
            authors:
         
     | 
| 
      
 7 
     | 
    
         
            +
            - Adam Kittelson
         
     | 
| 
      
 8 
     | 
    
         
            +
            - Brandon Arbini
         
     | 
| 
      
 9 
     | 
    
         
            +
            - Chris Warren
         
     | 
| 
      
 10 
     | 
    
         
            +
            autorequire: 
         
     | 
| 
      
 11 
     | 
    
         
            +
            bindir: bin
         
     | 
| 
      
 12 
     | 
    
         
            +
            cert_chain: []
         
     | 
| 
      
 13 
     | 
    
         
            +
            date: 2013-07-17 00:00:00.000000000 Z
         
     | 
| 
      
 14 
     | 
    
         
            +
            dependencies:
         
     | 
| 
      
 15 
     | 
    
         
            +
            - !ruby/object:Gem::Dependency
         
     | 
| 
      
 16 
     | 
    
         
            +
              name: thor
         
     | 
| 
      
 17 
     | 
    
         
            +
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
      
 18 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 19 
     | 
    
         
            +
                - - ~>
         
     | 
| 
      
 20 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 21 
     | 
    
         
            +
                    version: 0.18.1
         
     | 
| 
      
 22 
     | 
    
         
            +
              type: :runtime
         
     | 
| 
      
 23 
     | 
    
         
            +
              prerelease: false
         
     | 
| 
      
 24 
     | 
    
         
            +
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
      
 25 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 26 
     | 
    
         
            +
                - - ~>
         
     | 
| 
      
 27 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 28 
     | 
    
         
            +
                    version: 0.18.1
         
     | 
| 
      
 29 
     | 
    
         
            +
            - !ruby/object:Gem::Dependency
         
     | 
| 
      
 30 
     | 
    
         
            +
              name: colored
         
     | 
| 
      
 31 
     | 
    
         
            +
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
      
 32 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 33 
     | 
    
         
            +
                - - ~>
         
     | 
| 
      
 34 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 35 
     | 
    
         
            +
                    version: '1.2'
         
     | 
| 
      
 36 
     | 
    
         
            +
              type: :runtime
         
     | 
| 
      
 37 
     | 
    
         
            +
              prerelease: false
         
     | 
| 
      
 38 
     | 
    
         
            +
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
      
 39 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 40 
     | 
    
         
            +
                - - ~>
         
     | 
| 
      
 41 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 42 
     | 
    
         
            +
                    version: '1.2'
         
     | 
| 
      
 43 
     | 
    
         
            +
            - !ruby/object:Gem::Dependency
         
     | 
| 
      
 44 
     | 
    
         
            +
              name: terminal-table
         
     | 
| 
      
 45 
     | 
    
         
            +
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
      
 46 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 47 
     | 
    
         
            +
                - - ~>
         
     | 
| 
      
 48 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 49 
     | 
    
         
            +
                    version: 1.4.5
         
     | 
| 
      
 50 
     | 
    
         
            +
              type: :runtime
         
     | 
| 
      
 51 
     | 
    
         
            +
              prerelease: false
         
     | 
| 
      
 52 
     | 
    
         
            +
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
      
 53 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 54 
     | 
    
         
            +
                - - ~>
         
     | 
| 
      
 55 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 56 
     | 
    
         
            +
                    version: 1.4.5
         
     | 
| 
      
 57 
     | 
    
         
            +
            - !ruby/object:Gem::Dependency
         
     | 
| 
      
 58 
     | 
    
         
            +
              name: httparty
         
     | 
| 
      
 59 
     | 
    
         
            +
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
      
 60 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 61 
     | 
    
         
            +
                - - ~>
         
     | 
| 
      
 62 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 63 
     | 
    
         
            +
                    version: 0.11.0
         
     | 
| 
      
 64 
     | 
    
         
            +
              type: :runtime
         
     | 
| 
      
 65 
     | 
    
         
            +
              prerelease: false
         
     | 
| 
      
 66 
     | 
    
         
            +
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
      
 67 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 68 
     | 
    
         
            +
                - - ~>
         
     | 
| 
      
 69 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 70 
     | 
    
         
            +
                    version: 0.11.0
         
     | 
| 
      
 71 
     | 
    
         
            +
            - !ruby/object:Gem::Dependency
         
     | 
| 
      
 72 
     | 
    
         
            +
              name: rspec
         
     | 
| 
      
 73 
     | 
    
         
            +
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
      
 74 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 75 
     | 
    
         
            +
                - - ~>
         
     | 
| 
      
 76 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 77 
     | 
    
         
            +
                    version: '2.14'
         
     | 
| 
      
 78 
     | 
    
         
            +
              type: :development
         
     | 
| 
      
 79 
     | 
    
         
            +
              prerelease: false
         
     | 
| 
      
 80 
     | 
    
         
            +
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
      
 81 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 82 
     | 
    
         
            +
                - - ~>
         
     | 
| 
      
 83 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 84 
     | 
    
         
            +
                    version: '2.14'
         
     | 
| 
      
 85 
     | 
    
         
            +
            - !ruby/object:Gem::Dependency
         
     | 
| 
      
 86 
     | 
    
         
            +
              name: simplecov
         
     | 
| 
      
 87 
     | 
    
         
            +
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
      
 88 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 89 
     | 
    
         
            +
                - - ~>
         
     | 
| 
      
 90 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 91 
     | 
    
         
            +
                    version: 0.7.1
         
     | 
| 
      
 92 
     | 
    
         
            +
              type: :development
         
     | 
| 
      
 93 
     | 
    
         
            +
              prerelease: false
         
     | 
| 
      
 94 
     | 
    
         
            +
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
      
 95 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 96 
     | 
    
         
            +
                - - ~>
         
     | 
| 
      
 97 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 98 
     | 
    
         
            +
                    version: 0.7.1
         
     | 
| 
      
 99 
     | 
    
         
            +
            - !ruby/object:Gem::Dependency
         
     | 
| 
      
 100 
     | 
    
         
            +
              name: debugger
         
     | 
| 
      
 101 
     | 
    
         
            +
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
      
 102 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 103 
     | 
    
         
            +
                - - ~>
         
     | 
| 
      
 104 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 105 
     | 
    
         
            +
                    version: 1.6.1
         
     | 
| 
      
 106 
     | 
    
         
            +
              type: :development
         
     | 
| 
      
 107 
     | 
    
         
            +
              prerelease: false
         
     | 
| 
      
 108 
     | 
    
         
            +
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
      
 109 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 110 
     | 
    
         
            +
                - - ~>
         
     | 
| 
      
 111 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 112 
     | 
    
         
            +
                    version: 1.6.1
         
     | 
| 
      
 113 
     | 
    
         
            +
            - !ruby/object:Gem::Dependency
         
     | 
| 
      
 114 
     | 
    
         
            +
              name: fuubar
         
     | 
| 
      
 115 
     | 
    
         
            +
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
      
 116 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 117 
     | 
    
         
            +
                - - ~>
         
     | 
| 
      
 118 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 119 
     | 
    
         
            +
                    version: 1.1.1
         
     | 
| 
      
 120 
     | 
    
         
            +
              type: :development
         
     | 
| 
      
 121 
     | 
    
         
            +
              prerelease: false
         
     | 
| 
      
 122 
     | 
    
         
            +
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
      
 123 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 124 
     | 
    
         
            +
                - - ~>
         
     | 
| 
      
 125 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 126 
     | 
    
         
            +
                    version: 1.1.1
         
     | 
| 
      
 127 
     | 
    
         
            +
            - !ruby/object:Gem::Dependency
         
     | 
| 
      
 128 
     | 
    
         
            +
              name: guard-rspec
         
     | 
| 
      
 129 
     | 
    
         
            +
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
      
 130 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 131 
     | 
    
         
            +
                - - ~>
         
     | 
| 
      
 132 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 133 
     | 
    
         
            +
                    version: 3.0.2
         
     | 
| 
      
 134 
     | 
    
         
            +
              type: :development
         
     | 
| 
      
 135 
     | 
    
         
            +
              prerelease: false
         
     | 
| 
      
 136 
     | 
    
         
            +
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
      
 137 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 138 
     | 
    
         
            +
                - - ~>
         
     | 
| 
      
 139 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 140 
     | 
    
         
            +
                    version: 3.0.2
         
     | 
| 
      
 141 
     | 
    
         
            +
            - !ruby/object:Gem::Dependency
         
     | 
| 
      
 142 
     | 
    
         
            +
              name: vcr
         
     | 
| 
      
 143 
     | 
    
         
            +
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
      
 144 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 145 
     | 
    
         
            +
                - - ~>
         
     | 
| 
      
 146 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 147 
     | 
    
         
            +
                    version: 2.5.0
         
     | 
| 
      
 148 
     | 
    
         
            +
              type: :development
         
     | 
| 
      
 149 
     | 
    
         
            +
              prerelease: false
         
     | 
| 
      
 150 
     | 
    
         
            +
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
      
 151 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 152 
     | 
    
         
            +
                - - ~>
         
     | 
| 
      
 153 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 154 
     | 
    
         
            +
                    version: 2.5.0
         
     | 
| 
      
 155 
     | 
    
         
            +
            - !ruby/object:Gem::Dependency
         
     | 
| 
      
 156 
     | 
    
         
            +
              name: webmock
         
     | 
| 
      
 157 
     | 
    
         
            +
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
      
 158 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 159 
     | 
    
         
            +
                - - ~>
         
     | 
| 
      
 160 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 161 
     | 
    
         
            +
                    version: 1.13.0
         
     | 
| 
      
 162 
     | 
    
         
            +
              type: :development
         
     | 
| 
      
 163 
     | 
    
         
            +
              prerelease: false
         
     | 
| 
      
 164 
     | 
    
         
            +
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
      
 165 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 166 
     | 
    
         
            +
                - - ~>
         
     | 
| 
      
 167 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 168 
     | 
    
         
            +
                    version: 1.13.0
         
     | 
| 
      
 169 
     | 
    
         
            +
            description: Zenflow is a development workflow management tool.
         
     | 
| 
      
 170 
     | 
    
         
            +
            email:
         
     | 
| 
      
 171 
     | 
    
         
            +
            - a@zencoder.com
         
     | 
| 
      
 172 
     | 
    
         
            +
            - b@zencoder.com
         
     | 
| 
      
 173 
     | 
    
         
            +
            - c@zencoder.com
         
     | 
| 
      
 174 
     | 
    
         
            +
            executables:
         
     | 
| 
      
 175 
     | 
    
         
            +
            - zenflow
         
     | 
| 
      
 176 
     | 
    
         
            +
            extensions: []
         
     | 
| 
      
 177 
     | 
    
         
            +
            extra_rdoc_files: []
         
     | 
| 
      
 178 
     | 
    
         
            +
            files:
         
     | 
| 
      
 179 
     | 
    
         
            +
            - .gitignore
         
     | 
| 
      
 180 
     | 
    
         
            +
            - .rspec
         
     | 
| 
      
 181 
     | 
    
         
            +
            - .ruby-gemset
         
     | 
| 
      
 182 
     | 
    
         
            +
            - .ruby-version
         
     | 
| 
      
 183 
     | 
    
         
            +
            - .zenflow
         
     | 
| 
      
 184 
     | 
    
         
            +
            - CHANGELOG.md
         
     | 
| 
      
 185 
     | 
    
         
            +
            - Gemfile
         
     | 
| 
      
 186 
     | 
    
         
            +
            - Gemfile.lock
         
     | 
| 
      
 187 
     | 
    
         
            +
            - Guardfile
         
     | 
| 
      
 188 
     | 
    
         
            +
            - LICENSE.md
         
     | 
| 
      
 189 
     | 
    
         
            +
            - README.markdown
         
     | 
| 
      
 190 
     | 
    
         
            +
            - VERSION.yml
         
     | 
| 
      
 191 
     | 
    
         
            +
            - bin/zenflow
         
     | 
| 
      
 192 
     | 
    
         
            +
            - lib/zenflow.rb
         
     | 
| 
      
 193 
     | 
    
         
            +
            - lib/zenflow/cli.rb
         
     | 
| 
      
 194 
     | 
    
         
            +
            - lib/zenflow/commands/deploy.rb
         
     | 
| 
      
 195 
     | 
    
         
            +
            - lib/zenflow/commands/feature.rb
         
     | 
| 
      
 196 
     | 
    
         
            +
            - lib/zenflow/commands/hotfix.rb
         
     | 
| 
      
 197 
     | 
    
         
            +
            - lib/zenflow/commands/release.rb
         
     | 
| 
      
 198 
     | 
    
         
            +
            - lib/zenflow/commands/reviews.rb
         
     | 
| 
      
 199 
     | 
    
         
            +
            - lib/zenflow/helpers/ask.rb
         
     | 
| 
      
 200 
     | 
    
         
            +
            - lib/zenflow/helpers/branch.rb
         
     | 
| 
      
 201 
     | 
    
         
            +
            - lib/zenflow/helpers/branch_command.rb
         
     | 
| 
      
 202 
     | 
    
         
            +
            - lib/zenflow/helpers/branch_commands/abort.rb
         
     | 
| 
      
 203 
     | 
    
         
            +
            - lib/zenflow/helpers/branch_commands/branches.rb
         
     | 
| 
      
 204 
     | 
    
         
            +
            - lib/zenflow/helpers/branch_commands/compare.rb
         
     | 
| 
      
 205 
     | 
    
         
            +
            - lib/zenflow/helpers/branch_commands/deploy.rb
         
     | 
| 
      
 206 
     | 
    
         
            +
            - lib/zenflow/helpers/branch_commands/diff.rb
         
     | 
| 
      
 207 
     | 
    
         
            +
            - lib/zenflow/helpers/branch_commands/finish.rb
         
     | 
| 
      
 208 
     | 
    
         
            +
            - lib/zenflow/helpers/branch_commands/review.rb
         
     | 
| 
      
 209 
     | 
    
         
            +
            - lib/zenflow/helpers/branch_commands/start.rb
         
     | 
| 
      
 210 
     | 
    
         
            +
            - lib/zenflow/helpers/branch_commands/update.rb
         
     | 
| 
      
 211 
     | 
    
         
            +
            - lib/zenflow/helpers/changelog.rb
         
     | 
| 
      
 212 
     | 
    
         
            +
            - lib/zenflow/helpers/config.rb
         
     | 
| 
      
 213 
     | 
    
         
            +
            - lib/zenflow/helpers/github.rb
         
     | 
| 
      
 214 
     | 
    
         
            +
            - lib/zenflow/helpers/help.rb
         
     | 
| 
      
 215 
     | 
    
         
            +
            - lib/zenflow/helpers/log.rb
         
     | 
| 
      
 216 
     | 
    
         
            +
            - lib/zenflow/helpers/pull_request.rb
         
     | 
| 
      
 217 
     | 
    
         
            +
            - lib/zenflow/helpers/repo.rb
         
     | 
| 
      
 218 
     | 
    
         
            +
            - lib/zenflow/helpers/shell.rb
         
     | 
| 
      
 219 
     | 
    
         
            +
            - lib/zenflow/helpers/version.rb
         
     | 
| 
      
 220 
     | 
    
         
            +
            - lib/zenflow/version.rb
         
     | 
| 
      
 221 
     | 
    
         
            +
            - spec/fixtures/VERSION.yml
         
     | 
| 
      
 222 
     | 
    
         
            +
            - spec/fixtures/cassettes/create_bad_pull_request.yml
         
     | 
| 
      
 223 
     | 
    
         
            +
            - spec/fixtures/cassettes/create_pull_request.yml
         
     | 
| 
      
 224 
     | 
    
         
            +
            - spec/fixtures/cassettes/existing_pull_request.yml
         
     | 
| 
      
 225 
     | 
    
         
            +
            - spec/fixtures/cassettes/pull_request_by_ref.yml
         
     | 
| 
      
 226 
     | 
    
         
            +
            - spec/fixtures/cassettes/pull_request_find.yml
         
     | 
| 
      
 227 
     | 
    
         
            +
            - spec/fixtures/cassettes/pull_request_for_non-existent_ref.yml
         
     | 
| 
      
 228 
     | 
    
         
            +
            - spec/fixtures/cassettes/pull_request_list.yml
         
     | 
| 
      
 229 
     | 
    
         
            +
            - spec/fixtures/cassettes/unexisting_pull_request.yml
         
     | 
| 
      
 230 
     | 
    
         
            +
            - spec/spec_helper.rb
         
     | 
| 
      
 231 
     | 
    
         
            +
            - spec/support/shared_examples_for_version_number.rb
         
     | 
| 
      
 232 
     | 
    
         
            +
            - spec/zenflow/commands/deploy_spec.rb
         
     | 
| 
      
 233 
     | 
    
         
            +
            - spec/zenflow/commands/feature_spec.rb
         
     | 
| 
      
 234 
     | 
    
         
            +
            - spec/zenflow/commands/hotfix_spec.rb
         
     | 
| 
      
 235 
     | 
    
         
            +
            - spec/zenflow/commands/release_spec.rb
         
     | 
| 
      
 236 
     | 
    
         
            +
            - spec/zenflow/commands/reviews_spec.rb
         
     | 
| 
      
 237 
     | 
    
         
            +
            - spec/zenflow/helpers/ask_spec.rb
         
     | 
| 
      
 238 
     | 
    
         
            +
            - spec/zenflow/helpers/branch_command_spec.rb
         
     | 
| 
      
 239 
     | 
    
         
            +
            - spec/zenflow/helpers/branch_spec.rb
         
     | 
| 
      
 240 
     | 
    
         
            +
            - spec/zenflow/helpers/changelog_spec.rb
         
     | 
| 
      
 241 
     | 
    
         
            +
            - spec/zenflow/helpers/cli_spec.rb
         
     | 
| 
      
 242 
     | 
    
         
            +
            - spec/zenflow/helpers/github_spec.rb
         
     | 
| 
      
 243 
     | 
    
         
            +
            - spec/zenflow/helpers/help_spec.rb
         
     | 
| 
      
 244 
     | 
    
         
            +
            - spec/zenflow/helpers/log_spec.rb
         
     | 
| 
      
 245 
     | 
    
         
            +
            - spec/zenflow/helpers/pull_request_spec.rb
         
     | 
| 
      
 246 
     | 
    
         
            +
            - spec/zenflow/helpers/shell_spec.rb
         
     | 
| 
      
 247 
     | 
    
         
            +
            - spec/zenflow/helpers/version_spec.rb
         
     | 
| 
      
 248 
     | 
    
         
            +
            - zenflow.gemspec
         
     | 
| 
      
 249 
     | 
    
         
            +
            homepage: http://github.com/zencoder/zenflow
         
     | 
| 
      
 250 
     | 
    
         
            +
            licenses:
         
     | 
| 
      
 251 
     | 
    
         
            +
            - MIT
         
     | 
| 
      
 252 
     | 
    
         
            +
            metadata: {}
         
     | 
| 
      
 253 
     | 
    
         
            +
            post_install_message: 
         
     | 
| 
      
 254 
     | 
    
         
            +
            rdoc_options: []
         
     | 
| 
      
 255 
     | 
    
         
            +
            require_paths:
         
     | 
| 
      
 256 
     | 
    
         
            +
            - lib
         
     | 
| 
      
 257 
     | 
    
         
            +
            required_ruby_version: !ruby/object:Gem::Requirement
         
     | 
| 
      
 258 
     | 
    
         
            +
              requirements:
         
     | 
| 
      
 259 
     | 
    
         
            +
              - - '>='
         
     | 
| 
      
 260 
     | 
    
         
            +
                - !ruby/object:Gem::Version
         
     | 
| 
      
 261 
     | 
    
         
            +
                  version: '0'
         
     | 
| 
      
 262 
     | 
    
         
            +
            required_rubygems_version: !ruby/object:Gem::Requirement
         
     | 
| 
      
 263 
     | 
    
         
            +
              requirements:
         
     | 
| 
      
 264 
     | 
    
         
            +
              - - '>='
         
     | 
| 
      
 265 
     | 
    
         
            +
                - !ruby/object:Gem::Version
         
     | 
| 
      
 266 
     | 
    
         
            +
                  version: '0'
         
     | 
| 
      
 267 
     | 
    
         
            +
            requirements: []
         
     | 
| 
      
 268 
     | 
    
         
            +
            rubyforge_project: 
         
     | 
| 
      
 269 
     | 
    
         
            +
            rubygems_version: 2.0.3
         
     | 
| 
      
 270 
     | 
    
         
            +
            signing_key: 
         
     | 
| 
      
 271 
     | 
    
         
            +
            specification_version: 4
         
     | 
| 
      
 272 
     | 
    
         
            +
            summary: Branch management and deployment tool.
         
     | 
| 
      
 273 
     | 
    
         
            +
            test_files: []
         
     |