Skip to content

Commit 60844e1

Browse files
committed
Update URLs to use HTTPS, where possible.
1 parent 6b53732 commit 60844e1

29 files changed

+4303
-4306
lines changed

CONSTRAINED_BY.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ This file documents constraints imposed by `RDF::LDP`, `Rack:LDP` middleware, an
66
RDF Types
77
---------
88

9-
The `RDF::LDP` core does not set types for resources. Complying with [LDP 4.3.1.2](http://www.w3.org/TR/ldp/#h-ldprs-gen-atleast1rdftype) is left to the client (or the server implementer). Interaction models are expressed as Link headers, and the client may infer rdf:types in accordance with the specification.
9+
The `RDF::LDP` core does not set types for resources. Complying with [LDP 4.3.1.2](https://www.w3.org/TR/ldp/#h-ldprs-gen-atleast1rdftype) is left to the client (or the server implementer). Interaction models are expressed as Link headers, and the client may infer rdf:types in accordance with the specification.
1010

11-
Similarly, we do not enforce the recommendation of [LDP 5.2.1.3](http://www.w3.org/TR/ldp/#h-ldpc-nordfcontainertypes) for containers not to have type ` rdf:Bag`, `rdf:Seq` or `rdf:List`. This is left to the client (or server implementer) to manage.
11+
Similarly, we do not enforce the recommendation of [LDP 5.2.1.3](https://www.w3.org/TR/ldp/#h-ldpc-nordfcontainertypes) for containers not to have type ` rdf:Bag`, `rdf:Seq` or `rdf:List`. This is left to the client (or server implementer) to manage.
1212

1313
POST/PUT Requests
1414
------------------
@@ -47,7 +47,7 @@ For Indirect Contianers with an `ldp:insertedContentRelation` other than `ldp:Me
4747
Named Graphs
4848
-------------
4949

50-
Serializations supporting quads are allowed in POST and PUT requests. Graph names are ignored, and the file is treated as a single graph representing the resource. This behavior is seen as in compliance with [4.2.4.1](http://www.w3.org/TR/ldp/#h-ldpr-put-replaceall).
50+
Serializations supporting quads are allowed in POST and PUT requests. Graph names are ignored, and the file is treated as a single graph representing the resource. This behavior is seen as in compliance with [4.2.4.1](https://www.w3.org/TR/ldp/#h-ldpr-put-replaceall).
5151

5252
HTTP PATCH
5353
-----------
@@ -56,4 +56,4 @@ We currently support HTTP PATCH with the LDPatch and SPARQL Update formats. PATC
5656

5757
----
5858

59-
Linking to this document fulfills [Section 4.2.1.6](http://www.w3.org/TR/ldp#h-ldpr-gen-pubclireqs) of the LDP specification. Implementers of servers based on `RDF::LDP` and `Rack::LDP` are advised to create their own documents to clarify how these constraints effect their own services.
59+
Linking to this document fulfills [Section 4.2.1.6](https://www.w3.org/TR/ldp#h-ldpr-gen-pubclireqs) of the LDP specification. Implementers of servers based on `RDF::LDP` and `Rack::LDP` are advised to create their own documents to clarify how these constraints effect their own services.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ app = proc do |env|
8989
# The `Rack::LDP` middleware marhsalls the request to the resource, builds the response,
9090
# and handles conneg for RDF serializations (when the body is an `RDF::LDP::RDFSource`).
9191
#
92-
# @see http://www.rubydoc.info/github/rack/rack/master/file/SPEC#The_Response
92+
# @see https://www.rubydoc.info/github/rack/rack/master/file/SPEC#The_Response
9393
9494
[200, {}, RDF::LDP::Resource.find(RDF::URI(env['REQUEST_URI']), repository)]
9595
end

UNLICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
2121
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
2222
OTHER DEALINGS IN THE SOFTWARE.
2323

24-
For more information, please refer to <http://unlicense.org/>
24+
For more information, please refer to <https://unlicense.org/>

lib/rack/ldp.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ module Rack
3434
# # ...
3535
# end
3636
#
37-
# @see http://www.w3.org/TR/ldp/ the LDP specification
37+
# @see https://www.w3.org/TR/ldp/ the LDP specification
3838
module LDP
3939
##
4040
# Catches and handles RequestErrors thrown by RDF::LDP

lib/rdf/ldp.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ module RDF
1919
# Rack servers.
2020
#
2121
# @see RDF::LDP::Resource
22-
# @see http://www.w3.org/TR/ldp/ for the Linked Data platform specification
22+
# @see https://www.w3.org/TR/ldp/ for the Linked Data platform specification
2323
module LDP
2424
InteractionModel.register(RDF::LDP::RDFSource, default: true)
2525
InteractionModel.register(RDF::LDP::Container,

lib/rdf/ldp/container.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ module RDF::LDP
1111
# Containers will throw errors when attempting to edit them in conflict with
1212
# LDP's restrictions on changing containment triples.
1313
#
14-
# @see http://www.w3.org/TR/ldp/#dfn-linked-data-platform-container definition
14+
# @see https://www.w3.org/TR/ldp/#dfn-linked-data-platform-container definition
1515
# of LDP Container
1616
class Container < RDFSource
1717
##
1818
# @return [RDF::URI] uri with lexical representation
19-
# 'http://www.w3.org/ns/ldp#Container'
19+
# 'https://www.w3.org/ns/ldp#Container'
2020
def self.to_uri
2121
RDF::Vocab::LDP.Container
2222
end

lib/rdf/ldp/direct_container.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ module RDF::LDP
1515
# If more than one of either is given, all `#add/#remove` (POST/DELETE)
1616
# requests will fail.
1717
#
18-
# @see http://www.w3.org/TR/ldp/#dfn-linked-data-platform-direct-container
18+
# @see https://www.w3.org/TR/ldp/#dfn-linked-data-platform-direct-container
1919
# definition of LDP Direct Container
2020
class DirectContainer < Container
2121
MEMBER_URI = RDF::Vocab::LDP.member.freeze
@@ -98,7 +98,7 @@ def remove(resource, transaction = nil)
9898
# @raise [RDF::LDP::NotAcceptable] if multiple membership constant uris
9999
# exist
100100
#
101-
# @see http://www.w3.org/TR/ldp/#dfn-membership-triples
101+
# @see https://www.w3.org/TR/ldp/#dfn-membership-triples
102102
def membership_constant_uri
103103
statements = membership_resource_statements
104104
return statements.first.object if statements.count == 1
@@ -115,7 +115,7 @@ def membership_constant_uri
115115
#
116116
# @raise [RDF::LDP::NotAcceptable] if multiple membership predicates exist
117117
#
118-
# @see http://www.w3.org/TR/ldp/#dfn-membership-predicate
118+
# @see https://www.w3.org/TR/ldp/#dfn-membership-predicate
119119
def membership_predicate
120120
statements = member_relation_statements
121121
return statements.first.object if statements.count == 1
@@ -130,7 +130,7 @@ def membership_predicate
130130
# @return [RDF::URI] the membership triple representing membership of the
131131
# `resource` parameter in this container
132132
#
133-
# @see http://www.w3.org/TR/ldp/#dfn-membership-triples
133+
# @see https://www.w3.org/TR/ldp/#dfn-membership-triples
134134
def make_membership_triple(resource)
135135
predicate = membership_predicate
136136
return RDF::Statement(membership_constant_uri, predicate, resource) if

lib/rdf/ldp/indirect_container.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ module RDF::LDP
1313
# Acceptable`. LDP-NR's cannot be added since indirect membership is not well
1414
# defined for them, per _LDP 5.5.1.2_.
1515
#
16-
# @see http://www.w3.org/TR/ldp/#h-ldpic-indirectmbr for an explanation if
16+
# @see https://www.w3.org/TR/ldp/#h-ldpic-indirectmbr for an explanation if
1717
# indirect membership and limitiations surrounding LDP-NRs.
18-
# @see http://www.w3.org/TR/ldp/#dfn-linked-data-platform-indirect-container
18+
# @see https://www.w3.org/TR/ldp/#dfn-linked-data-platform-indirect-container
1919
# definition of LDP Indirect Container
2020
class IndirectContainer < DirectContainer
2121
INSERTED_CONTENT_REL_URI = RDF::Vocab::LDP.insertedContentRelation.freeze
@@ -61,7 +61,7 @@ def create(input, content_type)
6161
# @raise [RDF::LDP::NotAcceptable] if multiple inserted content relations
6262
# exist.
6363
#
64-
# @see http://www.w3.org/TR/ldp/#dfn-membership-triples
64+
# @see https://www.w3.org/TR/ldp/#dfn-membership-triples
6565
def inserted_content_relation
6666
statements = inserted_content_statements
6767
return statements.first.object if statements.count == 1

lib/rdf/ldp/non_rdf_source.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ module RDF::LDP
1515
# the resource itself is returned by `#description`.
1616
#
1717
# @see RDF::LDP::Resource
18-
# @see http://www.w3.org/TR/ldp/#dfn-linked-data-platform-non-rdf-source for
18+
# @see https://www.w3.org/TR/ldp/#dfn-linked-data-platform-non-rdf-source for
1919
# a definition of NonRDFSource in LDP
2020
class NonRDFSource < Resource
2121
attr_reader :storage
@@ -44,7 +44,7 @@ def initialize(subject_uri,
4444
# @return [RDF::URI] uri with lexical representation
4545
# 'http://www.w3.org/ns/ldp#NonRDFSource'
4646
#
47-
# @see http://www.w3.org/TR/ldp/#dfn-linked-data-platform-non-rdf-source
47+
# @see https://www.w3.org/TR/ldp/#dfn-linked-data-platform-non-rdf-source
4848
def self.to_uri
4949
RDF::Vocab::LDP.NonRDFSource
5050
end

lib/rdf/ldp/rdf_source.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@ module RDF::LDP
2525
# but MAY be absent from (or in conflict with) the representation of its
2626
# state in `#graph`.
2727
#
28-
# @see http://www.w3.org/TR/ldp/#dfn-linked-data-platform-rdf-source
28+
# @see https://www.w3.org/TR/ldp/#dfn-linked-data-platform-rdf-source
2929
# Definition of ldp:RDFSource in the LDP specification
3030
class RDFSource < Resource
3131
class << self
3232
##
3333
# @return [RDF::URI] uri with lexical representation
3434
# 'http://www.w3.org/ns/ldp#RDFSource'
3535
#
36-
# @see http://www.w3.org/TR/ldp/#dfn-linked-data-platform-rdf-source
36+
# @see https://www.w3.org/TR/ldp/#dfn-linked-data-platform-rdf-source
3737
def to_uri
3838
RDF::Vocab::LDP.RDFSource
3939
end
@@ -241,7 +241,7 @@ def check_precondition!(env)
241241
#
242242
# @raise [RDF::LDP::UnsupportedMediaType] if no appropriate reader is found
243243
#
244-
# @see http://www.rubydoc.info/github/rack/rack/file/SPEC#The_Input_Stream
244+
# @see https://www.rubydoc.info/github/rack/rack/file/SPEC#The_Input_Stream
245245
# Documentation on input streams in the Rack SPEC
246246
def parse_graph(input, content_type)
247247
reader = RDF::Reader.for(content_type: content_type.to_s)

0 commit comments

Comments
 (0)