rake_commit 0.11.0 → 0.12.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.
Files changed (3) hide show
  1. data/README.rdoc +2 -0
  2. data/lib/commit.rb +5 -4
  3. metadata +19 -29
data/README.rdoc CHANGED
@@ -1,5 +1,7 @@
1
1
  = rake_commit
2
2
 
3
+ {<img src="http://travis-ci.org/pgr0ss/rake_commit.png" />}[http://travis-ci.org/pgr0ss/rake_commit]
4
+
3
5
  This gem automates a pretty standard workflow when committing code to git, svn, and git-svn. Run rake_commit in your current project, which does the following, depending on source control:
4
6
 
5
7
  ==== git
data/lib/commit.rb CHANGED
@@ -22,9 +22,9 @@ class Commit
22
22
  prompt_exclusions = []
23
23
 
24
24
  opts = GetoptLong.new(
25
- [ '--help', '-h', GetoptLong::NO_ARGUMENT ],
26
- [ '--no-collapse', '-n', GetoptLong::NO_ARGUMENT ],
27
- [ '--incremental', '-i', GetoptLong::NO_ARGUMENT ],
25
+ [ '--help', '-h', GetoptLong::NO_ARGUMENT],
26
+ [ '--incremental', '-i', GetoptLong::NO_ARGUMENT],
27
+ [ '--no-collapse', '-n', GetoptLong::NO_ARGUMENT],
28
28
  [ '--without-prompt', '-w', GetoptLong::REQUIRED_ARGUMENT]
29
29
  )
30
30
  opts.each do |opt, arg|
@@ -55,8 +55,9 @@ class Commit
55
55
  Usage: rake_commit [OPTION]
56
56
 
57
57
  --help, -h: show help
58
- --no-collapse, -n: do not collapse merge commits
59
58
  --incremental, -i: do not push commit to origin (git only)
59
+ --no-collapse, -n: do not collapse merge commits
60
+ --without-prompt <prompt>, -w <prompt>: skip prompt when building commit (for example, pair)
60
61
  END
61
62
  end
62
63
  end
metadata CHANGED
@@ -1,28 +1,23 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: rake_commit
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.12.0
4
5
  prerelease:
5
- version: 0.11.0
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Paul Gross
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2011-05-21 00:00:00 -05:00
14
- default_executable:
12
+ date: 2012-02-03 00:00:00.000000000 Z
15
13
  dependencies: []
16
-
17
14
  description: See http://github.com/pgr0ss/rake_commit
18
15
  email: pgross@gmail.com
19
- executables:
16
+ executables:
20
17
  - rake_commit
21
18
  extensions: []
22
-
23
19
  extra_rdoc_files: []
24
-
25
- files:
20
+ files:
26
21
  - README.rdoc
27
22
  - Rakefile
28
23
  - lib/commit.rb
@@ -34,33 +29,28 @@ files:
34
29
  - lib/shell.rb
35
30
  - lib/svn.rb
36
31
  - bin/rake_commit
37
- has_rdoc: true
38
32
  homepage: http://github.com/pgr0ss/rake_commit
39
33
  licenses: []
40
-
41
34
  post_install_message:
42
35
  rdoc_options: []
43
-
44
- require_paths:
36
+ require_paths:
45
37
  - lib
46
- required_ruby_version: !ruby/object:Gem::Requirement
38
+ required_ruby_version: !ruby/object:Gem::Requirement
47
39
  none: false
48
- requirements:
49
- - - ">="
50
- - !ruby/object:Gem::Version
51
- version: "0"
52
- required_rubygems_version: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
43
+ version: '0'
44
+ required_rubygems_version: !ruby/object:Gem::Requirement
53
45
  none: false
54
- requirements:
55
- - - ">="
56
- - !ruby/object:Gem::Version
57
- version: "0"
46
+ requirements:
47
+ - - ! '>='
48
+ - !ruby/object:Gem::Version
49
+ version: '0'
58
50
  requirements: []
59
-
60
51
  rubyforge_project: rake_commit
61
- rubygems_version: 1.6.2
52
+ rubygems_version: 1.8.10
62
53
  signing_key:
63
54
  specification_version: 3
64
55
  summary: A gem which helps with checking in code
65
56
  test_files: []
66
-