Skip to content

Commit

Permalink
Merge 1cbfb31 into 2258b0b
Browse files Browse the repository at this point in the history
  • Loading branch information
Shekharrajak committed Jul 6, 2018
2 parents 2258b0b + 1cbfb31 commit 3df8f11
Show file tree
Hide file tree
Showing 7 changed files with 843 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Expand Up @@ -12,6 +12,9 @@ script:
- bundle exec rspec
- bundle exec rubocop

after_script:
- bundle exec rake coveralls:push

install:
- gem install bundler
- gem install rainbow -v '2.2.1'
Expand Down
7 changes: 7 additions & 0 deletions Gemfile
Expand Up @@ -11,3 +11,10 @@ gem "nyaplot", git: 'https://github.com/SciRuby/nyaplot.git'
gem 'google_visualr', git: 'https://github.com/winston/google_visualr.git'

gem 'daru-data_tables', git: 'https://github.com/Shekharrajak/daru-data_tables.git'

group :test do
gem 'coveralls', require: false
gem 'rspec'
gem 'simplecov', require: false
gem 'simplecov-console', require: false
end
7 changes: 6 additions & 1 deletion README.md
@@ -1,5 +1,10 @@
# Daru::View

[![Gem Version](https://badge.fury.io/rb/daru-view.svg)](https://badge.fury.io/rb/daru-view)
[![Build Status](https://travis-ci.org/SciRuby/daru-view.svg?branch=master)](https://travis-ci.org/SciRuby/daru-view)
[![Coverage Status](https://coveralls.io/repos/github/SciRuby/daru-view/badge.svg?branch=master)](https://coveralls.io/github/SciRuby/daru-view?branch=master)


[Daru](https://github.com/sciruby/daru) (Data Analysis in RUby) is a library for analysis, manipulation and visualization of data. Daru-view is for easy and interactive plotting in web application & IRuby notebook. It can work in frameworks like Rails, Sinatra, Nanoc and hopefully in others too.

It is a plugin gem to Data Analysis in RUby([Daru](https://github.com/sciruby/daru)) for visualisation of data
Expand Down Expand Up @@ -34,7 +39,7 @@ Or install it yourself as:

$ gem install daru-view

If above is not working or you want to install latest code:
If above is not working or you want to install latest code:

```
gem install specific_install
Expand Down
3 changes: 3 additions & 0 deletions Rakefile
Expand Up @@ -13,10 +13,13 @@ RuboCop::RakeTask.new
desc 'Default: run unit specs.'
task :default => %w[spec rubocop]

require 'coveralls/rake/task'
Coveralls::RakeTask.new

import 'lib/tasks/high_charts.rake'
import 'lib/tasks/nyaplot.rake'
import 'lib/tasks/google_charts.rake'

# TODO: add Nyaplot
task :update_all => ["googlecharts:update", "highcharts:update"]

2 changes: 0 additions & 2 deletions daru-view.gemspec
Expand Up @@ -29,8 +29,6 @@ Gem::Specification.new do |spec|
spec.executables = ['daru-view']

spec.add_development_dependency 'bundler'
spec.add_development_dependency 'rspec'
spec.add_development_dependency 'simplecov'
spec.add_development_dependency "rake"
spec.add_development_dependency 'pry'

Expand Down
814 changes: 814 additions & 0 deletions plot.html

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions spec/spec_helper.rb
Expand Up @@ -2,10 +2,20 @@
require 'simplecov'
require 'daru/view'
require 'daru'
require 'coveralls'
require 'simplecov-console'

# Configure Rails Environment
# these lines are needed when spec/dummy_rails will be created
# ENV["RAILS_ENV"] = "test"
# require File.expand_path("dummy_rails/config/environment.rb", __dir__)

Coveralls.wear!
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new(
[
SimpleCov::Formatter::Console,
# Want a nice code coverage website? Uncomment this next line!
# SimpleCov::Formatter::HTMLFormatter
]
)
SimpleCov.start

0 comments on commit 3df8f11

Please sign in to comment.