reality 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +77 -0
- data/bin/reality +7 -0
- data/data/countries.yaml +254 -0
- data/data/country_lists.txt +445 -0
- data/data/country_orgs.yaml +72 -0
- data/data/infoboxes.txt +8804 -0
- data/data/infoboxes_freq.txt +3201 -0
- data/data/infoboxes_freq_sorted.txt +3117 -0
- data/examples/all_countries.rb +16 -0
- data/lib/reality.rb +15 -0
- data/lib/reality/country.rb +283 -0
- data/lib/reality/infoboxer_templates.rb +11 -0
- data/lib/reality/measure.rb +92 -0
- data/lib/reality/measure/unit.rb +120 -0
- data/reality.gemspec +37 -0
- data/script/extract_all_infoboxes.rb +16 -0
- data/script/extract_countries.rb +12 -0
- data/script/extract_country_categories.rb +16 -0
- data/script/extract_infobox_frequency.rb +27 -0
- data/script/lib/faraday_naive_cache.rb +40 -0
- data/script/out/categories.txt +619 -0
- metadata +138 -0
metadata
ADDED
@@ -0,0 +1,138 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: reality
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Victor Shepelev
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-01-02 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: infoboxer
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 0.2.2
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 0.2.2
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rspec
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '3'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '3'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec-its
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '1'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '1'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: vcr
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: webmock
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
description: |2
|
84
|
+
Reality provides access to knowledge about real world (like geography,
|
85
|
+
history, people, movies and so on) by the means of Wikipedia and
|
86
|
+
other open data sources.
|
87
|
+
email: zverok.offline@gmail.com
|
88
|
+
executables:
|
89
|
+
- reality
|
90
|
+
extensions: []
|
91
|
+
extra_rdoc_files: []
|
92
|
+
files:
|
93
|
+
- README.md
|
94
|
+
- bin/reality
|
95
|
+
- data/countries.yaml
|
96
|
+
- data/country_lists.txt
|
97
|
+
- data/country_orgs.yaml
|
98
|
+
- data/infoboxes.txt
|
99
|
+
- data/infoboxes_freq.txt
|
100
|
+
- data/infoboxes_freq_sorted.txt
|
101
|
+
- examples/all_countries.rb
|
102
|
+
- lib/reality.rb
|
103
|
+
- lib/reality/country.rb
|
104
|
+
- lib/reality/infoboxer_templates.rb
|
105
|
+
- lib/reality/measure.rb
|
106
|
+
- lib/reality/measure/unit.rb
|
107
|
+
- reality.gemspec
|
108
|
+
- script/extract_all_infoboxes.rb
|
109
|
+
- script/extract_countries.rb
|
110
|
+
- script/extract_country_categories.rb
|
111
|
+
- script/extract_infobox_frequency.rb
|
112
|
+
- script/lib/faraday_naive_cache.rb
|
113
|
+
- script/out/categories.txt
|
114
|
+
homepage: https://github.com/molibdenum-99/reality
|
115
|
+
licenses:
|
116
|
+
- MIT
|
117
|
+
metadata: {}
|
118
|
+
post_install_message:
|
119
|
+
rdoc_options: []
|
120
|
+
require_paths:
|
121
|
+
- lib
|
122
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
123
|
+
requirements:
|
124
|
+
- - ">="
|
125
|
+
- !ruby/object:Gem::Version
|
126
|
+
version: '0'
|
127
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
requirements: []
|
133
|
+
rubyforge_project:
|
134
|
+
rubygems_version: 2.4.6
|
135
|
+
signing_key:
|
136
|
+
specification_version: 4
|
137
|
+
summary: Simple and easy proxy to real-life knowledge.
|
138
|
+
test_files: []
|