petfinder 1.0.3 → 1.0.4

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
- SHA1:
3
- metadata.gz: 5928d4748c4cdaad2d5b4bbe79d5aa687854a9ea
4
- data.tar.gz: ccfee75e913be832d68e2dd13ad0b8e4f5afeac1
2
+ SHA256:
3
+ metadata.gz: b28e75a76d5020eee7da565a46a5fed8474fa20e143264d0052dc53964556cd5
4
+ data.tar.gz: 49cf181c6c288f43fca0fcff463ced1f28e3a830d0b56957fd8a994669df693b
5
5
  SHA512:
6
- metadata.gz: 3bfc6c8849b64235a3ccefb6403c105bcae2098ea0ea9941b163d858db85d00babc49c7b13bb22e72118b0d0638fb771b820d0193c0404551ff1877c23e39a9a
7
- data.tar.gz: 70246ee98b0e6615018cbac4d24644c7435534435c6c9e672dee6599f1c8075d36eb943f1147aeba2185f80ad41a628003f5fd894f06fdbc0902364d3324942d
6
+ metadata.gz: 0eef74086d9f3ab7e342be2736d08c62559745b465efc01972165036f8fa34f0a8bfddf2ac24dbfae6353361689a07da6e9923a1b9705aab64d5c5793369ce16
7
+ data.tar.gz: 7b1de5fd3613965e76e3676ca4f013faa3cec4068adf2488ad8aaae8e7a77f21b3b32348f238b8c3666b694c188682ecba611b10414d4978e72248a7667667ea
@@ -1,3 +1,7 @@
1
+ 1.0.4
2
+ -----
3
+ * Update gem dependencies to latest versions
4
+
1
5
  1.0.3
2
6
  -----
3
7
  * Adding inspect methods and rake console tasks (JessSumner)
@@ -1,41 +1,48 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- petfinder (1.0.2)
4
+ petfinder (1.0.4)
5
5
  excon (~> 0.26)
6
6
  nokogiri (~> 1.6)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- addressable (2.3.5)
12
- coderay (1.0.9)
13
- crack (0.4.1)
14
- safe_yaml (~> 0.9.0)
15
- diff-lcs (1.2.4)
16
- excon (0.26.0)
17
- method_source (0.8.2)
18
- mini_portile (0.5.1)
19
- nokogiri (1.6.0)
20
- mini_portile (~> 0.5.0)
21
- pry (0.9.12.2)
22
- coderay (~> 1.0.5)
23
- method_source (~> 0.8)
24
- slop (~> 3.4)
25
- rake (10.1.0)
26
- rspec (2.14.1)
27
- rspec-core (~> 2.14.0)
28
- rspec-expectations (~> 2.14.0)
29
- rspec-mocks (~> 2.14.0)
30
- rspec-core (2.14.5)
31
- rspec-expectations (2.14.2)
32
- diff-lcs (>= 1.1.3, < 2.0)
33
- rspec-mocks (2.14.3)
34
- safe_yaml (0.9.7)
35
- slop (3.4.6)
36
- webmock (1.13.0)
37
- addressable (>= 2.2.7)
11
+ addressable (2.5.2)
12
+ public_suffix (>= 2.0.2, < 4.0)
13
+ coderay (1.1.2)
14
+ crack (0.4.3)
15
+ safe_yaml (~> 1.0.0)
16
+ diff-lcs (1.3)
17
+ excon (0.59.0)
18
+ hashdiff (0.3.7)
19
+ method_source (0.9.0)
20
+ mini_portile2 (2.3.0)
21
+ nokogiri (1.8.1)
22
+ mini_portile2 (~> 2.3.0)
23
+ pry (0.11.2)
24
+ coderay (~> 1.1.0)
25
+ method_source (~> 0.9.0)
26
+ public_suffix (3.0.1)
27
+ rake (12.2.1)
28
+ rspec (3.7.0)
29
+ rspec-core (~> 3.7.0)
30
+ rspec-expectations (~> 3.7.0)
31
+ rspec-mocks (~> 3.7.0)
32
+ rspec-core (3.7.0)
33
+ rspec-support (~> 3.7.0)
34
+ rspec-expectations (3.7.0)
35
+ diff-lcs (>= 1.2.0, < 2.0)
36
+ rspec-support (~> 3.7.0)
37
+ rspec-mocks (3.7.0)
38
+ diff-lcs (>= 1.2.0, < 2.0)
39
+ rspec-support (~> 3.7.0)
40
+ rspec-support (3.7.0)
41
+ safe_yaml (1.0.4)
42
+ webmock (3.1.0)
43
+ addressable (>= 2.3.6)
38
44
  crack (>= 0.3.2)
45
+ hashdiff
39
46
 
40
47
  PLATFORMS
41
48
  ruby
@@ -47,3 +54,6 @@ DEPENDENCIES
47
54
  rake
48
55
  rspec (>= 2.14)
49
56
  webmock
57
+
58
+ BUNDLED WITH
59
+ 1.16.0
@@ -1,3 +1,3 @@
1
1
  module Petfinder
2
- VERSION = "1.0.3"
2
+ VERSION = "1.0.4"
3
3
  end
@@ -32,7 +32,7 @@ describe Petfinder::Pet do
32
32
 
33
33
  it "should populate multiple pet objects" do
34
34
  pets = Petfinder::Pet.multiple(Nokogiri::XML(fixture_file('pet_list.xml')))
35
- pets.should have(25).items
35
+ pets.count.should eq(25)
36
36
  end
37
37
 
38
38
  it "should return a friendly inspect" do
@@ -13,7 +13,7 @@ describe Petfinder::Pet do
13
13
 
14
14
  it "should populate multiple shelter objects" do
15
15
  shelters = Petfinder::Shelter.multiple(Nokogiri::XML(fixture_file('shelter_list.xml')))
16
- shelters.should have(25).items
16
+ shelters.count.should eq(25)
17
17
  end
18
18
 
19
19
  it "should return a friendly inspect" do
@@ -2,6 +2,12 @@ require 'petfinder'
2
2
  require 'rspec'
3
3
  require 'webmock/rspec'
4
4
 
5
+ RSpec.configure do |config|
6
+ config.expect_with :rspec do |expectations|
7
+ expectations.syntax = :should
8
+ end
9
+ end
10
+
5
11
  def fixture_file(filename)
6
12
  File.read(File.dirname(__FILE__) + "/fixtures/#{filename}")
7
13
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: petfinder
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Hutzelman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-06 00:00:00.000000000 Z
11
+ date: 2017-11-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: excon
@@ -107,7 +107,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
107
107
  version: '0'
108
108
  requirements: []
109
109
  rubyforge_project:
110
- rubygems_version: 2.4.8
110
+ rubygems_version: 2.7.2
111
111
  signing_key:
112
112
  specification_version: 4
113
113
  summary: Ruby gem wrapper for the Petfinder API.