lib/cocoapods-tdfire-binary/command/push.rb in cocoapods-tdfire-binary-1.2.6 vs lib/cocoapods-tdfire-binary/command/push.rb in cocoapods-tdfire-binary-1.3.6
- old
+ new
@@ -43,10 +43,10 @@
path += ZIP_SUBFFIX unless path.end_with?(ZIP_SUBFFIX)
@path = path
- @name = name || path.split('/').last - ZIP_SUBFFIX
+ @name = name || path.split('/').last.sub(ZIP_SUBFFIX, '')
@version = version
@commit = commit
super
end
\ No newline at end of file