Jazzez 0.0.1 → 1.0
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.
- data/README +3 -3
- data/jazzez.rb +4 -6
- metadata +3 -3
data/README
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
|
2
|
-
Jazzez
|
2
|
+
Jazzez Documentation:
|
3
3
|
|
4
4
|
|
5
5
|
jazzez gives all href values in particular URL.
|
6
|
-
It will more helpful to SEO Optimazation
|
6
|
+
It will be more helpful to SEO Optimazation
|
7
7
|
It is also useful to check the Routes.
|
8
8
|
|
9
9
|
|
@@ -11,7 +11,7 @@ Just collect url from User and gives to all Href values to them whatever present
|
|
11
11
|
|
12
12
|
Example:
|
13
13
|
User tries like this
|
14
|
-
href(http://google.com)
|
14
|
+
href("http://google.com")
|
15
15
|
|
16
16
|
then it returns output looks like this
|
17
17
|
|
data/jazzez.rb
CHANGED
@@ -59,20 +59,18 @@ class Jazzez
|
|
59
59
|
href=one.uri
|
60
60
|
@first << href.to_s
|
61
61
|
end
|
62
|
+
@a=@first.empty?
|
62
63
|
# Returns Error message when Given URL doesn't have atleast one Link
|
63
|
-
|
64
|
+
raise @first3="Given URL doesn't have atleast one Link " if @a == true
|
64
65
|
#Returns all the Href's
|
65
|
-
return @first
|
66
66
|
|
67
67
|
end
|
68
|
-
|
68
|
+
return @first
|
69
69
|
else
|
70
70
|
# Returns Error message when Given URL is invalidk
|
71
|
-
|
71
|
+
raise @first2="Its not a valid URL. Please provide a Valid URL."
|
72
72
|
end
|
73
73
|
|
74
74
|
end
|
75
75
|
end
|
76
76
|
|
77
|
-
|
78
|
-
|
metadata
CHANGED
@@ -3,13 +3,13 @@ rubygems_version: 0.9.4
|
|
3
3
|
specification_version: 1
|
4
4
|
name: Jazzez
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version:
|
7
|
-
date: 2008-12-
|
6
|
+
version: "1.0"
|
7
|
+
date: 2008-12-22 00:00:00 +05:30
|
8
8
|
summary: Jazzez.. Nothing is impossible.
|
9
9
|
require_paths:
|
10
10
|
- .
|
11
11
|
email: jazzezravi@gmail.com
|
12
|
-
homepage: http://rubyforge.org/
|
12
|
+
homepage: http://jazzez.rubyforge.org/
|
13
13
|
rubyforge_project:
|
14
14
|
description:
|
15
15
|
autorequire:
|