plangrade-ruby 0.3.1 → 0.3.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: cc572cab1e6af8ce319b06155cf5b6edd1b5f352
4
- data.tar.gz: 310463d189fc5303354684acbc3d46325410019a
3
+ metadata.gz: f82b4e01e416c8fa79818e91a2191af7f092b5e3
4
+ data.tar.gz: 4f0c93213e7c39ea9be72b66d0f7f556bfc5b269
5
5
  SHA512:
6
- metadata.gz: 6ce5f3d654cf231b1bbdf6b372c510aed155a62bf5e893dc88b198835998e7aba088e69c94cc35fb84a9f22057467824c32438675c78fdd101fdcbb09bf5a660
7
- data.tar.gz: 77bf79a9c3d654df0e5ad41dcd175b91cc406703bae7713422dbdf6ecfded2d23ef5c4986efac101954b23f1f701d3ee4cc7f0e5ead6d2d5b7cb196a4701a77e
6
+ metadata.gz: 21724c467d762bce40f4a89a91a9a854714d00c6259209ea42222a3293423d37a6b37a4b569b6aa6b2aedf9b666323efef1468e33937c9cb0a1ceda39f779107
7
+ data.tar.gz: 4847c69c03d4bf96fd3cb9e853d2f6cbff2d4cef0c734805490b53b8bba1111cf0ba7100bb38b43539e3fb17541d8f1835aef86bbdd9b7a4183a2c65895d929e
checksums.yaml.gz.sig CHANGED
@@ -1 +1,4 @@
1
- ��� M�ު�����j��e�������փl2,ѓ%����C|�dHMe�����i�/�y�@���G%�[-ګ}�3s���|�7DJ��.��[��U��#�;W}�%�"C������=J��� ��L��j�z�~�]�I��g���2�yS��U�����i3�����]���r���|*Ӟ[��o8,cW���S�';�C6��A|�Dp�N��u���ZD� ��S�-/�S/o��Z��S�g�BT+�
1
+ r@{&��cZ4@��n�4���B+�iP3ĮI;+�Q3\1i�] %@������1Ki����-�;Yڦ%X�����iŽ"b��.���J\�w��k}u�;v�i����Gֵ4y#�fL1vcg��>����<ۋ�x��lmKk�.O�R[�&��Jê�=7���a��bQ��3P� '�7aR�y�^g�2I
2
+ �>~Lj����
3
+ �7�����n
4
+ ѹR�f��2
@@ -17,8 +17,8 @@ module Plangrade
17
17
  new(result.body[:company])
18
18
  end
19
19
 
20
- def self.all(params)
21
- api_handler.all_companies(params)
20
+ def self.all(opts={})
21
+ api_handler.all_companies(opts)
22
22
  return nil unless result.success?
23
23
  new(result.body[:companies])
24
24
  end
@@ -18,8 +18,10 @@ module Plangrade
18
18
  new(result.body[:participant])
19
19
  end
20
20
 
21
- def self.all(params)
22
- api_handler.all_participants(params)
21
+ def self.all(company_id, opts={})
22
+ opts ||= {}
23
+ opts[:company_id] = company_id
24
+ api_handler.all_participants(opts)
23
25
  return nil unless result.success?
24
26
  new(result.body[:participants])
25
27
  end
@@ -1,5 +1,5 @@
1
1
  module Plangrade
2
2
  module Ruby
3
- VERSION = "0.3.1"
3
+ VERSION = "0.3.2"
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.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christopher Reynoso
@@ -30,7 +30,7 @@ cert_chain:
30
30
  ELzPS5fItQUB4UE0DT9qDr7LmfnG1tLPIeDgMScUes6zSSckWtaXKjQRy7OG7yGu
31
31
  2YveeRgxu2nn/J4Q6Obf7PqMvpR0z5T8SUptXcRVhHBZDUzrBpNvtNM=
32
32
  -----END CERTIFICATE-----
33
- date: 2014-11-12 00:00:00.000000000 Z
33
+ date: 2014-11-13 00:00:00.000000000 Z
34
34
  dependencies:
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: oj
metadata.gz.sig CHANGED
Binary file