billit_representers 0.8.10 → 0.8.11

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: b361ad9a97a05590e018c598149d7b7c0817c1c6
4
- data.tar.gz: 14e1e3f8eaa497dea9d18dd7b6f115dcf093385a
3
+ metadata.gz: 7fa168063192d657f1c4320652323fb1d23807db
4
+ data.tar.gz: dcf1748a31de4e85a0d5c4a8ccad493ffc185b7b
5
5
  SHA512:
6
- metadata.gz: 671ceaff979a70f3c0fc44c9af82e3b8a0e88fe3cc2bc4b6b3055a9337031c63a11eac24f77aab01b2c3ec00f87a25c2b2f8a9d941c01bb8915eedd03af5c827
7
- data.tar.gz: 6393c125ae813898e3a84ec1e087a64aa07dcadd890a0eb8e1aa0a0ad3c32f27ddc88c24abb2a5c9250a945a171fbcdbab9e9d7cc5f3ee945aa41ad42b204bb0
6
+ metadata.gz: 4968a1d5dbf5cdc1c2ac60e5779df1c2fba1dcbedf6fb1629d84f4d8c976d1398a9500939180b9fd600991f117793d5b546a6c38a0f0c134f46f6d512164d774
7
+ data.tar.gz: aae51533d70d6156abe2325e5faa5f395d3da0332119641e6502aaa0199e04f26c89d498f16b775fa8a4f63f1b2c397b26011126d59a50b94a39da59e8677c22
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |gem|
2
2
  gem.name = 'billit_representers'
3
- gem.version = '0.8.10'
4
- gem.date = '2014-03-18'
3
+ gem.version = '0.8.11'
4
+ gem.date = '2014-03-19'
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"]
@@ -46,17 +46,17 @@ module Billit
46
46
  end
47
47
 
48
48
  property :uid
49
- property :short_uid
49
+ property :short_uid, writeable: false
50
50
  property :title
51
51
  property :creation_date
52
52
  property :source
53
53
  property :initial_chamber
54
- property :current_priority
54
+ property :current_priority, writeable: false
55
55
  property :stage
56
56
  property :sub_stage
57
57
  property :status
58
58
  property :resulting_document
59
- property :law_id
59
+ property :law_id, writeable: false
60
60
  property :merged_bills
61
61
  property :subject_areas
62
62
  property :authors
@@ -64,13 +64,13 @@ module Billit
64
64
  property :abstract
65
65
  property :tags
66
66
 
67
- collection :paperworks, extend: Billit::PaperworkRepresenter, class: Billit::Paperwork
68
- collection :priorities, extend: Billit::PriorityRepresenter, class: Billit::Priority
69
- collection :reports, extend: Billit::ReportRepresenter, class: Billit::Report
70
- collection :documents, extend: Billit::DocumentRepresenter, class: Billit::Document
71
- collection :directives, extend: Billit::DirectiveRepresenter, class: Billit::Directive
72
- collection :remarks, extend: Billit::RemarkRepresenter, class: Billit::Remark
73
- collection :revisions, extend: Billit::RevisionRepresenter, class: Billit::Revision
67
+ collection :paperworks, extend: Billit::PaperworkRepresenter, class: Billit::Paperwork, parse_strategy: :sync
68
+ collection :priorities, extend: Billit::PriorityRepresenter, class: Billit::Priority, parse_strategy: :sync
69
+ collection :reports, extend: Billit::ReportRepresenter, class: Billit::Report, parse_strategy: :sync
70
+ collection :documents, extend: Billit::DocumentRepresenter, class: Billit::Document, parse_strategy: :sync
71
+ collection :directives, extend: Billit::DirectiveRepresenter, class: Billit::Directive, parse_strategy: :sync
72
+ collection :remarks, extend: Billit::RemarkRepresenter, class: Billit::Remark, parse_strategy: :sync
73
+ collection :revisions, extend: Billit::RevisionRepresenter, class: Billit::Revision, parse_strategy: :sync
74
74
 
75
75
  link :self do
76
76
  bill_url(self.uid)
@@ -39,17 +39,17 @@ module Billit
39
39
  end
40
40
 
41
41
  property :uid
42
- property :short_uid
42
+ property :short_uid, writeable: false
43
43
  property :title
44
44
  property :creation_date
45
45
  property :source
46
46
  property :initial_chamber
47
- property :current_priority
47
+ property :current_priority, writeable: false
48
48
  property :stage
49
49
  property :sub_stage
50
50
  property :status
51
51
  property :resulting_document
52
- property :law_id
52
+ property :law_id, writeable: false
53
53
  property :merged_bills
54
54
  property :subject_areas
55
55
  property :authors
@@ -57,13 +57,13 @@ module Billit
57
57
  property :abstract
58
58
  property :tags
59
59
 
60
- collection :paperworks, extend: PaperworkRepresenter, class: Paperwork
61
- collection :priorities, extend: PriorityRepresenter, class: Priority
62
- collection :reports, extend: ReportRepresenter, class: Report
63
- collection :documents, extend: DocumentRepresenter, class: Document
64
- collection :directives, extend: DirectiveRepresenter, class: Directive
65
- collection :remarks, extend: RemarkRepresenter, class: Remark
66
- collection :revisions, extend: RevisionRepresenter, class: Revision
60
+ collection :paperworks, extend: PaperworkRepresenter, class: Paperwork, parse_strategy: :sync
61
+ collection :priorities, extend: PriorityRepresenter, class: Priority, parse_strategy: :sync
62
+ collection :reports, extend: ReportRepresenter, class: Report, parse_strategy: :sync
63
+ collection :documents, extend: DocumentRepresenter, class: Document, parse_strategy: :sync
64
+ collection :directives, extend: DirectiveRepresenter, class: Directive, parse_strategy: :sync
65
+ collection :remarks, extend: RemarkRepresenter, class: Remark, parse_strategy: :sync
66
+ collection :revisions, extend: RevisionRepresenter, class: Revision, parse_strategy: :sync
67
67
 
68
68
  link :self do
69
69
  bill_url(self.uid)
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.8.10
4
+ version: 0.8.11
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-03-18 00:00:00.000000000 Z
11
+ date: 2014-03-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: roar