pollex 0.0.2 → 0.0.3
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/.gitignore +2 -0
- data/CHANGELOG +8 -0
- data/lib/pollex.rb +10 -2
- data/lib/pollex/scraper.rb +0 -1
- data/lib/pollex/version.rb +3 -0
- data/pollex.gemspec +5 -3
- metadata +6 -3
data/.gitignore
ADDED
data/CHANGELOG
ADDED
data/lib/pollex.rb
CHANGED
|
@@ -4,7 +4,15 @@ end
|
|
|
4
4
|
require 'nokogiri'
|
|
5
5
|
require 'lrucache'
|
|
6
6
|
|
|
7
|
-
[
|
|
8
|
-
|
|
7
|
+
[
|
|
8
|
+
'version',
|
|
9
|
+
'pollex_class',
|
|
10
|
+
'scraper',
|
|
11
|
+
'entry',
|
|
12
|
+
'language',
|
|
13
|
+
'reconstruction',
|
|
14
|
+
'semantic_field',
|
|
15
|
+
'source'
|
|
16
|
+
].each do |file|
|
|
9
17
|
require File.dirname(__FILE__) + "/pollex/#{file}.rb"
|
|
10
18
|
end
|
data/lib/pollex/scraper.rb
CHANGED
data/pollex.gemspec
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
require File.expand_path('../lib/pollex/version', __FILE__)
|
|
2
|
+
|
|
1
3
|
Gem::Specification.new do |s|
|
|
2
4
|
s.name = 'pollex'
|
|
3
|
-
s.version =
|
|
4
|
-
|
|
5
|
+
s.version = Pollex::VERSION
|
|
6
|
+
|
|
5
7
|
s.summary = "Ruby wrapper for scraping pollex (the Polynesian Lexicon Project)"
|
|
6
|
-
s.description =
|
|
8
|
+
s.description = s.summary
|
|
7
9
|
s.authors = ["Alex Nisnevich"]
|
|
8
10
|
s.email = 'alex.nisnevich@gmail.com'
|
|
9
11
|
s.homepage = 'http://github.com/AlexNisnevich/pollex'
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pollex
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2013-03-
|
|
12
|
+
date: 2013-03-06 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: nokogiri
|
|
@@ -43,12 +43,14 @@ dependencies:
|
|
|
43
43
|
- - ! '>='
|
|
44
44
|
- !ruby/object:Gem::Version
|
|
45
45
|
version: '0'
|
|
46
|
-
description:
|
|
46
|
+
description: Ruby wrapper for scraping pollex (the Polynesian Lexicon Project)
|
|
47
47
|
email: alex.nisnevich@gmail.com
|
|
48
48
|
executables: []
|
|
49
49
|
extensions: []
|
|
50
50
|
extra_rdoc_files: []
|
|
51
51
|
files:
|
|
52
|
+
- .gitignore
|
|
53
|
+
- CHANGELOG
|
|
52
54
|
- lib/pollex.rb
|
|
53
55
|
- lib/pollex/entry.rb
|
|
54
56
|
- lib/pollex/language.rb
|
|
@@ -58,6 +60,7 @@ files:
|
|
|
58
60
|
- lib/pollex/scraper.rb
|
|
59
61
|
- lib/pollex/semantic_field.rb
|
|
60
62
|
- lib/pollex/source.rb
|
|
63
|
+
- lib/pollex/version.rb
|
|
61
64
|
- pollex.gemspec
|
|
62
65
|
homepage: http://github.com/AlexNisnevich/pollex
|
|
63
66
|
licenses: []
|