diff --git a/.travis.yml b/.travis.yml index b595f47..42ed264 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,7 +3,7 @@ os: - linux - osx julia: -- 0.6 +- 1.0 notifications: email: false env: diff --git a/Project.toml b/Project.toml new file mode 100644 index 0000000..a5203f0 --- /dev/null +++ b/Project.toml @@ -0,0 +1,10 @@ +name = "AWSEC2" +uuid = "702785d1-5201-5208-b5ff-8fd798c35775" +version = "0.4.0" + +[deps] +AWSCore = "4f1ea46c-232b-54a6-9b17-cc2d0f3e6598" +SymDict = "2da68c74-98d7-5633-99d6-8493888d7b1e" +Retry = "20febd7b-183b-5ae2-ac4a-720e7ce64774" +Base64 = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f" +Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" diff --git a/REQUIRE b/REQUIRE deleted file mode 100644 index 5b999a8..0000000 --- a/REQUIRE +++ /dev/null @@ -1,5 +0,0 @@ -julia 0.6 -AWSCore 0.3 -AWSIAM -SymDict 0.1.2 -Retry diff --git a/src/AWSEC2.jl b/src/AWSEC2.jl index 70bb488..9cb2050 100644 --- a/src/AWSEC2.jl +++ b/src/AWSEC2.jl @@ -16,14 +16,14 @@ export ec2, ec2_id, delete_ec2, create_ec2, ec2_bash using AWSCore -using AWSIAM using SymDict using Retry +using Base64 ec2(aws, action::String; args...) = ec2(aws, action, stringdict(args)) -ec2(aws, args::Associative) = ec2(aws, args["Action"], args) +ec2(aws, args::AbstractDict) = ec2(aws, args["Action"], args) ec2(aws::AWSConfig, action::String, args) = AWSCore.Services.ec2(aws, action, args) diff --git a/test/runtests.jl b/test/runtests.jl index 35bb84e..3783279 100755 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -6,7 +6,8 @@ using AWSEC2 -using Base.Test +using AWSCore +using Test AWSCore.set_debug_level(1)