unclekryon 0.4.9.pre.alpha → 0.4.12.pre.alpha
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.
- checksums.yaml +4 -4
- data/Gemfile +10 -26
- data/Gemfile.lock +20 -24
- data/README.md +3 -2
- data/Rakefile +11 -30
- data/bin/unclekryon +4 -15
- data/hax/kryon.yaml +28 -0
- data/hax/kryon_aums_2002-2005.yaml +460 -0
- data/hax/kryon_aums_2006.yaml +601 -0
- data/hax/kryon_aums_2007.yaml +1024 -0
- data/hax/kryon_aums_2008.yaml +950 -0
- data/hax/kryon_aums_2009.yaml +496 -0
- data/hax/kryon_aums_2010.yaml +1443 -0
- data/hax/kryon_aums_2011.yaml +1458 -0
- data/hax/kryon_aums_2012.yaml +2123 -0
- data/hax/kryon_aums_2013.yaml +1647 -0
- data/hax/kryon_aums_2014.yaml +2478 -0
- data/hax/kryon_aums_2015.yaml +3386 -0
- data/hax/kryon_aums_2016.yaml +3476 -0
- data/hax/kryon_aums_2017.yaml +3712 -0
- data/hax/kryon_aums_2018.yaml +3654 -0
- data/lib/unclekryon/data/album_data.rb +74 -82
- data/lib/unclekryon/data/artist_data.rb +24 -36
- data/lib/unclekryon/data/artist_data_data.rb +29 -41
- data/lib/unclekryon/data/aum_data.rb +20 -32
- data/lib/unclekryon/data/base_data.rb +27 -39
- data/lib/unclekryon/data/pic_data.rb +25 -37
- data/lib/unclekryon/data/release_data.rb +14 -26
- data/lib/unclekryon/data/social_data.rb +6 -18
- data/lib/unclekryon/data/timespan_data.rb +16 -28
- data/lib/unclekryon/dev_opts.rb +7 -19
- data/lib/unclekryon/hacker.rb +121 -135
- data/lib/unclekryon/iso/base_iso.rb +69 -81
- data/lib/unclekryon/iso/can_prov_terr.rb +34 -47
- data/lib/unclekryon/iso/country.rb +34 -51
- data/lib/unclekryon/iso/language.rb +84 -98
- data/lib/unclekryon/iso/region.rb +8 -29
- data/lib/unclekryon/iso/subregion.rb +8 -29
- data/lib/unclekryon/iso/usa_state.rb +28 -41
- data/lib/unclekryon/iso.rb +128 -138
- data/lib/unclekryon/jsoner.rb +31 -50
- data/lib/unclekryon/log.rb +34 -46
- data/lib/unclekryon/parsers/kryon_aum_year_album_parser.rb +163 -167
- data/lib/unclekryon/parsers/kryon_aum_year_parser.rb +122 -127
- data/lib/unclekryon/server.rb +8 -17
- data/lib/unclekryon/trainer.rb +68 -85
- data/lib/unclekryon/uploader.rb +8 -17
- data/lib/unclekryon/util.rb +80 -92
- data/lib/unclekryon/version.rb +4 -16
- data/lib/unclekryon.rb +166 -166
- data/train/kryon.yaml +6077 -0
- data/unclekryon.gemspec +49 -49
- metadata +50 -22
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e5e527cd33fff6fecf1e9d75b447721973d686d8134dc42682ae96bbb6a23093
|
|
4
|
+
data.tar.gz: 3ee613eabd3d82a9116cab630fe0343ad50314055cd7b4b6dda200f22adc9fe0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cce779ca1a9ef7437839846bc213da5dfabadc8350339605ed5d4eec792039f16d93307e59f1fb25a8bb7c1ccca8061e6514e78f14dda5b8e425ea11dc554178
|
|
7
|
+
data.tar.gz: e55d8fc15574bd60c2f9690f028614fa10a702555969ec3264dd159661bd4c229a95f9cf824a8a4a6cc39e47b8accda6abb52d7120045577d77ed4610b223bbb
|
data/Gemfile
CHANGED
|
@@ -1,34 +1,18 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
2
|
# frozen_string_literal: true
|
|
3
3
|
|
|
4
|
-
#--
|
|
5
|
-
# This file is part of UncleKryon-server.
|
|
6
|
-
# Copyright (c) 2017-2019 Jonathan Bradley Whited (@esotericpig)
|
|
7
|
-
#
|
|
8
|
-
# UncleKryon-server is free software: you can redistribute it and/or modify
|
|
9
|
-
# it under the terms of the GNU General Public License as published by
|
|
10
|
-
# the Free Software Foundation, either version 3 of the License, or
|
|
11
|
-
# (at your option) any later version.
|
|
12
|
-
#
|
|
13
|
-
# UncleKryon-server is distributed in the hope that it will be useful,
|
|
14
|
-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
15
|
-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
16
|
-
# GNU General Public License for more details.
|
|
17
|
-
#
|
|
18
|
-
# You should have received a copy of the GNU General Public License
|
|
19
|
-
# along with UncleKryon-server. If not, see <https://www.gnu.org/licenses/>.
|
|
20
|
-
#++
|
|
21
|
-
|
|
22
4
|
|
|
23
5
|
source 'https://rubygems.org'
|
|
24
6
|
|
|
25
|
-
#
|
|
26
|
-
#
|
|
27
|
-
#
|
|
28
|
-
#
|
|
29
|
-
#
|
|
30
|
-
#
|
|
31
|
-
#
|
|
32
|
-
|
|
7
|
+
# NOTE: The author finally updated the version on RubyGems,
|
|
8
|
+
# so this has been moved to the Gemspec.
|
|
9
|
+
# However, in case the author doesn't update it again,
|
|
10
|
+
# leaving this code here for possible use in the future.
|
|
11
|
+
#
|
|
12
|
+
# For training type of text (machine learning).
|
|
13
|
+
# - nbayes Gem is out-of-date, so must use GitHub.
|
|
14
|
+
# - ":git" with "https" is used instead of ":github" for security.
|
|
15
|
+
# - Use "bundle list" (not "gem list") to see it.
|
|
16
|
+
#gem 'nbayes',git: 'https://github.com/oasic/nbayes.git',ref: '3dd46bd'
|
|
33
17
|
|
|
34
18
|
gemspec
|
data/Gemfile.lock
CHANGED
|
@@ -1,43 +1,39 @@
|
|
|
1
|
-
GIT
|
|
2
|
-
remote: https://github.com/oasic/nbayes.git
|
|
3
|
-
revision: 3dd46bd2c8a2258ccdb69ee9ceff7d2fb5d62ed5
|
|
4
|
-
specs:
|
|
5
|
-
nbayes (0.1.2)
|
|
6
|
-
|
|
7
1
|
PATH
|
|
8
2
|
remote: .
|
|
9
3
|
specs:
|
|
10
|
-
unclekryon (0.4.
|
|
11
|
-
nbayes (
|
|
12
|
-
nokogiri (~> 1.
|
|
4
|
+
unclekryon (0.4.12.pre.alpha)
|
|
5
|
+
nbayes (= 0.1.3)
|
|
6
|
+
nokogiri (~> 1.13)
|
|
13
7
|
|
|
14
8
|
GEM
|
|
15
9
|
remote: https://rubygems.org/
|
|
16
10
|
specs:
|
|
17
|
-
io-console (0.5.
|
|
18
|
-
irb (1.
|
|
19
|
-
reline (>= 0.0
|
|
20
|
-
mini_portile2 (2.
|
|
21
|
-
minitest (5.
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
11
|
+
io-console (0.5.11)
|
|
12
|
+
irb (1.4.1)
|
|
13
|
+
reline (>= 0.3.0)
|
|
14
|
+
mini_portile2 (2.8.0)
|
|
15
|
+
minitest (5.16.2)
|
|
16
|
+
nbayes (0.1.3)
|
|
17
|
+
nokogiri (1.13.8)
|
|
18
|
+
mini_portile2 (~> 2.8.0)
|
|
19
|
+
racc (~> 1.4)
|
|
20
|
+
racc (1.6.0)
|
|
21
|
+
rake (13.0.6)
|
|
22
|
+
raketeer (0.2.13)
|
|
26
23
|
rake
|
|
27
|
-
reline (0.1
|
|
24
|
+
reline (0.3.1)
|
|
28
25
|
io-console (~> 0.5)
|
|
29
26
|
|
|
30
27
|
PLATFORMS
|
|
31
28
|
ruby
|
|
32
29
|
|
|
33
30
|
DEPENDENCIES
|
|
34
|
-
bundler (~> 2.
|
|
35
|
-
irb (~> 1.
|
|
36
|
-
minitest (~> 5.
|
|
37
|
-
nbayes!
|
|
31
|
+
bundler (~> 2.3)
|
|
32
|
+
irb (~> 1.4)
|
|
33
|
+
minitest (~> 5.16)
|
|
38
34
|
rake (~> 13.0)
|
|
39
35
|
raketeer (~> 0.2)
|
|
40
36
|
unclekryon!
|
|
41
37
|
|
|
42
38
|
BUNDLED WITH
|
|
43
|
-
2.
|
|
39
|
+
2.3.18
|
data/README.md
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
# UncleKryon-server
|
|
2
|
+
|
|
2
3
|
Server (and Hacker) for the Uncle Kryon mobile apps.
|
|
3
4
|
|
|
4
|
-
Tasks include sending push notifications, building the database, and
|
|
5
|
+
Tasks include sending push notifications, building the database, and scraping the websites for the data.
|
|
5
6
|
|
|
6
7
|
## Contents
|
|
7
8
|
- [Setup](#setup)
|
|
@@ -39,7 +40,7 @@ $ bundle exec rake -T
|
|
|
39
40
|
[GNU GPL v3+](LICENSE)
|
|
40
41
|
|
|
41
42
|
> UncleKryon-server (https://github.com/esotericpig/UncleKryon-server)
|
|
42
|
-
> Copyright (c) 2017-
|
|
43
|
+
> Copyright (c) 2017-2022 Jonathan Bradley Whited
|
|
43
44
|
>
|
|
44
45
|
> UncleKryon-server is free software: you can redistribute it and/or modify
|
|
45
46
|
> it under the terms of the GNU General Public License as published by
|
data/Rakefile
CHANGED
|
@@ -1,30 +1,11 @@
|
|
|
1
1
|
# encoding: UTF-8
|
|
2
2
|
# frozen_string_literal: true
|
|
3
3
|
|
|
4
|
-
#--
|
|
5
|
-
# This file is part of UncleKryon-server.
|
|
6
|
-
# Copyright (c) 2017-2019 Jonathan Bradley Whited (@esotericpig)
|
|
7
|
-
#
|
|
8
|
-
# UncleKryon-server is free software: you can redistribute it and/or modify
|
|
9
|
-
# it under the terms of the GNU General Public License as published by
|
|
10
|
-
# the Free Software Foundation, either version 3 of the License, or
|
|
11
|
-
# (at your option) any later version.
|
|
12
|
-
#
|
|
13
|
-
# UncleKryon-server is distributed in the hope that it will be useful,
|
|
14
|
-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
15
|
-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
16
|
-
# GNU General Public License for more details.
|
|
17
|
-
#
|
|
18
|
-
# You should have received a copy of the GNU General Public License
|
|
19
|
-
# along with UncleKryon-server. If not, see <https://www.gnu.org/licenses/>.
|
|
20
|
-
#++
|
|
21
|
-
|
|
22
4
|
|
|
23
5
|
require 'bundler/gem_tasks'
|
|
24
6
|
|
|
25
7
|
require 'rake/clean'
|
|
26
8
|
require 'rake/testtask'
|
|
27
|
-
|
|
28
9
|
require 'raketeer/irb'
|
|
29
10
|
require 'raketeer/nokogiri_installs'
|
|
30
11
|
require 'raketeer/run'
|
|
@@ -33,24 +14,24 @@ require 'unclekryon/version'
|
|
|
33
14
|
|
|
34
15
|
PKG_DIR = 'pkg'
|
|
35
16
|
|
|
36
|
-
CLEAN.exclude('.git
|
|
17
|
+
CLEAN.exclude('{.git,stock}/**/*')
|
|
37
18
|
CLOBBER.include('doc/',File.join(PKG_DIR,''))
|
|
38
19
|
|
|
39
|
-
task :
|
|
20
|
+
task default: [:irb]
|
|
21
|
+
|
|
22
|
+
desc "Package data as a Zip file into '#{File.join(PKG_DIR,'')}'"
|
|
23
|
+
task :pkg_data do
|
|
24
|
+
pattern = File.join('{hax,train}','**','*.{yaml,yml}')
|
|
25
|
+
zip_name = "unclekryon-data-#{UncleKryon::VERSION}.zip"
|
|
40
26
|
|
|
41
|
-
desc "Package YAML data as a Zip file into '#{File.join(PKG_DIR,'')}'"
|
|
42
|
-
task :pkg_yaml do
|
|
43
|
-
pattern = File.join('{hax,train}','**','*.yaml')
|
|
44
|
-
zip_name = "unclekryon-yaml-#{UncleKryon::VERSION}.zip"
|
|
45
|
-
|
|
46
27
|
zip_file = File.join(PKG_DIR,zip_name)
|
|
47
|
-
|
|
28
|
+
|
|
48
29
|
mkdir_p PKG_DIR
|
|
49
|
-
|
|
50
|
-
sh 'zip','-9rv',zip_file,*Dir.glob(pattern).sort
|
|
30
|
+
|
|
31
|
+
sh 'zip','-9rv',zip_file,*Dir.glob(pattern).sort
|
|
51
32
|
end
|
|
52
33
|
|
|
53
|
-
Rake::TestTask.new
|
|
34
|
+
Rake::TestTask.new do |task|
|
|
54
35
|
task.libs = ['lib','test']
|
|
55
36
|
task.pattern = File.join('test','**','*_test.rb')
|
|
56
37
|
task.description += " ('#{task.pattern}')"
|
data/bin/unclekryon
CHANGED
|
@@ -4,20 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
#--
|
|
6
6
|
# This file is part of UncleKryon-server.
|
|
7
|
-
# Copyright (c) 2017-
|
|
8
|
-
#
|
|
9
|
-
#
|
|
10
|
-
# it under the terms of the GNU General Public License as published by
|
|
11
|
-
# the Free Software Foundation, either version 3 of the License, or
|
|
12
|
-
# (at your option) any later version.
|
|
13
|
-
#
|
|
14
|
-
# UncleKryon-server is distributed in the hope that it will be useful,
|
|
15
|
-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
-
# GNU General Public License for more details.
|
|
18
|
-
#
|
|
19
|
-
# You should have received a copy of the GNU General Public License
|
|
20
|
-
# along with UncleKryon-server. If not, see <https://www.gnu.org/licenses/>.
|
|
7
|
+
# Copyright (c) 2017-2021 Jonathan Bradley Whited
|
|
8
|
+
#
|
|
9
|
+
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
21
10
|
#++
|
|
22
11
|
|
|
23
12
|
|
|
@@ -27,4 +16,4 @@ require 'bundler/setup'
|
|
|
27
16
|
require 'unclekryon'
|
|
28
17
|
|
|
29
18
|
main = UncleKryon::Main.new(ARGV)
|
|
30
|
-
main.run
|
|
19
|
+
main.run
|
data/hax/kryon.yaml
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
---
|
|
2
|
+
Artist: !ruby/object:UncleKryon::ArtistData
|
|
3
|
+
updated_on: '2018-06-12 02:33:24'
|
|
4
|
+
updated_releases_on: '2018-06-12 02:33:24'
|
|
5
|
+
updated_albums_on: '2018-06-12 02:33:24'
|
|
6
|
+
updated_aums_on: '2018-06-12 02:33:24'
|
|
7
|
+
updated_scrolls_on: '2018-06-12 02:33:24'
|
|
8
|
+
updated_visions_on: '2018-06-12 02:33:24'
|
|
9
|
+
updated_pics_on: '2018-06-12 02:33:24'
|
|
10
|
+
|
|
11
|
+
id: 'Kryon'
|
|
12
|
+
name: 'Kryon'
|
|
13
|
+
long_name: 'Kryon - Lee Carroll'
|
|
14
|
+
desc: |-
|
|
15
|
+
This website is an esoteric spiritual site featuring channeled information from Kryon, a loving angelic entity.
|
|
16
|
+
|
|
17
|
+
url: 'https://www.kryon.com'
|
|
18
|
+
mirrors: {}
|
|
19
|
+
|
|
20
|
+
facebook: !ruby/object:UncleKryon::SocialData
|
|
21
|
+
username: 'KryonLeeCarroll'
|
|
22
|
+
url: 'https://www.facebook.com/KryonLeeCarroll'
|
|
23
|
+
twitter: !ruby/object:UncleKryon::SocialData
|
|
24
|
+
username: 'KryonLeeCarroll'
|
|
25
|
+
url: 'https://twitter.com/kryonleecarroll'
|
|
26
|
+
youtube: !ruby/object:UncleKryon::SocialData
|
|
27
|
+
username: 'Kryon-Official Posting Lee Carroll'
|
|
28
|
+
url: 'https://www.youtube.com/channel/UCMiuw8FLujKn06dnlxpbWGQ'
|