Skip to content

Commit 8f48054

Browse files
committed
Normalize URLs to HTTPS, where possible.
1 parent 614a263 commit 8f48054

8 files changed

Lines changed: 30 additions & 31 deletions

File tree

CONTRIBUTING.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Community contributions are essential for keeping Ruby RDF great. We want to kee
66

77
This repository uses [Git Flow](https://github.com/nvie/gitflow) to manage development and release activity. All submissions _must_ be on a feature branch based on the _develop_ branch to ease staging and integration.
88

9-
* create or respond to an issue on the [Github Repository](http://github.com/ruby-rdf/rdf-spec/issues)
9+
* create or respond to an issue on the [Github Repository](https://github.com/ruby-rdf/rdf-spec/issues)
1010
* Fork and clone the repo:
1111
`git clone git@github.com:your-username/rdf-spec.git`
1212
* Install bundle:
@@ -30,7 +30,7 @@ This repository uses [Git Flow](https://github.com/nvie/gitflow) to manage devel
3030
of thumb, additions larger than about 15 lines of code), we need an
3131
explicit [public domain dedication][PDD] on record from you.
3232

33-
[YARD]: http://yardoc.org/
34-
[YARD-GS]: http://rubydoc.info/docs/yard/file/docs/GettingStarted.md
35-
[PDD]: http://lists.w3.org/Archives/Public/public-rdf-ruby/2010May/0013.html
33+
[YARD]: https://yardoc.org/
34+
[YARD-GS]: https://rubydoc.info/docs/yard/file/docs/GettingStarted.md
35+
[PDD]: https://lists.w3.org/Archives/Public/public-rdf-ruby/2010May/0013.html
3636
[pr]: https://github.com/ruby-rdf/rdf-spec/compare/

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
This is an [RDF.rb][] extension that provides RDF-specific [RSpec][] matchers
44
and shared examples for Ruby projects that use RDF.rb and RSpec.
55

6-
* <http://github.com/ruby-rdf/rdf-spec>
6+
* <https://github.com/ruby-rdf/rdf-spec>
77

8-
[![Gem Version](https://badge.fury.io/rb/rdf-spec.png)](http://badge.fury.io/rb/rdf-spec)
9-
[![Build Status](https://travis-ci.org/ruby-rdf/rdf-spec.png?branch=master)](http://travis-ci.org/ruby-rdf/rdf-spec)
8+
[![Gem Version](https://badge.fury.io/rb/rdf-spec.png)](https://badge.fury.io/rb/rdf-spec)
9+
[![Build Status](https://travis-ci.org/ruby-rdf/rdf-spec.png?branch=master)](https://travis-ci.org/ruby-rdf/rdf-spec)
1010
[![Coverage Status](https://coveralls.io/repos/ruby-rdf/rdf-spec/badge.svg)](https://coveralls.io/r/ruby-rdf/rdf-spec)
1111

1212
## Documentation
@@ -50,17 +50,17 @@ To get a local working copy of the development repository, do:
5050
Alternatively, download the latest development version as a tarball as
5151
follows:
5252

53-
% wget http://github.com/ruby-rdf/rdf-spec/tarball/master
53+
% wget https://github.com/ruby-rdf/rdf-spec/tarball/master
5454

5555
## Authors
5656

57-
* [Arto Bendiken](http://github.com/artob) - <http://ar.to/>
58-
* [Ben Lavender](http://github.com/bhuga) - <http://bhuga.net/>
59-
* [Gregg Kellogg](http://github.com/gkellogg) - <http://greggkellogg.net/>
57+
* [Arto Bendiken](https://github.com/artob) - <https://ar.to/>
58+
* [Ben Lavender](https://github.com/bhuga) - <https://bhuga.net/>
59+
* [Gregg Kellogg](https://github.com/gkellogg) - <https://greggkellogg.net/>
6060

6161
## Contributors
6262

63-
* [John Fieber](http://github.com/jfieber) - <http://github.com/jfieber>
63+
* [John Fieber](https://github.com/jfieber) - <https://github.com/jfieber>
6464
* [Tom Johnson](https://github.com/no-reply) - <https://github.com/no-reply>
6565

6666
## Contributing
@@ -82,9 +82,9 @@ License
8282
-------
8383

8484
This is free and unencumbered public domain software. For more information,
85-
see <http://unlicense.org/> or the accompanying {file:UNLICENSE} file.
85+
see <https://unlicense.org/> or the accompanying {file:UNLICENSE} file.
8686

8787
[RDF.rb]: https://rubygems.org/gems/rdf
88-
[RSpec]: http://rspec.info/
89-
[RubySpec]: http://rubyspec.org/wiki/rubyspec/Style_Guide
90-
[PDD]: http://lists.w3.org/Archives/Public/public-rdf-ruby/2010May/0013.html
88+
[RSpec]: https://rspec.info/
89+
[RubySpec]: https://rubyspec.org/wiki/rubyspec/Style_Guide
90+
[PDD]: https://lists.w3.org/Archives/Public/public-rdf-ruby/2010May/0013.html

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/>

etc/doap.nt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
<https://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#programming-language> "Ruby" .
44
<https://rubygems.org/gems/rdf> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://usefulinc.com/ns/doap#Project> .
55
<https://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#blog> <https://ar.to/> .
6-
<https://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#blog> <http://blog.datagraph.org/> .
76
<https://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#download-page> <https://rubygems.org/gems/rdf/> .
87
<https://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#documenter> <https://bhuga.net/#ben> .
98
<https://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#documenter> <https://ar.to/#self> .

etc/quads.nq

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
<https://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#programming-language> "Ruby" .
44
<https://rubygems.org/gems/rdf> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://usefulinc.com/ns/doap#Project> .
55
<https://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#blog> <https://ar.to/> .
6-
<https://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#blog> <http://blog.datagraph.org/> .
76
<https://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#download-page> <https://rubygems.org/gems/rdf/> .
87
<https://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#documenter> <https://bhuga.net/#ben> .
98
<https://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#documenter> <https://ar.to/#self> .

etc/triples.nt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
<https://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#programming-language> "Ruby" .
44
<https://rubygems.org/gems/rdf> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://usefulinc.com/ns/doap#Project> .
55
<https://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#blog> <https://ar.to/> .
6-
<https://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#blog> <http://blog.datagraph.org/> .
76
<https://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#download-page> <https://rubygems.org/gems/rdf/> .
87
<https://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#documenter> <https://bhuga.net/#ben> .
98
<https://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#documenter> <https://ar.to/#self> .

lib/rdf/spec.rb

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ module RDF
4444
# end
4545
#
4646
# @see https://rubygems.org/gems/rdf
47-
# @see http://rspec.info/
47+
# @see https://rspec.info/
4848
#
49-
# @author [Arto Bendiken](http://ar.to/)
50-
# @author [Ben Lavender](http://bhuga.net/)
49+
# @author [Arto Bendiken](https://ar.to/)
50+
# @author [Ben Lavender](https://bhuga.net/)
5151
module Spec
5252
autoload :Matchers, 'rdf/spec/matchers'
5353
autoload :VERSION, 'rdf/spec/version'
@@ -76,13 +76,15 @@ def self.triples
7676
require 'logger'
7777
def self.logger
7878
logger = Logger.new(StringIO.new)
79-
def logger.clear
80-
@logdev.instance_variable_set(:@dev, StringIO.new)
81-
end
82-
def logger.to_s
83-
dev = @logdev.instance_variable_get(:@dev)
84-
dev.rewind
85-
dev.read
79+
logger.instance_eval do
80+
def clear
81+
@logdev.instance_variable_set(:@dev, StringIO.new)
82+
end
83+
def to_s
84+
dev = @logdev.instance_variable_get(:@dev)
85+
dev.rewind
86+
dev.read
87+
end
8688
end
8789
logger.level = Logger::DEBUG
8890
logger.formatter = lambda {|severity, datetime, progname, msg| "#{severity} #{msg}\n"}

rdf-spec.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Gem::Specification.new do |gem|
66
gem.date = File.mtime('VERSION').strftime('%Y-%m-%d')
77

88
gem.name = 'rdf-spec'
9-
gem.homepage = 'http://ruby-rdf.github.com/rdf-spec/'
9+
gem.homepage = 'https://github.com/ruby-rdf/rdf-spec/'
1010
gem.license = 'Unlicense'
1111
gem.summary = 'RSpec extensions for RDF.rb.'
1212
gem.description = 'RDF.rb extension that provides RSpec matchers and shared examples for RDF objects.'

0 commit comments

Comments
 (0)