billit_representers 0.0.1 → 0.0.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.
- metadata +2 -7
- data/.gitignore +0 -16
- data/README.md +0 -4
- data/billit_representers.gemspec +0 -14
- data/lib/billit_representers/bill_representer.rb +0 -30
- data/lib/billit_representers.rb +0 -2
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: billit_representers
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.2
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -34,12 +34,7 @@ email: devteam@ciudadanointeligente.org
|
|
|
34
34
|
executables: []
|
|
35
35
|
extensions: []
|
|
36
36
|
extra_rdoc_files: []
|
|
37
|
-
files:
|
|
38
|
-
- .gitignore
|
|
39
|
-
- README.md
|
|
40
|
-
- billit_representers.gemspec
|
|
41
|
-
- lib/billit_representers.rb
|
|
42
|
-
- lib/billit_representers/bill_representer.rb
|
|
37
|
+
files: []
|
|
43
38
|
homepage: https://github.com/ciudadanointeligente/billit_representers
|
|
44
39
|
licenses: []
|
|
45
40
|
post_install_message:
|
data/.gitignore
DELETED
data/README.md
DELETED
data/billit_representers.gemspec
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
Gem::Specification.new do |gem|
|
|
2
|
-
gem.name = 'billit_representers'
|
|
3
|
-
gem.version = '0.0.1'
|
|
4
|
-
gem.date = '2013-04-01'
|
|
5
|
-
gem.summary = "Representers for the bill-it module of the Poplus project."
|
|
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
|
-
gem.authors = ["Marcel Augsburger"]
|
|
8
|
-
gem.email = 'devteam@ciudadanointeligente.org'
|
|
9
|
-
gem.homepage = 'https://github.com/ciudadanointeligente/billit_representers'
|
|
10
|
-
|
|
11
|
-
gem.files = `git ls-files`.split("\n")
|
|
12
|
-
|
|
13
|
-
gem.add_runtime_dependency "roar"
|
|
14
|
-
end
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
require 'roar/representer/json'
|
|
2
|
-
require 'roar/representer/feature/hypermedia'
|
|
3
|
-
|
|
4
|
-
module Billit
|
|
5
|
-
module BillRepresenter
|
|
6
|
-
include Roar::Representer::JSON::HAL
|
|
7
|
-
|
|
8
|
-
property :uid
|
|
9
|
-
property :title
|
|
10
|
-
property :summary
|
|
11
|
-
property :tags
|
|
12
|
-
property :matters
|
|
13
|
-
property :stage
|
|
14
|
-
property :creation_date
|
|
15
|
-
property :publish_date
|
|
16
|
-
property :authors
|
|
17
|
-
property :origin_chamber
|
|
18
|
-
property :current_urgency
|
|
19
|
-
property :table_history
|
|
20
|
-
property :link_law
|
|
21
|
-
|
|
22
|
-
property :events
|
|
23
|
-
property :urgencies
|
|
24
|
-
property :reports
|
|
25
|
-
|
|
26
|
-
link :self do
|
|
27
|
-
bill_url(self.uid)
|
|
28
|
-
end
|
|
29
|
-
end
|
|
30
|
-
end
|
data/lib/billit_representers.rb
DELETED