popit_representers 0.0.0 → 0.0.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: e7f483b03db4b535312a1e73b890fa2114db50dc
4
- data.tar.gz: 2cf19d1863bc1151c59b700139e8946852083a98
3
+ metadata.gz: f338aab78fd10de399cccf3b73adf62c22ef8bf6
4
+ data.tar.gz: d728cd6d166d8b2ddd667329d57ce4afaa23ea3b
5
5
  SHA512:
6
- metadata.gz: 4c2295bb90081bea7b2611b37c53105342bc252a0796f00d16c378f3b8e0eac5e9b615d1ccfe19aec73ea0e1f082aae1e3fd581da11d03b5a33013d1509ab729
7
- data.tar.gz: cf6c3a99d39b67618eaa31a73323b19929f7dd24f1250bd1d1a9f2d330513ef977b541b7e08f3d6bc13efa8f169d756406deabaf5367df347f33028864b12cee
6
+ metadata.gz: 8b60e508fc36489d7b073d936f2c70d194e82680d5f5a7554629a056c30bc3d6a36a9a58a7fb3b247b028d7c48f0c416b9c55acfc61ed36a44c660497044a9a6
7
+ data.tar.gz: 369e394eff190fe3d05a4961539185a9979d82a8567374e59befe6ff4b94e54192c8248ab3392f55983bf75254583d2f4e2f39504d4cb529f13fc7ea8f3b1140
@@ -0,0 +1,29 @@
1
+ # require 'roar/representer/json/hal'
2
+ require 'roar/representer/feature/hypermedia'
3
+ require 'roar/representer/feature/http_verbs'
4
+ require 'roar/representer/feature/client'
5
+ require 'active_model'
6
+
7
+ module Popit
8
+ module PersonRepresenter
9
+ # include Roar::Representer::JSON::HAL
10
+
11
+ module Initializer
12
+ def initialize
13
+ extend Popit::PersonRepresenter
14
+ extend Roar::Representer::Feature::Client
15
+ super
16
+ end
17
+ end
18
+
19
+ def self.included(klass)
20
+ klass.send :prepend, Initializer
21
+ klass.send :include, Roar::Representer::Feature::HttpVerbs
22
+ end
23
+
24
+ self.representation_wrap= :result
25
+
26
+ property :name
27
+
28
+ end
29
+ end
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |gem|
2
2
  gem.name = 'popit_representers'
3
- gem.version = '0.0.0'
3
+ gem.version = '0.0.2'
4
4
  gem.date = '2013-12-09'
5
5
  gem.summary = "Representers for the pop-it module of the Poplus project."
6
6
  gem.description = "Representers for the pop-it module of the Poplus project. These provide object-like access to remote data, using Resource-Oriented Architectures in Ruby (ROAR)."
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: popit_representers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcel Augsburger
@@ -50,6 +50,7 @@ files:
50
50
  - LICENSE
51
51
  - README.md
52
52
  - lib/popit_representers/popit_representers.rb
53
+ - lib/popit_representers/representers/person_representer.rb
53
54
  - popit_representers.gemspec
54
55
  homepage: https://github.com/ciudadanointeligente/billit_representers
55
56
  licenses: