logaling-command 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES +4 -1
- data/lib/logaling/command/version.rb +1 -1
- data/lib/logaling/external_glossaries/postgresql_manual.rb +7 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b633ddd0e1473578be7800e96193b3e0bd1400f0
|
4
|
+
data.tar.gz: 2914f93cdedd445cbddc835082727e72dc6ebb0e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e2361278c508665472d8c47fe09790dd7e18142c7338cf51f746e849d414ec13aa0250cf07efb378ecc1222ae8e80ed63e37ddc79443d7627eefd854d07d625f
|
7
|
+
data.tar.gz: 512eb045cbf23f22e7220e7b6cc6a27ff1b04cd3059418ac08ce3f9ddb9c40558913e314ec934f87827aaac052ea264304e4e0a5ac6b7a88a09f61c23aa5ce6c
|
data/CHANGES
CHANGED
@@ -27,10 +27,13 @@ module Logaling
|
|
27
27
|
|
28
28
|
private
|
29
29
|
def convert_to_csv(csv)
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
30
|
+
url = "http://osb.sraoss.co.jp/PostgreSQL/Manual/word.html"
|
31
|
+
open(url, "r:iso-2022-jp") do |input|
|
32
|
+
doc = ::Nokogiri::HTML(input.read.encode("utf-8"))
|
33
|
+
doc.css('table table tr')[2..-1].each do |tr|
|
34
|
+
if tr.children[3]
|
35
|
+
csv << [tr.children[3].text, tr.children[5].text]
|
36
|
+
end
|
34
37
|
end
|
35
38
|
end
|
36
39
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logaling-command
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- SHIMADA Koji
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date: 2015-
|
15
|
+
date: 2015-08-21 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: thor
|