Skip to content
Myr

Use https where possible

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Tolnay · committed by David Tolnay · parent 2306795 · Browse files · 16 files+31 added−31 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

16 files+31 added−31 removed

  • other:+31 added−31 removed

16 files+31 added−31 removed

modified:docs/content/2.download/default.yml+7 added-7 removed
modified:docs/content/3.manual/v1.3/manual.yml+2 added-2 removed
855 unmodified lines
856 literal. The contents of the string literal will *not* be857 escaped. However, all interpolations made inside that string858 literal will be escaped. For instance,859860 @uri "http://www.google.com/search?q=\(.search)"860 @uri "https://www.google.com/search?q=\(.search)"861862 will produce the following output for the input863 `{"search":"jq!"}`:864865 http://www.google.com/search?q=jq%21865 https://www.google.com/search?q=jq%21866867 Note that the slashes, question mark, etc. in the URL are868 not escaped, as they were part of the string literal.869
401 unmodified lines
modified:docs/content/3.manual/v1.4/manual.yml+2 added-2 removed
1257 unmodified lines
1258 literal. The contents of the string literal will *not* be1259 escaped. However, all interpolations made inside that string1260 literal will be escaped. For instance,12611262 @uri "http://www.google.com/search?q=\(.search)"1262 @uri "https://www.google.com/search?q=\(.search)"12631264 will produce the following output for the input1265 `{"search":"what is jq?"}`:12661267 "http://www.google.com/search?q=what%20is%20jq%3f"1267 "https://www.google.com/search?q=what%20is%20jq%3f"12681269 Note that the slashes, question mark, etc. in the URL are1270 not escaped, as they were part of the string literal.1271
401 unmodified lines
modified:docs/content/3.manual/manual.yml+2 added-2 removed
1695 unmodified lines
1696 literal. The contents of the string literal will *not* be1697 escaped. However, all interpolations made inside that string1698 literal will be escaped. For instance,16991700 @uri "http://www.google.com/search?q=\(.search)"1700 @uri "https://www.google.com/search?q=\(.search)"17011702 will produce the following output for the input1703 `{"search":"what is jq?"}`:17041705 "http://www.google.com/search?q=what%20is%20jq%3F"1705 "https://www.google.com/search?q=what%20is%20jq%3F"17061707 Note that the slashes, question mark, etc. in the URL are1708 not escaped, as they were part of the string literal.1709
1196 unmodified lines
modified:docs/content/index/index.yml+2 added-2 removed
25 unmodified lines
2627 Go read the [tutorial](tutorial/) for more, or the [manual](manual/)28 for *way* more.2930 Ask questions on [stackoverflow](http://stackoverflow.com/) using the [jq31 tag](http://stackoverflow.com/questions/tagged/jq), or on the30 Ask questions on [stackoverflow](https://stackoverflow.com/) using the [jq31 tag](https://stackoverflow.com/questions/tagged/jq), or on the32 [#jq](http://irc.lc/freenode/%23jq/) channel on33 [Freenode](https://webchat.freenode.net/).3435news:
22 unmodified lines
modified:docs/templates/shared/_header.liquid+1 added-1 removed
17 unmodified lines
18 </li>19 {% endfor %}20 <li><a href="https://github.com/stedolan/jq/issues">Issues</a></li>21 <li><a href="https://github.com/stedolan/jq">Source</a></li>22 <li><a href="http://jqplay.org">Try online!</a></li>22 <li><a href="https://jqplay.org">Try online!</a></li>23 <li><a href="https://raw.githubusercontent.com/stedolan/jq/master/NEWS">News</a></li>24 </ul>25 </div>26 </div>
1 unmodified line
modified:docs/templates/index.liquid+1 added-1 removed
34 unmodified lines
35 </ul>36 </div>3738 <div class="btn-group">39 <a class="btn btn-primary" href="http://jqplay.org">39 <a class="btn btn-primary" href="https://jqplay.org">40 Try online at jqplay.org!41 </a>42 </div>43 </div>
34 unmodified lines
modified:docs/default_manpage.md+1 added-1 removed
modified:docs/README.md+1 added-1 removed
11 unmodified lines
12 \curl -L https://get.rvm.io | bash -s stable --ruby=1.9.31314After that finishes installing, you'll need to make sure RVM is on15your path by doing `source $HOME/.rvm/scripts/rvm`, or just opening a16new shell. See <http://rvm.io> for more info on RVM.16new shell. See <https://rvm.io> for more info on RVM.1718Once RVM is installed, you can install all the dependencies for jq's19documentation build by running this from the `docs` directory:20
5 unmodified lines
modified:configure.ac+1 added-1 removed
1m4_define([jq_version], m4_esyscmd_s([git describe --tags --dirty --match 'jq-*'|sed 's/^jq-//']))23AC_INIT([jq], [jq_version], [https://github.com/stedolan/jq/issues],4 [jq], [http://stedolan.github.io/jq])4 [jq], [https://stedolan.github.io/jq])56m4_include([m4/ax_compare_version.m4])7m4_include([m4/ax_prog_bison_version.m4])8
213 unmodified lines
modified:COPYING+1 added-1 removed
23 unmodified lines
24jq's documentation (everything found under the docs/ subdirectory in25the source tree) is licensed under the Creative Commons CC BY 3.026license, which can be found at:2728 http://creativecommons.org/licenses/by/3.0/28 https://creativecommons.org/licenses/by/3.0/2930The documentation website includes a copy of Twitter's Boostrap and31relies on Bonsai, Liquid templates and various other projects, look32them up for detailed licensing conditions.
38 unmodified lines
modified:jq.1.default+2 added-2 removed
1.\" generated with Ronn/v0.7.32.\" http://github.com/rtomayko/ronn/tree/0.7.33.4.TH "JQ" "1" "May 2013" "" ""4.TH "JQ" "1" "August 2015" "" ""5.6.SH "NAME"7\fBjq\fR \- Command\-line JSON processor8.
6 unmodified lines
15.IP "" 416.17.nf1819http://stedolan\.github\.com/jq19https://stedolan\.github\.io/jq20.21.fi22.23.IP "" 0
16 unmodified lines
modified:jq.spec+1 added-1 removed
3 unmodified lines
4Name: jq5Version: %{myver}6Release: %{myrel}%{?dist}7Source0: jq-%{myver}.tar.gz8URL: http://stedolan.github.io/jq8URL: https://stedolan.github.io/jq9License: BSD10AutoReqProv: no11#BuildPrereq: autoconf, libtool, automake, flex, bison, python12
58 unmodified lines
modified:jv_print.c+1 added-1 removed
15 unmodified lines
16#define ESC "\033"17#define COL(c) (ESC "[" c "m")18#define COLRESET (ESC "[0m")1920// Colour table. See http://en.wikipedia.org/wiki/ANSI_escape_code#Colors20// Colour table. See https://en.wikipedia.org/wiki/ANSI_escape_code#Colors21// for how to choose these.22static const jv_kind colour_kinds[] =23 {JV_KIND_NULL, JV_KIND_FALSE, JV_KIND_TRUE, JV_KIND_NUMBER,24 JV_KIND_STRING, JV_KIND_ARRAY, JV_KIND_OBJECT};
324 unmodified lines
modified:main.c+2 added-2 removed
46 unmodified lines
47 "\tThe simplest filter is ., which is the identity filter,\n"48 "\tcopying jq's input to its output unmodified (except for\n"49 "\tformatting).\n"50 "\tFor more advanced filters see the jq(1) manpage (\"man jq\")\n"51 "\tand/or http://stedolan.github.io/jq\n\n"51 "\tand/or https://stedolan.github.io/jq\n\n"52 "\tSome of the options include:\n"53 "\t -c\t\tcompact instead of pretty-printed output;\n"54 "\t -n\t\tuse `null` as the single input value;\n"55 "\t -e\t\tset the exit status code based on the output;\n"
12 unmodified lines
68}6970static void die() {71 fprintf(stderr, "Use %s --help for help with command-line options,\n", progname);72 fprintf(stderr, "or see the jq manpage, or online docs at http://stedolan.github.io/jq\n");72 fprintf(stderr, "or see the jq manpage, or online docs at https://stedolan.github.io/jq\n");73 exit(2);74}7576
490 unmodified lines
modified:README.md+4 added-4 removed
2 unmodified lines
34jq is a command-line JSON processor.56If you want to learn to use jq, read the documentation at7[http://stedolan.github.io/jq](http://stedolan.github.io/jq). This7[https://stedolan.github.io/jq](https://stedolan.github.io/jq). This8documentation is generated from the docs/ folder of this repository.9You can also try it online at [jqplay.org](http://jqplay.org).9You can also try it online at [jqplay.org](https://jqplay.org).1011If you want to hack on jq, feel free, but be warned that its internals12are not well-documented at the moment. Bring a hard hat and a13shovel. Also, read the wiki: http://github.com/stedolan/jq/wiki13shovel. Also, read the wiki: https://github.com/stedolan/jq/wiki1415Source tarball and built executable releases can be found on the16homepage and on the github release page, https://github.com/stedolan/jq/releases17
42 unmodified lines
6061Use the --host= and --target= ./configure options to select a62cross-compilation environment. See also the wiki.6364Send questions to http://stackoverflow.com/questions/tagged/jq or to the #jq channel (http://irc.lc/freenode/%23jq/) on Freenode (https://webchat.freenode.net/).64Send questions to https://stackoverflow.com/questions/tagged/jq or to the #jq channel (http://irc.lc/freenode/%23jq/) on Freenode (https://webchat.freenode.net/).