minecraft_items 0.1.5 → 0.1.6

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 403571ef2b33e0bc1d5ffc04b3221b19120b23d776ad24cd62bfb9ba939b7968
4
- data.tar.gz: 7d7fd4a61c1c52f10bff4994681150746d9d9e3d36a0c77c94c32f6c777a5fd2
3
+ metadata.gz: f8cedc213741996459a366fd3734af6e7371035e80a1d0abbbce798b95af8275
4
+ data.tar.gz: ac0dd90c1a540bd19597c4c6c6e2857d778277151d76e028aec27db9db4a3d8a
5
5
  SHA512:
6
- metadata.gz: d3b9e8cdefdcb74b4d75dcb4ed8273c8992c23a96a638bfe26274f7cc99546157d7b96211532d416fd0474fbbf4426eb16e382fd6d973906a4d8c2a2de1b14e7
7
- data.tar.gz: 4c9f5a3e12cb7a0d4613447e4abae9996e92a50dc9ab0303dec678dd7d4b62355fc6fc723f4c3f191ca215deacbd618d598e41e510575a34dfd85d196ca49194
6
+ metadata.gz: b0faf77913a2252bd7b2aea95c07cdb704e40e147d2d3e0ba111dba6228dd797803d83500eb0c84dec9cd1d56ea1c8450018de9fd07ee5c483a3e028671db8d2
7
+ data.tar.gz: 460f03d3fb798e51cccace74ade255700741e0db356d027ecf2abd5970c51ec59bd9bbb33ee25d99e02322d83355b5c9a56f37028066a60c076976a77360c009
@@ -12,7 +12,7 @@ class MinecraftItems
12
12
  elsif method_name.to_s.include?("all_types")
13
13
  minecraft_types
14
14
  elsif method_name.to_s.include?("all_variants")
15
- minecraft_variants
15
+ minecraft_variants.values.flatten.map { |variants| variants.titleize }.sort
16
16
  elsif method_name.to_s.include?("_variants")
17
17
  minecraft_variants[method_name]
18
18
  elsif method_name.to_s.include?("_types")
@@ -23,3 +23,4 @@ class MinecraftItems
23
23
  end
24
24
  end
25
25
  end
26
+
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'minecraft_items'
3
- s.version = '0.1.5'
3
+ s.version = '0.1.6'
4
4
  s.licenses = ['MIT']
5
5
  s.summary = "A list of most minecraft items"
6
6
  s.description = "With a few simple commands return all the types of blocks as well as each types variant."
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minecraft_items
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maximilian Alexander
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-03-21 00:00:00.000000000 Z
12
+ date: 2023-03-27 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: With a few simple commands return all the types of blocks as well as
15
15
  each types variant.