Commit b9065975 authored by Bruno FS's avatar Bruno FS
Browse files

added 'followed' to collection_serializer attributes

parent e1193ca5
GIT
remote: git://github.com/mgiacomini/dspace-rest-client.git
revision: 2a21a990eb0a91bf93cdf71b1e465aaa1e8f3398
branch: master
specs:
dspace_rest_client (2.2.8)
activesupport (>= 4.2.0)
faraday (~> 0.9.2)
json (~> 1.8, >= 1.8.3)
net-http-persistent (~> 2.9, >= 2.9.4)
resource_kit (>= 0.1.4)
GIT
remote: git://github.com/rubysherpas/paranoia.git
revision: bd3383729c790bf09e488f84221eaaea27c6597e
......@@ -53,6 +65,8 @@ GEM
i18n (~> 0.7)
minitest (~> 5.1)
tzinfo (~> 1.1)
acts_as_list (0.9.2)
activerecord (>= 3.0)
addressable (2.3.8)
annotate (2.7.1)
activerecord (>= 3.2, < 6.0)
......@@ -178,12 +192,6 @@ GEM
dm-core (~> 1.2.0)
do_sqlite3 (0.10.17)
data_objects (= 0.10.17)
dspace_rest_client (2.2.8)
activesupport (>= 4.2.0)
faraday (~> 0.9.2)
json (~> 1.8, >= 1.8.3)
net-http-persistent (~> 2.9, >= 2.9.4)
resource_kit (>= 0.1.4)
elasticsearch (2.0.0)
elasticsearch-api (= 2.0.0)
elasticsearch-transport (= 2.0.0)
......@@ -375,8 +383,8 @@ GEM
parser (~> 2.3.1, >= 2.3.1.2)
rainbow (~> 2.0)
request_store (1.3.1)
resource_kit (0.1.5)
addressable (~> 2.3.6)
resource_kit (0.1.6)
addressable (>= 2.3.6, < 3.0.0)
responders (2.3.0)
railties (>= 4.2.0, < 5.1)
rmagick (2.16.0)
......@@ -501,6 +509,7 @@ PLATFORMS
DEPENDENCIES
active_model_serializers
activerecord-import
acts_as_list
annotate
bcrypt (~> 3.1.7)
better_errors
......@@ -514,7 +523,7 @@ DEPENDENCIES
derailed_benchmarks
devise
devise_token_auth
dspace_rest_client (= 2.2.8)
dspace_rest_client!
execjs
factory_girl_rails
faker
......@@ -563,4 +572,4 @@ DEPENDENCIES
whenever
BUNDLED WITH
1.12.5
1.13.6
......@@ -28,7 +28,7 @@ class CollectionSerializer < ActiveModel::Serializer
thumbs
end
attributes :id, :name, :created_at, :updated_at, :description, :privacy, :score, :likes_count, :liked, :reviewed, :complained, :review_average, :thumbnail, :items_thumbnails
attributes :id, :name, :created_at, :updated_at, :description, :privacy, :score, :likes_count, :liked, :reviewed, :followed, :complained, :review_average, :thumbnail, :items_thumbnails
belongs_to :owner
has_many :tags
......
......@@ -3,7 +3,7 @@ require 'dspace'
class DspaceService
# ID's of collections
TEST_COLLECTION = 4
TEST_COLLECTION = 5
PORTALMEC_COLLECTION = 3
BD_INT_OBJETOS_COLLECTION = 2
......
development:
host: mecdb3.c3sl.ufpr.br
port: 8443
login: admin
password: password
login: admin@mecdb3.c3sl.ufpr.br
password: admin
test:
host: portalmecdev.c3sl.ufpr.br
host: mecdb3.c3sl.ufpr.br
port: 8443
login: admin
password: password
login: admin@mecdb3.c3sl.ufpr.br
password: admin
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment