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: 3697a4fee7565b42776c24bd09f497e02e794458
4
- data.tar.gz: cdccaa0c1474d61c68622b364c1146fe28a853ca
3
+ metadata.gz: 385402da73d547ba262939307cd967682cefeb7a
4
+ data.tar.gz: 01ccbe539f8c4cd58191afefa70578718a7fe94b
5
5
  SHA512:
6
- metadata.gz: 2f64be0f4c0654d70dbabbbfd4305043cdff8196b8050d0ed47558944160fc75448ac9b2d80ed148c8b89f800eb4dc25314fd7cfebdc2c41b1508838d4197c58
7
- data.tar.gz: c8eac45afea2fe1571dee418fbf3b6620d563d8761074ca6a13cbfa462d9207afd063d70b49a0bad13f6cec8fc1d930f81e7d3c87e35afd0a6db002103c59f4a
6
+ metadata.gz: 9e73ca3342d48ba41e1b1d697ee82df26f5c7cc6b3a9c44e462c5149ca2e6861d43fdbc3d34fcfb632311744f32192cfe8bbedcc335269b51fc12f894a23d0d2
7
+ data.tar.gz: da6f839e79050c3fbc6f2c73a83ab880d9c85b65fe9561736f7846f22da79f60aae928314ea5876cdcf8eada17d7ed516b49142664bce72e9d851f144a525bbd
@@ -1,4 +1,5 @@
1
- require 'roar/representer/json/hal'
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
 
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |gem|
2
2
  gem.name = 'popit_representers'
3
- gem.version = '0.0.3'
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)."
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.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcel Augsburger