ygoprodeck 1.0.3 → 1.0.5
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/.gitignore +14 -15
- data/.rspec +1 -1
- data/.rubocop.yml +40 -7
- data/CODE_OF_CONDUCT.md +74 -74
- data/Gemfile +3 -3
- data/LICENSE.txt +21 -21
- data/README.md +118 -118
- data/Rakefile +5 -5
- data/bin/console +14 -14
- data/bin/setup +6 -6
- data/examples/{search.rb → try.rb} +21 -21
- data/examples/try_archetype.rb +23 -0
- data/lib/ygoprodeck/errors.rb +2 -2
- data/lib/ygoprodeck/search/all_card.rb +1 -1
- data/lib/ygoprodeck/search/archetype.rb +21 -21
- data/lib/ygoprodeck/search/banlist.rb +25 -25
- data/lib/ygoprodeck/search/card_sets.rb +11 -11
- data/lib/ygoprodeck/search/check_db_version.rb +11 -0
- data/lib/ygoprodeck/search/client/endpoint.rb +7 -7
- data/lib/ygoprodeck/search/client/image_gapis.rb +15 -15
- data/lib/ygoprodeck/search/fuzzy_name.rb +21 -21
- data/lib/ygoprodeck/search/list.rb +21 -21
- data/lib/ygoprodeck/search/name.rb +21 -21
- data/lib/ygoprodeck/search/random.rb +11 -11
- data/lib/ygoprodeck/version.rb +3 -3
- data/lib/ygoprodeck.rb +19 -18
- data/spec/archetype_spec.rb +18 -18
- data/spec/banlist_spec.rb +12 -12
- data/spec/cardsets_spec.rb +6 -6
- data/spec/check_db_spec.rb +6 -0
- data/spec/fuzzy_name_spec.rb +10 -10
- data/spec/image_spec.rb +10 -10
- data/spec/list_spec.rb +18 -18
- data/spec/name_spec.rb +9 -9
- data/spec/random_spec.rb +6 -6
- data/spec/spec_helper.rb +14 -14
- data/spec/ygoprodeck_spec.rb +10 -10
- data/ygoprodeck.gemspec +28 -28
- metadata +9 -7
- data/.travis.yml +0 -7
data/ygoprodeck.gemspec
CHANGED
@@ -1,28 +1,28 @@
|
|
1
|
-
lib = File.expand_path('../lib', __FILE__)
|
2
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
|
-
require 'ygoprodeck/version'
|
4
|
-
|
5
|
-
Gem::Specification.new do |spec|
|
6
|
-
spec.name = "ygoprodeck"
|
7
|
-
spec.version = Ygoprodeck::VERSION
|
8
|
-
spec.authors = ["Rokhimin Wahid"]
|
9
|
-
spec.email = ["rokhim.whd@gmail.com"]
|
10
|
-
spec.summary = "ygoprodeck API wrapper for search yugioh's card"
|
11
|
-
spec.description = "ygoprodeck API wrapper for search yugioh card"
|
12
|
-
spec.homepage = "http://github.com/rokhimin/ygoprodeck"
|
13
|
-
spec.license = "MIT"
|
14
|
-
|
15
|
-
spec.files = `git ls-files -z`.split("\x0")
|
16
|
-
spec.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
17
|
-
|
18
|
-
spec.require_paths = ["lib"]
|
19
|
-
|
20
|
-
spec.required_ruby_version = '>= 2.0.0'
|
21
|
-
|
22
|
-
spec.add_development_dependency "bundler", "~>
|
23
|
-
spec.add_development_dependency "rake", "~> 10.0"
|
24
|
-
spec.add_development_dependency "rspec", "~> 3.0"
|
25
|
-
spec.add_development_dependency 'rspec-prof', '~> 0.0.7'
|
26
|
-
spec.add_development_dependency 'rubocop', '~> 0.68.0'
|
27
|
-
spec.add_development_dependency 'rubocop-performance', '~> 1.0'
|
28
|
-
end
|
1
|
+
lib = File.expand_path('../lib', __FILE__)
|
2
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
|
+
require 'ygoprodeck/version'
|
4
|
+
|
5
|
+
Gem::Specification.new do |spec|
|
6
|
+
spec.name = "ygoprodeck"
|
7
|
+
spec.version = Ygoprodeck::VERSION
|
8
|
+
spec.authors = ["Rokhimin Wahid"]
|
9
|
+
spec.email = ["rokhim.whd@gmail.com"]
|
10
|
+
spec.summary = "ygoprodeck API wrapper for search yugioh's card"
|
11
|
+
spec.description = "ygoprodeck API wrapper for search yugioh card"
|
12
|
+
spec.homepage = "http://github.com/rokhimin/ygoprodeck"
|
13
|
+
spec.license = "MIT"
|
14
|
+
|
15
|
+
spec.files = `git ls-files -z`.split("\x0")
|
16
|
+
spec.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
17
|
+
spec.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
|
18
|
+
spec.require_paths = ["lib"]
|
19
|
+
|
20
|
+
spec.required_ruby_version = '>= 2.0.0'
|
21
|
+
|
22
|
+
spec.add_development_dependency "bundler", "~> 2.2.3"
|
23
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
24
|
+
spec.add_development_dependency "rspec", "~> 3.0"
|
25
|
+
spec.add_development_dependency 'rspec-prof', '~> 0.0.7'
|
26
|
+
spec.add_development_dependency 'rubocop', '~> 0.68.0'
|
27
|
+
spec.add_development_dependency 'rubocop-performance', '~> 1.0'
|
28
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ygoprodeck
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rokhimin Wahid
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-12-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 2.2.3
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 2.2.3
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -106,7 +106,6 @@ files:
|
|
106
106
|
- ".gitignore"
|
107
107
|
- ".rspec"
|
108
108
|
- ".rubocop.yml"
|
109
|
-
- ".travis.yml"
|
110
109
|
- CODE_OF_CONDUCT.md
|
111
110
|
- Gemfile
|
112
111
|
- LICENSE.txt
|
@@ -114,13 +113,15 @@ files:
|
|
114
113
|
- Rakefile
|
115
114
|
- bin/console
|
116
115
|
- bin/setup
|
117
|
-
- examples/
|
116
|
+
- examples/try.rb
|
117
|
+
- examples/try_archetype.rb
|
118
118
|
- lib/ygoprodeck.rb
|
119
119
|
- lib/ygoprodeck/errors.rb
|
120
120
|
- lib/ygoprodeck/search/all_card.rb
|
121
121
|
- lib/ygoprodeck/search/archetype.rb
|
122
122
|
- lib/ygoprodeck/search/banlist.rb
|
123
123
|
- lib/ygoprodeck/search/card_sets.rb
|
124
|
+
- lib/ygoprodeck/search/check_db_version.rb
|
124
125
|
- lib/ygoprodeck/search/client/endpoint.rb
|
125
126
|
- lib/ygoprodeck/search/client/image_gapis.rb
|
126
127
|
- lib/ygoprodeck/search/fuzzy_name.rb
|
@@ -131,6 +132,7 @@ files:
|
|
131
132
|
- spec/archetype_spec.rb
|
132
133
|
- spec/banlist_spec.rb
|
133
134
|
- spec/cardsets_spec.rb
|
135
|
+
- spec/check_db_spec.rb
|
134
136
|
- spec/fuzzy_name_spec.rb
|
135
137
|
- spec/image_spec.rb
|
136
138
|
- spec/list_spec.rb
|
@@ -159,7 +161,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
159
161
|
- !ruby/object:Gem::Version
|
160
162
|
version: '0'
|
161
163
|
requirements: []
|
162
|
-
rubygems_version: 3.
|
164
|
+
rubygems_version: 3.2.3
|
163
165
|
signing_key:
|
164
166
|
specification_version: 4
|
165
167
|
summary: ygoprodeck API wrapper for search yugioh's card
|