git_commands 3.3.4 → 3.3.5

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,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d9f2375bee078d38f83b5ff3fceba64b02086f77
4
- data.tar.gz: 2fac8aa581ce6a8f5ef5059f4c5218b3fb50939c
3
+ metadata.gz: 7a85ae8463919530ae56ec23c2df7b70de380757
4
+ data.tar.gz: 09927edff318d7213496835e762a15deaf86d9ff
5
5
  SHA512:
6
- metadata.gz: adc8f5c208fd40a03e0b9dc9ab1503515959a6911dc59b8cc4fc94b8a6a4553de3c035b20f3acdc0354857e952d3e2b1a77eb0a43756a9b6f5fb2f6c2325117f
7
- data.tar.gz: 6fcc3bef88bce4cc69d02fa869f2f1d89baa82145be76f887400eb93cd91d577cb3e9c7fbd92128f570ba4038330b02354c9012624fe68e9e1b4527184049dc9
6
+ metadata.gz: 79ff3ba60914b9cb3cd673a70830cb55e0eb577b15b4afed77be61a77ee1747d9867348b08f1e937da0ded3b4e675f646d52b07774ddbb8e2866f1d48d1f26d9
7
+ data.tar.gz: 3b6d0c1ab167792b8932240439ccbe53501475d5f3439e39a984ab5866654342beedab47112ef88ddeb18ef054622942a1e4444601e8e0806d28884154378b00
data/README.md CHANGED
@@ -10,7 +10,7 @@
10
10
  * [Branches](#branches)
11
11
  * [Commands](#commands)
12
12
  * [Rebase](#rebase)
13
- * [Purge](#purge)
13
+ * [Remove](#remove)
14
14
  * [Aggregate](#aggregate)
15
15
 
16
16
  ## Workflow
@@ -155,12 +155,12 @@ rebase --repo=/Users/Elvis/greatest_hits --branches=feature/love_me_tender,featu
155
155
  ...
156
156
  ```
157
157
 
158
- #### Purge
158
+ #### Remove
159
159
  This command remove the specified branches locally and remotely.
160
160
  A confirmation is asked before removal.
161
161
 
162
162
  ```
163
- purge --repo=/temp/top_20 --branches=*obsolete*
163
+ remove --repo=/temp/top_20 --branches=*obsolete*
164
164
  ...
165
165
  ```
166
166
 
@@ -171,4 +171,5 @@ A confirmation is asked before aggregating.
171
171
 
172
172
  ```
173
173
  aggregate --repo=/Users/Elvis/greatest_hits --branches=*ready*
174
+ ...
174
175
  ```
@@ -5,5 +5,5 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
5
 
6
6
  require "git_commands"
7
7
 
8
- cli = GitCommands::CLI.new(command_name: "purge")
8
+ cli = GitCommands::CLI.new(command_name: "remove")
9
9
  cli.call
data/git_commands.gemspec CHANGED
@@ -15,7 +15,7 @@ Gem::Specification.new do |s|
15
15
 
16
16
  s.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(spec|s|features)/}) }
17
17
  s.bindir = "bin"
18
- s.executables = %w[rebase aggregate purge]
18
+ s.executables = %w[rebase aggregate remove]
19
19
  s.require_paths = ["lib"]
20
20
 
21
21
  s.add_development_dependency "bundler", "~> 1.11"
@@ -5,7 +5,7 @@ module GitCommands
5
5
  class CLI
6
6
  include Prompt
7
7
 
8
- VALID_COMMANDS = %w[rebase aggregate purge]
8
+ VALID_COMMANDS = %w[rebase aggregate remove]
9
9
 
10
10
  class UnknownCommandError < ArgumentError; end
11
11
 
@@ -20,7 +20,7 @@ module GitCommands
20
20
  end
21
21
  end
22
22
 
23
- def purge
23
+ def remove
24
24
  enter_repo do
25
25
  confirm("Proceed removing these branches") do
26
26
  @branches.each do |branch|
@@ -1,3 +1,3 @@
1
1
  module GitCommands
2
- VERSION = "3.3.4"
2
+ VERSION = "3.3.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git_commands
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.4
4
+ version: 3.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - costajob
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-25 00:00:00.000000000 Z
11
+ date: 2016-10-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -58,7 +58,7 @@ email:
58
58
  executables:
59
59
  - rebase
60
60
  - aggregate
61
- - purge
61
+ - remove
62
62
  extensions: []
63
63
  extra_rdoc_files: []
64
64
  files:
@@ -70,8 +70,8 @@ files:
70
70
  - Rakefile
71
71
  - bin/aggregate
72
72
  - bin/console
73
- - bin/purge
74
73
  - bin/rebase
74
+ - bin/remove
75
75
  - bin/setup
76
76
  - git_commands.gemspec
77
77
  - lib/git_commands.rb