Skip to content

Commit

Permalink
Merge pull request #45 from wookay/fix_assoc_with_dict
Browse files Browse the repository at this point in the history
Fix Assoc with Dict
  • Loading branch information
wookay committed Jan 20, 2018
2 parents 39d4120 + 64ead6a commit 99ac735
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 9 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ os:
- linux
- osx
julia:
- 0.5
- nightly
- 0.6
notifications:
email: false
# uncomment the following lines to override the default test script
Expand Down
4 changes: 2 additions & 2 deletions REQUIRE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
julia 0.5
julia 0.6
HttpCommon
HttpServer
URIParser
Expand All @@ -7,4 +7,4 @@ JSON
Requests
MbedTLS
Libz
Compat 0.17.0
Compat 0.37.0
6 changes: 2 additions & 4 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
environment:
matrix:
- JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x86/0.5/julia-0.5-latest-win32.exe"
- JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x64/0.5/julia-0.5-latest-win64.exe"
- JULIA_URL: "https://julialangnightlies-s3.julialang.org/bin/winnt/x86/julia-latest-win32.exe"
- JULIA_URL: "https://julialangnightlies-s3.julialang.org/bin/winnt/x64/julia-latest-win64.exe"
- JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x86/0.6/julia-0.6.2-win32.exe"
- JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x64/0.6/julia-0.6.2-win64.exe"

branches:
only:
Expand Down
2 changes: 1 addition & 1 deletion src/octo/assoc.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ type Assoc
function Assoc(dict::Dict{AbstractString,AbstractString})
new([(Symbol(k),v) for (k,v) in dict])
end
function Assoc(dict::Dict{String,Any})
function Assoc(dict::Dict{String,String})
new([(Symbol(k),v) for (k,v) in dict])
end
function Assoc(dict::Dict{Symbol,Any})
Expand Down

0 comments on commit 99ac735

Please sign in to comment.