mangadex 5.5.6 → 5.5.8
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/.github/dependabot.yml +11 -0
- data/Gemfile.lock +25 -25
- data/lib/mangadex/internal/with_attributes.rb +8 -2
- data/lib/mangadex/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: '038676da7b94f64da0e1ba27d2a0f2563153bf785fc027830132330fcaa6db41'
|
|
4
|
+
data.tar.gz: 219bc69785823ce34145b10103149d3f397803a7a8a77732a5ee98983162e211
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fab8f18bd656d148f42513e316389b6505aa63c24fc9be2722f8ac4752f9dfb2bfde8749769af69acdf2d90714aa64e87f82ad40a0405cc3bd7158240bb998cc
|
|
7
|
+
data.tar.gz: 4f539c62ada95b984cf96f04b2450385b3bf348d8efcbbb501ab67ac9f21f70c38fb082763b68a3c3851fb572047a07650ab4f80a975987aadea9fb5f4ae505a
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# To get started with Dependabot version updates, you'll need to specify which
|
|
2
|
+
# package ecosystems to update and where the package manifests are located.
|
|
3
|
+
# Please see the documentation for all configuration options:
|
|
4
|
+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
|
|
5
|
+
|
|
6
|
+
version: 2
|
|
7
|
+
updates:
|
|
8
|
+
- package-ecosystem: "bundler" # See documentation for possible values
|
|
9
|
+
directory: "/" # Location of package manifests
|
|
10
|
+
schedule:
|
|
11
|
+
interval: "daily"
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
mangadex (5.5.
|
|
4
|
+
mangadex (5.5.8)
|
|
5
5
|
psych (~> 4.0.1)
|
|
6
6
|
rest-client (~> 2.1)
|
|
7
7
|
sorbet-runtime
|
|
@@ -9,7 +9,7 @@ PATH
|
|
|
9
9
|
GEM
|
|
10
10
|
remote: https://rubygems.org/
|
|
11
11
|
specs:
|
|
12
|
-
activesupport (7.0.
|
|
12
|
+
activesupport (7.0.2.3)
|
|
13
13
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
14
14
|
i18n (>= 1.6, < 2)
|
|
15
15
|
minitest (>= 5.1)
|
|
@@ -25,9 +25,9 @@ GEM
|
|
|
25
25
|
unf (>= 0.0.5, < 1.0.0)
|
|
26
26
|
hashdiff (1.0.1)
|
|
27
27
|
http-accept (1.7.0)
|
|
28
|
-
http-cookie (1.0.
|
|
28
|
+
http-cookie (1.0.5)
|
|
29
29
|
domain_name (~> 0.5)
|
|
30
|
-
i18n (1.
|
|
30
|
+
i18n (1.10.0)
|
|
31
31
|
concurrent-ruby (~> 1.0)
|
|
32
32
|
method_source (1.0.0)
|
|
33
33
|
mime-types (3.4.1)
|
|
@@ -40,11 +40,11 @@ GEM
|
|
|
40
40
|
pry (0.14.1)
|
|
41
41
|
coderay (~> 1.1)
|
|
42
42
|
method_source (~> 1.0)
|
|
43
|
-
psych (4.0.
|
|
43
|
+
psych (4.0.4)
|
|
44
44
|
stringio
|
|
45
45
|
public_suffix (4.0.6)
|
|
46
46
|
rack (2.2.3)
|
|
47
|
-
rack-protection (2.
|
|
47
|
+
rack-protection (2.2.0)
|
|
48
48
|
rack
|
|
49
49
|
rake (13.0.6)
|
|
50
50
|
request_interceptor (1.0.0)
|
|
@@ -59,37 +59,37 @@ GEM
|
|
|
59
59
|
mime-types (>= 1.16, < 4.0)
|
|
60
60
|
netrc (~> 0.8)
|
|
61
61
|
rexml (3.2.5)
|
|
62
|
-
rspec (3.
|
|
63
|
-
rspec-core (~> 3.
|
|
64
|
-
rspec-expectations (~> 3.
|
|
65
|
-
rspec-mocks (~> 3.
|
|
66
|
-
rspec-core (3.
|
|
67
|
-
rspec-support (~> 3.
|
|
68
|
-
rspec-expectations (3.
|
|
62
|
+
rspec (3.11.0)
|
|
63
|
+
rspec-core (~> 3.11.0)
|
|
64
|
+
rspec-expectations (~> 3.11.0)
|
|
65
|
+
rspec-mocks (~> 3.11.0)
|
|
66
|
+
rspec-core (3.11.0)
|
|
67
|
+
rspec-support (~> 3.11.0)
|
|
68
|
+
rspec-expectations (3.11.0)
|
|
69
69
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
70
|
-
rspec-support (~> 3.
|
|
71
|
-
rspec-mocks (3.
|
|
70
|
+
rspec-support (~> 3.11.0)
|
|
71
|
+
rspec-mocks (3.11.0)
|
|
72
72
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
73
|
-
rspec-support (~> 3.
|
|
74
|
-
rspec-support (3.
|
|
73
|
+
rspec-support (~> 3.11.0)
|
|
74
|
+
rspec-support (3.11.0)
|
|
75
75
|
ruby2_keywords (0.0.5)
|
|
76
|
-
sinatra (2.
|
|
76
|
+
sinatra (2.2.0)
|
|
77
77
|
mustermann (~> 1.0)
|
|
78
78
|
rack (~> 2.2)
|
|
79
|
-
rack-protection (= 2.
|
|
79
|
+
rack-protection (= 2.2.0)
|
|
80
80
|
tilt (~> 2.0)
|
|
81
81
|
smart_properties (1.17.0)
|
|
82
|
-
sorbet (0.5.
|
|
83
|
-
sorbet-static (= 0.5.
|
|
84
|
-
sorbet-runtime (0.5.
|
|
85
|
-
sorbet-static (0.5.
|
|
86
|
-
stringio (3.0.
|
|
82
|
+
sorbet (0.5.9742)
|
|
83
|
+
sorbet-static (= 0.5.9742)
|
|
84
|
+
sorbet-runtime (0.5.10030)
|
|
85
|
+
sorbet-static (0.5.9742-x86_64-linux)
|
|
86
|
+
stringio (3.0.2)
|
|
87
87
|
tilt (2.0.10)
|
|
88
88
|
tzinfo (2.0.4)
|
|
89
89
|
concurrent-ruby (~> 1.0)
|
|
90
90
|
unf (0.1.4)
|
|
91
91
|
unf_ext
|
|
92
|
-
unf_ext (0.0.8)
|
|
92
|
+
unf_ext (0.0.8.2)
|
|
93
93
|
webmock (3.14.0)
|
|
94
94
|
addressable (>= 2.8.0)
|
|
95
95
|
crack (>= 0.3.2)
|
|
@@ -92,6 +92,12 @@ module Mangadex
|
|
|
92
92
|
Array(relationships).any?
|
|
93
93
|
end
|
|
94
94
|
|
|
95
|
+
def every(relationship_type)
|
|
96
|
+
Array(relationships).select do |relationship|
|
|
97
|
+
relationship.type == relationship_type.to_s
|
|
98
|
+
end
|
|
99
|
+
end
|
|
100
|
+
|
|
95
101
|
def method_missing(method_name, *args, **kwargs)
|
|
96
102
|
if self.class.attributes.include?(method_name.to_sym)
|
|
97
103
|
return if attributes.nil?
|
|
@@ -103,10 +109,10 @@ module Mangadex
|
|
|
103
109
|
looking_for_relationship = method_name.to_s
|
|
104
110
|
|
|
105
111
|
if existing_relationships.include?(looking_for_relationship)
|
|
106
|
-
|
|
112
|
+
relationships.find do |relationship|
|
|
107
113
|
relationship.type == looking_for_relationship
|
|
108
114
|
end
|
|
109
|
-
result.size == 1 ? result.first : result
|
|
115
|
+
# result.size == 1 ? result.first : result
|
|
110
116
|
else
|
|
111
117
|
super
|
|
112
118
|
end
|
data/lib/mangadex/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: mangadex
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 5.5.
|
|
4
|
+
version: 5.5.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Akinyele Cafe-Febrissy
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-
|
|
11
|
+
date: 2022-05-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: psych
|
|
@@ -143,6 +143,7 @@ executables: []
|
|
|
143
143
|
extensions: []
|
|
144
144
|
extra_rdoc_files: []
|
|
145
145
|
files:
|
|
146
|
+
- ".github/dependabot.yml"
|
|
146
147
|
- ".github/workflows/ruby.yml"
|
|
147
148
|
- ".gitignore"
|
|
148
149
|
- ".rspec"
|
|
@@ -249,7 +250,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
249
250
|
- !ruby/object:Gem::Version
|
|
250
251
|
version: '0'
|
|
251
252
|
requirements: []
|
|
252
|
-
rubygems_version: 3.2.
|
|
253
|
+
rubygems_version: 3.2.32
|
|
253
254
|
signing_key:
|
|
254
255
|
specification_version: 4
|
|
255
256
|
summary: Your next favourite Ruby gem for interacting with Mangadex.org
|