billit_representers 0.9.6 → 0.9.7

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: a09ee6d4780689cac4638e9163ce7308c0dc50ff
4
- data.tar.gz: 8c58385e119cee7cdee2bca872489be362009085
3
+ metadata.gz: 1501ed30ad43b28224a3726ef1e989fbeea9f842
4
+ data.tar.gz: 4831dd160c7285b75b66ce035424822d14774b3f
5
5
  SHA512:
6
- metadata.gz: 18b91e80258b901fa8ee38a0b48e75796567ff81cc531d4bdad0b8d5408bbd29a391cc25e5d982f2670591027420a5fd22882a442bf9d8e04cb20bfc4326d913
7
- data.tar.gz: 7c35778127b41da7c158ef05b5fd0e67e23f6632d15c2256d447c5ea910f23d7deeccaf655b36c7ac60abc9e977617fc657de71da90573df5d69464c9a910882
6
+ metadata.gz: b7de4bc80016340cd5c3d77f67b61a2ca512cbb85fafe73fdd1f39d5466488d586fa8112eb6d842e61e21347a1e96cb68d85869bcfc6325ca6d4485bb4dd4d15
7
+ data.tar.gz: 52decbeca2ee3d311fe984c41d5e069f78210cb9184bd105c91b239e98092701a48ab22a5fbbcd7ccd64050f4a8a815fc0a0261dbc3cfde7031b46d4da0af7a5
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |gem|
2
2
  gem.name = 'billit_representers'
3
- gem.version = '0.9.6'
4
- gem.date = '2014-06-13'
3
+ gem.version = '0.9.7'
4
+ gem.date = '2014-06-16'
5
5
  gem.summary = "Representers for the bill-it module of the Poplus project."
6
6
  gem.description = "Representers for the bill-it module of the Poplus project. These provide object-like access to remote data, using Resource-Oriented Architectures in Ruby (ROAR)."
7
7
  gem.authors = ["Marcel Augsburger"]
@@ -67,14 +67,14 @@ module Billit
67
67
  property :abstract
68
68
  property :tags
69
69
 
70
- collection :paperworks, extend: Billit::PaperworkRepresenter, class: lambda { |x, *| Object.const_defined?("Paperwork") ? Paperwork : BillitPaperwork }, parse_strategy: :sync
71
- collection :priorities, extend: Billit::PriorityRepresenter, class: lambda { |x, *| Object.const_defined?("Priority") ? Priority : BillitPriority }, parse_strategy: :sync
72
- collection :reports, extend: Billit::ReportRepresenter, class: lambda { |x, *| Object.const_defined?("Report") ? Report : BillitReport }, parse_strategy: :sync
73
- collection :documents, extend: Billit::DocumentRepresenter, class: lambda { |x, *| Object.const_defined?("Document") ? Document : BillitDocument }, parse_strategy: :sync
74
- collection :directives, extend: Billit::DirectiveRepresenter, class: lambda { |x, *| Object.const_defined?("Directive") ? Directive : BillitDirective }, parse_strategy: :sync
75
- collection :remarks, extend: Billit::RemarkRepresenter, class: lambda { |x, *| Object.const_defined?("Remark") ? Remark : BillitRemark }, parse_strategy: :sync
76
- collection :revisions, extend: Billit::RevisionRepresenter, class: lambda { |x, *| Object.const_defined?("Revision") ? Revision : BillitRevision }, parse_strategy: :sync
77
- collection :motions, extend: Billit::MotionRepresenter, class: lambda { |x, *| Object.const_defined?("Motion") ? Motion : BillitMotion }, parse_strategy: :sync
70
+ collection :paperworks, extend: Billit::PaperworkRepresenter, class: lambda { |x, *| Object.const_defined?("Paperwork") ? Paperwork : BillitPaperwork }
71
+ collection :priorities, extend: Billit::PriorityRepresenter, class: lambda { |x, *| Object.const_defined?("Priority") ? Priority : BillitPriority }
72
+ collection :reports, extend: Billit::ReportRepresenter, class: lambda { |x, *| Object.const_defined?("Report") ? Report : BillitReport }
73
+ collection :documents, extend: Billit::DocumentRepresenter, class: lambda { |x, *| Object.const_defined?("Document") ? Document : BillitDocument }
74
+ collection :directives, extend: Billit::DirectiveRepresenter, class: lambda { |x, *| Object.const_defined?("Directive") ? Directive : BillitDirective }
75
+ collection :remarks, extend: Billit::RemarkRepresenter, class: lambda { |x, *| Object.const_defined?("Remark") ? Remark : BillitRemark }
76
+ collection :revisions, extend: Billit::RevisionRepresenter, class: lambda { |x, *| Object.const_defined?("Revision") ? Revision : BillitRevision }
77
+ collection :motions, extend: Billit::MotionRepresenter, class: lambda { |x, *| Object.const_defined?("Motion") ? Motion : BillitMotion }
78
78
 
79
79
  link :self do
80
80
  bill_url(self.uid)
@@ -35,7 +35,7 @@ module Billit
35
35
  property :result
36
36
  property :session
37
37
 
38
- collection :vote_events, extend: Billit::VoteEventRepresenter, class: lambda { |x, *| Object.const_defined?("VoteEvent") ? VoteEvent : BillitVoteEvent }, parse_strategy: :sync
38
+ collection :vote_events, extend: Billit::VoteEventRepresenter, class: lambda { |x, *| Object.const_defined?("VoteEvent") ? VoteEvent : BillitVoteEvent }
39
39
 
40
40
  link :self do
41
41
  motion_url(self.id)
@@ -29,7 +29,7 @@ module Billit
29
29
  property :start_date
30
30
  property :end_date
31
31
 
32
- collection :counts, extend: Billit::CountRepresenter, class: lambda { |x, *| Object.const_defined?("Count") ? Count : BillitCount }, parse_strategy: :sync
33
- collection :votes, extend: Billit::VoteRepresenter, class: lambda { |x, *| Object.const_defined?("Vote") ? Vote : BillitVote }, parse_strategy: :sync
32
+ collection :counts, extend: Billit::CountRepresenter, class: lambda { |x, *| Object.const_defined?("Count") ? Count : BillitCount }
33
+ collection :votes, extend: Billit::VoteRepresenter, class: lambda { |x, *| Object.const_defined?("Vote") ? Vote : BillitVote }
34
34
  end
35
35
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: billit_representers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.6
4
+ version: 0.9.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcel Augsburger
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-13 00:00:00.000000000 Z
11
+ date: 2014-06-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: roar