grd 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +8 -8
  2. data/bin/grd +11 -1
  3. data/lib/grd/version.rb +1 -1
  4. data/lib/grd.rb +0 -10
  5. metadata +1 -1
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MGVkZjRkOGJmYjU0OTVmZTRmZjE5YTUzMDMzNmMzNGJkNTg1MjllZA==
4
+ NmE1NjQxMmUwYzBlMzk3NDRlZDdhMmUxODI1NjYzMGEyNzMyYzkwZQ==
5
5
  data.tar.gz: !binary |-
6
- MTllOGYzNTU0MDVmMDQwMTEzYTZjODA5NGE1NmVhZjJkNTYyMjY2OQ==
6
+ ODIwY2QzMGIzMmZkZWZlYjYxMDg0ZTRmMTE4YzgyNmE1OTA5YjMwMA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YWIyM2ZiZTYzN2MyMGNmMTBiYWM4ODMzODA0ZGMzODY1NmZhYjkyNDU3ZDQ5
10
- ZjM2MGI2M2Y4NTU3ODBjODM4YmNhZjNlYWM0ZDFlMWIwNDZlMzk1MThjNTUw
11
- ODUzNTUwOTU5NDc2NDE0NjM5ZmIyOGU3NDcwOTk0YWMwYjFlNTU=
9
+ YzIyYjMzMDJjMWIyZjA1NDEzMzU0ZWIyMzJlNGYyMDYzZDU2YmU2NzYyNTE1
10
+ NDlhNjRiODQyODc5MGIyMjZkOGE0YjFhMWZjNzhhYjcwZTg0NTUzNWIxMTEy
11
+ ZTE3YjE5YjEyNDdjNzFmY2U4MGVhNTEwYjAzNWE2ZTQ4MmM0MDE=
12
12
  data.tar.gz: !binary |-
13
- MmVjNWFiMGFkMThlNzEyZmU0YjAyMzljYzE1ZGU5YTIyYTQ0YmFmNjk2NmM3
14
- OGI0OTA3MDM2NjhhM2I4OTFkMjRlY2Y3NDIyODFhMzBkOTZhNDJlNmRiNzgz
15
- MDVkMjdhNDZiZDQxYzUyNGY1YjZmNTMwNzgyMTQyZWYwNWZmZTg=
13
+ ODNlOGE0MjBiMjg5MmYzOTEwODU3ZDNlMTI2MDVhMDU1MzEwY2Y4ZjMzYjQx
14
+ N2QzZjAyMGNiNGVmNDYxODRmY2I5MGJmZjRjOTlkMzc2NmY4MGI4NDQxZjlh
15
+ NWQ2ZTc3YzJlOGQ1ZWIxNWUwNTBmNjhmZDU3ZTM5NzFlOGZjZjI=
data/bin/grd CHANGED
@@ -1,4 +1,14 @@
1
1
  #!/usr/bin/ruby
2
2
  #$: << File.join(File.dirname(__FILE__), '../lib')
3
3
  # GRD (Get ReDirect)
4
- require 'grd'
4
+ require 'grd'
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
data/lib/grd/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module GRD
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
data/lib/grd.rb CHANGED
@@ -11,14 +11,4 @@ module GRD
11
11
  server.request(req)
12
12
  }["location"]
13
13
  end
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
14
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grd
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel P. Clark / 6ftDan(TM)