billit_representers 0.9.1 → 0.9.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1baea2b8fa55cf3b883fcd4b676d74ba2f18e461
|
4
|
+
data.tar.gz: 4c90515c6910f46d865af72ba7364d85efd63e98
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6bef360373f93896fa226441c1a3f6082b6aefd0ea4c5a19183ed1af991c93502bc3c9f2954aee7ca2c94466cf9cfe9bacce36c17d75e017c2e445f95bb8b51b
|
7
|
+
data.tar.gz: 2d7a0f09ab1ad99dabaf1eb9a35fb4b43b5bc5fffda9cfd97998b95115622777809febb2d3bd6f172b3e143b6ba162e7f8d78ea5ad42a62dc155c63a7664303a
|
data/billit_representers.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |gem|
|
2
2
|
gem.name = 'billit_representers'
|
3
|
-
gem.version = '0.9.
|
4
|
-
gem.date = '2014-04-
|
3
|
+
gem.version = '0.9.2'
|
4
|
+
gem.date = '2014-04-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"]
|
@@ -57,6 +57,7 @@ module Billit
|
|
57
57
|
property :status
|
58
58
|
property :resulting_document
|
59
59
|
property :law_id, writeable: false
|
60
|
+
property :bill_draft_link
|
60
61
|
property :merged_bills
|
61
62
|
property :subject_areas
|
62
63
|
property :authors
|
@@ -64,13 +65,13 @@ module Billit
|
|
64
65
|
property :abstract
|
65
66
|
property :tags
|
66
67
|
|
67
|
-
collection :paperworks, extend: Billit::PaperworkRepresenter, class: lambda { |x, *|
|
68
|
-
collection :priorities, extend: Billit::PriorityRepresenter, class: lambda { |x, *|
|
69
|
-
collection :reports, extend: Billit::ReportRepresenter, class: lambda { |x, *|
|
70
|
-
collection :documents, extend: Billit::DocumentRepresenter, class: lambda { |x, *|
|
71
|
-
collection :directives, extend: Billit::DirectiveRepresenter, class: lambda { |x, *|
|
72
|
-
collection :remarks, extend: Billit::RemarkRepresenter, class: lambda { |x, *|
|
73
|
-
collection :revisions, extend: Billit::RevisionRepresenter, class: lambda { |x, *|
|
68
|
+
collection :paperworks, extend: Billit::PaperworkRepresenter, class: lambda { |x, *| Object.const_defined?("Paperwork") ? Paperwork : BillitPaperwork }, parse_strategy: :sync
|
69
|
+
collection :priorities, extend: Billit::PriorityRepresenter, class: lambda { |x, *| Object.const_defined?("Priority") ? Priority : BillitPriority }, parse_strategy: :sync
|
70
|
+
collection :reports, extend: Billit::ReportRepresenter, class: lambda { |x, *| Object.const_defined?("Report") ? Report : BillitReport }, parse_strategy: :sync
|
71
|
+
collection :documents, extend: Billit::DocumentRepresenter, class: lambda { |x, *| Object.const_defined?("Document") ? Document : BillitDocument }, parse_strategy: :sync
|
72
|
+
collection :directives, extend: Billit::DirectiveRepresenter, class: lambda { |x, *| Object.const_defined?("Directive") ? Directive : BillitDirective }, parse_strategy: :sync
|
73
|
+
collection :remarks, extend: Billit::RemarkRepresenter, class: lambda { |x, *| Object.const_defined?("Remark") ? Remark : BillitRemark }, parse_strategy: :sync
|
74
|
+
collection :revisions, extend: Billit::RevisionRepresenter, class: lambda { |x, *| Object.const_defined?("Revision") ? Revision : BillitRevision }, parse_strategy: :sync
|
74
75
|
|
75
76
|
link :self do
|
76
77
|
bill_url(self.uid)
|
@@ -84,10 +85,6 @@ module Billit
|
|
84
85
|
self.law_web_link
|
85
86
|
end
|
86
87
|
|
87
|
-
link :bill_draft do
|
88
|
-
self.bill_draft_link
|
89
|
-
end
|
90
|
-
|
91
88
|
@@subject_areas_valid_values =
|
92
89
|
[
|
93
90
|
'Defensa',
|
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.
|
4
|
+
version: 0.9.2
|
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-04-
|
11
|
+
date: 2014-04-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: roar
|