rfortune 0.2.3 → 0.3.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/CHANGELOG.rdoc +4 -0
- data/VERSION +1 -1
- data/lib/rfortune.rb +4 -7
- data/test/test_rfortune.rb +1 -1
- metadata +2 -2
data/CHANGELOG.rdoc
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.3.0
|
data/lib/rfortune.rb
CHANGED
@@ -121,15 +121,12 @@ class RFortune
|
|
121
121
|
|
122
122
|
cookies += [ "\n%\n" ]
|
123
123
|
|
124
|
-
|
124
|
+
cookies_string = ''
|
125
125
|
|
126
|
-
|
126
|
+
cookies.each { |c| cookies_string += c }
|
127
|
+
|
128
|
+
return cookies_string.sub( /^\n+/, '' )
|
127
129
|
|
128
|
-
# Depricated. I take the fact that nobody told me, the method name is
|
129
|
-
# spelled wrong as permission to drop it in a near future.
|
130
|
-
# Actually I just left it for this message.
|
131
|
-
def formated
|
132
|
-
formatted
|
133
130
|
end
|
134
131
|
|
135
132
|
# Saves the content of the jar to the file specified by argument given
|
data/test/test_rfortune.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rfortune
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Helge Rausch
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2010-
|
12
|
+
date: 2010-02-08 00:00:00 +01:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|