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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2ff46d1f1add7c02a6bebbc34de50a0267f38ec2
4
- data.tar.gz: f4eecfe2d89b233ef3ae4b0c24be87a537a8481d
3
+ metadata.gz: 2c5d9b3fca0ddfde5f84ee83c435240855b161f6
4
+ data.tar.gz: 66d609339da6215e683c3bb1af1ea751d790cd8f
5
5
  SHA512:
6
- metadata.gz: 68175dc477d0d59430451b16ace6c6e4a7fc903b205e98c41e464ebf2bd6137dc1ad471008ef7cbc6356da6d38279d9d284e688f56a4762434933cf83f417a73
7
- data.tar.gz: 76f027339cd2e7119d2e7b13a2636953ab20cd6f4012f294cb22cbf986afdfb6cdb56ce5ebb46ef0c304692e02be4c340687bdb4c2b05c980c5b2ca6193a2e94
6
+ metadata.gz: 46380a8451159a2331ac0601537b82e53a428bde99889240e1ac6bd54bedf87f9319f1c84acf602fb0ba8601dcd2377d8f663dd48950ac6c8d608478bb60226f
7
+ data.tar.gz: bbc9f998d72a5251545050db9d9dd1f87a816084fc45d491f75a28fe8fd1b10e20fe604feec8ba8fd751ae2e52c36804755d349c38f6430060d852ba0fe293e0
@@ -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
@@ -1,4 +1,4 @@
1
1
  module Branchy
2
2
  # The gem version
3
- VERSION = '0.0.1'.freeze
3
+ VERSION = '0.0.2'.freeze
4
4
  end
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.1
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-08-07 00:00:00.000000000 Z
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