xcvm 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +38 -4
  3. data/lib/xcvm/version.rb +1 -1
  4. data/xcvm.gemspec +1 -1
  5. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 33d79ec95081773fa742a6ba8a27418c37aa198d
4
- data.tar.gz: 96a1057bf8e9a752281a975084a22d61be19bcf7
3
+ metadata.gz: 0e1f62c80336e2bf59d6a693ea5ba0a251a83251
4
+ data.tar.gz: e513ac1ed95115bf76e0b873cce5a5df91ec3434
5
5
  SHA512:
6
- metadata.gz: c3f08b94dad687d3dfdbda21a4c40bf73b0bc251a05ad5de9c6530bacc010fdb255b3656be02a9a63399120d82c667aa98091faaa9b439305f6f19a096bbd74a
7
- data.tar.gz: 235a02d82c6bf8e70e624ccc1b1cdd2f08c62060e5d6f4a08779d46e84607c5bbdfe305a29844c7116c11407ebb945d8543fb757b4ea81ffef61ad83b93cf903
6
+ metadata.gz: d264a47f87753f2f5a58af3bc10e85df192b488bcda40f2df25be453d7572780fcb7074ef4b6b58c30e09a649a2e3b00514195f4bacd7b34cc47f0b7541882a7
7
+ data.tar.gz: 88c115e8c96cac53c7ca7ac5f66f887ee8e34864ebc7aec852cb64b650ed914bd3f6a1d56e4d14403f7f07089a62346df9c33e5f4fd4f2cb2eba6a1022e19cc7
data/README.md CHANGED
@@ -1,8 +1,6 @@
1
1
  # Xcvm
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/xcvm`. To experiment with that code, run `bin/console` for an interactive prompt.
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
- TODO: Write usage instructions here
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
 
@@ -1,3 +1,3 @@
1
1
  module Xcvm
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
@@ -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.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.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.2'
103
+ version: '2.0'
104
104
  required_rubygems_version: !ruby/object:Gem::Requirement
105
105
  requirements:
106
106
  - - '>='