diff -Nru ruby-diaspora-federation-json-schema-0.2.4/debian/changelog ruby-diaspora-federation-json-schema-0.2.5/debian/changelog --- ruby-diaspora-federation-json-schema-0.2.4/debian/changelog 2018-03-23 21:58:31.000000000 +0000 +++ ruby-diaspora-federation-json-schema-0.2.5/debian/changelog 2019-01-03 14:25:05.000000000 +0000 @@ -1,3 +1,17 @@ +ruby-diaspora-federation-json-schema (0.2.5-1) unstable; urgency=medium + + * Team upload + + [ Abraham Raji ] + * New upstream version 0.2.5 + * Bump Standards-Version to 4.3.0 + * Bump debhelpher compatibility to 11 + + [ Utkarsh Gupta ] + * Move debian/watch to gemwatch.debian.net + + -- Utkarsh Gupta Thu, 03 Jan 2019 19:55:05 +0530 + ruby-diaspora-federation-json-schema (0.2.4-1) unstable; urgency=medium * New upstream release diff -Nru ruby-diaspora-federation-json-schema-0.2.4/debian/compat ruby-diaspora-federation-json-schema-0.2.5/debian/compat --- ruby-diaspora-federation-json-schema-0.2.4/debian/compat 2018-03-23 21:58:31.000000000 +0000 +++ ruby-diaspora-federation-json-schema-0.2.5/debian/compat 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -11 diff -Nru ruby-diaspora-federation-json-schema-0.2.4/debian/control ruby-diaspora-federation-json-schema-0.2.5/debian/control --- ruby-diaspora-federation-json-schema-0.2.4/debian/control 2018-03-23 21:58:31.000000000 +0000 +++ ruby-diaspora-federation-json-schema-0.2.5/debian/control 2019-01-03 14:25:05.000000000 +0000 @@ -3,9 +3,9 @@ Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: Kartik Kulkarni , Joseph Nuthalapati -Build-Depends: debhelper (>= 11~), +Build-Depends: debhelper-compat (= 11), gem2deb -Standards-Version: 4.1.3 +Standards-Version: 4.3.0 Vcs-Git: https://salsa.debian.org/ruby-team/ruby-diaspora-federation-json-schema.git Vcs-Browser: https://salsa.debian.org/ruby-team/ruby-diaspora-federation-json-schema Homepage: https://github.com/diaspora/diaspora_federation @@ -20,4 +20,7 @@ ${shlibs:Depends} Description: diaspora federation json schemas This gem provides JSON schemas (currently one schema) for validating JSON - serialized federation objects. + serialized federation objects. It provides the functionality for + de-/serialization and de-/encryption of Entities in the protocols used for + communication among the various installations of diaspora. It's also a + rails engine that adds the diaspora federation protocol to a rails app. diff -Nru ruby-diaspora-federation-json-schema-0.2.4/debian/watch ruby-diaspora-federation-json-schema-0.2.5/debian/watch --- ruby-diaspora-federation-json-schema-0.2.4/debian/watch 2018-03-23 21:58:31.000000000 +0000 +++ ruby-diaspora-federation-json-schema-0.2.5/debian/watch 2019-01-03 14:25:05.000000000 +0000 @@ -1,2 +1,2 @@ -version=3 -https://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/diaspora_federation-json_schema .*/diaspora_federation-json_schema-(.*).tar.gz +version=4 +https://gemwatch.debian.net/diaspora_federation-json_schema .*/diaspora_federation-json_schema-(.*).tar.gz diff -Nru ruby-diaspora-federation-json-schema-0.2.4/diaspora_federation-json_schema.gemspec ruby-diaspora-federation-json-schema-0.2.5/diaspora_federation-json_schema.gemspec --- ruby-diaspora-federation-json-schema-0.2.4/diaspora_federation-json_schema.gemspec 2018-03-23 21:46:05.000000000 +0000 +++ ruby-diaspora-federation-json-schema-0.2.5/diaspora_federation-json_schema.gemspec 2018-12-30 14:32:31.000000000 +0000 @@ -2,29 +2,21 @@ # This file has been automatically generated by gem2tgz # ######################################################### # -*- encoding: utf-8 -*- +# stub: diaspora_federation-json_schema 0.2.5 ruby lib Gem::Specification.new do |s| - s.name = "diaspora_federation-json_schema" - s.version = "0.2.4" + s.name = "diaspora_federation-json_schema".freeze + s.version = "0.2.5" - s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= - s.authors = ["Benjamin Neff", "cmrd Senya"] - s.date = "2018-02-18" - s.description = "This gem provides JSON schemas (currently one schema) for validating JSON serialized federation objects." - s.email = ["benjamin@coding4.coffee", "senya@riseup.net"] - s.files = ["lib/diaspora_federation/schemas.rb", "lib/diaspora_federation/schemas/federation_entities.json"] - s.homepage = "https://github.com/diaspora/diaspora_federation" - s.licenses = ["AGPL-3.0"] - s.require_paths = ["lib"] - s.rubygems_version = "1.8.23" - s.summary = "diaspora* federation json schemas" - - if s.respond_to? :specification_version then - s.specification_version = 4 - - if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then - else - end - else - end + s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version= + s.require_paths = ["lib".freeze] + s.authors = ["Benjamin Neff".freeze, "cmrd Senya".freeze] + s.date = "2018-10-05" + s.description = "This gem provides JSON schemas (currently one schema) for validating JSON serialized federation objects.".freeze + s.email = ["benjamin@coding4.coffee".freeze, "senya@riseup.net".freeze] + s.files = ["lib/diaspora_federation/schemas.rb".freeze, "lib/diaspora_federation/schemas/federation_entities.json".freeze] + s.homepage = "https://github.com/diaspora/diaspora_federation".freeze + s.licenses = ["AGPL-3.0".freeze] + s.rubygems_version = "2.5.2.1".freeze + s.summary = "diaspora* federation json schemas".freeze end diff -Nru ruby-diaspora-federation-json-schema-0.2.4/lib/diaspora_federation/schemas/federation_entities.json ruby-diaspora-federation-json-schema-0.2.5/lib/diaspora_federation/schemas/federation_entities.json --- ruby-diaspora-federation-json-schema-0.2.4/lib/diaspora_federation/schemas/federation_entities.json 2018-03-23 21:46:03.000000000 +0000 +++ ruby-diaspora-federation-json-schema-0.2.5/lib/diaspora_federation/schemas/federation_entities.json 2018-12-30 14:32:31.000000000 +0000 @@ -10,6 +10,7 @@ {"$ref": "#/definitions/reshare"}, {"$ref": "#/definitions/profile"}, {"$ref": "#/definitions/location"}, + {"$ref": "#/definitions/embed"}, {"$ref": "#/definitions/photo"}, {"$ref": "#/definitions/poll"}, {"$ref": "#/definitions/poll_answer"} @@ -101,7 +102,7 @@ "positive": { "type": "boolean" }, "parent_type": { "enum": ["Post", "Comment"] } }, - "required": ["positive"] + "required": ["positive", "parent_type"] } } } @@ -164,11 +165,11 @@ "required": [ "guid", "public", "created_at" ] - }, - "required": [ - "entity_type", "entity_data" - ] - } + } + }, + "required": [ + "entity_type", "entity_data" + ] }, "status_message": { @@ -231,10 +232,10 @@ "root_author": {"type": "string"}, "root_guid": {"$ref": "#/definitions/guid"} }, - "required": ["author", "guid", "created_at", "root_author", "root_guid"] - }, - "required": ["entity_type", "entity_data"] - } + "required": ["author", "guid", "created_at"] + } + }, + "required": ["entity_type", "entity_data"] }, "profile": { @@ -247,6 +248,7 @@ "entity_data": { "type": "object", "properties": { + "full_name": { "type": ["string", "null"] }, "first_name": { "type": ["string", "null"] }, "last_name": { "type": ["string", "null"] }, "gender": { "type": ["string", "null"] }, @@ -372,6 +374,26 @@ ] } } + }, + + "embed": { + "type": "object", + "properties": { + "entity_type": { + "type": "string", + "pattern": "^embed$" + }, + "entity_data": { + "type": "object", + "properties": { + "url": { "type": ["string", "null"] }, + "title": { "type": ["string", "null"] }, + "description": { "type": ["string", "null"] }, + "image": { "type": ["string", "null"] }, + "nothing": { "type": "boolean" } + } + } + } } } }