adopt_a_pet 0.1.1 → 0.1.2
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 +1 -0
- data/lib/adopt_a_pet/pet.rb +5 -1
- data/lib/adopt_a_pet/version.rb +1 -1
- metadata +1 -2
- data/adopt_a_pet-0.1.0.gem +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 739c012a12aaa593b4f0f7df5c349c49c50b2a42
|
4
|
+
data.tar.gz: 010bbe27c840f7e9fd1ca9028de94719621af467
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7781863b38d5eb84ab711342dfdfe76bc44be270c7013de585a1282f18032622e320f98bb8a2627c649a3dd95f60b9c73a1d3ee04bac0378670abe29a1800059
|
7
|
+
data.tar.gz: 3e40157ebdac50ede994ace082c2092000ee62d14e30e121f8656bdcc1663ad3b224f0029bc14958d255c78d6435e8d6bb9b99bca234dd802429884aaaabe53c
|
data/.gitignore
CHANGED
data/lib/adopt_a_pet/pet.rb
CHANGED
@@ -5,6 +5,8 @@ module AdoptAPet
|
|
5
5
|
#
|
6
6
|
# @!attribute id
|
7
7
|
# @return [String] the AdoptAPet identifier for the pet
|
8
|
+
# @!attribute pet_code
|
9
|
+
# @return [String] the shelter/organization identifier for the pet
|
8
10
|
# @!attribute age
|
9
11
|
# @return [String] a description of the age of the pet
|
10
12
|
# @!attribute name
|
@@ -51,6 +53,7 @@ module AdoptAPet
|
|
51
53
|
# @return [String] a string denoting whether or not the pet is current with their shots
|
52
54
|
class Pet
|
53
55
|
attr_accessor :id,
|
56
|
+
:pet_code,
|
54
57
|
:age,
|
55
58
|
:name,
|
56
59
|
:size,
|
@@ -82,9 +85,10 @@ module AdoptAPet
|
|
82
85
|
# @return [Pet] a new Pet
|
83
86
|
def initialize(object) # rubocop:disable all
|
84
87
|
extract(object, %w[pet_id], 'id')
|
88
|
+
extract(object, %w[pet_code], 'pet_code')
|
89
|
+
extract(object, %w[age], 'age')
|
85
90
|
extract(object, %w[sex], 'sex')
|
86
91
|
extract(object, %w[size], 'size')
|
87
|
-
extract(object, %w[age], 'age')
|
88
92
|
extract(object, %w[species], 'species')
|
89
93
|
extract(object, %w[act_quickly], 'act_quickly')
|
90
94
|
extract(object, %w[color], 'color')
|
data/lib/adopt_a_pet/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: adopt_a_pet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephen Dolan
|
@@ -110,7 +110,6 @@ files:
|
|
110
110
|
- LICENSE.txt
|
111
111
|
- README.md
|
112
112
|
- Rakefile
|
113
|
-
- adopt_a_pet-0.1.0.gem
|
114
113
|
- adopt_a_pet.gemspec
|
115
114
|
- bin/console
|
116
115
|
- bin/setup
|
data/adopt_a_pet-0.1.0.gem
DELETED
Binary file
|