git-at 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/git-at +6 -5
- data/lib/git/at/version.rb +1 -1
- data/lib/git/at.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: 8000201fb237a95f8c53668cb9652c06a4db5e36
|
4
|
+
data.tar.gz: badc80b6f2c68c76f4947e81ef10a6c6daf52502
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 820926cbe12d0f50a741445f086fb6a8f05f60d8ce2b3a1d41cbed2cf93af0b04600fd8cab1896387c1522aa64841ba5ddc12bc5c3971a91a7696e98cdf0f09b
|
7
|
+
data.tar.gz: 6d39f0a664dcba4aaf719ae8ea3e3db463c27b2f9a5fd4a774420a3fe52d6383ec4d8070e535cda3e09f373c681e9677d32b89eccdf1b47daf70b1fb2ac5856c
|
data/bin/git-at
CHANGED
@@ -1,8 +1,9 @@
|
|
1
|
-
#!/usr/bin/env
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
require "git/at"
|
2
3
|
|
3
|
-
ruby_date
|
4
|
-
shift
|
4
|
+
ruby_date = ARGV.shift
|
5
5
|
|
6
|
-
date
|
6
|
+
date = Git::At[eval(ruby_date)]
|
7
7
|
|
8
|
-
GIT_COMMITTER_DATE
|
8
|
+
ENV["GIT_COMMITTER_DATE"] = date
|
9
|
+
system "git #{ARGV.join(" ")} --date='#{date}'"
|
data/lib/git/at/version.rb
CHANGED
data/lib/git/at.rb
CHANGED