Skip to content

Commit

Permalink
Update D3 to 6.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
iblue committed Apr 3, 2021
1 parent e3b9a50 commit 595d362
Show file tree
Hide file tree
Showing 9 changed files with 20,676 additions and 18,368 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 6.6.2 (3 April 2021)
* Update updater to update to version 6
* Upgrade D3 to 6.6.3

## 5.16.0 (31 March 2021)
* Upgrade D3 to 5.16.0

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ d3-rails provides D3 for Rails 3.1 and higher.

## Version

d3-rails comes with version 5.16.0 of D3.js. The d3-rails version will
d3-rails comes with version 6.6.2 of D3.js. The d3-rails version will
always mirror the version of D3. If you need a newer version of
d3-rails, see section Development (below).

Expand Down
8 changes: 4 additions & 4 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ Bundler::GemHelper.install_tasks
namespace :d3 do
desc 'Update d3 version'
task :update_version do
`curl -o app/assets/javascripts/d3.js https://d3js.org/d3.v5.js`
`curl -o app/assets/javascripts/d3.min.js https://d3js.org/d3.v5.min.js`
`cp app/assets/javascripts/d3.js app/assets/javascripts/d3.v5.js`
`cp app/assets/javascripts/d3.min.js app/assets/javascripts/d3.v5.min.js`
`curl -o app/assets/javascripts/d3.js https://d3js.org/d3.v6.js`
`curl -o app/assets/javascripts/d3.min.js https://d3js.org/d3.v6.min.js`
`cp app/assets/javascripts/d3.js app/assets/javascripts/d3.v6.js`
`cp app/assets/javascripts/d3.min.js app/assets/javascripts/d3.v6.min.js`
version = File.open("app/assets/javascripts/d3.js") { |f|
f.each_line.lazy.select { |line|
line.match(/((\d+\.)(\d+\.)(\*|\d+))/)
Expand Down
Loading

0 comments on commit 595d362

Please sign in to comment.