bmp 0.8.2 → 0.8.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
  SHA1:
3
- metadata.gz: fe0d0b7bf2c48b7ab41776c278f967805f3793f0
4
- data.tar.gz: af4235540869309d207c396929125fce02d1a859
3
+ metadata.gz: e4287c12d56a56348ef597925c16ec6a32ea910d
4
+ data.tar.gz: ba5ae441f3df58b7e87391586a813fc639bae43f
5
5
  SHA512:
6
- metadata.gz: d85fcb45bd3cd5875eee15027a652971fb1cf706b209b09c41f4c93ff95ada48e3866112a45e865dbf679e32cee2cb65ad97a7f8182f1e7950b68cd06c06c9a2
7
- data.tar.gz: 4303c86d6b63621975ca4eaf2a9f3d2a28e5357eacfa0852e46d29a803a40869b5956c438825f2f81c9d8ab1671aae7c957e05aaee4345d078e168af0d8dfe85
6
+ metadata.gz: 5874cd3593571ee81d9ba62ee079674b15fcb9d652f37e3a17b4c12dd1bed4220d9adfbd08679058760b2eb940d88170ef9274d5b64d31d678316b14af222586
7
+ data.tar.gz: 7268fe5cb6afca65c3a473c81f557cdf4b5b14a99cafa650aff03724b7336820655572924985c8e3b3f82599a4250b6e78aa57fab766ab2dd87891bc79373a85
data/.bmp.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
- version: 0.8.2
2
+ version: 0.8.3
3
3
  files:
4
4
  README.md: Bmp v%.%.%
5
5
  lib/bump/version.rb: VERSION = "%.%.%"
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bmp (0.8.2)
4
+ bmp (0.8.3)
5
5
  slop (~> 3.4.7)
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Bmp v0.8.2
1
+ # Bmp v0.8.3
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/bmp.png)](http://badge.fury.io/rb/bmp)
4
4
  [![Build Status](https://travis-ci.org/kt3k/bmp.png)](https://travis-ci.org/kt3k/bmp)
@@ -7,7 +7,7 @@
7
7
 
8
8
  [ ![Codeship Status for kt3k/bmp](https://www.codeship.io/projects/fc1c56c0-fa28-0131-0224-76431a64aeb5/status)](https://www.codeship.io/projects/29009)
9
9
 
10
- > Bump and update version numbers in a repository
10
+ > No hassle on bumping
11
11
 
12
12
  `bmp` command bumps and updates the version numbers in a repository according to the yaml file `.bmp.yml`. This is convenient if you have written many version numbers in your repository. This command helps you consistently update the version information in your repository.
13
13
 
@@ -47,39 +47,36 @@ The expression above means the file `./gradle.properties` contains the string `v
47
47
 
48
48
  ### bmp command
49
49
 
50
- show current version info:
50
+ Show current version info:
51
51
  ```
52
- bmp --info
52
+ bmp [-i|--info]
53
53
  ```
54
54
 
55
55
 
56
56
  bump patch (0.0.1) level:
57
57
  ```
58
- bmp --patch
58
+ bmp -p|--patch
59
59
  ```
60
60
 
61
+ This command updates all the version numbers which are specified in `.bmp.yml`
62
+
61
63
 
62
64
  bump minor (0.1.0) level:
63
65
  ```
64
- bmp --minor
66
+ bmp -m|--minor
65
67
  ```
66
68
 
67
69
 
68
70
  bump major (1.0.0) level:
69
71
  ```
70
- bmp --major
72
+ bmp -j|--major
71
73
  ```
72
74
 
73
75
 
74
76
  commit bump results
75
77
  ```
76
- bmp --commit
78
+ bmp -c|--commit
77
79
  ```
78
80
 
79
- ## Contributing
80
-
81
- 1. Fork it
82
- 2. Create your feature branch (`git checkout -b my-new-feature`)
83
- 3. Commit your changes (`git commit -am 'Add some feature'`)
84
- 4. Push to the branch (`git push origin my-new-feature`)
85
- 5. Create new Pull Request
81
+ `bmp -c` commits all the changes now the repository has. Be careful.
82
+ And this command also tag it as `vX.Y.Z`.
data/bump.gemspec CHANGED
@@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
9
9
  spec.authors = ["Yoshiya Hinosawa"]
10
10
  spec.email = ["stibium121@gmail.com"]
11
11
  spec.description = "Bump version numbers in a repository"
12
- spec.summary = "Bump version numbers in a repository"
12
+ spec.summary = "No hassle on bumping"
13
13
  spec.homepage = "https://github.com/kt3k/bump"
14
14
  spec.license = "MIT License"
15
15
 
data/lib/bump/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Bump
2
- VERSION = "0.8.2"
2
+ VERSION = "0.8.3"
3
3
  end
@@ -5,16 +5,6 @@ require 'spec_helper'
5
5
 
6
6
  describe Bump::Version do
7
7
 
8
- describe "#initialize" do
9
-
10
- it "constructs" do
11
-
12
- expect(Bump::Version.new(1, 2, 3)).not_to be_nil
13
-
14
- end
15
-
16
- end
17
-
18
8
  describe "#to_s" do
19
9
 
20
10
  it "returns version string" do
@@ -45,6 +35,16 @@ describe Bump::Version do
45
35
 
46
36
  end
47
37
 
38
+ it "bumps 0.1.10 to 0.1.11" do
39
+
40
+ version = Bump::Version.new 0, 1, 10
41
+
42
+ version.patchBump
43
+
44
+ expect(version.to_s).to eq '0.1.11'
45
+
46
+ end
47
+
48
48
  it "remove suffix if it is set" do
49
49
 
50
50
  version = Bump::Version.new 1, 2, 3, 'rc1'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bmp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.2
4
+ version: 0.8.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yoshiya Hinosawa
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-28 00:00:00.000000000 Z
11
+ date: 2015-01-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: slop
@@ -117,7 +117,7 @@ rubyforge_project:
117
117
  rubygems_version: 2.2.2
118
118
  signing_key:
119
119
  specification_version: 4
120
- summary: Bump version numbers in a repository
120
+ summary: No hassle on bumping
121
121
  test_files:
122
122
  - spec/bump/application_spec.rb
123
123
  - spec/bump/cli_spec.rb