karo 2.5.0 → 2.5.1
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.
Potentially problematic release.
This version of karo might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +2 -1
- data/karo.gemspec +1 -1
- data/lib/karo/version.rb +1 -1
- data/lib/karo/workflow.rb +23 -21
- metadata +2 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 33427c81f0e1a4a61bc9047d1fdaf623129fc987
|
4
|
+
data.tar.gz: 1e5683cd9555d92b5ed71b7f00614c0b5c2fce64
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f0c8bc178dc86e3e480e179c9f79b519f475d1461ebc14c629fb2015bfb0b37b316c84837a5948454bad72294cf065fe64f07cfb87f26e0be9adb964bdf12f9
|
7
|
+
data.tar.gz: d2b075ffb23c6f0c4039bafcfaffb41837f5e6fdbd48549705dbefff21ae452df63c0808cafe54cc7832ad446c2b0759981e2f2e897ee0458f87341d6593d135
|
data/README.md
CHANGED
@@ -1,4 +1,5 @@
|
|
1
|
-
# Karo [](https://codeclimate.com/github/rahult/karo) [](https://gemnasium.com/rahult/karo) [](http://badge.fury.io/rb/karo)
|
1
|
+
# Karo [](https://codeclimate.com/github/rahult/karo) [](https://gemnasium.com/rahult/karo) [](http://badge.fury.io/rb/karo) [](https://gitter.im/rahult/karo?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
2
|
+
|
2
3
|
|
3
4
|
**Karo** is a command line companion for a rails application which makes performing routine commands locally or on the server easier.
|
4
5
|
|
data/karo.gemspec
CHANGED
data/lib/karo/version.rb
CHANGED
data/lib/karo/workflow.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
require 'karo/common'
|
2
2
|
require 'thor'
|
3
|
-
require 'rugged'
|
3
|
+
# require 'rugged'
|
4
4
|
|
5
5
|
module Karo
|
6
6
|
|
@@ -10,30 +10,32 @@ module Karo
|
|
10
10
|
|
11
11
|
desc "feature", "create a feature branch for a given name"
|
12
12
|
def feature(name)
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
13
|
+
say "Temporary disabled till a proper version of rugged is released", :red
|
14
|
+
# branch_name = "feature/#{name}"
|
15
|
+
|
16
|
+
# if current_branch.eql?(branch_name)
|
17
|
+
# say "You are already on #{branch_name} this feature branch", :red
|
18
|
+
# elsif branch_exists? branch_name
|
19
|
+
# say "Feature branch #{branch_name} already exists! so checking it out", :red
|
20
|
+
# checkout_branch branch_name
|
21
|
+
# else
|
22
|
+
# create_and_checkout_branch branch_name
|
23
|
+
# end
|
23
24
|
end
|
24
25
|
|
25
26
|
desc "bugfix", "create a bug fix branch for a given name"
|
26
27
|
def bugfix(name)
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
28
|
+
say "Temporary disabled till a proper version of rugged is released", :red
|
29
|
+
# branch_name = "bugfix/#{name}"
|
30
|
+
|
31
|
+
# if current_branch.eql?(branch_name)
|
32
|
+
# say "You are already on #{branch_name} this bug fix branch", :red
|
33
|
+
# elsif branch_exists? branch_name
|
34
|
+
# say "Bug fix branch #{branch_name} already exists! so checking it out", :red
|
35
|
+
# checkout_branch branch_name
|
36
|
+
# else
|
37
|
+
# create_and_checkout_branch branch_name
|
38
|
+
# end
|
37
39
|
end
|
38
40
|
|
39
41
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: karo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.5.
|
4
|
+
version: 2.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rahul Trikha
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-01
|
11
|
+
date: 2015-06-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|
@@ -80,20 +80,6 @@ dependencies:
|
|
80
80
|
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: rugged
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - "~>"
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '0.21'
|
90
|
-
type: :runtime
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - "~>"
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '0.21'
|
97
83
|
- !ruby/object:Gem::Dependency
|
98
84
|
name: thor
|
99
85
|
requirement: !ruby/object:Gem::Requirement
|