verat 0.1.0 → 0.1.1

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: 1d053a4dae9958ee265f4e7583b0115f6977d59d
4
- data.tar.gz: 05bd416b24cea589fc527d657e19bd0e4ffa6d68
3
+ metadata.gz: 558d686008c7621a267d29f97c8e8d06f0d4eb24
4
+ data.tar.gz: db56ef5136825c86c58301c34dcc562248fb3326
5
5
  SHA512:
6
- metadata.gz: 1d6f40e95752088bc7a2601c8e5f94eed4b5418c4fe072f0c76feea75e643e5520e461262dd2f710e8091c5e2c6875937ab9d578121c5270f52adba45dd815bd
7
- data.tar.gz: 9b4f4e6cd3675262b3284ff71784e1a94c3be8a4b9c28d89d94bd3f2a4646f80002d93ca7c1c2a703b7fd898bed073c79bed609e28f22f16e0173ac763ea93ac
6
+ metadata.gz: 37c9dc413421977ba7f63aea9fe3fd7482ade68a1aafecf04bf84f8ba0b6eef78d353bd0a194b34571414ff6aaf899c514202d2cc31fa1506565b5d02501fef7
7
+ data.tar.gz: 2622558b9a118525e4740679037f8bd09452b763f6d3bb0baa5dd03d66f8e06c47f42c59e3a75f20e8147f8429d1d5e2dba06d452fe9649044b8c76d4f762355
data/README.md CHANGED
@@ -1,9 +1,9 @@
1
- Verat [![Gem Version](https://badge.fury.io/rb/verat.svg)](http://badge.fury.io/rb/verat)
1
+ Verat [![Gem Version](https://badge.fury.io/rb/verat.svg)](http://badge.fury.io/rb/verat) [![Dependency Status](https://gemnasium.com/adrrian17/verat.svg)](https://gemnasium.com/adrrian17/verat)
2
2
  =====
3
3
 
4
4
  Verat is a gitflow CLI manager. It is inspired in Vincent Driessen's [branching model](http://nvie.com/posts/a-successful-git-branching-model/) and his plugin [gitflow](https://github.com/nvie/gitflow)
5
5
 
6
- ##Instalation
6
+ ##Installation
7
7
  ```
8
8
  $ gem install verat
9
9
  ```
data/bin/verat CHANGED
@@ -59,14 +59,14 @@ Mercenary.program(:verat) do |p|
59
59
 
60
60
  p.command(:release) do |release|
61
61
  release.syntax "release <subcommand>"
62
- release.description "Command for releasees related actions"
62
+ release.description "Command for releases related actions"
63
63
 
64
64
  release.command(:start) do |start|
65
65
  start.syntax 'start RELEASE'
66
66
  start.description 'Creates a new release branch'
67
67
 
68
68
  start.action do |args, options|
69
- Verat::release.start(args.first)
69
+ Verat::Release.start(args.first)
70
70
  end
71
71
  end
72
72
 
data/lib/verat/hotfix.rb CHANGED
@@ -3,19 +3,19 @@ require 'git'
3
3
  module Verat
4
4
  class Hotfix
5
5
  def self.start(hotfix)
6
- puts "Creating branch: hotfix/#{hotfix}"
6
+ puts "Creating branch: hotfix-#{hotfix}"
7
7
 
8
8
  repo = Git.open(Dir.pwd)
9
- repo.branch("hotfix/#{hotfix}").checkout
9
+ repo.branch("hotfix-#{hotfix}").checkout
10
10
 
11
- puts "Branch created succesfuly. Current branch: hotfix/#{hotfix}"
11
+ puts "Branch created succesfuly. Current branch: hotfix-#{hotfix}"
12
12
  end
13
13
 
14
14
  def self.finish(hotfix, options)
15
15
  puts "Finishing hotfix: #{hotfix}"
16
16
 
17
17
  repo = Git.open(Dir.pwd)
18
- branch = "hotfix/#{hotfix}"
18
+ branch = "hotfix-#{hotfix}"
19
19
 
20
20
  if repo.current_branch() != 'master' and repo.is_branch?(branch)
21
21
  repo.checkout('master')
data/lib/verat/release.rb CHANGED
@@ -3,19 +3,19 @@ require 'git'
3
3
  module Verat
4
4
  class Release
5
5
  def self.start(release)
6
- puts "Creating branch: release/#{release}"
6
+ puts "Creating branch: release-#{release}"
7
7
 
8
8
  repo = Git.open(Dir.pwd)
9
- repo.branch("release/#{release}").checkout
9
+ repo.branch("release-#{release}").checkout
10
10
 
11
- puts "Branch created succesfuly. Current branch: release/#{release}"
11
+ puts "Branch created succesfuly. Current branch: release-#{release}"
12
12
  end
13
13
 
14
14
  def self.finish(release, options)
15
15
  puts "Finishing release: #{release}"
16
16
 
17
17
  repo = Git.open(Dir.pwd)
18
- branch = "release/#{release}"
18
+ branch = "release-#{release}"
19
19
 
20
20
  if repo.current_branch() != 'master' and repo.is_branch?(branch)
21
21
  repo.checkout('master')
data/lib/verat/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Verat
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: verat
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adrian Ayala
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-22 00:00:00.000000000 Z
11
+ date: 2014-06-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: git