gitx 2.17.0.pre.ci.98.1 → 2.17.0.pre.ci.101.1

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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MmQwMTc1MmQ5MWI4YmExNjJmNTJmYjYxYjkwMDk3NjU0NDI1ZGY0Zg==
4
+ ZDFjYWU3YzcwNWVkY2Q0NzkwMzYwYTk0YTNlNGM0YmIwNDViYjYzNw==
5
5
  data.tar.gz: !binary |-
6
- NmRkOGJiMTQ1ZDc1NGJhNGE2ZWI2OWFhOTUwNTY2ODgxMTQwZGFmNw==
6
+ MTk1NzhkOWNjY2RhN2VlMDhiOThlOTRjNmFhOGYxNWNlZWYyZDZjMg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YmI2OWM1NGNjYWU5Mjc5Y2I3OGU2ODAyOGVhM2ZjYzM5Njk0MzAxMWY4NTMz
10
- NDUzODQ4YjQ0ZjM4ZTgxZDdkNTE5Zjg5Yzk1MDUyMGZhMjRkMDUwOWRhZGI1
11
- MmI1NzExYTY0MzE4NWMzOGJkM2ZhNDQzY2VlODYzYzVmZWM0YmE=
9
+ N2RlNTI0OTM4NTYyNGVmNTNiMGNkZTU3ZTU4MzVmNGE3MWY0YmMwODY4MTdi
10
+ MTY5NjM5ZjQxZjI0OWZhNTMyNzY3ZGFmOGI5MWFjYjE2Y2U3Yzg5MmNiZjY1
11
+ MmRiMGE2MTg4OGQ4OGI1OWUxMGRjZDI4ZjAxMmYzNWY3YWE1NGM=
12
12
  data.tar.gz: !binary |-
13
- ZjY2Yzc1NWNiYjZhZmUxZTFlZTkwYzBmZjdlZDk0NGMwNzc0NGQwMGQ0MThi
14
- OTVkYTcxNTkwYzI4NDMwMzU3NzE1YjI5NjYyNzZlYTQ1YjA0MWMzMmI4YjU0
15
- Yjg1Y2JiNWNiMzI0ZmFkNzBmMDMzNWU1NmQ1YzUyNDlhNTcxMDM=
13
+ MmY4OWNlOGRiZGMyZjE4MzUzZTg2NmQ2NWU2NzhiNzg0YjY1YjkwZjBmMjZh
14
+ YzEyNzBlMzFkOWVlNWU1ZWViODg0ZWYyYTlhZWQ5ZjZiOTNmZTE0NzZjZmI5
15
+ ZTFiYjljNjc4ZjJkYzE1NTE2ZjcwZjQzOTM0MjMxY2JlODA1Mjg=
@@ -12,7 +12,7 @@ module Gitx
12
12
  desc 'release', 'release the current branch to production'
13
13
  method_option :cleanup, type: :boolean, desc: 'cleanup merged branches after release'
14
14
  def release(branch = nil)
15
- return unless yes?("Release #{current_branch.name} to production? (y/n)", :green)
15
+ return unless yes?("Release #{current_branch.name} to #{Gitx::BASE_BRANCH}? (y/n)", :green)
16
16
 
17
17
  branch ||= current_branch.name
18
18
  assert_not_protected_branch!(branch, 'release')
@@ -35,7 +35,7 @@ describe Gitx::Cli::ReleaseCommand do
35
35
  expect(repo).to receive(:workdir).and_return(temp_dir)
36
36
  expect(cli).to receive(:execute_command).with(Gitx::Cli::UpdateCommand, :update)
37
37
 
38
- expect(cli).to receive(:yes?).with('Release feature-branch to production? (y/n)', :green).and_return(true)
38
+ expect(cli).to receive(:yes?).with('Release feature-branch to master? (y/n)', :green).and_return(true)
39
39
  expect(cli).to receive(:yes?).with('Branch status is currently: failure. Proceed with release? (y/n)', :red).and_return(false)
40
40
  allow(cli).to receive(:authorization_token).and_return(authorization_token)
41
41
 
@@ -148,7 +148,7 @@ describe Gitx::Cli::ReleaseCommand do
148
148
 
149
149
  expect(cli).to receive(:execute_command).with(Gitx::Cli::UpdateCommand, :update).twice
150
150
 
151
- expect(cli).to receive(:yes?).with('Release feature-branch to production? (y/n)', :green).and_return(true)
151
+ expect(cli).to receive(:yes?).with('Release feature-branch to master? (y/n)', :green).and_return(true)
152
152
  expect(cli).to receive(:yes?).with('Branch status is currently: pending. Proceed with release? (y/n)', :red).and_return(true)
153
153
 
154
154
  expect(cli).to receive(:run_cmd).with('git checkout feature-branch').ordered
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitx
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.17.0.pre.ci.98.1
4
+ version: 2.17.0.pre.ci.101.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Sonnek