pony_breeds 0.1.4 → 0.1.5

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: 52b5bdfd26800ccff2c30962d4897bab7a00bd16218cacd215f71b0e0e6d3b8d
4
+ data.tar.gz: c08b4c43972234bf1f31c8bca67577726f9bccc86ff883bee7aec2d8acf773f3
5
5
  SHA512:
6
- metadata.gz: 15e6d07ae0ff26875ddaccb024eef150337b555e3f1dac73a6613097c91838a447598029ce2c1f3bec7266be4df952f2a5f0fa88272d1127ba942e3377407ad1
7
- data.tar.gz: 41737edc67690d2544b88b9227cb445876ea74b56f1871cb3e2760e9c2ee74eb2b96b82c494d39fece0b1284b71efeae0a6554336471a92d9a0ffa9b337ad673
6
+ metadata.gz: 4577f0cdb4e814f80d733a33ef2601f0ff5e4b8ffcdf599451acfca8d466c3a271d3750f46b40e82742da2a8a495ddcde27a54676ad7c9ed10d5daafa0e33874
7
+ data.tar.gz: 20f6384c4ecffe26053917b69c13935b52e0123870603f4b859bdc2aa9c2673ec1bc5064d9779cac034589b3d951fbfc31c81dcb8178a507eceacaf43cab384f
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
  ```
@@ -10,7 +10,7 @@
10
10
  "wiki_url": "https://en.wikipedia.org/wiki/American_Walking_Pony"
11
11
  },
12
12
  "andalou_pony": {
13
- "name": "Andalou 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.5'
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.5
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-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails