clone_git_file 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/exe/clone_git_file +0 -1
- data/lib/clone_git_file/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 95c74c1023714ef32bdc362c57011d97498e95ff
|
|
4
|
+
data.tar.gz: 4af34d94b85e870351f425425fc3595d1d58c837
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a7303928a44fdb6b3f26d1b661653b6d5a5eab22b0aeda238108bcc8966236c605c6c7a714f7bd56377e0f0c687acfeba31387e9c6851be568288a5f01698f78
|
|
7
|
+
data.tar.gz: 9ffb96778c9f9857510948f58436be39a6cd305d7cc4406c0a99dfcc80b670444fe245eaf4a0d364869d3512b7162c70e76a6b6000f805b3412de7f3e4c346d7
|
data/exe/clone_git_file
CHANGED
|
@@ -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
|
|