daru_plotly 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 9b2466bbba48dd0757d7450e69c66e3f7cac3546
4
+ data.tar.gz: 46f98f4e01e4b76e17db92e9430221991bd57f56
5
+ SHA512:
6
+ metadata.gz: bbdf3cb9c575f1a7051672cc9eddadcae7b6b3b76dc83d92966d57ff966b505650eee79b79fcf602751e466a587bb1aac708e3de25e3288f3faa525490426cee
7
+ data.tar.gz: '0291ee88fb0fc9555c9a7869465bce762ad5d092ea577d7796c41594bd16f279cbd8909877ddde2e72466eba526ef91decb2ffbb48e201ec695b28288c198cfa'
data/.gitignore ADDED
@@ -0,0 +1,18 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+
11
+ *.swp
12
+ .ipython/
13
+ .ipynb_checkpoints/
14
+ .viminfo
15
+ .local
16
+ .bash_history
17
+ .jupyter/
18
+ *.gem
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
data/.travis.yml ADDED
@@ -0,0 +1,17 @@
1
+ language:
2
+ ruby
3
+
4
+ rvm:
5
+ - '2.3.2'
6
+ - '2.4.0'
7
+
8
+ matrix:
9
+ fast_finish:
10
+ true
11
+
12
+ script:
13
+ - bundle exec rspec
14
+
15
+ install:
16
+ - gem install bundler
17
+ - bundle install
@@ -0,0 +1,49 @@
1
+ # Contributor Code of Conduct
2
+
3
+ As contributors and maintainers of this project, and in the interest of
4
+ fostering an open and welcoming community, we pledge to respect all people who
5
+ contribute through reporting issues, posting feature requests, updating
6
+ documentation, submitting pull requests or patches, and other activities.
7
+
8
+ We are committed to making participation in this project a harassment-free
9
+ experience for everyone, regardless of level of experience, gender, gender
10
+ identity and expression, sexual orientation, disability, personal appearance,
11
+ body size, race, ethnicity, age, religion, or nationality.
12
+
13
+ Examples of unacceptable behavior by participants include:
14
+
15
+ * The use of sexualized language or imagery
16
+ * Personal attacks
17
+ * Trolling or insulting/derogatory comments
18
+ * Public or private harassment
19
+ * Publishing other's private information, such as physical or electronic
20
+ addresses, without explicit permission
21
+ * Other unethical or unprofessional conduct
22
+
23
+ Project maintainers have the right and responsibility to remove, edit, or
24
+ reject comments, commits, code, wiki edits, issues, and other contributions
25
+ that are not aligned to this Code of Conduct, or to ban temporarily or
26
+ permanently any contributor for other behaviors that they deem inappropriate,
27
+ threatening, offensive, or harmful.
28
+
29
+ By adopting this Code of Conduct, project maintainers commit themselves to
30
+ fairly and consistently applying these principles to every aspect of managing
31
+ this project. Project maintainers who do not follow or enforce the Code of
32
+ Conduct may be permanently removed from the project team.
33
+
34
+ This code of conduct applies both within project spaces and in public spaces
35
+ when an individual is representing the project or its community.
36
+
37
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
38
+ reported by contacting a project maintainer at TODO: Write your email address. All
39
+ complaints will be reviewed and investigated and will result in a response that
40
+ is deemed necessary and appropriate to the circumstances. Maintainers are
41
+ obligated to maintain confidentiality with regard to the reporter of an
42
+ incident.
43
+
44
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
45
+ version 1.3.0, available at
46
+ [http://contributor-covenant.org/version/1/3/0/][version]
47
+
48
+ [homepage]: http://contributor-covenant.org
49
+ [version]: http://contributor-covenant.org/version/1/3/0/
data/Dockerfile ADDED
@@ -0,0 +1,21 @@
1
+ FROM ruby:2.3
2
+
3
+ WORKDIR /tmp
4
+
5
+ RUN apt-get update
6
+ RUN apt-get install -y vim
7
+
8
+ RUN apt-get install -y python3-dev libzmq3-dev python3-pip
9
+ RUN pip3 install 'ipython[notebook]'
10
+
11
+ RUN apt-get install -y libtool-bin uuid-dev
12
+ ADD Gemfile /tmp
13
+ ADD daru_plotting_plotly.gemspec /tmp
14
+ RUN mkdir -p /tmp/lib/daru_plotting_plotly
15
+ ADD lib/daru_plotting_plotly/version.rb /tmp/lib/daru_plotting_plotly
16
+ RUN bundle install
17
+ RUN find /usr/local/bundle/gems/daru-0.1.4.1/lib/daru/ -name "*.rb" | xargs sed -i -e "s/ArguementError/ArgumentError/g"
18
+
19
+ WORKDIR /root
20
+ EXPOSE 8888
21
+ CMD iruby notebook --ip 0.0.0.0
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in daru-plotly.gemspec
4
+ gemspec
data/README.md ADDED
@@ -0,0 +1,11 @@
1
+ [![Build Status](https://travis-ci.org/genya0407/daru_plotting_plotly.svg?branch=master)](https://travis-ci.org/genya0407/daru_plotting_plotly)
2
+
3
+ # daru\_plotting\_plotly
4
+
5
+ This gem connects [Rbplotly](https://github.com/ash1day/rbplotly) with [Daru](https://github.com/SciRuby/daru).
6
+
7
+ Ruby version should be >= 2.3
8
+
9
+ # usage
10
+
11
+ Refer to this [example](http://nbviewer.jupyter.org/github/genya0407/daru_plotting_plotly/blob/master/examples/plots.ipynb).
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "daru_plotly"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,32 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "daru_plotly"
8
+ spec.version = Daru::Plotly::VERSION
9
+ spec.authors = ["Yusuke Sangenya"]
10
+ spec.email = ["longinus.eva@gmail.com"]
11
+
12
+ spec.summary = %q{Plot Daru's DataFrame with plotly.}
13
+ spec.description = %q{Plot Daru's DataFrame with plotly.}
14
+ spec.homepage = "https://github.com/genya0407/daru_plotly"
15
+
16
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
17
+ spec.bindir = "exe"
18
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
19
+ spec.require_paths = ["lib"]
20
+
21
+ spec.add_dependency "daru"
22
+ spec.add_dependency "rbplotly"
23
+
24
+ spec.add_development_dependency "bundler", "~> 1.12"
25
+ spec.add_development_dependency "rake", "~> 10.0"
26
+ spec.add_development_dependency "rspec", "~> 3.0"
27
+ spec.add_development_dependency "rbczmq"
28
+ spec.add_development_dependency "iruby"
29
+ spec.add_development_dependency "spreadsheet"
30
+ spec.add_development_dependency "nyaplot"
31
+ spec.add_development_dependency "gruff"
32
+ end