grd 0.0.2 → 0.0.3

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 +1 -11
  3. data/lib/grd/version.rb +1 -1
  4. data/lib/grd.rb +10 -0
  5. metadata +1 -1
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MjdmODQ1Y2MwOGM3YWMzYzA1MzA2MDRmMjVkNmQ0YjI3YmMxY2M1Yw==
4
+ MGVkZjRkOGJmYjU0OTVmZTRmZjE5YTUzMDMzNmMzNGJkNTg1MjllZA==
5
5
  data.tar.gz: !binary |-
6
- YzRmYzViYzhkNjU3ZDI3N2QzZTc5Y2MxM2E4MTdkN2E3NTg5Yzc0Nw==
6
+ MTllOGYzNTU0MDVmMDQwMTEzYTZjODA5NGE1NmVhZjJkNTYyMjY2OQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- Yjk5Yzc1MGYxMDhhMTFjZGJlMGIxMDgxOWJkY2Y5YjhmY2U1Y2FjMmZiNTFl
10
- YWIyMTlkNTZjNDBkMjM1ZDU4ZGZjMzMxYzQzYmFkYTdkNzcyMzdlNTBkYjVj
11
- MWVmYzgwNjYyZDAwM2Q2ZTU4ZWU5OWI1ZWRjNDMzNTM1YzBhOWE=
9
+ YWIyM2ZiZTYzN2MyMGNmMTBiYWM4ODMzODA0ZGMzODY1NmZhYjkyNDU3ZDQ5
10
+ ZjM2MGI2M2Y4NTU3ODBjODM4YmNhZjNlYWM0ZDFlMWIwNDZlMzk1MThjNTUw
11
+ ODUzNTUwOTU5NDc2NDE0NjM5ZmIyOGU3NDcwOTk0YWMwYjFlNTU=
12
12
  data.tar.gz: !binary |-
13
- OTg3OWZiZmQ0ZmExZTkyODBmN2NhNTdiYjg4YTdlZDM4NTU4ZWRlZWM1MDdk
14
- ZTNhOTk2ZGRlNjY3ZjdjYmZlYTNjNjJlMWJiNzM1MzVlYjdhMGEzZDBmOTcy
15
- YjAxNTAwMDY2NDk5N2JiODFiN2Y0MDU4MDY4MzMxNzk0ZWRmODE=
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
@@ -1,3 +1,3 @@
1
1
  module GRD
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
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
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.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel P. Clark / 6ftDan(TM)