Skip to content

Commit

Permalink
Merge pull request #27 from tbeason/upgradesnov2020
Browse files Browse the repository at this point in the history
Compat merges
  • Loading branch information
tbeason authored Nov 19, 2020
2 parents 7e2ca9a + b34f546 commit 40a8122
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@ os:
- linux
- osx
julia:
- 1 # this always does julia-latest
- 1.3
- 1.4
- 1.5
- nightly
notifications:
email: false
Expand Down
8 changes: 4 additions & 4 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "FamaFrenchData"
uuid = "bd2a388e-9788-4ef7-9fc3-f4c919ffde82"
authors = ["Tyler Beason <tbeas12@gmail.com>"]
version = "0.2.0"
version = "0.3.0"

[deps]
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"
Expand All @@ -11,9 +11,9 @@ HTTP = "cd3eb016-35fb-5094-929b-558a96fad6f3"
ZipFile = "a5390f91-8eb1-5f08-bee0-b1d1ffed6cea"

[compat]
CSV = "^0.5.15, 0.6, 0.7"
DataFrames = "0.19.4, 0.20, 0.21"
HTTP = "^0.8.11"
CSV = "^0.7.6, 0.8"
DataFrames = "0.19.4, 0.20, 0.21, 0.22"
HTTP = "^0.8.11, 0.9"
ZipFile = "0.8.4, 0.9"
julia = "^1.3"

Expand Down
2 changes: 1 addition & 1 deletion src/FamaFrenchData.jl
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ function parsefile(lines;kwargs...)
dfvec = Vector{DataFrame}(undef,ntables)
for i in 1:ntables
ios = IOBuffer(string(stringarray[tranges[i]]...))
dfvec[i] = CSV.File(ios;csvopt...) |> DataFrame
dfvec[i] = CSV.read(ios,DataFrame;csvopt...)
rename!(dfvec[i],Symbol(first(names(dfvec[i]))) => :Date)
close(ios)
end
Expand Down

2 comments on commit 40a8122

@tbeason
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register

Release notes:

Updated for CSV 0.8, dropped support for CSV < 0.7.6

Updated for DataFrames 0.22, HTTP 0.9

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/24923

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.3.0 -m "<description of version>" 40a8122c21759349121ec496e287e384b16248a0
git push origin v0.3.0

Please sign in to comment.