Updating dependencies. (#11680)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
f226f672f3
Коммит
20825a1702
1
vendor/github.com/corpix/uarand/.gitignore
сгенерированный
поставляемый
1
vendor/github.com/corpix/uarand/.gitignore
сгенерированный
поставляемый
@@ -1,3 +1,2 @@
|
||||
/build
|
||||
/vendor
|
||||
*~
|
||||
|
||||
11
vendor/github.com/corpix/uarand/.go-makefile.json
сгенерированный
поставляемый
11
vendor/github.com/corpix/uarand/.go-makefile.json
сгенерированный
поставляемый
@@ -1,11 +0,0 @@
|
||||
{
|
||||
"build_id_generator": "0x$(shell echo $(version) | sha1sum | awk '{print $$1}')",
|
||||
"host": "github.com",
|
||||
"include": ["useragents.mk"],
|
||||
"kind": "package",
|
||||
"name": "uarand",
|
||||
"tool": [],
|
||||
"user": "corpix",
|
||||
"version_generator": "$(shell git rev-list --count HEAD).$(shell git rev-parse --short HEAD)",
|
||||
"version_variable": "cli.version"
|
||||
}
|
||||
6
vendor/github.com/corpix/uarand/.travis.yml
сгенерированный
поставляемый
6
vendor/github.com/corpix/uarand/.travis.yml
сгенерированный
поставляемый
@@ -1,9 +1,11 @@
|
||||
language: go
|
||||
|
||||
go:
|
||||
- 1.6
|
||||
- 1.7
|
||||
- 1.8
|
||||
- 1.9
|
||||
- 1.10
|
||||
- 1.11
|
||||
- 1.12
|
||||
- master
|
||||
|
||||
script: make test
|
||||
|
||||
37
vendor/github.com/corpix/uarand/LICENSE
сгенерированный
поставляемый
37
vendor/github.com/corpix/uarand/LICENSE
сгенерированный
поставляемый
@@ -1,21 +1,24 @@
|
||||
The MIT License (MIT)
|
||||
This is free and unencumbered software released into the public domain.
|
||||
|
||||
Copyright © 2017 Dmitry Moskowski
|
||||
Anyone is free to copy, modify, publish, use, compile, sell, or
|
||||
distribute this software, either in source code form or as a compiled
|
||||
binary, for any purpose, commercial or non-commercial, and by any
|
||||
means.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
In jurisdictions that recognize copyright laws, the author or authors
|
||||
of this software dedicate any and all copyright interest in the
|
||||
software to the public domain. We make this dedication for the benefit
|
||||
of the public at large and to the detriment of our heirs and
|
||||
successors. We intend this dedication to be an overt act of
|
||||
relinquishment in perpetuity of all present and future rights to this
|
||||
software under copyright law.
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
||||
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
||||
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
For more information, please refer to <http://unlicense.org/>
|
||||
|
||||
52
vendor/github.com/corpix/uarand/Makefile
сгенерированный
поставляемый
52
vendor/github.com/corpix/uarand/Makefile
сгенерированный
поставляемый
@@ -1,52 +1,30 @@
|
||||
.DEFAULT_GOAL = all
|
||||
|
||||
numcpus := $(shell cat /proc/cpuinfo | grep '^processor\s*:' | wc -l)
|
||||
version := $(shell git rev-list --count HEAD).$(shell git rev-parse --short HEAD)
|
||||
|
||||
name := uarand
|
||||
package := github.com/corpix/$(name)
|
||||
|
||||
.PHONY: all
|
||||
all:: dependencies
|
||||
|
||||
.PHONY: tools
|
||||
tools::
|
||||
@if [ ! -e "$(GOPATH)"/bin/glide ]; then go get github.com/Masterminds/glide; fi
|
||||
@if [ ! -e "$(GOPATH)"/bin/glide-cleanup ]; then go get github.com/ngdinhtoan/glide-cleanup; fi
|
||||
@if [ ! -e "$(GOPATH)"/bin/glide-vc ]; then go get github.com/sgotti/glide-vc; fi
|
||||
@if [ ! -e "$(GOPATH)"/bin/godef ]; then go get github.com/rogpeppe/godef; fi
|
||||
@if [ ! -e "$(GOPATH)"/bin/gocode ]; then go get github.com/nsf/gocode; fi
|
||||
@if [ ! -e "$(GOPATH)"/bin/gometalinter ]; then go get github.com/alecthomas/gometalinter && gometalinter --install; fi
|
||||
@if [ ! -e "$(GOPATH)"/src/github.com/stretchr/testify/assert ]; then go get github.com/stretchr/testify/assert; fi
|
||||
|
||||
.PHONY: dependencies
|
||||
dependencies:: tools
|
||||
glide install
|
||||
|
||||
.PHONY: clean
|
||||
clean:: tools
|
||||
glide cache-clear
|
||||
all:: useragents.go
|
||||
|
||||
.PHONY: test
|
||||
test:: dependencies
|
||||
go test -v \
|
||||
$(shell glide novendor)
|
||||
|
||||
.PHONY: bench
|
||||
bench:: dependencies
|
||||
go test \
|
||||
-bench=. -v \
|
||||
$(shell glide novendor)
|
||||
test:
|
||||
go test -v ./...
|
||||
|
||||
.PHONY: lint
|
||||
lint:: dependencies
|
||||
go vet $(shell glide novendor)
|
||||
gometalinter \
|
||||
--deadline=5m \
|
||||
--concurrency=$(numcpus) \
|
||||
$(shell glide novendor)
|
||||
lint:
|
||||
go vet ./...
|
||||
|
||||
.PHONY: check
|
||||
check:: lint test
|
||||
check: lint test
|
||||
|
||||
.PHONY: useragents.go
|
||||
useragents.go:
|
||||
curl -Ls -H'User-Agent: gotohellwithyour403' \
|
||||
http://techpatterns.com/downloads/firefox/useragentswitcher.xml \
|
||||
| ./scripts/extract-user-agents \
|
||||
| ./scripts/generate-useragents-go $(name) \
|
||||
> $@
|
||||
go fmt $@
|
||||
|
||||
include useragents.mk
|
||||
|
||||
16
vendor/github.com/corpix/uarand/glide.lock
сгенерированный
поставляемый
16
vendor/github.com/corpix/uarand/glide.lock
сгенерированный
поставляемый
@@ -1,16 +0,0 @@
|
||||
hash: 400dee10adae21284f2563cb7178f4b5a30e69c9ed3954a5a32a8a618d5bdfeb
|
||||
updated: 2017-07-12T21:00:19.452016303Z
|
||||
imports: []
|
||||
testImports:
|
||||
- name: github.com/davecgh/go-spew
|
||||
version: 6d212800a42e8ab5c146b8ace3490ee17e5225f9
|
||||
subpackages:
|
||||
- spew
|
||||
- name: github.com/pmezard/go-difflib
|
||||
version: d8ed2627bdf02c080bf22230dbb337003b7aba2d
|
||||
subpackages:
|
||||
- difflib
|
||||
- name: github.com/stretchr/testify
|
||||
version: 69483b4bd14f5845b5a1e55bca19e954e827f1d0
|
||||
subpackages:
|
||||
- assert
|
||||
7
vendor/github.com/corpix/uarand/glide.yaml
сгенерированный
поставляемый
7
vendor/github.com/corpix/uarand/glide.yaml
сгенерированный
поставляемый
@@ -1,7 +0,0 @@
|
||||
package: github.com/corpix/uarand
|
||||
import: []
|
||||
testImport:
|
||||
- package: github.com/stretchr/testify
|
||||
version: v1.1.4
|
||||
subpackages:
|
||||
- assert
|
||||
14
vendor/github.com/corpix/uarand/go.mod
сгенерированный
поставляемый
Обычный файл
14
vendor/github.com/corpix/uarand/go.mod
сгенерированный
поставляемый
Обычный файл
@@ -0,0 +1,14 @@
|
||||
module github.com/corpix/uarand
|
||||
|
||||
go 1.12
|
||||
|
||||
require (
|
||||
github.com/Masterminds/glide v0.13.2 // indirect
|
||||
github.com/Masterminds/semver v1.4.2 // indirect
|
||||
github.com/Masterminds/vcs v1.13.0 // indirect
|
||||
github.com/codegangsta/cli v1.20.0 // indirect
|
||||
github.com/mitchellh/go-homedir v1.1.0 // indirect
|
||||
github.com/ngdinhtoan/glide-cleanup v0.2.0 // indirect
|
||||
github.com/stretchr/testify v1.3.0
|
||||
gopkg.in/yaml.v2 v2.2.2 // indirect
|
||||
)
|
||||
22
vendor/github.com/corpix/uarand/go.sum
сгенерированный
поставляемый
Обычный файл
22
vendor/github.com/corpix/uarand/go.sum
сгенерированный
поставляемый
Обычный файл
@@ -0,0 +1,22 @@
|
||||
github.com/Masterminds/glide v0.13.2 h1:M5MOH04TyRiMBVeWHbifqTpnauxWINIubTCOkhXh+2g=
|
||||
github.com/Masterminds/glide v0.13.2/go.mod h1:STyF5vcenH/rUqTEv+/hBXlSTo7KYwg2oc2f4tzPWic=
|
||||
github.com/Masterminds/semver v1.4.2 h1:WBLTQ37jOCzSLtXNdoo8bNM8876KhNqOKvrlGITgsTc=
|
||||
github.com/Masterminds/semver v1.4.2/go.mod h1:MB6lktGJrhw8PrUyiEoblNEGEQ+RzHPF078ddwwvV3Y=
|
||||
github.com/Masterminds/vcs v1.13.0 h1:USF5TvZGYgIpcbNAEMLfFhHqP08tFZVlUVrmTSpqnyA=
|
||||
github.com/Masterminds/vcs v1.13.0/go.mod h1:N09YCmOQr6RLxC6UNHzuVwAdodYbbnycGHSmwVJjcKA=
|
||||
github.com/codegangsta/cli v1.20.0 h1:iX1FXEgwzd5+XN6wk5cVHOGQj6Q3Dcp20lUeS4lHNTw=
|
||||
github.com/codegangsta/cli v1.20.0/go.mod h1:/qJNoX69yVSKu5o4jLyXAENLRyk1uhi7zkbQ3slBdOA=
|
||||
github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8=
|
||||
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
|
||||
github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y=
|
||||
github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0=
|
||||
github.com/ngdinhtoan/glide-cleanup v0.2.0 h1:kN4sV+0tp2F1BvwU+5SfNRMDndRmvIfnI3kZ7B8Yv4Y=
|
||||
github.com/ngdinhtoan/glide-cleanup v0.2.0/go.mod h1:UQzsmiDOb8YV3nOsCxK/c9zPpCZVNoHScRE3EO9pVMM=
|
||||
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
|
||||
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
|
||||
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
|
||||
github.com/stretchr/testify v1.3.0 h1:TivCn/peBQ7UY8ooIcPgZFpTNSz0Q2U6UrFlUfqbe0Q=
|
||||
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
|
||||
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
|
||||
gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw=
|
||||
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
|
||||
15
vendor/github.com/corpix/uarand/shell.nix
сгенерированный
поставляемый
Обычный файл
15
vendor/github.com/corpix/uarand/shell.nix
сгенерированный
поставляемый
Обычный файл
@@ -0,0 +1,15 @@
|
||||
let
|
||||
nixpkgs = builtins.fetchTarball {
|
||||
url = "https://github.com/nixos/nixpkgs/archive/03050e9749e1548f1648aae5c062c954eaad546e.tar.gz";
|
||||
sha256 = "00hfkldmf853ynnd8a9d7a778ifcrdjxdndxyykzbpxfki5s5qsb";
|
||||
};
|
||||
in with import nixpkgs {};
|
||||
stdenv.mkDerivation {
|
||||
name = "nix-shell";
|
||||
buildInputs = [
|
||||
go
|
||||
];
|
||||
shellHook = ''
|
||||
unset GOPATH
|
||||
'';
|
||||
}
|
||||
10
vendor/github.com/corpix/uarand/useragents.mk
сгенерированный
поставляемый
10
vendor/github.com/corpix/uarand/useragents.mk
сгенерированный
поставляемый
@@ -1,10 +0,0 @@
|
||||
.PHONY: useragents.go
|
||||
useragents.go:
|
||||
curl -Ls -H'User-Agent: gotohellwithyour403' \
|
||||
http://techpatterns.com/downloads/firefox/useragentswitcher.xml \
|
||||
| ./scripts/extract-user-agents \
|
||||
| ./scripts/generate-useragents-go $(name) \
|
||||
> $@
|
||||
go fmt $@
|
||||
|
||||
dependencies:: useragents.go
|
||||
Ссылка в новой задаче
Block a user