xcvm 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +38 -4
- data/lib/xcvm/version.rb +1 -1
- data/xcvm.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0e1f62c80336e2bf59d6a693ea5ba0a251a83251
|
4
|
+
data.tar.gz: e513ac1ed95115bf76e0b873cce5a5df91ec3434
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d264a47f87753f2f5a58af3bc10e85df192b488bcda40f2df25be453d7572780fcb7074ef4b6b58c30e09a649a2e3b00514195f4bacd7b34cc47f0b7541882a7
|
7
|
+
data.tar.gz: 88c115e8c96cac53c7ca7ac5f66f887ee8e34864ebc7aec852cb64b650ed914bd3f6a1d56e4d14403f7f07089a62346df9c33e5f4fd4f2cb2eba6a1022e19cc7
|
data/README.md
CHANGED
@@ -1,8 +1,6 @@
|
|
1
1
|
# Xcvm
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
3
|
+
Xcode Version Manager is a command line utility and ruby gem for manipulating Xcode project versions in many different ways. It allows for expressive commands to bump build numbers and increment versions using semantic versioning conventions.
|
6
4
|
|
7
5
|
## Installation
|
8
6
|
|
@@ -22,7 +20,43 @@ Or install it yourself as:
|
|
22
20
|
|
23
21
|
## Usage
|
24
22
|
|
25
|
-
|
23
|
+
To increment a build number, from within the directory containing the `Info.plist` file for your project, simply run:
|
24
|
+
|
25
|
+
```bash
|
26
|
+
xcvm bump build
|
27
|
+
```
|
28
|
+
|
29
|
+
If you'd like to print the current build number, simply type:
|
30
|
+
|
31
|
+
```bash
|
32
|
+
xcvm print build
|
33
|
+
```
|
34
|
+
|
35
|
+
You can also print the current version:
|
36
|
+
|
37
|
+
```bash
|
38
|
+
xcvm print version
|
39
|
+
```
|
40
|
+
|
41
|
+
Or increment/decrement a segment of the version by using:
|
42
|
+
|
43
|
+
```bash
|
44
|
+
xcvm increment major
|
45
|
+
```
|
46
|
+
|
47
|
+
or
|
48
|
+
|
49
|
+
```bash
|
50
|
+
xcvm decrement revision
|
51
|
+
```
|
52
|
+
|
53
|
+
Version numbers are interpreted as `major.minor.revision`.
|
54
|
+
|
55
|
+
You can also specify the path to your `Info.plist` file manually:
|
56
|
+
|
57
|
+
```
|
58
|
+
xcvm bump minor -p ~/Project/Info.plist
|
59
|
+
```
|
26
60
|
|
27
61
|
## Development
|
28
62
|
|
data/lib/xcvm/version.rb
CHANGED
data/xcvm.gemspec
CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.executables = ["xcvm"]
|
19
19
|
spec.require_path = ["lib"]
|
20
20
|
|
21
|
-
spec.required_ruby_version = '~> 2.
|
21
|
+
spec.required_ruby_version = '~> 2.0'
|
22
22
|
|
23
23
|
spec.add_development_dependency "bundler", "~> 1.11"
|
24
24
|
spec.add_development_dependency "rake", "~> 10.0"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xcvm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- jaderfeijo
|
@@ -100,7 +100,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
100
100
|
requirements:
|
101
101
|
- - ~>
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: '2.
|
103
|
+
version: '2.0'
|
104
104
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
105
105
|
requirements:
|
106
106
|
- - '>='
|