popit_representers 0.0.3 → 0.0.4
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: 385402da73d547ba262939307cd967682cefeb7a
|
4
|
+
data.tar.gz: 01ccbe539f8c4cd58191afefa70578718a7fe94b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e73ca3342d48ba41e1b1d697ee82df26f5c7cc6b3a9c44e462c5149ca2e6861d43fdbc3d34fcfb632311744f32192cfe8bbedcc335269b51fc12f894a23d0d2
|
7
|
+
data.tar.gz: da6f839e79050c3fbc6f2c73a83ab880d9c85b65fe9561736f7846f22da79f60aae928314ea5876cdcf8eada17d7ed516b49142664bce72e9d851f144a525bbd
|
@@ -1,4 +1,5 @@
|
|
1
|
-
require 'roar/representer
|
1
|
+
require 'roar/representer'
|
2
|
+
require 'roar/representer/json'
|
2
3
|
require 'roar/representer/feature/hypermedia'
|
3
4
|
require 'roar/representer/feature/http_verbs'
|
4
5
|
require 'roar/representer/feature/client'
|
@@ -6,7 +7,6 @@ require 'active_model'
|
|
6
7
|
|
7
8
|
module Popit
|
8
9
|
module PersonRepresenter
|
9
|
-
# include Roar::Representer::JSON::HAL
|
10
10
|
include Roar::Representer
|
11
11
|
|
12
12
|
module Initializer
|
@@ -19,6 +19,7 @@ module Popit
|
|
19
19
|
|
20
20
|
def self.included(klass)
|
21
21
|
klass.send :prepend, Initializer
|
22
|
+
klass.send :include, Roar::Representer::JSON
|
22
23
|
klass.send :include, Roar::Representer::Feature::HttpVerbs
|
23
24
|
end
|
24
25
|
|
data/popit_representers.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |gem|
|
2
2
|
gem.name = 'popit_representers'
|
3
|
-
gem.version = '0.0.
|
3
|
+
gem.version = '0.0.4'
|
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)."
|