grd 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 +8 -8
- data/bin/grd +1 -11
- data/lib/grd/version.rb +1 -1
- data/lib/grd.rb +10 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MGVkZjRkOGJmYjU0OTVmZTRmZjE5YTUzMDMzNmMzNGJkNTg1MjllZA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MTllOGYzNTU0MDVmMDQwMTEzYTZjODA5NGE1NmVhZjJkNTYyMjY2OQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YWIyM2ZiZTYzN2MyMGNmMTBiYWM4ODMzODA0ZGMzODY1NmZhYjkyNDU3ZDQ5
|
10
|
+
ZjM2MGI2M2Y4NTU3ODBjODM4YmNhZjNlYWM0ZDFlMWIwNDZlMzk1MThjNTUw
|
11
|
+
ODUzNTUwOTU5NDc2NDE0NjM5ZmIyOGU3NDcwOTk0YWMwYjFlNTU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MmVjNWFiMGFkMThlNzEyZmU0YjAyMzljYzE1ZGU5YTIyYTQ0YmFmNjk2NmM3
|
14
|
+
OGI0OTA3MDM2NjhhM2I4OTFkMjRlY2Y3NDIyODFhMzBkOTZhNDJlNmRiNzgz
|
15
|
+
MDVkMjdhNDZiZDQxYzUyNGY1YjZmNTMwNzgyMTQyZWYwNWZmZTg=
|
data/bin/grd
CHANGED
@@ -1,14 +1,4 @@
|
|
1
1
|
#!/usr/bin/ruby
|
2
2
|
#$: << File.join(File.dirname(__FILE__), '../lib')
|
3
|
-
require 'grd'
|
4
3
|
# GRD (Get ReDirect)
|
5
|
-
|
6
|
-
begin
|
7
|
-
GRD::getredirect(ARGV[0])
|
8
|
-
rescue Exception => e
|
9
|
-
puts "Get ReDirect: Get the URL redirection."
|
10
|
-
puts "by Daniel P. Clark / License: The MIT License"
|
11
|
-
puts
|
12
|
-
puts " Usage: grd www.example.com"
|
13
|
-
puts
|
14
|
-
end
|
4
|
+
require 'grd'
|
data/lib/grd/version.rb
CHANGED
data/lib/grd.rb
CHANGED
@@ -12,3 +12,13 @@ module GRD
|
|
12
12
|
}["location"]
|
13
13
|
end
|
14
14
|
end
|
15
|
+
|
16
|
+
begin
|
17
|
+
GRD::getredirect(ARGV[0])
|
18
|
+
rescue Exception => e
|
19
|
+
puts "Get ReDirect: Get the URL redirection."
|
20
|
+
puts "by Daniel P. Clark / License: The MIT License"
|
21
|
+
puts
|
22
|
+
puts " Usage: grd www.example.com"
|
23
|
+
puts
|
24
|
+
end
|