clone_git_file 0.1.2 → 0.1.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: a63f3da30569d9f7f8641a5cd746eeab52dac815
4
- data.tar.gz: 5000c0e7aba5ec2b0570d12b9e0298c1a911617f
3
+ metadata.gz: 95c74c1023714ef32bdc362c57011d97498e95ff
4
+ data.tar.gz: 4af34d94b85e870351f425425fc3595d1d58c837
5
5
  SHA512:
6
- metadata.gz: 60a6a090e8ad6271edf06ddafc582faa831fcaef47775191850da7371f4bf15d48de27987d0afe83e3d1f0a89b6183a974e832c1b82c7e3fc131e7e5ade17300
7
- data.tar.gz: ae25e54c0a68a3b63f840f2810cf7ca296ad6aea95001e67d4d71bc593cf8c860507e562faae891e147bce062fd7c54aef34524c58806c3874c5b8138135bde8
6
+ metadata.gz: a7303928a44fdb6b3f26d1b661653b6d5a5eab22b0aeda238108bcc8966236c605c6c7a714f7bd56377e0f0c687acfeba31387e9c6851be568288a5f01698f78
7
+ data.tar.gz: 9ffb96778c9f9857510948f58436be39a6cd305d7cc4406c0a99dfcc80b670444fe245eaf4a0d364869d3512b7162c70e76a6b6000f805b3412de7f3e4c346d7
@@ -5,7 +5,6 @@ require 'clone_git_file'
5
5
  file = ARGV[0]
6
6
  abort("You forgot the file!") unless file
7
7
  abort("You haven't specified a target directory") unless ENV["TARGET_DIRECTORY"]
8
- abort("Target directory doesn't exist") unless Dir.exists?(File.expand_path(ENV["TARGET_DIRECTORY"]))
9
8
  abort("No editor set, please specify the EDITOR environment variable") unless ENV["EDITOR"]
10
9
  abort("Sorry, github is the only service currently compatible") unless file.match(/github\.com/)
11
10
 
@@ -1,3 +1,3 @@
1
1
  module CloneGitFile
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: clone_git_file
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandon Conway