From a350994aa2a3328ecb70755f46ad3358adb2b37e Mon Sep 17 00:00:00 2001 From: Iwasaki Yudai Date: Wed, 13 Apr 2016 16:01:14 +0900 Subject: [PATCH] Change to go1.6.1 and vendoring --- Godeps/Godeps.json | 14 +- Godeps/_workspace/.gitignore | 2 - .../braintree/manners/test_helpers/certs.go | 29 --- .../braintree/manners/test_helpers/conn.go | 13 - .../manners/test_helpers/listener.go | 34 --- .../manners/test_helpers/temp_file.go | 27 -- .../manners/test_helpers/wait_group.go | 33 --- .../cli/autocomplete/bash_autocomplete | 13 - .../cli/autocomplete/zsh_autocomplete | 5 - .../go-bindata-assetfs/main.go | 97 ------- .../websocket/examples/autobahn/README.md | 13 - .../examples/autobahn/fuzzingclient.json | 14 - .../websocket/examples/autobahn/server.go | 246 ------------------ .../gorilla/websocket/examples/chat/README.md | 20 -- .../gorilla/websocket/examples/chat/conn.go | 106 -------- .../gorilla/websocket/examples/chat/home.html | 92 ------- .../gorilla/websocket/examples/chat/hub.go | 51 ---- .../gorilla/websocket/examples/chat/main.go | 39 --- .../websocket/examples/filewatch/README.md | 9 - .../websocket/examples/filewatch/main.go | 193 -------------- .../hcl/hcl/test-fixtures/array_comment.hcl | 4 - .../hcl/hcl/test-fixtures/assign_colon.hcl | 6 - .../hcl/hcl/test-fixtures/assign_deep.hcl | 5 - .../yudai/hcl/hcl/test-fixtures/comment.hcl | 15 -- .../hcl/hcl/test-fixtures/comment_single.hcl | 1 - .../yudai/hcl/hcl/test-fixtures/complex.hcl | 42 --- .../hcl/hcl/test-fixtures/complex_key.hcl | 1 - .../yudai/hcl/hcl/test-fixtures/empty.hcl | 0 .../yudai/hcl/hcl/test-fixtures/list.hcl | 1 - .../hcl/hcl/test-fixtures/list_comma.hcl | 1 - .../yudai/hcl/hcl/test-fixtures/multiple.hcl | 2 - .../yudai/hcl/hcl/test-fixtures/null.hcl | 5 - .../yudai/hcl/hcl/test-fixtures/old.hcl | 3 - .../yudai/hcl/hcl/test-fixtures/structure.hcl | 5 - .../hcl/hcl/test-fixtures/structure_basic.hcl | 5 - .../hcl/hcl/test-fixtures/structure_empty.hcl | 1 - .../yudai/hcl/hcl/test-fixtures/types.hcl | 8 - .../yudai/hcl/json/test-fixtures/array.json | 4 - .../yudai/hcl/json/test-fixtures/basic.json | 3 - .../yudai/hcl/json/test-fixtures/object.json | 5 - .../yudai/hcl/json/test-fixtures/types.json | 10 - .../yudai/hcl/test-fixtures/basic.hcl | 2 - .../yudai/hcl/test-fixtures/basic.json | 4 - .../hcl/test-fixtures/basic_int_string.hcl | 1 - .../yudai/hcl/test-fixtures/basic_squish.hcl | 3 - .../yudai/hcl/test-fixtures/decode_policy.hcl | 15 -- .../hcl/test-fixtures/decode_policy.json | 19 -- .../hcl/test-fixtures/decode_tf_variable.hcl | 10 - .../hcl/test-fixtures/decode_tf_variable.json | 14 - .../yudai/hcl/test-fixtures/empty.hcl | 1 - .../yudai/hcl/test-fixtures/escape.hcl | 1 - .../yudai/hcl/test-fixtures/flat.hcl | 2 - .../yudai/hcl/test-fixtures/float.hcl | 1 - .../yudai/hcl/test-fixtures/float.json | 3 - .../yudai/hcl/test-fixtures/multiline.json | 3 - .../yudai/hcl/test-fixtures/multiline_bad.hcl | 4 - .../test-fixtures/nested_block_comment.hcl | 5 - .../yudai/hcl/test-fixtures/null.hcl | 1 - .../yudai/hcl/test-fixtures/scientific.hcl | 6 - .../yudai/hcl/test-fixtures/scientific.json | 8 - .../yudai/hcl/test-fixtures/structure.hcl | 5 - .../yudai/hcl/test-fixtures/structure.json | 8 - .../yudai/hcl/test-fixtures/structure2.hcl | 9 - .../yudai/hcl/test-fixtures/structure2.json | 10 - .../hcl/test-fixtures/structure_flat.json | 8 - .../hcl/test-fixtures/structure_flatmap.hcl | 7 - .../hcl/test-fixtures/structure_list.hcl | 6 - .../hcl/test-fixtures/structure_list.json | 7 - .../test-fixtures/structure_list_deep.json | 16 -- .../hcl/test-fixtures/structure_multi.hcl | 7 - .../hcl/test-fixtures/structure_multi.json | 11 - .../hcl/test-fixtures/terraform_heroku.hcl | 5 - .../hcl/test-fixtures/terraform_heroku.json | 6 - .../unterminated_block_comment.hcl | 2 - Makefile | 8 +- .../github.com/braintree/manners/LICENSE | 0 .../github.com/braintree/manners/README.md | 0 .../braintree/manners/interfaces.go | 0 .../github.com/braintree/manners/server.go | 0 .../github.com/braintree/manners/static.go | 0 .../github.com/codegangsta/cli/.travis.yml | 0 .../github.com/codegangsta/cli/LICENSE | 0 .../github.com/codegangsta/cli/README.md | 0 .../github.com/codegangsta/cli/app.go | 0 .../github.com/codegangsta/cli/cli.go | 0 .../github.com/codegangsta/cli/command.go | 0 .../github.com/codegangsta/cli/context.go | 0 .../github.com/codegangsta/cli/flag.go | 0 .../github.com/codegangsta/cli/help.go | 0 .../elazarl/go-bindata-assetfs/LICENSE | 0 .../elazarl/go-bindata-assetfs/README.md | 0 .../elazarl/go-bindata-assetfs/assetfs.go | 0 .../elazarl/go-bindata-assetfs/doc.go | 0 .../github.com/fatih/structs/.gitignore | 0 .../github.com/fatih/structs/.travis.yml | 0 .../github.com/fatih/structs/LICENSE | 0 .../github.com/fatih/structs/README.md | 0 .../github.com/fatih/structs/field.go | 0 .../github.com/fatih/structs/structs.go | 0 .../github.com/fatih/structs/tags.go | 0 .../github.com/gorilla/websocket/.gitignore | 0 .../github.com/gorilla/websocket/.travis.yml | 0 .../github.com/gorilla/websocket/AUTHORS | 0 .../github.com/gorilla/websocket/LICENSE | 0 .../github.com/gorilla/websocket/README.md | 0 .../github.com/gorilla/websocket/client.go | 0 .../github.com/gorilla/websocket/conn.go | 0 .../github.com/gorilla/websocket/doc.go | 0 .../github.com/gorilla/websocket/json.go | 0 .../github.com/gorilla/websocket/server.go | 0 .../github.com/gorilla/websocket/util.go | 0 .../hashicorp/go-multierror/LICENSE | 0 .../hashicorp/go-multierror/README.md | 0 .../hashicorp/go-multierror/append.go | 0 .../hashicorp/go-multierror/flatten.go | 0 .../hashicorp/go-multierror/format.go | 0 .../hashicorp/go-multierror/multierror.go | 0 .../github.com/kr/pty/.gitignore | 0 .../src => vendor}/github.com/kr/pty/License | 0 .../github.com/kr/pty/README.md | 0 .../src => vendor}/github.com/kr/pty/doc.go | 0 .../src => vendor}/github.com/kr/pty/ioctl.go | 0 .../github.com/kr/pty/ioctl_bsd.go | 0 .../github.com/kr/pty/mktypes.bash | 0 .../github.com/kr/pty/pty_darwin.go | 0 .../github.com/kr/pty/pty_freebsd.go | 0 .../github.com/kr/pty/pty_linux.go | 0 .../github.com/kr/pty/pty_unsupported.go | 0 .../src => vendor}/github.com/kr/pty/run.go | 0 .../src => vendor}/github.com/kr/pty/types.go | 0 .../github.com/kr/pty/types_freebsd.go | 0 .../src => vendor}/github.com/kr/pty/util.go | 0 .../github.com/kr/pty/ztypes_386.go | 0 .../github.com/kr/pty/ztypes_amd64.go | 0 .../github.com/kr/pty/ztypes_arm.go | 0 .../github.com/kr/pty/ztypes_arm64.go | 0 .../github.com/kr/pty/ztypes_freebsd_386.go | 0 .../github.com/kr/pty/ztypes_freebsd_amd64.go | 0 .../github.com/kr/pty/ztypes_freebsd_arm.go | 0 .../github.com/kr/pty/ztypes_ppc64.go | 0 .../github.com/kr/pty/ztypes_ppc64le.go | 0 .../github.com/kr/pty/ztypes_s390x.go | 0 .../github.com/yudai/hcl/.gitignore | 0 .../github.com/yudai/hcl/LICENSE | 0 .../github.com/yudai/hcl/Makefile | 0 .../github.com/yudai/hcl/README.md | 0 .../github.com/yudai/hcl/decoder.go | 0 .../github.com/yudai/hcl/hcl.go | 0 .../github.com/yudai/hcl/hcl/lex.go | 0 .../github.com/yudai/hcl/hcl/object.go | 0 .../github.com/yudai/hcl/hcl/parse.go | 0 .../github.com/yudai/hcl/hcl/parse.y | 0 .../yudai/hcl/hcl/valuetype_string.go | 0 .../github.com/yudai/hcl/hcl/y.go | 0 .../github.com/yudai/hcl/json/lex.go | 0 .../github.com/yudai/hcl/json/parse.go | 0 .../github.com/yudai/hcl/json/parse.y | 0 .../github.com/yudai/hcl/json/y.go | 0 .../github.com/yudai/hcl/lex.go | 0 .../github.com/yudai/hcl/parse.go | 0 .../github.com/yudai/umutex/LICENSE | 0 .../github.com/yudai/umutex/README.md | 0 .../github.com/yudai/umutex/umutex.go | 0 wercker.yml | 5 +- 164 files changed, 17 insertions(+), 1383 deletions(-) delete mode 100644 Godeps/_workspace/.gitignore delete mode 100644 Godeps/_workspace/src/github.com/braintree/manners/test_helpers/certs.go delete mode 100644 Godeps/_workspace/src/github.com/braintree/manners/test_helpers/conn.go delete mode 100644 Godeps/_workspace/src/github.com/braintree/manners/test_helpers/listener.go delete mode 100644 Godeps/_workspace/src/github.com/braintree/manners/test_helpers/temp_file.go delete mode 100644 Godeps/_workspace/src/github.com/braintree/manners/test_helpers/wait_group.go delete mode 100644 Godeps/_workspace/src/github.com/codegangsta/cli/autocomplete/bash_autocomplete delete mode 100644 Godeps/_workspace/src/github.com/codegangsta/cli/autocomplete/zsh_autocomplete delete mode 100644 Godeps/_workspace/src/github.com/elazarl/go-bindata-assetfs/go-bindata-assetfs/main.go delete mode 100644 Godeps/_workspace/src/github.com/gorilla/websocket/examples/autobahn/README.md delete mode 100644 Godeps/_workspace/src/github.com/gorilla/websocket/examples/autobahn/fuzzingclient.json delete mode 100644 Godeps/_workspace/src/github.com/gorilla/websocket/examples/autobahn/server.go delete mode 100644 Godeps/_workspace/src/github.com/gorilla/websocket/examples/chat/README.md delete mode 100644 Godeps/_workspace/src/github.com/gorilla/websocket/examples/chat/conn.go delete mode 100644 Godeps/_workspace/src/github.com/gorilla/websocket/examples/chat/home.html delete mode 100644 Godeps/_workspace/src/github.com/gorilla/websocket/examples/chat/hub.go delete mode 100644 Godeps/_workspace/src/github.com/gorilla/websocket/examples/chat/main.go delete mode 100644 Godeps/_workspace/src/github.com/gorilla/websocket/examples/filewatch/README.md delete mode 100644 Godeps/_workspace/src/github.com/gorilla/websocket/examples/filewatch/main.go delete mode 100644 Godeps/_workspace/src/github.com/yudai/hcl/hcl/test-fixtures/array_comment.hcl delete mode 100644 Godeps/_workspace/src/github.com/yudai/hcl/hcl/test-fixtures/assign_colon.hcl delete mode 100644 Godeps/_workspace/src/github.com/yudai/hcl/hcl/test-fixtures/assign_deep.hcl delete mode 100644 Godeps/_workspace/src/github.com/yudai/hcl/hcl/test-fixtures/comment.hcl delete mode 100644 Godeps/_workspace/src/github.com/yudai/hcl/hcl/test-fixtures/comment_single.hcl delete mode 100644 Godeps/_workspace/src/github.com/yudai/hcl/hcl/test-fixtures/complex.hcl delete mode 100644 Godeps/_workspace/src/github.com/yudai/hcl/hcl/test-fixtures/complex_key.hcl delete mode 100644 Godeps/_workspace/src/github.com/yudai/hcl/hcl/test-fixtures/empty.hcl delete mode 100644 Godeps/_workspace/src/github.com/yudai/hcl/hcl/test-fixtures/list.hcl delete mode 100644 Godeps/_workspace/src/github.com/yudai/hcl/hcl/test-fixtures/list_comma.hcl delete mode 100644 Godeps/_workspace/src/github.com/yudai/hcl/hcl/test-fixtures/multiple.hcl delete mode 100644 Godeps/_workspace/src/github.com/yudai/hcl/hcl/test-fixtures/null.hcl delete mode 100644 Godeps/_workspace/src/github.com/yudai/hcl/hcl/test-fixtures/old.hcl delete mode 100644 Godeps/_workspace/src/github.com/yudai/hcl/hcl/test-fixtures/structure.hcl delete mode 100644 Godeps/_workspace/src/github.com/yudai/hcl/hcl/test-fixtures/structure_basic.hcl delete mode 100644 Godeps/_workspace/src/github.com/yudai/hcl/hcl/test-fixtures/structure_empty.hcl delete mode 100644 Godeps/_workspace/src/github.com/yudai/hcl/hcl/test-fixtures/types.hcl delete mode 100644 Godeps/_workspace/src/github.com/yudai/hcl/json/test-fixtures/array.json delete mode 100644 Godeps/_workspace/src/github.com/yudai/hcl/json/test-fixtures/basic.json delete mode 100644 Godeps/_workspace/src/github.com/yudai/hcl/json/test-fixtures/object.json delete mode 100644 Godeps/_workspace/src/github.com/yudai/hcl/json/test-fixtures/types.json delete mode 100644 Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/basic.hcl delete mode 100644 Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/basic.json delete mode 100644 Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/basic_int_string.hcl delete mode 100644 Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/basic_squish.hcl delete mode 100644 Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/decode_policy.hcl delete mode 100644 Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/decode_policy.json delete mode 100644 Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/decode_tf_variable.hcl delete mode 100644 Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/decode_tf_variable.json delete mode 100644 Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/empty.hcl delete mode 100644 Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/escape.hcl delete mode 100644 Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/flat.hcl delete mode 100644 Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/float.hcl delete mode 100644 Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/float.json delete mode 100644 Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/multiline.json delete mode 100644 Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/multiline_bad.hcl delete mode 100644 Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/nested_block_comment.hcl delete mode 100644 Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/null.hcl delete mode 100644 Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/scientific.hcl delete mode 100644 Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/scientific.json delete mode 100644 Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/structure.hcl delete mode 100644 Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/structure.json delete mode 100644 Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/structure2.hcl delete mode 100644 Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/structure2.json delete mode 100644 Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/structure_flat.json delete mode 100644 Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/structure_flatmap.hcl delete mode 100644 Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/structure_list.hcl delete mode 100644 Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/structure_list.json delete mode 100644 Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/structure_list_deep.json delete mode 100644 Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/structure_multi.hcl delete mode 100644 Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/structure_multi.json delete mode 100644 Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/terraform_heroku.hcl delete mode 100644 Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/terraform_heroku.json delete mode 100644 Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/unterminated_block_comment.hcl rename {Godeps/_workspace/src => vendor}/github.com/braintree/manners/LICENSE (100%) rename {Godeps/_workspace/src => vendor}/github.com/braintree/manners/README.md (100%) rename {Godeps/_workspace/src => vendor}/github.com/braintree/manners/interfaces.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/braintree/manners/server.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/braintree/manners/static.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/codegangsta/cli/.travis.yml (100%) rename {Godeps/_workspace/src => vendor}/github.com/codegangsta/cli/LICENSE (100%) rename {Godeps/_workspace/src => vendor}/github.com/codegangsta/cli/README.md (100%) rename {Godeps/_workspace/src => vendor}/github.com/codegangsta/cli/app.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/codegangsta/cli/cli.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/codegangsta/cli/command.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/codegangsta/cli/context.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/codegangsta/cli/flag.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/codegangsta/cli/help.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/elazarl/go-bindata-assetfs/LICENSE (100%) rename {Godeps/_workspace/src => vendor}/github.com/elazarl/go-bindata-assetfs/README.md (100%) rename {Godeps/_workspace/src => vendor}/github.com/elazarl/go-bindata-assetfs/assetfs.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/elazarl/go-bindata-assetfs/doc.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/fatih/structs/.gitignore (100%) rename {Godeps/_workspace/src => vendor}/github.com/fatih/structs/.travis.yml (100%) rename {Godeps/_workspace/src => vendor}/github.com/fatih/structs/LICENSE (100%) rename {Godeps/_workspace/src => vendor}/github.com/fatih/structs/README.md (100%) rename {Godeps/_workspace/src => vendor}/github.com/fatih/structs/field.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/fatih/structs/structs.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/fatih/structs/tags.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/gorilla/websocket/.gitignore (100%) rename {Godeps/_workspace/src => vendor}/github.com/gorilla/websocket/.travis.yml (100%) rename {Godeps/_workspace/src => vendor}/github.com/gorilla/websocket/AUTHORS (100%) rename {Godeps/_workspace/src => vendor}/github.com/gorilla/websocket/LICENSE (100%) rename {Godeps/_workspace/src => vendor}/github.com/gorilla/websocket/README.md (100%) rename {Godeps/_workspace/src => vendor}/github.com/gorilla/websocket/client.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/gorilla/websocket/conn.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/gorilla/websocket/doc.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/gorilla/websocket/json.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/gorilla/websocket/server.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/gorilla/websocket/util.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/hashicorp/go-multierror/LICENSE (100%) rename {Godeps/_workspace/src => vendor}/github.com/hashicorp/go-multierror/README.md (100%) rename {Godeps/_workspace/src => vendor}/github.com/hashicorp/go-multierror/append.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/hashicorp/go-multierror/flatten.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/hashicorp/go-multierror/format.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/hashicorp/go-multierror/multierror.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/kr/pty/.gitignore (100%) rename {Godeps/_workspace/src => vendor}/github.com/kr/pty/License (100%) rename {Godeps/_workspace/src => vendor}/github.com/kr/pty/README.md (100%) rename {Godeps/_workspace/src => vendor}/github.com/kr/pty/doc.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/kr/pty/ioctl.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/kr/pty/ioctl_bsd.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/kr/pty/mktypes.bash (100%) rename {Godeps/_workspace/src => vendor}/github.com/kr/pty/pty_darwin.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/kr/pty/pty_freebsd.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/kr/pty/pty_linux.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/kr/pty/pty_unsupported.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/kr/pty/run.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/kr/pty/types.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/kr/pty/types_freebsd.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/kr/pty/util.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/kr/pty/ztypes_386.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/kr/pty/ztypes_amd64.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/kr/pty/ztypes_arm.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/kr/pty/ztypes_arm64.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/kr/pty/ztypes_freebsd_386.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/kr/pty/ztypes_freebsd_amd64.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/kr/pty/ztypes_freebsd_arm.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/kr/pty/ztypes_ppc64.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/kr/pty/ztypes_ppc64le.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/kr/pty/ztypes_s390x.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/yudai/hcl/.gitignore (100%) rename {Godeps/_workspace/src => vendor}/github.com/yudai/hcl/LICENSE (100%) rename {Godeps/_workspace/src => vendor}/github.com/yudai/hcl/Makefile (100%) rename {Godeps/_workspace/src => vendor}/github.com/yudai/hcl/README.md (100%) rename {Godeps/_workspace/src => vendor}/github.com/yudai/hcl/decoder.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/yudai/hcl/hcl.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/yudai/hcl/hcl/lex.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/yudai/hcl/hcl/object.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/yudai/hcl/hcl/parse.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/yudai/hcl/hcl/parse.y (100%) rename {Godeps/_workspace/src => vendor}/github.com/yudai/hcl/hcl/valuetype_string.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/yudai/hcl/hcl/y.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/yudai/hcl/json/lex.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/yudai/hcl/json/parse.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/yudai/hcl/json/parse.y (100%) rename {Godeps/_workspace/src => vendor}/github.com/yudai/hcl/json/y.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/yudai/hcl/lex.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/yudai/hcl/parse.go (100%) rename {Godeps/_workspace/src => vendor}/github.com/yudai/umutex/LICENSE (100%) rename {Godeps/_workspace/src => vendor}/github.com/yudai/umutex/README.md (100%) rename {Godeps/_workspace/src => vendor}/github.com/yudai/umutex/umutex.go (100%) diff --git a/Godeps/Godeps.json b/Godeps/Godeps.json index 256aef78..a472baea 100644 --- a/Godeps/Godeps.json +++ b/Godeps/Godeps.json @@ -1,6 +1,10 @@ { "ImportPath": "github.com/yudai/gotty", - "GoVersion": "go1.5.1", + "GoVersion": "go1.6", + "GodepVersion": "v62", + "Packages": [ + "./..." + ], "Deps": [ { "ImportPath": "github.com/braintree/manners", @@ -37,6 +41,14 @@ "ImportPath": "github.com/yudai/hcl", "Rev": "5fa2393b3552119bf33a69adb1402a1160cba23d" }, + { + "ImportPath": "github.com/yudai/hcl/hcl", + "Rev": "5fa2393b3552119bf33a69adb1402a1160cba23d" + }, + { + "ImportPath": "github.com/yudai/hcl/json", + "Rev": "5fa2393b3552119bf33a69adb1402a1160cba23d" + }, { "ImportPath": "github.com/yudai/umutex", "Rev": "18216d265c6bc72c3bb0ad9c8103d47d530b7003" diff --git a/Godeps/_workspace/.gitignore b/Godeps/_workspace/.gitignore deleted file mode 100644 index f037d684..00000000 --- a/Godeps/_workspace/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/pkg -/bin diff --git a/Godeps/_workspace/src/github.com/braintree/manners/test_helpers/certs.go b/Godeps/_workspace/src/github.com/braintree/manners/test_helpers/certs.go deleted file mode 100644 index ede248b3..00000000 --- a/Godeps/_workspace/src/github.com/braintree/manners/test_helpers/certs.go +++ /dev/null @@ -1,29 +0,0 @@ -package test_helpers - -// A PEM-encoded TLS cert with SAN IPs "127.0.0.1" and "[::1]", expiring at the -// last second of 2049 (the end of ASN.1 time). - -// generated from src/pkg/crypto/tls: -// go run generate_cert.go --rsa-bits 512 --host 127.0.0.1,::1,example.com --ca --start-date "Jan 1 00:00:00 1970" --duration=1000000h -var ( - Cert = []byte(`-----BEGIN CERTIFICATE----- -MIIBdzCCASOgAwIBAgIBADALBgkqhkiG9w0BAQUwEjEQMA4GA1UEChMHQWNtZSBD -bzAeFw03MDAxMDEwMDAwMDBaFw00OTEyMzEyMzU5NTlaMBIxEDAOBgNVBAoTB0Fj -bWUgQ28wWjALBgkqhkiG9w0BAQEDSwAwSAJBAN55NcYKZeInyTuhcCwFMhDHCmwa -IUSdtXdcbItRB/yfXGBhiex00IaLXQnSU+QZPRZWYqeTEbFSgihqi1PUDy8CAwEA -AaNoMGYwDgYDVR0PAQH/BAQDAgCkMBMGA1UdJQQMMAoGCCsGAQUFBwMBMA8GA1Ud -EwEB/wQFMAMBAf8wLgYDVR0RBCcwJYILZXhhbXBsZS5jb22HBH8AAAGHEAAAAAAA -AAAAAAAAAAAAAAEwCwYJKoZIhvcNAQEFA0EAAoQn/ytgqpiLcZu9XKbCJsJcvkgk -Se6AbGXgSlq+ZCEVo0qIwSgeBqmsJxUu7NCSOwVJLYNEBO2DtIxoYVk+MA== ------END CERTIFICATE-----`) - - Key = []byte(`-----BEGIN RSA PRIVATE KEY----- -MIIBPAIBAAJBAN55NcYKZeInyTuhcCwFMhDHCmwaIUSdtXdcbItRB/yfXGBhiex0 -0IaLXQnSU+QZPRZWYqeTEbFSgihqi1PUDy8CAwEAAQJBAQdUx66rfh8sYsgfdcvV -NoafYpnEcB5s4m/vSVe6SU7dCK6eYec9f9wpT353ljhDUHq3EbmE4foNzJngh35d -AekCIQDhRQG5Li0Wj8TM4obOnnXUXf1jRv0UkzE9AHWLG5q3AwIhAPzSjpYUDjVW -MCUXgckTpKCuGwbJk7424Nb8bLzf3kllAiA5mUBgjfr/WtFSJdWcPQ4Zt9KTMNKD -EUO0ukpTwEIl6wIhAMbGqZK3zAAFdq8DD2jPx+UJXnh0rnOkZBzDtJ6/iN69AiEA -1Aq8MJgTaYsDQWyU/hDq5YkDJc9e9DSCvUIzqxQWMQE= ------END RSA PRIVATE KEY-----`) -) diff --git a/Godeps/_workspace/src/github.com/braintree/manners/test_helpers/conn.go b/Godeps/_workspace/src/github.com/braintree/manners/test_helpers/conn.go deleted file mode 100644 index 8c610f58..00000000 --- a/Godeps/_workspace/src/github.com/braintree/manners/test_helpers/conn.go +++ /dev/null @@ -1,13 +0,0 @@ -package test_helpers - -import "net" - -type Conn struct { - net.Conn - CloseCalled bool -} - -func (c *Conn) Close() error { - c.CloseCalled = true - return nil -} diff --git a/Godeps/_workspace/src/github.com/braintree/manners/test_helpers/listener.go b/Godeps/_workspace/src/github.com/braintree/manners/test_helpers/listener.go deleted file mode 100644 index a74ac114..00000000 --- a/Godeps/_workspace/src/github.com/braintree/manners/test_helpers/listener.go +++ /dev/null @@ -1,34 +0,0 @@ -package test_helpers - -import ( - "net" - "errors" -) - -type Listener struct { - AcceptRelease chan bool - CloseCalled chan bool -} - -func NewListener() *Listener { - return &Listener{ - make(chan bool, 1), - make(chan bool, 1), - } -} - -func (l *Listener) Addr() net.Addr { - addr, _ := net.ResolveTCPAddr("tcp", "127.0.0.1:8080") - return addr -} - -func (l *Listener) Close() error { - l.CloseCalled <- true - l.AcceptRelease <- true - return nil -} - -func (l *Listener) Accept() (net.Conn, error) { - <-l.AcceptRelease - return nil, errors.New("connection closed") -} diff --git a/Godeps/_workspace/src/github.com/braintree/manners/test_helpers/temp_file.go b/Godeps/_workspace/src/github.com/braintree/manners/test_helpers/temp_file.go deleted file mode 100644 index c4aa263a..00000000 --- a/Godeps/_workspace/src/github.com/braintree/manners/test_helpers/temp_file.go +++ /dev/null @@ -1,27 +0,0 @@ -package test_helpers - -import ( - "io/ioutil" - "os" -) - -type TempFile struct { - *os.File -} - -func NewTempFile(content []byte) (*TempFile, error) { - f, err := ioutil.TempFile("", "graceful-test") - if err != nil { - return nil, err - } - - f.Write(content) - return &TempFile{f}, nil -} - -func (tf *TempFile) Unlink() { - if tf.File != nil { - os.Remove(tf.Name()) - tf.File = nil - } -} diff --git a/Godeps/_workspace/src/github.com/braintree/manners/test_helpers/wait_group.go b/Godeps/_workspace/src/github.com/braintree/manners/test_helpers/wait_group.go deleted file mode 100644 index 1df590db..00000000 --- a/Godeps/_workspace/src/github.com/braintree/manners/test_helpers/wait_group.go +++ /dev/null @@ -1,33 +0,0 @@ -package test_helpers - -import "sync" - -type WaitGroup struct { - sync.Mutex - Count int - WaitCalled chan int -} - -func NewWaitGroup() *WaitGroup { - return &WaitGroup{ - WaitCalled: make(chan int, 1), - } -} - -func (wg *WaitGroup) Add(delta int) { - wg.Lock() - wg.Count++ - wg.Unlock() -} - -func (wg *WaitGroup) Done() { - wg.Lock() - wg.Count-- - wg.Unlock() -} - -func (wg *WaitGroup) Wait() { - wg.Lock() - wg.WaitCalled <- wg.Count - wg.Unlock() -} diff --git a/Godeps/_workspace/src/github.com/codegangsta/cli/autocomplete/bash_autocomplete b/Godeps/_workspace/src/github.com/codegangsta/cli/autocomplete/bash_autocomplete deleted file mode 100644 index 9b55dd99..00000000 --- a/Godeps/_workspace/src/github.com/codegangsta/cli/autocomplete/bash_autocomplete +++ /dev/null @@ -1,13 +0,0 @@ -#! /bin/bash - -_cli_bash_autocomplete() { - local cur prev opts base - COMPREPLY=() - cur="${COMP_WORDS[COMP_CWORD]}" - prev="${COMP_WORDS[COMP_CWORD-1]}" - opts=$( ${COMP_WORDS[@]:0:$COMP_CWORD} --generate-bash-completion ) - COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) - return 0 - } - - complete -F _cli_bash_autocomplete $PROG \ No newline at end of file diff --git a/Godeps/_workspace/src/github.com/codegangsta/cli/autocomplete/zsh_autocomplete b/Godeps/_workspace/src/github.com/codegangsta/cli/autocomplete/zsh_autocomplete deleted file mode 100644 index 5430a18f..00000000 --- a/Godeps/_workspace/src/github.com/codegangsta/cli/autocomplete/zsh_autocomplete +++ /dev/null @@ -1,5 +0,0 @@ -autoload -U compinit && compinit -autoload -U bashcompinit && bashcompinit - -script_dir=$(dirname $0) -source ${script_dir}/bash_autocomplete diff --git a/Godeps/_workspace/src/github.com/elazarl/go-bindata-assetfs/go-bindata-assetfs/main.go b/Godeps/_workspace/src/github.com/elazarl/go-bindata-assetfs/go-bindata-assetfs/main.go deleted file mode 100644 index a5b2b5ee..00000000 --- a/Godeps/_workspace/src/github.com/elazarl/go-bindata-assetfs/go-bindata-assetfs/main.go +++ /dev/null @@ -1,97 +0,0 @@ -package main - -import ( - "bufio" - "bytes" - "flag" - "fmt" - "os" - "os/exec" - "strings" -) - -const bindatafile = "bindata.go" - -func isDebug(args []string) bool { - flagset := flag.NewFlagSet("", flag.ContinueOnError) - debug := flagset.Bool("debug", false, "") - debugArgs := make([]string, 0) - for _, arg := range args { - if strings.HasPrefix(arg, "-debug") { - debugArgs = append(debugArgs, arg) - } - } - flagset.Parse(debugArgs) - if debug == nil { - return false - } - return *debug -} - -func main() { - if _, err := exec.LookPath("go-bindata"); err != nil { - fmt.Println("Cannot find go-bindata executable in path") - fmt.Println("Maybe you need: go get github.com/elazarl/go-bindata-assetfs/...") - os.Exit(1) - } - cmd := exec.Command("go-bindata", os.Args[1:]...) - cmd.Stdin = os.Stdin - cmd.Stdout = os.Stdout - cmd.Stderr = os.Stderr - if err := cmd.Run(); err != nil { - os.Exit(1) - } - in, err := os.Open(bindatafile) - if err != nil { - fmt.Fprintln(os.Stderr, "Cannot read", bindatafile, err) - return - } - out, err := os.Create("bindata_assetfs.go") - if err != nil { - fmt.Fprintln(os.Stderr, "Cannot write 'bindata_assetfs.go'", err) - return - } - debug := isDebug(os.Args[1:]) - r := bufio.NewReader(in) - done := false - for line, isPrefix, err := r.ReadLine(); err == nil; line, isPrefix, err = r.ReadLine() { - if !isPrefix { - line = append(line, '\n') - } - if _, err := out.Write(line); err != nil { - fmt.Fprintln(os.Stderr, "Cannot write to 'bindata_assetfs.go'", err) - return - } - if !done && !isPrefix && bytes.HasPrefix(line, []byte("import (")) { - if debug { - fmt.Fprintln(out, "\t\"net/http\"") - } else { - fmt.Fprintln(out, "\t\"github.com/elazarl/go-bindata-assetfs\"") - } - done = true - } - } - if debug { - fmt.Fprintln(out, ` -func assetFS() http.FileSystem { - for k := range _bintree.Children { - return http.Dir(k) - } - panic("unreachable") -}`) - } else { - fmt.Fprintln(out, ` -func assetFS() *assetfs.AssetFS { - for k := range _bintree.Children { - return &assetfs.AssetFS{Asset: Asset, AssetDir: AssetDir, Prefix: k} - } - panic("unreachable") -}`) - } - // Close files BEFORE remove calls (don't use defer). - in.Close() - out.Close() - if err := os.Remove(bindatafile); err != nil { - fmt.Fprintln(os.Stderr, "Cannot remove", bindatafile, err) - } -} diff --git a/Godeps/_workspace/src/github.com/gorilla/websocket/examples/autobahn/README.md b/Godeps/_workspace/src/github.com/gorilla/websocket/examples/autobahn/README.md deleted file mode 100644 index 075ac153..00000000 --- a/Godeps/_workspace/src/github.com/gorilla/websocket/examples/autobahn/README.md +++ /dev/null @@ -1,13 +0,0 @@ -# Test Server - -This package contains a server for the [Autobahn WebSockets Test Suite](http://autobahn.ws/testsuite). - -To test the server, run - - go run server.go - -and start the client test driver - - wstest -m fuzzingclient -s fuzzingclient.json - -When the client completes, it writes a report to reports/clients/index.html. diff --git a/Godeps/_workspace/src/github.com/gorilla/websocket/examples/autobahn/fuzzingclient.json b/Godeps/_workspace/src/github.com/gorilla/websocket/examples/autobahn/fuzzingclient.json deleted file mode 100644 index 27d5a5b1..00000000 --- a/Godeps/_workspace/src/github.com/gorilla/websocket/examples/autobahn/fuzzingclient.json +++ /dev/null @@ -1,14 +0,0 @@ - -{ - "options": {"failByDrop": false}, - "outdir": "./reports/clients", - "servers": [ - {"agent": "ReadAllWriteMessage", "url": "ws://localhost:9000/m", "options": {"version": 18}}, - {"agent": "ReadAllWrite", "url": "ws://localhost:9000/r", "options": {"version": 18}}, - {"agent": "CopyFull", "url": "ws://localhost:9000/f", "options": {"version": 18}}, - {"agent": "CopyWriterOnly", "url": "ws://localhost:9000/c", "options": {"version": 18}} - ], - "cases": ["*"], - "exclude-cases": [], - "exclude-agent-cases": {} -} diff --git a/Godeps/_workspace/src/github.com/gorilla/websocket/examples/autobahn/server.go b/Godeps/_workspace/src/github.com/gorilla/websocket/examples/autobahn/server.go deleted file mode 100644 index d96ac84d..00000000 --- a/Godeps/_workspace/src/github.com/gorilla/websocket/examples/autobahn/server.go +++ /dev/null @@ -1,246 +0,0 @@ -// Copyright 2013 The Gorilla WebSocket Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -// Command server is a test server for the Autobahn WebSockets Test Suite. -package main - -import ( - "errors" - "flag" - "github.com/gorilla/websocket" - "io" - "log" - "net/http" - "time" - "unicode/utf8" -) - -var upgrader = websocket.Upgrader{ - ReadBufferSize: 4096, - WriteBufferSize: 4096, - CheckOrigin: func(r *http.Request) bool { - return true - }, -} - -// echoCopy echoes messages from the client using io.Copy. -func echoCopy(w http.ResponseWriter, r *http.Request, writerOnly bool) { - conn, err := upgrader.Upgrade(w, r, nil) - if err != nil { - log.Println("Upgrade:", err) - return - } - defer conn.Close() - for { - mt, r, err := conn.NextReader() - if err != nil { - if err != io.EOF { - log.Println("NextReader:", err) - } - return - } - if mt == websocket.TextMessage { - r = &validator{r: r} - } - w, err := conn.NextWriter(mt) - if err != nil { - log.Println("NextWriter:", err) - return - } - if mt == websocket.TextMessage { - r = &validator{r: r} - } - if writerOnly { - _, err = io.Copy(struct{ io.Writer }{w}, r) - } else { - _, err = io.Copy(w, r) - } - if err != nil { - if err == errInvalidUTF8 { - conn.WriteControl(websocket.CloseMessage, - websocket.FormatCloseMessage(websocket.CloseInvalidFramePayloadData, ""), - time.Time{}) - } - log.Println("Copy:", err) - return - } - err = w.Close() - if err != nil { - log.Println("Close:", err) - return - } - } -} - -func echoCopyWriterOnly(w http.ResponseWriter, r *http.Request) { - echoCopy(w, r, true) -} - -func echoCopyFull(w http.ResponseWriter, r *http.Request) { - echoCopy(w, r, false) -} - -// echoReadAll echoes messages from the client by reading the entire message -// with ioutil.ReadAll. -func echoReadAll(w http.ResponseWriter, r *http.Request, writeMessage bool) { - conn, err := upgrader.Upgrade(w, r, nil) - if err != nil { - log.Println("Upgrade:", err) - return - } - defer conn.Close() - for { - mt, b, err := conn.ReadMessage() - if err != nil { - if err != io.EOF { - log.Println("NextReader:", err) - } - return - } - if mt == websocket.TextMessage { - if !utf8.Valid(b) { - conn.WriteControl(websocket.CloseMessage, - websocket.FormatCloseMessage(websocket.CloseInvalidFramePayloadData, ""), - time.Time{}) - log.Println("ReadAll: invalid utf8") - } - } - if writeMessage { - err = conn.WriteMessage(mt, b) - if err != nil { - log.Println("WriteMessage:", err) - } - } else { - w, err := conn.NextWriter(mt) - if err != nil { - log.Println("NextWriter:", err) - return - } - if _, err := w.Write(b); err != nil { - log.Println("Writer:", err) - return - } - if err := w.Close(); err != nil { - log.Println("Close:", err) - return - } - } - } -} - -func echoReadAllWriter(w http.ResponseWriter, r *http.Request) { - echoReadAll(w, r, false) -} - -func echoReadAllWriteMessage(w http.ResponseWriter, r *http.Request) { - echoReadAll(w, r, true) -} - -func serveHome(w http.ResponseWriter, r *http.Request) { - if r.URL.Path != "/" { - http.Error(w, "Not found.", 404) - return - } - if r.Method != "GET" { - http.Error(w, "Method not allowed", 405) - return - } - w.Header().Set("Content-Type", "text/html; charset=utf-8") - io.WriteString(w, "Echo Server") -} - -var addr = flag.String("addr", ":9000", "http service address") - -func main() { - flag.Parse() - http.HandleFunc("/", serveHome) - http.HandleFunc("/c", echoCopyWriterOnly) - http.HandleFunc("/f", echoCopyFull) - http.HandleFunc("/r", echoReadAllWriter) - http.HandleFunc("/m", echoReadAllWriteMessage) - err := http.ListenAndServe(*addr, nil) - if err != nil { - log.Fatal("ListenAndServe: ", err) - } -} - -type validator struct { - state int - x rune - r io.Reader -} - -var errInvalidUTF8 = errors.New("invalid utf8") - -func (r *validator) Read(p []byte) (int, error) { - n, err := r.r.Read(p) - state := r.state - x := r.x - for _, b := range p[:n] { - state, x = decode(state, x, b) - if state == utf8Reject { - break - } - } - r.state = state - r.x = x - if state == utf8Reject || (err == io.EOF && state != utf8Accept) { - return n, errInvalidUTF8 - } - return n, err -} - -// UTF-8 decoder from http://bjoern.hoehrmann.de/utf-8/decoder/dfa/ -// -// Copyright (c) 2008-2009 Bjoern Hoehrmann -// -// 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: -// -// 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 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. -var utf8d = [...]byte{ - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 00..1f - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 20..3f - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 40..5f - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 60..7f - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, // 80..9f - 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, // a0..bf - 8, 8, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, // c0..df - 0xa, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x4, 0x3, 0x3, // e0..ef - 0xb, 0x6, 0x6, 0x6, 0x5, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, // f0..ff - 0x0, 0x1, 0x2, 0x3, 0x5, 0x8, 0x7, 0x1, 0x1, 0x1, 0x4, 0x6, 0x1, 0x1, 0x1, 0x1, // s0..s0 - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, // s1..s2 - 1, 2, 1, 1, 1, 1, 1, 2, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, // s3..s4 - 1, 2, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 1, 3, 1, 1, 1, 1, 1, 1, // s5..s6 - 1, 3, 1, 1, 1, 1, 1, 3, 1, 3, 1, 1, 1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // s7..s8 -} - -const ( - utf8Accept = 0 - utf8Reject = 1 -) - -func decode(state int, x rune, b byte) (int, rune) { - t := utf8d[b] - if state != utf8Accept { - x = rune(b&0x3f) | (x << 6) - } else { - x = rune((0xff >> t) & b) - } - state = int(utf8d[256+state*16+int(t)]) - return state, x -} diff --git a/Godeps/_workspace/src/github.com/gorilla/websocket/examples/chat/README.md b/Godeps/_workspace/src/github.com/gorilla/websocket/examples/chat/README.md deleted file mode 100644 index 5df3cf1a..00000000 --- a/Godeps/_workspace/src/github.com/gorilla/websocket/examples/chat/README.md +++ /dev/null @@ -1,20 +0,0 @@ -# Chat Example - -This application shows how to use use the -[websocket](https://github.com/gorilla/websocket) package and -[jQuery](http://jquery.com) to implement a simple web chat application. - -## Running the example - -The example requires a working Go development environment. The [Getting -Started](http://golang.org/doc/install) page describes how to install the -development environment. - -Once you have Go up and running, you can download, build and run the example -using the following commands. - - $ go get github.com/gorilla/websocket - $ cd `go list -f '{{.Dir}}' github.com/gorilla/websocket/examples/chat` - $ go run *.go - -To use the chat example, open http://localhost:8080/ in your browser. diff --git a/Godeps/_workspace/src/github.com/gorilla/websocket/examples/chat/conn.go b/Godeps/_workspace/src/github.com/gorilla/websocket/examples/chat/conn.go deleted file mode 100644 index 7cc0496c..00000000 --- a/Godeps/_workspace/src/github.com/gorilla/websocket/examples/chat/conn.go +++ /dev/null @@ -1,106 +0,0 @@ -// Copyright 2013 The Gorilla WebSocket Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -package main - -import ( - "github.com/gorilla/websocket" - "log" - "net/http" - "time" -) - -const ( - // Time allowed to write a message to the peer. - writeWait = 10 * time.Second - - // Time allowed to read the next pong message from the peer. - pongWait = 60 * time.Second - - // Send pings to peer with this period. Must be less than pongWait. - pingPeriod = (pongWait * 9) / 10 - - // Maximum message size allowed from peer. - maxMessageSize = 512 -) - -var upgrader = websocket.Upgrader{ - ReadBufferSize: 1024, - WriteBufferSize: 1024, -} - -// connection is an middleman between the websocket connection and the hub. -type connection struct { - // The websocket connection. - ws *websocket.Conn - - // Buffered channel of outbound messages. - send chan []byte -} - -// readPump pumps messages from the websocket connection to the hub. -func (c *connection) readPump() { - defer func() { - h.unregister <- c - c.ws.Close() - }() - c.ws.SetReadLimit(maxMessageSize) - c.ws.SetReadDeadline(time.Now().Add(pongWait)) - c.ws.SetPongHandler(func(string) error { c.ws.SetReadDeadline(time.Now().Add(pongWait)); return nil }) - for { - _, message, err := c.ws.ReadMessage() - if err != nil { - break - } - h.broadcast <- message - } -} - -// write writes a message with the given message type and payload. -func (c *connection) write(mt int, payload []byte) error { - c.ws.SetWriteDeadline(time.Now().Add(writeWait)) - return c.ws.WriteMessage(mt, payload) -} - -// writePump pumps messages from the hub to the websocket connection. -func (c *connection) writePump() { - ticker := time.NewTicker(pingPeriod) - defer func() { - ticker.Stop() - c.ws.Close() - }() - for { - select { - case message, ok := <-c.send: - if !ok { - c.write(websocket.CloseMessage, []byte{}) - return - } - if err := c.write(websocket.TextMessage, message); err != nil { - return - } - case <-ticker.C: - if err := c.write(websocket.PingMessage, []byte{}); err != nil { - return - } - } - } -} - -// serverWs handles websocket requests from the peer. -func serveWs(w http.ResponseWriter, r *http.Request) { - if r.Method != "GET" { - http.Error(w, "Method not allowed", 405) - return - } - ws, err := upgrader.Upgrade(w, r, nil) - if err != nil { - log.Println(err) - return - } - c := &connection{send: make(chan []byte, 256), ws: ws} - h.register <- c - go c.writePump() - c.readPump() -} diff --git a/Godeps/_workspace/src/github.com/gorilla/websocket/examples/chat/home.html b/Godeps/_workspace/src/github.com/gorilla/websocket/examples/chat/home.html deleted file mode 100644 index 29599225..00000000 --- a/Godeps/_workspace/src/github.com/gorilla/websocket/examples/chat/home.html +++ /dev/null @@ -1,92 +0,0 @@ - - - -Chat Example - - - - - -
-
- - -
- - diff --git a/Godeps/_workspace/src/github.com/gorilla/websocket/examples/chat/hub.go b/Godeps/_workspace/src/github.com/gorilla/websocket/examples/chat/hub.go deleted file mode 100644 index 449ba753..00000000 --- a/Godeps/_workspace/src/github.com/gorilla/websocket/examples/chat/hub.go +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2013 The Gorilla WebSocket Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -package main - -// hub maintains the set of active connections and broadcasts messages to the -// connections. -type hub struct { - // Registered connections. - connections map[*connection]bool - - // Inbound messages from the connections. - broadcast chan []byte - - // Register requests from the connections. - register chan *connection - - // Unregister requests from connections. - unregister chan *connection -} - -var h = hub{ - broadcast: make(chan []byte), - register: make(chan *connection), - unregister: make(chan *connection), - connections: make(map[*connection]bool), -} - -func (h *hub) run() { - for { - select { - case c := <-h.register: - h.connections[c] = true - case c := <-h.unregister: - if _, ok := h.connections[c]; ok { - delete(h.connections, c) - close(c.send) - } - case m := <-h.broadcast: - for c := range h.connections { - select { - case c.send <- m: - default: - close(c.send) - delete(h.connections, c) - } - } - } - } -} diff --git a/Godeps/_workspace/src/github.com/gorilla/websocket/examples/chat/main.go b/Godeps/_workspace/src/github.com/gorilla/websocket/examples/chat/main.go deleted file mode 100644 index 3c4448d7..00000000 --- a/Godeps/_workspace/src/github.com/gorilla/websocket/examples/chat/main.go +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2013 The Gorilla WebSocket Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -package main - -import ( - "flag" - "log" - "net/http" - "text/template" -) - -var addr = flag.String("addr", ":8080", "http service address") -var homeTempl = template.Must(template.ParseFiles("home.html")) - -func serveHome(w http.ResponseWriter, r *http.Request) { - if r.URL.Path != "/" { - http.Error(w, "Not found", 404) - return - } - if r.Method != "GET" { - http.Error(w, "Method not allowed", 405) - return - } - w.Header().Set("Content-Type", "text/html; charset=utf-8") - homeTempl.Execute(w, r.Host) -} - -func main() { - flag.Parse() - go h.run() - http.HandleFunc("/", serveHome) - http.HandleFunc("/ws", serveWs) - err := http.ListenAndServe(*addr, nil) - if err != nil { - log.Fatal("ListenAndServe: ", err) - } -} diff --git a/Godeps/_workspace/src/github.com/gorilla/websocket/examples/filewatch/README.md b/Godeps/_workspace/src/github.com/gorilla/websocket/examples/filewatch/README.md deleted file mode 100644 index ca4931f3..00000000 --- a/Godeps/_workspace/src/github.com/gorilla/websocket/examples/filewatch/README.md +++ /dev/null @@ -1,9 +0,0 @@ -# File Watch example. - -This example sends a file to the browser client for display whenever the file is modified. - - $ go get github.com/gorilla/websocket - $ cd `go list -f '{{.Dir}}' github.com/gorilla/websocket/examples/filewatch` - $ go run main.go - # Open http://localhost:8080/ . - # Modify the file to see it update in the browser. diff --git a/Godeps/_workspace/src/github.com/gorilla/websocket/examples/filewatch/main.go b/Godeps/_workspace/src/github.com/gorilla/websocket/examples/filewatch/main.go deleted file mode 100644 index a2c7b85f..00000000 --- a/Godeps/_workspace/src/github.com/gorilla/websocket/examples/filewatch/main.go +++ /dev/null @@ -1,193 +0,0 @@ -// Copyright 2013 The Gorilla WebSocket Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -package main - -import ( - "flag" - "io/ioutil" - "log" - "net/http" - "os" - "strconv" - "text/template" - "time" - - "github.com/gorilla/websocket" -) - -const ( - // Time allowed to write the file to the client. - writeWait = 10 * time.Second - - // Time allowed to read the next pong message from the client. - pongWait = 60 * time.Second - - // Send pings to client with this period. Must be less than pongWait. - pingPeriod = (pongWait * 9) / 10 - - // Poll file for changes with this period. - filePeriod = 10 * time.Second -) - -var ( - addr = flag.String("addr", ":8080", "http service address") - homeTempl = template.Must(template.New("").Parse(homeHTML)) - filename string - upgrader = websocket.Upgrader{ - ReadBufferSize: 1024, - WriteBufferSize: 1024, - } -) - -func readFileIfModified(lastMod time.Time) ([]byte, time.Time, error) { - fi, err := os.Stat(filename) - if err != nil { - return nil, lastMod, err - } - if !fi.ModTime().After(lastMod) { - return nil, lastMod, nil - } - p, err := ioutil.ReadFile(filename) - if err != nil { - return nil, fi.ModTime(), err - } - return p, fi.ModTime(), nil -} - -func reader(ws *websocket.Conn) { - defer ws.Close() - ws.SetReadLimit(512) - ws.SetReadDeadline(time.Now().Add(pongWait)) - ws.SetPongHandler(func(string) error { ws.SetReadDeadline(time.Now().Add(pongWait)); return nil }) - for { - _, _, err := ws.ReadMessage() - if err != nil { - break - } - } -} - -func writer(ws *websocket.Conn, lastMod time.Time) { - lastError := "" - pingTicker := time.NewTicker(pingPeriod) - fileTicker := time.NewTicker(filePeriod) - defer func() { - pingTicker.Stop() - fileTicker.Stop() - ws.Close() - }() - for { - select { - case <-fileTicker.C: - var p []byte - var err error - - p, lastMod, err = readFileIfModified(lastMod) - - if err != nil { - if s := err.Error(); s != lastError { - lastError = s - p = []byte(lastError) - } - } else { - lastError = "" - } - - if p != nil { - ws.SetWriteDeadline(time.Now().Add(writeWait)) - if err := ws.WriteMessage(websocket.TextMessage, p); err != nil { - return - } - } - case <-pingTicker.C: - ws.SetWriteDeadline(time.Now().Add(writeWait)) - if err := ws.WriteMessage(websocket.PingMessage, []byte{}); err != nil { - return - } - } - } -} - -func serveWs(w http.ResponseWriter, r *http.Request) { - ws, err := upgrader.Upgrade(w, r, nil) - if err != nil { - if _, ok := err.(websocket.HandshakeError); !ok { - log.Println(err) - } - return - } - - var lastMod time.Time - if n, err := strconv.ParseInt(r.FormValue("lastMod"), 16, 64); err != nil { - lastMod = time.Unix(0, n) - } - - go writer(ws, lastMod) - reader(ws) -} - -func serveHome(w http.ResponseWriter, r *http.Request) { - if r.URL.Path != "/" { - http.Error(w, "Not found", 404) - return - } - if r.Method != "GET" { - http.Error(w, "Method not allowed", 405) - return - } - w.Header().Set("Content-Type", "text/html; charset=utf-8") - p, lastMod, err := readFileIfModified(time.Time{}) - if err != nil { - p = []byte(err.Error()) - lastMod = time.Unix(0, 0) - } - var v = struct { - Host string - Data string - LastMod string - }{ - r.Host, - string(p), - strconv.FormatInt(lastMod.UnixNano(), 16), - } - homeTempl.Execute(w, &v) -} - -func main() { - flag.Parse() - if flag.NArg() != 1 { - log.Fatal("filename not specified") - } - filename = flag.Args()[0] - http.HandleFunc("/", serveHome) - http.HandleFunc("/ws", serveWs) - if err := http.ListenAndServe(*addr, nil); err != nil { - log.Fatal(err) - } -} - -const homeHTML = ` - - - WebSocket Example - - -
{{.Data}}
- - - -` diff --git a/Godeps/_workspace/src/github.com/yudai/hcl/hcl/test-fixtures/array_comment.hcl b/Godeps/_workspace/src/github.com/yudai/hcl/hcl/test-fixtures/array_comment.hcl deleted file mode 100644 index 78c26758..00000000 --- a/Godeps/_workspace/src/github.com/yudai/hcl/hcl/test-fixtures/array_comment.hcl +++ /dev/null @@ -1,4 +0,0 @@ -foo = [ - "1", - "2", # comment -] diff --git a/Godeps/_workspace/src/github.com/yudai/hcl/hcl/test-fixtures/assign_colon.hcl b/Godeps/_workspace/src/github.com/yudai/hcl/hcl/test-fixtures/assign_colon.hcl deleted file mode 100644 index eb5a99a6..00000000 --- a/Godeps/_workspace/src/github.com/yudai/hcl/hcl/test-fixtures/assign_colon.hcl +++ /dev/null @@ -1,6 +0,0 @@ -resource = [{ - "foo": { - "bar": {}, - "baz": [1, 2, "foo"], - } -}] diff --git a/Godeps/_workspace/src/github.com/yudai/hcl/hcl/test-fixtures/assign_deep.hcl b/Godeps/_workspace/src/github.com/yudai/hcl/hcl/test-fixtures/assign_deep.hcl deleted file mode 100644 index dd3151cb..00000000 --- a/Godeps/_workspace/src/github.com/yudai/hcl/hcl/test-fixtures/assign_deep.hcl +++ /dev/null @@ -1,5 +0,0 @@ -resource = [{ - foo = [{ - bar = {} - }] -}] diff --git a/Godeps/_workspace/src/github.com/yudai/hcl/hcl/test-fixtures/comment.hcl b/Godeps/_workspace/src/github.com/yudai/hcl/hcl/test-fixtures/comment.hcl deleted file mode 100644 index 1ff7f29f..00000000 --- a/Godeps/_workspace/src/github.com/yudai/hcl/hcl/test-fixtures/comment.hcl +++ /dev/null @@ -1,15 +0,0 @@ -// Foo - -/* Bar */ - -/* -/* -Baz -*/ - -# Another - -# Multiple -# Lines - -foo = "bar" diff --git a/Godeps/_workspace/src/github.com/yudai/hcl/hcl/test-fixtures/comment_single.hcl b/Godeps/_workspace/src/github.com/yudai/hcl/hcl/test-fixtures/comment_single.hcl deleted file mode 100644 index fec56017..00000000 --- a/Godeps/_workspace/src/github.com/yudai/hcl/hcl/test-fixtures/comment_single.hcl +++ /dev/null @@ -1 +0,0 @@ -# Hello diff --git a/Godeps/_workspace/src/github.com/yudai/hcl/hcl/test-fixtures/complex.hcl b/Godeps/_workspace/src/github.com/yudai/hcl/hcl/test-fixtures/complex.hcl deleted file mode 100644 index cccb5b06..00000000 --- a/Godeps/_workspace/src/github.com/yudai/hcl/hcl/test-fixtures/complex.hcl +++ /dev/null @@ -1,42 +0,0 @@ -// This comes from Terraform, as a test -variable "foo" { - default = "bar" - description = "bar" -} - -provider "aws" { - access_key = "foo" - secret_key = "bar" -} - -provider "do" { - api_key = "${var.foo}" -} - -resource "aws_security_group" "firewall" { - count = 5 -} - -resource aws_instance "web" { - ami = "${var.foo}" - security_groups = [ - "foo", - "${aws_security_group.firewall.foo}" - ] - - network_interface { - device_index = 0 - description = "Main network interface" - } -} - -resource "aws_instance" "db" { - security_groups = "${aws_security_group.firewall.*.id}" - VPC = "foo" - - depends_on = ["aws_instance.web"] -} - -output "web_ip" { - value = "${aws_instance.web.private_ip}" -} diff --git a/Godeps/_workspace/src/github.com/yudai/hcl/hcl/test-fixtures/complex_key.hcl b/Godeps/_workspace/src/github.com/yudai/hcl/hcl/test-fixtures/complex_key.hcl deleted file mode 100644 index 0007aaf5..00000000 --- a/Godeps/_workspace/src/github.com/yudai/hcl/hcl/test-fixtures/complex_key.hcl +++ /dev/null @@ -1 +0,0 @@ -foo.bar = "baz" diff --git a/Godeps/_workspace/src/github.com/yudai/hcl/hcl/test-fixtures/empty.hcl b/Godeps/_workspace/src/github.com/yudai/hcl/hcl/test-fixtures/empty.hcl deleted file mode 100644 index e69de29b..00000000 diff --git a/Godeps/_workspace/src/github.com/yudai/hcl/hcl/test-fixtures/list.hcl b/Godeps/_workspace/src/github.com/yudai/hcl/hcl/test-fixtures/list.hcl deleted file mode 100644 index 7e159b3f..00000000 --- a/Godeps/_workspace/src/github.com/yudai/hcl/hcl/test-fixtures/list.hcl +++ /dev/null @@ -1 +0,0 @@ -foo = [1, 2, "foo", true] diff --git a/Godeps/_workspace/src/github.com/yudai/hcl/hcl/test-fixtures/list_comma.hcl b/Godeps/_workspace/src/github.com/yudai/hcl/hcl/test-fixtures/list_comma.hcl deleted file mode 100644 index 50f4218a..00000000 --- a/Godeps/_workspace/src/github.com/yudai/hcl/hcl/test-fixtures/list_comma.hcl +++ /dev/null @@ -1 +0,0 @@ -foo = [1, 2, "foo",] diff --git a/Godeps/_workspace/src/github.com/yudai/hcl/hcl/test-fixtures/multiple.hcl b/Godeps/_workspace/src/github.com/yudai/hcl/hcl/test-fixtures/multiple.hcl deleted file mode 100644 index 029c54b0..00000000 --- a/Godeps/_workspace/src/github.com/yudai/hcl/hcl/test-fixtures/multiple.hcl +++ /dev/null @@ -1,2 +0,0 @@ -foo = "bar" -key = 7 diff --git a/Godeps/_workspace/src/github.com/yudai/hcl/hcl/test-fixtures/null.hcl b/Godeps/_workspace/src/github.com/yudai/hcl/hcl/test-fixtures/null.hcl deleted file mode 100644 index 97797ea5..00000000 --- a/Godeps/_workspace/src/github.com/yudai/hcl/hcl/test-fixtures/null.hcl +++ /dev/null @@ -1,5 +0,0 @@ -foo = null -bar = [1, null, 3] -baz { - foo = null -} diff --git a/Godeps/_workspace/src/github.com/yudai/hcl/hcl/test-fixtures/old.hcl b/Godeps/_workspace/src/github.com/yudai/hcl/hcl/test-fixtures/old.hcl deleted file mode 100644 index e9f77cae..00000000 --- a/Godeps/_workspace/src/github.com/yudai/hcl/hcl/test-fixtures/old.hcl +++ /dev/null @@ -1,3 +0,0 @@ -default = { - "eu-west-1": "ami-b1cf19c6", -} diff --git a/Godeps/_workspace/src/github.com/yudai/hcl/hcl/test-fixtures/structure.hcl b/Godeps/_workspace/src/github.com/yudai/hcl/hcl/test-fixtures/structure.hcl deleted file mode 100644 index 92592fbb..00000000 --- a/Godeps/_workspace/src/github.com/yudai/hcl/hcl/test-fixtures/structure.hcl +++ /dev/null @@ -1,5 +0,0 @@ -// This is a test structure for the lexer -foo bar "baz" { - key = 7 - foo = "bar" -} diff --git a/Godeps/_workspace/src/github.com/yudai/hcl/hcl/test-fixtures/structure_basic.hcl b/Godeps/_workspace/src/github.com/yudai/hcl/hcl/test-fixtures/structure_basic.hcl deleted file mode 100644 index 7229a1f0..00000000 --- a/Godeps/_workspace/src/github.com/yudai/hcl/hcl/test-fixtures/structure_basic.hcl +++ /dev/null @@ -1,5 +0,0 @@ -foo { - value = 7 - "value" = 8 - "complex::value" = 9 -} diff --git a/Godeps/_workspace/src/github.com/yudai/hcl/hcl/test-fixtures/structure_empty.hcl b/Godeps/_workspace/src/github.com/yudai/hcl/hcl/test-fixtures/structure_empty.hcl deleted file mode 100644 index 4d156dde..00000000 --- a/Godeps/_workspace/src/github.com/yudai/hcl/hcl/test-fixtures/structure_empty.hcl +++ /dev/null @@ -1 +0,0 @@ -resource "foo" "bar" {} diff --git a/Godeps/_workspace/src/github.com/yudai/hcl/hcl/test-fixtures/types.hcl b/Godeps/_workspace/src/github.com/yudai/hcl/hcl/test-fixtures/types.hcl deleted file mode 100644 index 98ea8821..00000000 --- a/Godeps/_workspace/src/github.com/yudai/hcl/hcl/test-fixtures/types.hcl +++ /dev/null @@ -1,8 +0,0 @@ -foo = "bar" -bar = 7 -baz = [1,2,3] -foo = -12 -bar = 3.14159 -foo = true -bar = false -baz = null diff --git a/Godeps/_workspace/src/github.com/yudai/hcl/json/test-fixtures/array.json b/Godeps/_workspace/src/github.com/yudai/hcl/json/test-fixtures/array.json deleted file mode 100644 index e320f17a..00000000 --- a/Godeps/_workspace/src/github.com/yudai/hcl/json/test-fixtures/array.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "foo": [1, 2, "bar"], - "bar": "baz" -} diff --git a/Godeps/_workspace/src/github.com/yudai/hcl/json/test-fixtures/basic.json b/Godeps/_workspace/src/github.com/yudai/hcl/json/test-fixtures/basic.json deleted file mode 100644 index b54bde96..00000000 --- a/Godeps/_workspace/src/github.com/yudai/hcl/json/test-fixtures/basic.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "foo": "bar" -} diff --git a/Godeps/_workspace/src/github.com/yudai/hcl/json/test-fixtures/object.json b/Godeps/_workspace/src/github.com/yudai/hcl/json/test-fixtures/object.json deleted file mode 100644 index 72168a3c..00000000 --- a/Godeps/_workspace/src/github.com/yudai/hcl/json/test-fixtures/object.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "foo": { - "bar": [1,2] - } -} diff --git a/Godeps/_workspace/src/github.com/yudai/hcl/json/test-fixtures/types.json b/Godeps/_workspace/src/github.com/yudai/hcl/json/test-fixtures/types.json deleted file mode 100644 index 9a142a6c..00000000 --- a/Godeps/_workspace/src/github.com/yudai/hcl/json/test-fixtures/types.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "foo": "bar", - "bar": 7, - "baz": [1,2,3], - "foo": -12, - "bar": 3.14159, - "foo": true, - "bar": false, - "foo": null -} diff --git a/Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/basic.hcl b/Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/basic.hcl deleted file mode 100644 index 94999448..00000000 --- a/Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/basic.hcl +++ /dev/null @@ -1,2 +0,0 @@ -foo = "bar" -bar = "${file("bing/bong.txt")}" diff --git a/Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/basic.json b/Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/basic.json deleted file mode 100644 index 7bdddc84..00000000 --- a/Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/basic.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "foo": "bar", - "bar": "${file(\"bing/bong.txt\")}" -} diff --git a/Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/basic_int_string.hcl b/Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/basic_int_string.hcl deleted file mode 100644 index 4e415da2..00000000 --- a/Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/basic_int_string.hcl +++ /dev/null @@ -1 +0,0 @@ -count = "3" diff --git a/Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/basic_squish.hcl b/Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/basic_squish.hcl deleted file mode 100644 index 363697b4..00000000 --- a/Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/basic_squish.hcl +++ /dev/null @@ -1,3 +0,0 @@ -foo="bar" -bar="${file("bing/bong.txt")}" -foo-bar="baz" diff --git a/Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/decode_policy.hcl b/Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/decode_policy.hcl deleted file mode 100644 index 5b185cc9..00000000 --- a/Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/decode_policy.hcl +++ /dev/null @@ -1,15 +0,0 @@ -key "" { - policy = "read" -} - -key "foo/" { - policy = "write" -} - -key "foo/bar/" { - policy = "read" -} - -key "foo/bar/baz" { - policy = "deny" -} diff --git a/Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/decode_policy.json b/Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/decode_policy.json deleted file mode 100644 index 151864ee..00000000 --- a/Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/decode_policy.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "key": { - "": { - "policy": "read" - }, - - "foo/": { - "policy": "write" - }, - - "foo/bar/": { - "policy": "read" - }, - - "foo/bar/baz": { - "policy": "deny" - } - } -} diff --git a/Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/decode_tf_variable.hcl b/Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/decode_tf_variable.hcl deleted file mode 100644 index 52dcaa1b..00000000 --- a/Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/decode_tf_variable.hcl +++ /dev/null @@ -1,10 +0,0 @@ -variable "foo" { - default = "bar" - description = "bar" -} - -variable "amis" { - default = { - east = "foo" - } -} diff --git a/Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/decode_tf_variable.json b/Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/decode_tf_variable.json deleted file mode 100644 index 49f921ed..00000000 --- a/Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/decode_tf_variable.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "variable": { - "foo": { - "default": "bar", - "description": "bar" - }, - - "amis": { - "default": { - "east": "foo" - } - } - } -} diff --git a/Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/empty.hcl b/Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/empty.hcl deleted file mode 100644 index 5be1b231..00000000 --- a/Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/empty.hcl +++ /dev/null @@ -1 +0,0 @@ -resource "foo" {} diff --git a/Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/escape.hcl b/Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/escape.hcl deleted file mode 100644 index ead1b8b9..00000000 --- a/Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/escape.hcl +++ /dev/null @@ -1 +0,0 @@ -foo = "bar\"baz\\n" diff --git a/Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/flat.hcl b/Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/flat.hcl deleted file mode 100644 index 9bca551f..00000000 --- a/Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/flat.hcl +++ /dev/null @@ -1,2 +0,0 @@ -foo = "bar" -Key = 7 diff --git a/Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/float.hcl b/Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/float.hcl deleted file mode 100644 index eed44e54..00000000 --- a/Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/float.hcl +++ /dev/null @@ -1 +0,0 @@ -a = 1.02 diff --git a/Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/float.json b/Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/float.json deleted file mode 100644 index a9d1ab4b..00000000 --- a/Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/float.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "a": 1.02 -} diff --git a/Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/multiline.json b/Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/multiline.json deleted file mode 100644 index 93f7cc55..00000000 --- a/Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/multiline.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "foo": "bar\nbaz" -} diff --git a/Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/multiline_bad.hcl b/Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/multiline_bad.hcl deleted file mode 100644 index f883bd70..00000000 --- a/Godeps/_workspace/src/github.com/yudai/hcl/test-fixtures/multiline_bad.hcl +++ /dev/null @@ -1,4 +0,0 @@ -foo = <