SciRuby / daru-view

daru-view is for easy and interactive plotting in web application & IRuby notebook. daru-view is a plugin gem to the existing daru gem.
https://sciruby.github.io/daru-view/
MIT License
95 stars 20 forks source link

added tag for skipping updation of googlechart/highchart files locally #162

Closed sayant1204 closed 3 years ago

sayant1204 commented 3 years ago

Fixes #160.

Now by using the command bundle exec rspec --tag ~local we can skip updation of the googlechart and highchart js,css files.

sayant1204 commented 3 years ago

In Travis-CI after the execution of command bundle exec rake coveralls:push all the versions of ruby except 2.3 are giving the following errors -

daru-view.gemspec:9: warning: already initialized constant Daru::View::DESCRIPTION /home/travis/build/SciRuby/daru-view/daru-view.gemspec:9: warning: previous definition of DESCRIPTION was here mkdir -p vendor/assets/javascripts/googlecharts/ Coveralls encountered an exception: NoMethodError undefined method coverage' for #<SimpleCov::SourceFile:0x00000001bff648> Did you mean? coverage_data /home/travis/.rvm/gems/ruby-2.4.0/gems/coveralls-0.7.2/lib/coveralls/simplecov.rb:50:inblock in format' /home/travis/.rvm/rubies/ruby-2.4.0/lib/ruby/2.4.0/forwardable.rb:228:in each' /home/travis/.rvm/rubies/ruby-2.4.0/lib/ruby/2.4.0/forwardable.rb:228:ineach' /home/travis/.rvm/gems/ruby-2.4.0/gems/coveralls-0.7.2/lib/coveralls/simplecov.rb:40:in format' /home/travis/.rvm/gems/ruby-2.4.0/gems/coveralls-0.7.2/lib/coveralls.rb:32:inpush!' /home/travis/.rvm/gems/ruby-2.4.0/gems/coveralls-0.7.2/lib/coveralls/rake/task.rb:13:in block (2 levels) in initialize' /home/travis/.rvm/gems/ruby-2.4.0/gems/rake-13.0.3/lib/rake/task.rb:281:inblock in execute' /home/travis/.rvm/gems/ruby-2.4.0/gems/rake-13.0.3/lib/rake/task.rb:281:in each' /home/travis/.rvm/gems/ruby-2.4.0/gems/rake-13.0.3/lib/rake/task.rb:281:inexecute' /home/travis/.rvm/gems/ruby-2.4.0/gems/rake-13.0.3/lib/rake/task.rb:219:in block in invoke_with_call_chain' /home/travis/.rvm/rubies/ruby-2.4.0/lib/ruby/2.4.0/monitor.rb:214:inmon_synchronize' /home/travis/.rvm/gems/ruby-2.4.0/gems/rake-13.0.3/lib/rake/task.rb:199:in invoke_with_call_chain' /home/travis/.rvm/gems/ruby-2.4.0/gems/rake-13.0.3/lib/rake/task.rb:188:ininvoke' /home/travis/.rvm/gems/ruby-2.4.0/gems/rake-13.0.3/lib/rake/application.rb:160:in invoke_task' /home/travis/.rvm/gems/ruby-2.4.0/gems/rake-13.0.3/lib/rake/application.rb:116:inblock (2 levels) in top_level' /home/travis/.rvm/gems/ruby-2.4.0/gems/rake-13.0.3/lib/rake/application.rb:116:in each' /home/travis/.rvm/gems/ruby-2.4.0/gems/rake-13.0.3/lib/rake/application.rb:116:inblock in top_level' /home/travis/.rvm/gems/ruby-2.4.0/gems/rake-13.0.3/lib/rake/application.rb:125:in run_with_threads' /home/travis/.rvm/gems/ruby-2.4.0/gems/rake-13.0.3/lib/rake/application.rb:110:intop_level' /home/travis/.rvm/gems/ruby-2.4.0/gems/rake-13.0.3/lib/rake/application.rb:83:in block in run' /home/travis/.rvm/gems/ruby-2.4.0/gems/rake-13.0.3/lib/rake/application.rb:186:instandard_exception_handling' /home/travis/.rvm/gems/ruby-2.4.0/gems/rake-13.0.3/lib/rake/application.rb:80:in run' /home/travis/.rvm/gems/ruby-2.4.0/gems/rake-13.0.3/exe/rake:27:in<top (required)>' /home/travis/.rvm/gems/ruby-2.4.0/bin/rake:23:in load' /home/travis/.rvm/gems/ruby-2.4.0/bin/rake:23:in<top (required)>' /home/travis/.rvm/gems/ruby-2.4.0/gems/bundler-2.2.8/lib/bundler/cli/exec.rb:63:in load' /home/travis/.rvm/gems/ruby-2.4.0/gems/bundler-2.2.8/lib/bundler/cli/exec.rb:63:inkernel_load' /home/travis/.rvm/gems/ruby-2.4.0/gems/bundler-2.2.8/lib/bundler/cli/exec.rb:28:in run' /home/travis/.rvm/gems/ruby-2.4.0/gems/bundler-2.2.8/lib/bundler/cli.rb:494:inexec' /home/travis/.rvm/gems/ruby-2.4.0/gems/bundler-2.2.8/lib/bundler/vendor/thor/lib/thor/command.rb:27:in run' /home/travis/.rvm/gems/ruby-2.4.0/gems/bundler-2.2.8/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:ininvoke_command' /home/travis/.rvm/gems/ruby-2.4.0/gems/bundler-2.2.8/lib/bundler/vendor/thor/lib/thor.rb:392:in dispatch' /home/travis/.rvm/gems/ruby-2.4.0/gems/bundler-2.2.8/lib/bundler/cli.rb:30:indispatch' /home/travis/.rvm/gems/ruby-2.4.0/gems/bundler-2.2.8/lib/bundler/vendor/thor/lib/thor/base.rb:485:in start' /home/travis/.rvm/gems/ruby-2.4.0/gems/bundler-2.2.8/lib/bundler/cli.rb:24:instart' /home/travis/.rvm/gems/ruby-2.4.0/gems/bundler-2.2.8/exe/bundle:49:in block in <top (required)>' /home/travis/.rvm/gems/ruby-2.4.0/gems/bundler-2.2.8/lib/bundler/friendly_errors.rb:130:inwith_friendly_errors' /home/travis/.rvm/gems/ruby-2.4.0/gems/bundler-2.2.8/exe/bundle:37:in <top (required)>' /home/travis/.rvm/gems/ruby-2.4.0/bin/bundle:23:inload' /home/travis/.rvm/gems/ruby-2.4.0/bin/bundle:23:in `

' Coverage report generated for RSpec to /home/travis/build/SciRuby/daru-view/coverage. 0 / 0 LOC (100.0%) covered. Done. Your build exited with 0.

sayant1204 commented 3 years ago

ping @Shekharrajak

Shekharrajak commented 3 years ago

@sayant1204 can you please document this command as well and let others know how they can skip bundle exec rspec --tag ~local . You can update the CONTRIBUTION.md file

sayant1204 commented 3 years ago

@Shekharrajak, all the development changes are in daru-view/wiki/Development-Workflow-and-Contribution-guide and in contributing.md only links are attached. So should I update there?

Shekharrajak commented 3 years ago

@Shekharrajak, all the development changes are in daru-view/wiki/Development-Workflow-and-Contribution-guide and in contributing.md only links are attached. So should I update there?

Yeah!

Shekharrajak commented 3 years ago

Please update the testing part in wiki