branchy 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/branchy/branch.rb +1 -1
- data/lib/branchy/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2c5d9b3fca0ddfde5f84ee83c435240855b161f6
|
4
|
+
data.tar.gz: 66d609339da6215e683c3bb1af1ea751d790cd8f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 46380a8451159a2331ac0601537b82e53a428bde99889240e1ac6bd54bedf87f9319f1c84acf602fb0ba8601dcd2377d8f663dd48950ac6c8d608478bb60226f
|
7
|
+
data.tar.gz: bbc9f998d72a5251545050db9d9dd1f87a816084fc45d491f75a28fe8fd1b10e20fe604feec8ba8fd751ae2e52c36804755d349c38f6430060d852ba0fe293e0
|
data/lib/branchy/branch.rb
CHANGED
@@ -47,7 +47,7 @@ module Branchy
|
|
47
47
|
# If it's the master/trunk/mainline branch only the prefix is returned.
|
48
48
|
def database(prefix)
|
49
49
|
db_name = scm.trunk? ? prefix : "#{prefix}_#{name}"
|
50
|
-
db_name.gsub(/[^A-Za-z0-9_]+/, '_')
|
50
|
+
db_name.gsub(/[^A-Za-z0-9_]+/, '_')[0, 63]
|
51
51
|
end
|
52
52
|
|
53
53
|
alias_method :db, :database
|
data/lib/branchy/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: branchy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
+
- Andrew Coleman
|
7
8
|
- Jordan Hollinger
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2014-
|
12
|
+
date: 2014-10-17 00:00:00.000000000 Z
|
12
13
|
dependencies: []
|
13
14
|
description: Use a different database for each of your branches!
|
14
15
|
email: jordan@jordanhollinger.com
|