Skip to content

Commit

Permalink
Use https where possible
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Aug 15, 2015
1 parent 2306795 commit 8f55d6d
Show file tree
Hide file tree
Showing 16 changed files with 31 additions and 31 deletions.
2 changes: 1 addition & 1 deletion COPYING
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jq's documentation (everything found under the docs/ subdirectory in
the source tree) is licensed under the Creative Commons CC BY 3.0
license, which can be found at:

http://creativecommons.org/licenses/by/3.0/
https://creativecommons.org/licenses/by/3.0/

The documentation website includes a copy of Twitter's Boostrap and
relies on Bonsai, Liquid templates and various other projects, look
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ jq
jq is a command-line JSON processor.

If you want to learn to use jq, read the documentation at
[http://stedolan.github.io/jq](http://stedolan.github.io/jq). This
[https://stedolan.github.io/jq](https://stedolan.github.io/jq). This
documentation is generated from the docs/ folder of this repository.
You can also try it online at [jqplay.org](http://jqplay.org).
You can also try it online at [jqplay.org](https://jqplay.org).

If you want to hack on jq, feel free, but be warned that its internals
are not well-documented at the moment. Bring a hard hat and a
shovel. Also, read the wiki: http://github.com/stedolan/jq/wiki
shovel. Also, read the wiki: https://github.com/stedolan/jq/wiki

Source tarball and built executable releases can be found on the
homepage and on the github release page, https://github.com/stedolan/jq/releases
Expand Down Expand Up @@ -61,4 +61,4 @@ Cross-compilation requires a clean workspace, then:
Use the --host= and --target= ./configure options to select a
cross-compilation environment. See also the wiki.

Send questions to http://stackoverflow.com/questions/tagged/jq or to the #jq channel (http://irc.lc/freenode/%23jq/) on Freenode (https://webchat.freenode.net/).
Send questions to https://stackoverflow.com/questions/tagged/jq or to the #jq channel (http://irc.lc/freenode/%23jq/) on Freenode (https://webchat.freenode.net/).
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
m4_define([jq_version], m4_esyscmd_s([git describe --tags --dirty --match 'jq-*'|sed 's/^jq-//']))

AC_INIT([jq], [jq_version], [https://github.com/stedolan/jq/issues],
[jq], [http://stedolan.github.io/jq])
[jq], [https://stedolan.github.io/jq])

m4_include([m4/ax_compare_version.m4])
m4_include([m4/ax_prog_bison_version.m4])
Expand Down
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ RVM and Ruby 1.9.3 like so:

After that finishes installing, you'll need to make sure RVM is on
your path by doing `source $HOME/.rvm/scripts/rvm`, or just opening a
new shell. See <http://rvm.io> for more info on RVM.
new shell. See <https://rvm.io> for more info on RVM.

Once RVM is installed, you can install all the dependencies for jq's
documentation build by running this from the `docs` directory:
Expand Down
14 changes: 7 additions & 7 deletions docs/content/2.download/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ body:
### Linux
* jq 1.4 is in the official [Debian](http://packages.debian.org/jq) and
* jq 1.4 is in the official [Debian](https://packages.debian.org/jq) and
[Ubuntu](http://packages.ubuntu.com/jq) repositories. Install using
`sudo apt-get install jq`.
Expand Down Expand Up @@ -58,7 +58,7 @@ body:
### Solaris
* `pkgutil -i jq` in [OpenCSW](http://www.opencsw.org/p/jq) for Solaris
* `pkgutil -i jq` in [OpenCSW](https://www.opencsw.org/p/jq) for Solaris
10+, Sparc and x86.
* jq 1.4 binaries for Solaris 11
Expand Down Expand Up @@ -107,10 +107,10 @@ body:
packages first:
* [Flex](http://flex.sourceforge.net/)
* [Bison](http://www.gnu.org/software/bison/)
* [GCC](http://gcc.gnu.org)
* [Make](http://www.gnu.org/software/make/)
* [Autotools](http://www.gnu.org/software/automake/)
* [Bison](https://www.gnu.org/software/bison/)
* [GCC](https://gcc.gnu.org)
* [Make](https://www.gnu.org/software/make/)
* [Autotools](https://www.gnu.org/software/automake/)
For Linux systems, these will all be in your system's package
manager, and if you do development on the machine they're most
Expand All @@ -120,7 +120,7 @@ body:
be installed from [Xcode](https://developer.apple.com/xcode/). However,
you may find that you need a newer version of Bison than the one provided
by Apple. This can be found in [Homebrew](http://brew.sh) or
[MacPorts](http://macports.org/).
[MacPorts](https://macports.org/).
Flex and Bison are used to generate the lexer and parser for jq. For jq
1.5, neither is required if you use `./configure
Expand Down
4 changes: 2 additions & 2 deletions docs/content/3.manual/manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1697,12 +1697,12 @@ sections:
escaped. However, all interpolations made inside that string
literal will be escaped. For instance,
@uri "http://www.google.com/search?q=\(.search)"
@uri "https://www.google.com/search?q=\(.search)"
will produce the following output for the input
`{"search":"what is jq?"}`:
"http://www.google.com/search?q=what%20is%20jq%3F"
"https://www.google.com/search?q=what%20is%20jq%3F"
Note that the slashes, question mark, etc. in the URL are
not escaped, as they were part of the string literal.
Expand Down
4 changes: 2 additions & 2 deletions docs/content/3.manual/v1.3/manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -857,12 +857,12 @@ sections:
escaped. However, all interpolations made inside that string
literal will be escaped. For instance,
@uri "http://www.google.com/search?q=\(.search)"
@uri "https://www.google.com/search?q=\(.search)"
will produce the following output for the input
`{"search":"jq!"}`:
http://www.google.com/search?q=jq%21
https://www.google.com/search?q=jq%21
Note that the slashes, question mark, etc. in the URL are
not escaped, as they were part of the string literal.
Expand Down
4 changes: 2 additions & 2 deletions docs/content/3.manual/v1.4/manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1259,12 +1259,12 @@ sections:
escaped. However, all interpolations made inside that string
literal will be escaped. For instance,
@uri "http://www.google.com/search?q=\(.search)"
@uri "https://www.google.com/search?q=\(.search)"
will produce the following output for the input
`{"search":"what is jq?"}`:
"http://www.google.com/search?q=what%20is%20jq%3f"
"https://www.google.com/search?q=what%20is%20jq%3f"
Note that the slashes, question mark, etc. in the URL are
not escaped, as they were part of the string literal.
Expand Down
4 changes: 2 additions & 2 deletions docs/content/index/index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ tail: |
Go read the [tutorial](tutorial/) for more, or the [manual](manual/)
for *way* more.
Ask questions on [stackoverflow](http://stackoverflow.com/) using the [jq
tag](http://stackoverflow.com/questions/tagged/jq), or on the
Ask questions on [stackoverflow](https://stackoverflow.com/) using the [jq
tag](https://stackoverflow.com/questions/tagged/jq), or on the
[#jq](http://irc.lc/freenode/%23jq/) channel on
[Freenode](https://webchat.freenode.net/).
Expand Down
2 changes: 1 addition & 1 deletion docs/default_manpage.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ reducing and otherwise mangling JSON documents.
This version of `jq` was built without a manual, so this manpage is a
stub. For full documentation of the `jq` language, see:

http://stedolan.github.io/jq
https://stedolan.github.io/jq

## BUGS

Expand Down
2 changes: 1 addition & 1 deletion docs/templates/index.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
</div>

<div class="btn-group">
<a class="btn btn-primary" href="http://jqplay.org">
<a class="btn btn-primary" href="https://jqplay.org">
Try online at jqplay.org!
</a>
</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/templates/shared/_header.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
{% endfor %}
<li><a href="https://github.com/stedolan/jq/issues">Issues</a></li>
<li><a href="https://github.com/stedolan/jq">Source</a></li>
<li><a href="http://jqplay.org">Try online!</a></li>
<li><a href="https://jqplay.org">Try online!</a></li>
<li><a href="https://raw.githubusercontent.com/stedolan/jq/master/NEWS">News</a></li>
</ul>
</div>
Expand Down
4 changes: 2 additions & 2 deletions jq.1.default
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3
.
.TH "JQ" "1" "May 2013" "" ""
.TH "JQ" "1" "August 2015" "" ""
.
.SH "NAME"
\fBjq\fR \- Command\-line JSON processor
Expand All @@ -16,7 +16,7 @@ This version of \fBjq\fR was built without a manual, so this manpage is a stub\.
.
.nf

http://stedolan\.github\.com/jq
https://stedolan\.github\.io/jq
.
.fi
.
Expand Down
2 changes: 1 addition & 1 deletion jq.spec
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Name: jq
Version: %{myver}
Release: %{myrel}%{?dist}
Source0: jq-%{myver}.tar.gz
URL: http://stedolan.github.io/jq
URL: https://stedolan.github.io/jq
License: BSD
AutoReqProv: no
#BuildPrereq: autoconf, libtool, automake, flex, bison, python
Expand Down
2 changes: 1 addition & 1 deletion jv_print.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#define COL(c) (ESC "[" c "m")
#define COLRESET (ESC "[0m")

// Colour table. See http://en.wikipedia.org/wiki/ANSI_escape_code#Colors
// Colour table. See https://en.wikipedia.org/wiki/ANSI_escape_code#Colors
// for how to choose these.
static const jv_kind colour_kinds[] =
{JV_KIND_NULL, JV_KIND_FALSE, JV_KIND_TRUE, JV_KIND_NUMBER,
Expand Down
4 changes: 2 additions & 2 deletions main.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ static void usage(int code) {
"\tcopying jq's input to its output unmodified (except for\n"
"\tformatting).\n"
"\tFor more advanced filters see the jq(1) manpage (\"man jq\")\n"
"\tand/or http://stedolan.github.io/jq\n\n"
"\tand/or https://stedolan.github.io/jq\n\n"
"\tSome of the options include:\n"
"\t -c\t\tcompact instead of pretty-printed output;\n"
"\t -n\t\tuse `null` as the single input value;\n"
Expand All @@ -69,7 +69,7 @@ static void usage(int code) {

static void die() {
fprintf(stderr, "Use %s --help for help with command-line options,\n", progname);
fprintf(stderr, "or see the jq manpage, or online docs at http://stedolan.github.io/jq\n");
fprintf(stderr, "or see the jq manpage, or online docs at https://stedolan.github.io/jq\n");
exit(2);
}

Expand Down

0 comments on commit 8f55d6d

Please sign in to comment.