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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b971bf03e5be4346c5f39c85f282c2f054a8bbfa
4
- data.tar.gz: f859d8da6eda2ce9aeca541d301ada8ceae91ff1
3
+ metadata.gz: 739c012a12aaa593b4f0f7df5c349c49c50b2a42
4
+ data.tar.gz: 010bbe27c840f7e9fd1ca9028de94719621af467
5
5
  SHA512:
6
- metadata.gz: d2c627e3323954655631dd7e0c93506e2b8cd943d57da01cf78661ad7c199b7bbfbf086ed6c8595f9d8fb9c8c02e91946569d324d4f22ba61b6a437ae7a812d9
7
- data.tar.gz: 8154cf26d0399c273d30f440a86ae212345d94d4297689094bda3be770be92d2e97198a5bdf4ad75c15d94fc891aad483efaa7e13c8b69910790e9ff853396e0
6
+ metadata.gz: 7781863b38d5eb84ab711342dfdfe76bc44be270c7013de585a1282f18032622e320f98bb8a2627c649a3dd95f60b9c73a1d3ee04bac0378670abe29a1800059
7
+ data.tar.gz: 3e40157ebdac50ede994ace082c2092000ee62d14e30e121f8656bdcc1663ad3b224f0029bc14958d255c78d6435e8d6bb9b99bca234dd802429884aaaabe53c
data/.gitignore CHANGED
@@ -11,3 +11,4 @@
11
11
  # rspec failure tracking
12
12
  .rspec_status
13
13
  .*.swp
14
+ *.gem
@@ -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')
@@ -1,3 +1,3 @@
1
1
  module AdoptAPet
2
- VERSION = '0.1.1'.freeze
2
+ VERSION = '0.1.2'.freeze
3
3
  end
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.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
Binary file