manifestly 2.3.2 → 2.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: ab5c973c9a1f1d96df3675667b0a6cbb7c8aebd0
4
- data.tar.gz: 273c8a676d0f3d90d82da267937c25ae487c06fc
3
+ metadata.gz: 04f4cdbca60338a5eea6bf39fa9d9c951b8088c2
4
+ data.tar.gz: ba44bfaf024e14b12a2cb8e6b4d7af378eb2ceea
5
5
  SHA512:
6
- metadata.gz: 06c18509f5721bc1495b8956291eb0dfea98f6ea9bc3f60946bbe7940c5d8377f959b63363ea6b0523cd7fb628a21d1773d6206c39e0d611c4bbba5efdc2c80c
7
- data.tar.gz: 74619621c1a83a9b1f5ac22396a789220d5be7f25910a2c64fdce022cade6ba443163b0e4322f55fcd11269b09111084cd6e82cb10597bb72bb8a88ecad69a18
6
+ metadata.gz: 9d4f842165bda2197f275327d86c7386515ab56d3eeb8939b806bb72dc0ec53ae6eef032580f5d938e445b02f6dd2a64912fcd191709ce9cb8c51fcc5bf3bc9e
7
+ data.tar.gz: da2ac8fc52f233c5e7f31452c245551f4954a7577c744d25e27ed7b78d7e46e071e86138a41f1365918f7f50727f75da02c3dc176723e55bbb32d3dec53fba25
@@ -1,6 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  require 'rubygems'
4
+ require 'byebug'
4
5
 
5
6
  $LOAD_PATH.unshift File.dirname(__FILE__) + '/../lib'
6
7
 
@@ -81,7 +81,7 @@ module Manifestly
81
81
 
82
82
  def make_like_just_cloned!
83
83
  git.branch('master').checkout
84
- git.fetch
84
+ git.fetch('origin', :tags => true)
85
85
  git.reset_hard('origin/master')
86
86
  end
87
87
 
@@ -187,7 +187,7 @@ module Manifestly
187
187
  options[:message] ||= "no message"
188
188
 
189
189
  existing_shas = get_shas_with_tag(tag: options[:tag])
190
- raise(ShaAlreadyTagged) if existing_shas.include?(options[:sha])
190
+ raise(ShaAlreadyTagged) if existing_shas.any?{|existing| existing.match(/#{options[:sha]}/)}
191
191
 
192
192
  filename = get_commit_filename(options[:sha])
193
193
  tag = "#{Time.now.utc.strftime("%Y%m%d-%H%M%S.%6N")}/#{::SecureRandom.hex(2)}/#{filename}/#{options[:tag]}"
@@ -1,3 +1,3 @@
1
1
  module Manifestly
2
- VERSION = "2.3.2"
2
+ VERSION = "2.3.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: manifestly
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.2
4
+ version: 2.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - JP Slavinsky