ygoprodeck 1.0.2 → 1.0.4
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/a.rb +22 -0
- 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/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 +18 -18
- data/spec/archetype_spec.rb +18 -18
- data/spec/banlist_spec.rb +12 -12
- data/spec/cardsets_spec.rb +6 -6
- 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 -27
- metadata +12 -20
- data/.travis.yml +0 -7
data/ygoprodeck.gemspec
CHANGED
@@ -1,27 +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 = spec
|
17
|
-
spec.
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
spec.add_development_dependency "
|
23
|
-
spec.add_development_dependency "
|
24
|
-
spec.add_development_dependency
|
25
|
-
spec.add_development_dependency '
|
26
|
-
spec.add_development_dependency 'rubocop
|
27
|
-
|
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.4
|
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
|
@@ -97,14 +97,15 @@ dependencies:
|
|
97
97
|
description: ygoprodeck API wrapper for search yugioh card
|
98
98
|
email:
|
99
99
|
- rokhim.whd@gmail.com
|
100
|
-
executables:
|
100
|
+
executables:
|
101
|
+
- console
|
102
|
+
- setup
|
101
103
|
extensions: []
|
102
104
|
extra_rdoc_files: []
|
103
105
|
files:
|
104
106
|
- ".gitignore"
|
105
107
|
- ".rspec"
|
106
108
|
- ".rubocop.yml"
|
107
|
-
- ".travis.yml"
|
108
109
|
- CODE_OF_CONDUCT.md
|
109
110
|
- Gemfile
|
110
111
|
- LICENSE.txt
|
@@ -112,7 +113,9 @@ files:
|
|
112
113
|
- Rakefile
|
113
114
|
- bin/console
|
114
115
|
- bin/setup
|
115
|
-
- examples/
|
116
|
+
- examples/a.rb
|
117
|
+
- examples/try.rb
|
118
|
+
- examples/try_archetype.rb
|
116
119
|
- lib/ygoprodeck.rb
|
117
120
|
- lib/ygoprodeck/errors.rb
|
118
121
|
- lib/ygoprodeck/search/all_card.rb
|
@@ -157,19 +160,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
157
160
|
- !ruby/object:Gem::Version
|
158
161
|
version: '0'
|
159
162
|
requirements: []
|
160
|
-
rubygems_version: 3.
|
163
|
+
rubygems_version: 3.2.3
|
161
164
|
signing_key:
|
162
165
|
specification_version: 4
|
163
166
|
summary: ygoprodeck API wrapper for search yugioh's card
|
164
|
-
test_files:
|
165
|
-
- spec/archetype_spec.rb
|
166
|
-
- spec/banlist_spec.rb
|
167
|
-
- spec/cardsets_spec.rb
|
168
|
-
- spec/fuzzy_name_spec.rb
|
169
|
-
- spec/image_spec.rb
|
170
|
-
- spec/list_spec.rb
|
171
|
-
- spec/name_spec.rb
|
172
|
-
- spec/random_spec.rb
|
173
|
-
- spec/spec_helper.rb
|
174
|
-
- spec/ygoprodeck/response_example.json
|
175
|
-
- spec/ygoprodeck_spec.rb
|
167
|
+
test_files: []
|