ghit 0.0.2 → 0.1.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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- OTFjNjE0OGE0MmY2ZTIwMTI2ODNkNjQzYzJkODA2OGM5YmJmMWE3MQ==
4
+ NzY1MzZhOTgwMTc5YWFlODdlNzhhN2ZkMzRiZmUwOTljM2VjZDg4MA==
5
5
  data.tar.gz: !binary |-
6
- MTEyOGY1MjU3MjQ5YWI1YWU5ZTZlMGVmZTkwMWZjMzUyMDdlZTNjOQ==
6
+ MTUyZWVlOTZlMDBjOWU0Mjg2YjAzMjVmZWRmNDcwYmQyZWMyY2IzNA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZTQ2YjEzYjU0NDNiYjE0ZmU0NjRiMDBkYTc2YTRjMzY4YTlhNmUxZTZhZTFk
10
- ZTY2Y2JiYjRjYzRlODk2M2I1ZjBiYjZjYzNlYmI3MTgwY2IzZWM3MTM4NTdl
11
- ZmQ0ZTc2NTkwNzZhNDY0YTM0ODFmYzJjNDVhNTVmZDVkNmIwMTI=
9
+ ZTRkODk3OTE1MjkyZjhiZDExNjE0OWQxOWY1YTA1YjdkN2RmYzY3MmE5Y2M1
10
+ N2QwY2I1MGYwMzYxYjkwZGNjZjZjZDAzMDA1ZjE1NmU3YTFkOWYzNjRkMTcw
11
+ ZjNkMzcwNGZlNDljY2M2MzM4ZGI3YmE0NWJlZTkwMzJjZDYyN2E=
12
12
  data.tar.gz: !binary |-
13
- ZTk4ODM4Mzk2ZDI4NDY5MmIyNTU5NjBhZDZhNjM3NTEyOWY2MzNjYWZkNTk1
14
- NjlkOTM4ODlhMWJjNGQ0ZjM4YmZjMDljMjMyZWE3M2EzMDE4MWEyOTcyYmRi
15
- NDdiMTY5YTY4ZThkZTc2ZGEwN2Y3ZjE0Y2UyMGZkMzBjYTI2MGM=
13
+ OTEzODM5Nzc4YjNlYjA5MTkzYmYyM2Y2ZjBhNDgzMWEyNGY0M2Q3NDJjYjRl
14
+ ZDg1ZTYxMTU0MWFhYWE1MDRjZWZlNjk1MDY5NjMzMTNlZDM2NWVjNzE5ZjY1
15
+ MWRkOGVlZWUxNzcxMmJjZTRjYjA1NjcyOGM4ZWFmZTQ1ZGZhNjk=
data/README.md CHANGED
@@ -4,8 +4,7 @@ Ghit
4
4
  ## What is this?
5
5
 
6
6
  Ghit is a collection of custom ```git``` commands that allows the user to easily navigate to
7
- certain Github pages of the repo (if it exists). Also, it contains semantic git messages inspired by Sparkbox's awesome article on [semantic commit messages](http://seesparkbox.com/foundry/semantic_commit_messages).
8
-
7
+ certain Github pages of the repo (if it exists).
9
8
 
10
9
  ## Installation
11
10
 
@@ -15,7 +14,7 @@ That's it!
15
14
 
16
15
  ## Usage
17
16
 
18
- There are 11 (woot!) new ```git``` commands now.
17
+ There are 4 new ```git``` commands now.
19
18
 
20
19
  The following commands allow you to easily navigate to repo's Github (sub)page.
21
20
 
@@ -24,28 +23,17 @@ The following commands allow you to easily navigate to repo's Github (sub)page.
24
23
  * ```git issues``` -> Opens the Github issues page of the repo in broswer.
25
24
  * ```git open``` -> Opens the Github repo page in browser.
26
25
 
27
- The following commands can be used to semantically improve your commit messages:
28
- * ```git feat "commit-message-here"``` -> ```git commit -m 'feat: commit-message-here'```
29
- * ```git docs "commit-message-here"``` -> ```git commit -m 'docs: commit-message-here'```
30
- * ```git chore "commit-message-here"``` -> ```git commit -m 'chore: commit-message-here'```
31
- * ```git fix "commit-message-here"``` -> ```git commit -m 'fix: commit-message-here'```
32
- * ```git refactor "commit-message-here"``` -> ```git commit -m 'refactor: commit-message-here'```
33
- * ```git style "commit-message-here"``` -> ```git commit -m 'style: commit-message-here'```
34
- * ```git test "commit-message-here"``` -> ```git commit -m 'test: commit-message-here'```
35
-
36
- If you would still like to use your text editor for your commit messages
37
- you can omit the message, and do your commit message in your editor.
38
-
39
- * ```git feat``` -> ```git commit -m 'feat: ' -e```
40
-
41
-
42
26
  ## Worth sayin'
43
- Still has some rough edges. Needs tests, refactoring and various improvements.
27
+ * Still has some rough edges. Needs tests, refactoring and various improvements.
28
+
29
+ ## Git semantic commits
30
+ If you'd like to improve your commit messages composition, take a look at [git-semantic-commits](https://github.com/fteem/git-semantic-commits). This can work nicely with the functionality that this gem provides.
44
31
 
45
32
  ## Contributing
46
33
 
47
- 1. Fork it ( http://github.com/<my-github-username>/ghit/fork )
34
+ 1. Fork it ( http://github.com/fteem/ghit/fork )
48
35
  2. Create your feature branch (`git checkout -b my-new-feature`)
49
36
  3. Commit your changes (`git commit -am 'Add some feature'`)
50
37
  4. Push to the branch (`git push origin my-new-feature`)
51
38
  5. Create new Pull Request
39
+
data/lib/ghit/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Ghit
2
- VERSION = "0.0.2"
2
+ VERSION = "0.1.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ghit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ile Eftimov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-10 00:00:00.000000000 Z
11
+ date: 2014-09-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -57,16 +57,9 @@ description: Ghit is a gem that adds more git commands for a better command line
57
57
  email:
58
58
  - ileeftimov@gmail.com
59
59
  executables:
60
- - git-chore
61
- - git-docs
62
- - git-feat
63
- - git-fix
64
60
  - git-issues
65
61
  - git-open
66
62
  - git-pulls
67
- - git-refactor
68
- - git-style
69
- - git-test
70
63
  - git-wiki
71
64
  extensions: []
72
65
  extra_rdoc_files: []
@@ -78,16 +71,9 @@ files:
78
71
  - LICENSE.txt
79
72
  - README.md
80
73
  - Rakefile
81
- - bin/git-chore
82
- - bin/git-docs
83
- - bin/git-feat
84
- - bin/git-fix
85
74
  - bin/git-issues
86
75
  - bin/git-open
87
76
  - bin/git-pulls
88
- - bin/git-refactor
89
- - bin/git-style
90
- - bin/git-test
91
77
  - bin/git-wiki
92
78
  - ghit.gemspec
93
79
  - lib/ghit.rb
data/bin/git-chore DELETED
@@ -1,7 +0,0 @@
1
- #!/bin/bash
2
- if [ -z "$1" ]
3
- then
4
- git commit -m 'chore: ' -e
5
- else
6
- git commit -m "chore: $1"
7
- fi
data/bin/git-docs DELETED
@@ -1,7 +0,0 @@
1
- #!/bin/bash
2
- if [ -z "$1" ]
3
- then
4
- git commit -m 'docs: ' -e
5
- else
6
- git commit -m "docs: $1"
7
- fi
data/bin/git-feat DELETED
@@ -1,7 +0,0 @@
1
- #!/bin/bash
2
- if [ -z "$1" ]
3
- then
4
- git commit -m 'feat: ' -e
5
- else
6
- git commit -m "feat: $1"
7
- fi
data/bin/git-fix DELETED
@@ -1,7 +0,0 @@
1
- #!/bin/bash
2
- if [ -z "$1" ]
3
- then
4
- git commit -m 'fix: ' -e
5
- else
6
- git commit -m "fix: $1"
7
- fi
data/bin/git-refactor DELETED
@@ -1,7 +0,0 @@
1
- #!/bin/bash
2
- if [ -z "$1" ]
3
- then
4
- git commit -m 'refactor: ' -e
5
- else
6
- git commit -m "refactor: $1"
7
- fi
data/bin/git-style DELETED
@@ -1,7 +0,0 @@
1
- #!/bin/bash
2
- if [ -z "$1" ]
3
- then
4
- git commit -m 'style: ' -e
5
- else
6
- git commit -m "style: $1"
7
- fi
data/bin/git-test DELETED
@@ -1,7 +0,0 @@
1
- #!/bin/bash
2
- if [ -z "$1" ]
3
- then
4
- git commit -m 'test: ' -e
5
- else
6
- git commit -m "test: $1"
7
- fi