daijisen 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/daijisen.rb +2 -2
- metadata +3 -3
data/lib/daijisen.rb
CHANGED
@@ -7,7 +7,7 @@ Author: Kelly Dunn
|
|
7
7
|
=end
|
8
8
|
|
9
9
|
module Daijisen
|
10
|
-
VERSION = '0.0.
|
10
|
+
VERSION = '0.0.4'
|
11
11
|
require 'rubygems'
|
12
12
|
require 'nokogiri'
|
13
13
|
require 'open-uri'
|
@@ -46,7 +46,7 @@ module Daijisen
|
|
46
46
|
def initialize(def_html)
|
47
47
|
@link = def_html.css("a")[0]['href']
|
48
48
|
@reading = def_html.css("a")[0].content
|
49
|
-
@example = ""
|
49
|
+
@example = def_html.css("small")[0].content
|
50
50
|
end
|
51
51
|
end
|
52
52
|
end
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
8
|
+
- 4
|
9
|
+
version: 0.0.4
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Kelly Dunn
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-05-
|
17
|
+
date: 2010-05-21 00:00:00 -07:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|