plangrade-ruby 0.3.7 → 0.3.8

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: 02e9fb1964f78ac0d0decd2a2ab2b8b33ad286b7
4
- data.tar.gz: 6f7ec62cc0789e041f39ec65303736164fcebd39
3
+ metadata.gz: 000a7c873075e9f72c777f4f9df56617de770a45
4
+ data.tar.gz: 6d08c78795c134b97bccc3560690b06c88feafe6
5
5
  SHA512:
6
- metadata.gz: 321085c80efd0aa36d0f012d46cb46e8b03e010f0798bbf5912c66598a82bfe25d0603ff84241dfe9ae746a32747a3cc3e2371ce8d5cff1e8eed661388abcba6
7
- data.tar.gz: 1eced8a516b8ed5eb012d568ea5922d99a809d9e97564e35e181d66ddc5e72fc0212b8cff4f3ad557449559504dc528066af30099b918dee79ae6fc4d1185bb9
6
+ metadata.gz: a27243136948a5350acb297c6a7300c144e784e50acc94a2b29ff01e42d0bb95c290ad8523e23e79fab04ff547f51b34feff71f625a59d9fbdfe211aec54a66b
7
+ data.tar.gz: 6cadc6ddec5049cc33429e63015998213769a5ea8abc1087a529d975b33b5487ee7d0e883e035fcec7131ea61e3a6f500d28fde947278ea30126c8a3960e44bc
checksums.yaml.gz.sig CHANGED
Binary file
@@ -29,9 +29,8 @@ module Plangrade
29
29
  else
30
30
  result = api_handler.all_companies
31
31
  end
32
- raise result.to_yaml
33
- companies = JSON.parse(result.body[:companies])
34
- new(companies)
32
+ companies = JSON.parse(result.body)
33
+ companies.map { |attributes| new(attributes) }
35
34
  end
36
35
 
37
36
  def update!(params)
@@ -1,5 +1,5 @@
1
1
  module Plangrade
2
2
  module Ruby
3
- VERSION = "0.3.7"
3
+ VERSION = "0.3.8"
4
4
  end
5
5
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plangrade-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.7
4
+ version: 0.3.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christopher Reynoso
metadata.gz.sig CHANGED
Binary file