urlybird 0.0.3 → 0.0.4
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.rdoc +3 -1
- data/lib/urlybird/version.rb +1 -1
- metadata +1 -1
data/README.rdoc
CHANGED
|
@@ -19,10 +19,12 @@ Add new or additional query string parameters:
|
|
|
19
19
|
Worms: http://urlybird.com/search?q=worms
|
|
20
20
|
EOL
|
|
21
21
|
|
|
22
|
-
|
|
22
|
+
content = UrlyBird.seek(content) do |url|
|
|
23
23
|
url.query_values = (url.query_values || {}).merge(:q1 => 'one')
|
|
24
24
|
end
|
|
25
25
|
|
|
26
|
+
puts content
|
|
27
|
+
|
|
26
28
|
The above example will print:
|
|
27
29
|
|
|
28
30
|
<a href="http://urlybird.com/?q1=one">Worms</a>
|
data/lib/urlybird/version.rb
CHANGED