pony_breeds 0.1.4 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 94615c42c774575cbd45dfff88e1e049075cbfaa043ac817fab69a143fe6b2ba
4
- data.tar.gz: a62f99a3a8b3bec1c1bd452660acab994d4b7b6112ffcdc149c8652926c0d209
3
+ metadata.gz: cd59fccf34ec582182cc081cc1a9113c5528a679088196fa5683211a404d6142
4
+ data.tar.gz: 87ac0aa7c3da49995ffc585d9f42d3cee2ef395fc5c3b080c78dfcfb053aaa35
5
5
  SHA512:
6
- metadata.gz: 15e6d07ae0ff26875ddaccb024eef150337b555e3f1dac73a6613097c91838a447598029ce2c1f3bec7266be4df952f2a5f0fa88272d1127ba942e3377407ad1
7
- data.tar.gz: 41737edc67690d2544b88b9227cb445876ea74b56f1871cb3e2760e9c2ee74eb2b96b82c494d39fece0b1284b71efeae0a6554336471a92d9a0ffa9b337ad673
6
+ metadata.gz: 5ad7ff70d99dbe392c94a344cca56d853ffdffefc2931b5b5ff994ed19a6e28a52690045650ca2d19c3ccef72b1e6ce529778fad49eeeffbe721ae7f0a94305e
7
+ data.tar.gz: 203db1069f4fce213a9ff3dca20230990343e28e274440d81f03f82782ccab2d8381b4676c21e273be90dd1031380e5edf443ea5ede579eb1c4623a65f46cab9
data/README.md CHANGED
@@ -21,7 +21,7 @@ Get the pony data by the symbolized JSON key
21
21
  ```ruby
22
22
  {
23
23
  name: 'American Shetland Pony',
24
- desiption: 'Short description about the pony',
24
+ description: 'Short description about the pony',
25
25
  wiki_url: 'https://en.wikipedia.org/wiki/American_Shetland_Pony'
26
26
  }
27
27
  ```
@@ -32,7 +32,7 @@ Get the pony data by the actual name of the pony
32
32
  ```ruby
33
33
  {
34
34
  name: 'Western sudan pony',
35
- desiption: 'Short description about the pony',
35
+ description: 'Short description about the pony',
36
36
  wiki_url: 'https://en.wikipedia.org/wiki/Western_Sudan_Pony"'
37
37
  }
38
38
  ```
@@ -43,7 +43,7 @@ Get a random pony data
43
43
  ```ruby
44
44
  {
45
45
  name: 'Timor pony',
46
- desiption: 'Short description about the pony',
46
+ description: 'Short description about the pony',
47
47
  wiki_url: 'https://en.wikipedia.org/wiki/Timor_Pony'
48
48
  }
49
49
  ```
@@ -9,8 +9,8 @@
9
9
  "description": "The American Walking Pony is a modern American breed of gaited riding pony. It was created by crossbreeding of the Tennessee Walking Horse and the Welsh Pony.",
10
10
  "wiki_url": "https://en.wikipedia.org/wiki/American_Walking_Pony"
11
11
  },
12
- "andalou_pony": {
13
- "name": "Andalou Pony",
12
+ "anadolu_pony": {
13
+ "name": "Anadolu Pony",
14
14
  "description":"The Anadolu Pony is descended from crosses of Turkoman, Arabian, Persian, Karabakh, Akhal-Teke, Karbada, Deliboz, Mongolian and the ancient Anatolia horse. Some books refer to this small pony as the Native Turkish Pony, or Turk, but Professors Salahattin Batu and M. Nurettin Aral made a distinction in types between the horses in Anatolia as Anadolu and East and Southeast Anadolu.",
15
15
  "wiki_url": "https://en.wikipedia.org/wiki/Anadolu_Pony"
16
16
  },
@@ -13,7 +13,7 @@ module Pony
13
13
  #
14
14
  # @return [Hash] the hash containing the data for the pony
15
15
  def self.get_pony_by_key(key)
16
- read_ponies[key.to_sym]
16
+ read_ponies[key&.to_sym]
17
17
  end
18
18
 
19
19
  # Get data related to a pony by the actual name of the pony
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Pony
4
4
  module Breeds
5
- VERSION = '0.1.4'
5
+ VERSION = '0.1.6'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pony_breeds
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - napster235
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-06 00:00:00.000000000 Z
11
+ date: 2023-10-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails