coauthor 0.1.2 → 0.1.3

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
  SHA256:
3
- metadata.gz: ef5ccdf6d254fcc62b6abf008a2999a37bffc6676344dd2b41d0235fc4c66a2b
4
- data.tar.gz: bdf16b2edf0735e212dc1e8a0b6f04d2004c7581d7d1330b077a10df36f535c9
3
+ metadata.gz: 802081ce6475670c0c66376a42146c09feb27d0862564d82f2aa7c9b1cbab00f
4
+ data.tar.gz: 58ea9ece10d83b3253b1a48f44cf6e1b57187c08c71c4cc381f6e7846351db90
5
5
  SHA512:
6
- metadata.gz: 15aa27fb8cfb6f506a0504a22fc87ba6e94490660dffce3197d83b30038ab9c3eab83dfbc06d6c8c511c92ccd1180f24b48d52da7655ec604ff6566322f191be
7
- data.tar.gz: c20b154b265bed9c0a60fc3e848302f8d1590e79ec7131c22e83a1e636f443c255faf1fb6d8e5b02bfa09fa8ac75a81ec42b7cb770f7cd57f72ed57156e6ef93
6
+ metadata.gz: 78047555049d176ba83a390c0d4e3f1aa88f9371cddd4fc698f79c34be42a0415e60cb27f4f603f7f55c3d0cb2c68e62539d3e24d2e01d3b36195afa0dd27186
7
+ data.tar.gz: 3444fd02c9db0f7bbc655764590a789641a1adfacdd131ddef377a6f2a91d567c8da1881d4c9e1fa56ee738288e7a6c926593c7cbafcdbfcd722a44ef3629f5f
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- coauthor (0.1.2)
4
+ coauthor (0.1.3)
5
5
  colorize (~> 0.8.1)
6
6
  thor (~> 0.20.0)
7
7
 
data/README.md CHANGED
@@ -1,29 +1,42 @@
1
1
  # Coauthor
2
2
 
3
- Command line tool for easily committing with Github Coauthors
3
+ Command line tool for working with Github Coauthors. Interactively create a commit template for coauthoring.
4
4
 
5
- [Link - Github Coauthoring](https://help.github.com/articles/creating-a-commit-with-multiple-authors/)
5
+ [Github Coauthoring (Article)](https://help.github.com/articles/creating-a-commit-with-multiple-authors/)
6
6
 
7
7
  ## Installation
8
8
 
9
- Install with:
10
-
11
- $ gem install coauthor
9
+ Install with:
10
+
11
+ $ gem install coauthor
12
12
 
13
13
  ## Usage
14
14
 
15
- 1) First thing you should do is setup a coauthor file. At this time, we support 2 coauthors.
15
+ #### Set Up Coauthors
16
16
 
17
- $ coauthor # Follow the steps and setup your pair
17
+ 1) First thing you should do is setup a coauthor file. At this time, we support 2 coauthors. This adds a `~/.coauthorrc` file as a git template.
18
18
 
19
+ $ coauthor setup
19
20
 
20
- 2) After that you're all set to commit. Add your files with git and run `coauthor` when you are ready to commit
21
+ 2) After that you're all set to commit. Add your files with git and run the following when you are ready to commit:
22
+
23
+ $ coauthor
21
24
 
22
- ## Development
25
+ #### Set Your Current Project Author (Optional)
26
+
27
+ Coauthor includes a utility to interactively set the git author of the current project.
28
+
29
+ $ coauthor git_user
23
30
 
24
- After checking out the repo, run `bin/setup` to install dependencies.
31
+ #### List Available Commands
32
+
33
+ $ coauthor --help
34
+
35
+ ## Development
25
36
 
26
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
37
+ * After checking out the repo, run `bin/setup` to install dependencies.
38
+ * To install this gem onto your local machine, run `bundle exec rake install`.
39
+ * To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
27
40
 
28
41
  ## Contributing
29
42
 
@@ -31,4 +44,4 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/avogel
31
44
 
32
45
  ## License
33
46
 
34
- The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
47
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
@@ -20,8 +20,8 @@ module Coauthor
20
20
  private
21
21
 
22
22
  def set_git_config
23
- system("git config user.name #{name}")
24
- system("git config user.email #{email}")
23
+ system("git config user.name '#{name}'")
24
+ system("git config user.email '#{email}'")
25
25
  puts "...DONE! Git repository author has been set to #{name} <#{email}>".colorize(:green)
26
26
  end
27
27
  end
@@ -1,3 +1,3 @@
1
1
  module Coauthor
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coauthor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Vogel
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-09-12 00:00:00.000000000 Z
11
+ date: 2018-09-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler