migration_bundler 1.3.2 → 1.3.3

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: 5ca82042d4b667d2d4b07183bfb1c2427358431d
4
- data.tar.gz: 031330b32b2638a72b334b41fe2e9cc3e60ca4be
3
+ metadata.gz: 331ed3c381241e82da71729430d7253327d6e1c3
4
+ data.tar.gz: e02cb417b7d020507b36206213233dee91a82398
5
5
  SHA512:
6
- metadata.gz: 14982d3e2f2b6c7a1d1cbfcd32620660e87be5642baac967c15ada5a408a501a561d46ccac1553e60003396f2366743fc16611378f94c0e7edc5cfc148de80f2
7
- data.tar.gz: 9c8b2319019da2799089463ab15e523cbb4a24e60bb3ac424675fdc644d32ec2f624b1084e1ebeb3b2378011a198b63653a28c23d88460abcc54ea9e25f7abc6
6
+ metadata.gz: caccacf22eaf5973a0aa691cc85ab523fa5ec5d55e8da9681a5af7bdc8a2a6d2e78132099aa16548584db4874c711da33d5c32e71c2188e2309e19a1760983b7
7
+ data.tar.gz: 37393f5922377093adca3d389407a480f4d88b5a6b7dbd32593dabd034cf0ee350aaa8907477a94c7be4290ce1a23030b0bfdb96f7eef51512ea8e1a5f60ec74
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## v1.3.3
2
+
3
+ * Fail if an attempt is made to determine tags with Git < 1.9.x
4
+
1
5
  ## v1.3.2
2
6
 
3
7
  * Various bugfixes for Android/Maven support.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- migration_bundler (1.3.2)
4
+ migration_bundler (1.3.3)
5
5
  cql-rb (~> 2.0.0)
6
6
  sqlite3 (~> 1.3.9)
7
7
  thor (~> 0.19.1)
@@ -51,7 +51,7 @@ module MigrationBundler
51
51
  def git_latest_tag
52
52
  git_tag_for_version(nil)
53
53
  end
54
-
54
+
55
55
  def git_current_branch
56
56
  `git symbolic-ref --short HEAD`.chomp
57
57
  end
@@ -59,6 +59,7 @@ module MigrationBundler
59
59
  def git_tag_for_version(version)
60
60
  pattern = version && "#{version}*"
61
61
  tag = `git tag -l --sort=-v:refname #{pattern} | head -n 1`.chomp
62
+ raise "Failed trying to determine version tag: Git may be outdated. Git >= 1.9.0 is required." unless $?.exitstatus.zero?
62
63
  tag.empty? ? nil : tag
63
64
  end
64
65
 
@@ -5,7 +5,7 @@ require 'migration_bundler/version'
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = 'migration_bundler'
8
- s.version = '1.3.2'
8
+ s.version = '1.3.3'
9
9
  s.date = '2014-07-01'
10
10
  s.summary = "A flexible database schema management system."
11
11
  s.description = "Migration Bundler is a complete database schema management system providing migrations, dump/load, and packaging of schema artifacts."
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: migration_bundler
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.2
4
+ version: 1.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Blake Watters