wonder_scrape 0.1.0 → 0.1.1
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.lock +1 -1
- data/README.md +2 -2
- data/lib/wonder_scrape/scrapers/mfc/item_parser.rb +5 -3
- data/lib/wonder_scrape/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b6caa46cb23feb7be5035d934bc59b544cb6c8ce495615dfeebb2c18e38793b0
|
|
4
|
+
data.tar.gz: 9365c46d66f9664e9eb033910bbea609bfb3bc33d27fdff1f26be2101c4eaa7a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1924417b2c041713f3e0d7ac9bbdc18c7017e3fe3abc3c636d93fd6af9ceebd4aa627098b93f9e7115dc66ac9f92498f3c9490fbe0d231d7d5838e4e4319e4fa
|
|
7
|
+
data.tar.gz: '096fafc0dc64afa8e248dae0a6e7b3dce4c4c813b807e17f5184c6f50c03a94061e672e01c0ac98fdf0b7edf934d77ed03a216543fa04688ca426c34e3f9fa56'
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -36,7 +36,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
|
36
36
|
|
|
37
37
|
## Contributing
|
|
38
38
|
|
|
39
|
-
Bug reports and pull requests are welcome on
|
|
39
|
+
Bug reports and pull requests are welcome on Gitlab at https://gitlab.com/maleckai/wonder_scrape. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://gitlab.com/maleckai/wonder_scrape/-/blob/master/CODE_OF_CONDUCT.md).
|
|
40
40
|
|
|
41
41
|
## License
|
|
42
42
|
|
|
@@ -44,4 +44,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
|
|
|
44
44
|
|
|
45
45
|
## Code of Conduct
|
|
46
46
|
|
|
47
|
-
Everyone interacting in the WonderScrape project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://
|
|
47
|
+
Everyone interacting in the WonderScrape project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://gitlab.com/maleckai/wonder_scrape/-/blob/master/CODE_OF_CONDUCT.md).
|
|
@@ -10,8 +10,10 @@ module WonderScrape::Scrapers::MFC
|
|
|
10
10
|
'Artist' => 'Artists',
|
|
11
11
|
'Character' => 'Characters',
|
|
12
12
|
'Classification' => 'Classifications',
|
|
13
|
+
'Company' => 'Companies',
|
|
13
14
|
'Event' => 'Events',
|
|
14
15
|
'Material' => 'Materials',
|
|
16
|
+
'Origin' => 'Origins',
|
|
15
17
|
'Release date' => 'Release dates'
|
|
16
18
|
}.freeze
|
|
17
19
|
|
|
@@ -21,12 +23,12 @@ module WonderScrape::Scrapers::MFC
|
|
|
21
23
|
'Category',
|
|
22
24
|
'Characters',
|
|
23
25
|
'Classifications',
|
|
24
|
-
'
|
|
26
|
+
'Companies',
|
|
25
27
|
'Events',
|
|
26
28
|
'JAN',
|
|
27
29
|
'Materials',
|
|
28
30
|
'Numbering',
|
|
29
|
-
'
|
|
31
|
+
'Origins',
|
|
30
32
|
'Price',
|
|
31
33
|
'Release dates',
|
|
32
34
|
'Scale & Dimensions',
|
|
@@ -96,7 +98,7 @@ module WonderScrape::Scrapers::MFC
|
|
|
96
98
|
FieldParsers::Dates.parse(field_content_element)
|
|
97
99
|
when 'Events'
|
|
98
100
|
FieldParsers::Events.parse(field_content_element)
|
|
99
|
-
when 'Artists', 'Characters', 'Classifications', 'Materials'
|
|
101
|
+
when 'Artists', 'Characters', 'Classifications', 'Companies', 'Materials', 'Origins'
|
|
100
102
|
FieldParsers::StandardList.parse(field_content_element)
|
|
101
103
|
else
|
|
102
104
|
FieldParsers::Standard.parse(field_content_element)
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: wonder_scrape
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ben Dawson
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-05-
|
|
11
|
+
date: 2020-05-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: thor
|