ff_api 0.2.0 → 0.2.1

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/ff_api.rb +2 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 61ebbc1b9532e86b9b22b6483c6828d8840a56855b3a7e4ae41d91fd76f347de
4
- data.tar.gz: 047d43755c9c058d3770f5db70af532d3bfabfeb0da4905ef35d0fb69c0a22d1
3
+ metadata.gz: 75dea88b1351940222ec2cda20d1919a58bb12c79fe41502cfbe9f45a3d8d04b
4
+ data.tar.gz: ec4597b0e80ceca20691077478e23ba07d8c088b3d89db62d0da766bfcf9517d
5
5
  SHA512:
6
- metadata.gz: fafdd8f6358c0dda14a69f0ce0612dbd8237e0a80dc3966b1113074f8c45ba8dc8b9c82b039632f889a34fcfd2dad42bddbe91edf2ae1ed6f26ffc441a15589f
7
- data.tar.gz: e1977ad401a3199a8cec27e87e3c97b8c062d993b9a81d755bedf8c8ea21efbda1af600f000a097a68397ff11c36d8e97a748e2224bb1279cdbe639e989e2ee4
6
+ metadata.gz: 0bfa028c733a0e9956fb99349159b8d95a1ad7db8f5556d03a25b83137f61038b70e3d74a4f23a66921ae1c003996fa6dd411050eac70dc117c5ea2ae597825a
7
+ data.tar.gz: acdb7062ee8a04086189af1a59898ab48119766cb8ada996f5ae8218cd13550729416c3f14087835ad2c84316936ce09c99c5a4e12a71d77e8ff4d090997bfcd
data/lib/ff_api.rb CHANGED
@@ -21,7 +21,7 @@ module FfApi
21
21
  if params.is_a?(Hash)
22
22
  json = schools_as_json(params)
23
23
  schools = json["results"]
24
- json["json"] = schools.map { |school_hash| FfApi::School.new(school_hash) }
24
+ json["results"] = schools.map { |school_hash| FfApi::School.new(school_hash) }
25
25
  json
26
26
  else
27
27
  FfApi::School.new(schools_as_json)
@@ -56,7 +56,7 @@ module FfApi
56
56
  if params.is_a?(Hash)
57
57
  json = districts_as_json(params)
58
58
  districts = json["results"]
59
- json["json"] = districts.map { |district_hash| FfApi::District.new(district_hash) }
59
+ json["results"] = districts.map { |district_hash| FfApi::District.new(district_hash) }
60
60
  json
61
61
  else
62
62
  FfApi::District.new(districts_as_json)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ff_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Austin Cotant