bumpversion 0.4.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d433c8e639a47667e907efe9e0e8e759ddb493e2
4
- data.tar.gz: e2b3645a109c84892abc25bb132585a4a7a62a13
3
+ metadata.gz: 6a474ecb623c32953955e82e550defd2a14b9516
4
+ data.tar.gz: c07a7af0c0a0ad7ccec664cb9c7c90b39c87deed
5
5
  SHA512:
6
- metadata.gz: fd4a90be5ceca0ec2fdb8544f3a2a610bc24fc4c91f5e99db57566fffe1cbcf481962c781a4eb690d824abf6f1fa5d8cf8b6fb02852601f4aff92529bb206852
7
- data.tar.gz: 02e5ddc014f105bbd3378ffb817d763dbd31321f7d4d5aac5df9f289bdbdcaa548c101a1c22b78dbda57a86ceb5e54a705917d9b11edbca503b46b72f0331225
6
+ metadata.gz: e6f24ed84f572379b01731938a9cae98b62cad3a0a803a8c23fe1acc9424955928529d92ad006aa4c1218c232f6d3d440435d0764c3fc3765e6f38de609d188b
7
+ data.tar.gz: a88d2db13f2f95be1846ff740f30f796cf1e486b3e74b8603fa87bf89c7b076a51184d2c44833092b5ae6ef5c617c3574c326d4b3b7f57866ceabb8b061774c2
data/README.md CHANGED
@@ -1,13 +1,13 @@
1
1
  # Bumpversion
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/bumpversion`. To experiment with that code, run `bin/console` for an interactive prompt.
3
+ Simple command to Bump version your project in shell.
4
4
 
5
- TODO: Delete this and the text above, and describe your gem
5
+ - Bump multiple files version in your project
6
+ - Git operations like commit, tag and push
7
+ - Customizables Hooks
6
8
 
7
9
  # Code Status
8
10
 
9
-
10
-
11
11
  Service | Status
12
12
  --------|----------
13
13
  Issues Ready to Work|[![Waffle.io](https://img.shields.io/waffle/label/dlanileonardo/bumpversion/in%20progress.svg?maxAge=2592000&style=flat-square)](https://waffle.io/dlanileonardo/bumpversion)
@@ -15,6 +15,7 @@ Gems Version|[![Gem](https://img.shields.io/gem/v/bumpversion.svg?maxAge=2592000
15
15
  Code Climate|[![Code Climate](https://img.shields.io/codeclimate/github/kabisaict/flow.svg?maxAge=2592000&style=flat-square)](https://codeclimate.com/github/dlanileonardo/bumpversion)
16
16
  Coverage|[![Code Climate](https://img.shields.io/codeclimate/coverage/github/dlanileonardo/bumpversion.svg?maxAge=2592000&style=flat-square)](https://codeclimate.com/github/dlanileonardo/bumpversion/coverage)
17
17
  Build Status|[![Travis](https://img.shields.io/travis/dlanileonardo/bumpversion.svg?maxAge=2592000&style=flat-square)](https://travis-ci.org/dlanileonardo/bumpversion)
18
+ Dependencies|[![Gemnasium](https://img.shields.io/gemnasium/dlanileonardo/bumpversion.svg?maxAge=2592000&style=flat-square)]()
18
19
 
19
20
  ## Installation
20
21
 
@@ -8,17 +8,12 @@ module Bumpversion
8
8
  Git.init('.')
9
9
  end
10
10
 
11
- def config!
12
- @git.config('user.name', @options[:git_user])
13
- @git.config('user.email', @options[:git_email])
14
- end
15
-
16
11
  def commit!
17
12
  if @options[:git_commit]
18
13
  file = @options[:file].split(',') + [@options[:config_file]]
19
14
  file += @options[:git_extra_add].split(',') if @options[:git_extra_add]
20
15
  @git.add(file)
21
- @git.commit("Bump version: #{@options[:current_version]} → #{@options[:new_version]}")
16
+ @git.commit("Bump version: #{@options[:current_version]} → #{@options[:new_version]}", {author: "#{@options[:git_user]} <#{@options[:git_email]}>"})
22
17
  end
23
18
  end
24
19
 
@@ -32,7 +27,6 @@ module Bumpversion
32
27
  end
33
28
 
34
29
  def do!
35
- config!
36
30
  commit!
37
31
  tag!
38
32
  push!
@@ -1,3 +1,3 @@
1
1
  module Bumpversion
2
- VERSION = '0.4.0'.freeze
2
+ VERSION = '0.5.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bumpversion
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dlani Mendes
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-28 00:00:00.000000000 Z
11
+ date: 2016-05-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: trollop