d3_rails-3.5.6/0000755000175000017500000000000012555530044014516 5ustar balasankarcbalasankarcd3_rails-3.5.6/Gemfile0000644000175000017500000000004612555530044016011 0ustar balasankarcbalasankarcsource "http://rubygems.org" gemspec d3_rails-3.5.6/.gitignore0000644000175000017500000000007312555530044016506 0ustar balasankarcbalasankarc*.gem .bundle Gemfile.lock pkg/* .DS_Store lib/tasks/*.thord3_rails-3.5.6/Rakefile0000644000175000017500000000003412555530044016160 0ustar balasankarcbalasankarcrequire "bundler/gem_tasks" d3_rails-3.5.6/app/0000755000175000017500000000000012555530044015276 5ustar balasankarcbalasankarcd3_rails-3.5.6/app/assets/0000755000175000017500000000000012555530044016600 5ustar balasankarcbalasankarcd3_rails-3.5.6/app/assets/stylesheets/0000755000175000017500000000000012555530044021154 5ustar balasankarcbalasankarcd3_rails-3.5.6/app/assets/stylesheets/.gitkeep0000644000175000017500000000000012555530044022573 0ustar balasankarcbalasankarcd3_rails-3.5.6/app/assets/javascripts/0000755000175000017500000000000012555530044021131 5ustar balasankarcbalasankarcd3_rails-3.5.6/app/assets/javascripts/d3.v3.js0000644000175000017500000000001612555530044022321 0ustar balasankarcbalasankarc//= require d3d3_rails-3.5.6/app/assets/javascripts/d3.v3.min.js0000644000175000017500000000002212555530044023100 0ustar balasankarcbalasankarc//= require d3.mind3_rails-3.5.6/metadata.yml0000644000175000017500000000537412555530044017032 0ustar balasankarcbalasankarc--- !ruby/object:Gem::Specification name: d3_rails version: !ruby/object:Gem::Version version: 3.5.6 platform: ruby authors: - Michael Bostock - Han Kang - Cynthia Kiser - Byron Anderson - Johnathan Pulos autorequire: bindir: bin cert_chain: [] date: 2015-07-17 00:00:00.000000000 Z dependencies: - !ruby/object:Gem::Dependency name: railties requirement: !ruby/object:Gem::Requirement requirements: - - ">=" - !ruby/object:Gem::Version version: 3.1.0 type: :runtime prerelease: false version_requirements: !ruby/object:Gem::Requirement requirements: - - ">=" - !ruby/object:Gem::Version version: 3.1.0 - !ruby/object:Gem::Dependency name: bundler requirement: !ruby/object:Gem::Requirement requirements: - - ">=" - !ruby/object:Gem::Version version: 1.0.0 type: :development prerelease: false version_requirements: !ruby/object:Gem::Requirement requirements: - - ">=" - !ruby/object:Gem::Version version: 1.0.0 - !ruby/object:Gem::Dependency name: rails requirement: !ruby/object:Gem::Requirement requirements: - - ">=" - !ruby/object:Gem::Version version: '3.1' type: :development prerelease: false version_requirements: !ruby/object:Gem::Requirement requirements: - - ">=" - !ruby/object:Gem::Version version: '3.1' - !ruby/object:Gem::Dependency name: pry requirement: !ruby/object:Gem::Requirement requirements: - - ">=" - !ruby/object:Gem::Version version: '0' type: :development prerelease: false version_requirements: !ruby/object:Gem::Requirement requirements: - - ">=" - !ruby/object:Gem::Version version: '0' description: Gem installation of javascript framework for data visualization, D3 email: - han@logicallsat.com executables: [] extensions: [] extra_rdoc_files: [] files: - ".gitignore" - Gemfile - LICENSE - MIT_LICENSE - README.md - Rakefile - app/assets/javascripts/d3.js - app/assets/javascripts/d3.min.js - app/assets/javascripts/d3.v3.js - app/assets/javascripts/d3.v3.min.js - app/assets/stylesheets/.gitkeep - d3_rails.gemspec - lib/d3_rails.rb - lib/d3_rails/engine.rb - lib/d3_rails/version.rb homepage: https://github.com/logical42/d3_rails licenses: - MIT metadata: {} post_install_message: rdoc_options: [] require_paths: - lib required_ruby_version: !ruby/object:Gem::Requirement requirements: - - ">=" - !ruby/object:Gem::Version version: '0' required_rubygems_version: !ruby/object:Gem::Requirement requirements: - - ">=" - !ruby/object:Gem::Version version: '0' requirements: [] rubyforge_project: d3_rails rubygems_version: 2.2.2 signing_key: specification_version: 4 summary: D3 automated install for Rails 3.1+ test_files: [] d3_rails-3.5.6/lib/0000755000175000017500000000000012555530044015264 5ustar balasankarcbalasankarcd3_rails-3.5.6/lib/d3_rails.rb0000644000175000017500000000015512555530044017312 0ustar balasankarcbalasankarcif defined? Rails && Rails::VERSION::MAJOR == 3 && Rails::VERSION::MINOR >= 1 require 'd3_rails/engine' endd3_rails-3.5.6/lib/d3_rails/0000755000175000017500000000000012555530044016764 5ustar balasankarcbalasankarcd3_rails-3.5.6/lib/d3_rails/version.rb0000644000175000017500000000004712555530044020777 0ustar balasankarcbalasankarcmodule D3Rails VERSION = '3.5.6' end d3_rails-3.5.6/lib/d3_rails/engine.rb0000644000175000017500000000012212555530044020551 0ustar balasankarcbalasankarcmodule D3Rails module Rails class Engine < ::Rails::Engine end end endd3_rails-3.5.6/LICENSE0000644000175000017500000000313712555530044015527 0ustar balasankarcbalasankarcD3 is a javascript framework created by Michael Bostock ------------------------------------------------------------------------ Copyright (c) 2013, Michael Bostock All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * The name Michael Bostock may not be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL MICHAEL BOSTOCK BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ----------------------------------------------------------------------------- d3_rails-3.5.6/d3_rails.gemspec0000644000175000017500000000200112555530044017554 0ustar balasankarcbalasankarc# -*- encoding: utf-8 -*- $:.push File.expand_path("../lib", __FILE__) require "d3_rails/version" Gem::Specification.new do |s| s.name = "d3_rails" s.version = D3Rails::VERSION s.authors = ["Michael Bostock","Han Kang", "Cynthia Kiser", "Byron Anderson", "Johnathan Pulos"] s.email = ["han@logicallsat.com"] s.license = 'MIT' s.homepage = "https://github.com/logical42/d3_rails" s.summary = %q{D3 automated install for Rails 3.1+} s.description = %q{Gem installation of javascript framework for data visualization, D3} s.rubyforge_project = "d3_rails" s.files = `git ls-files`.split("\n") s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } s.require_paths = ["lib"] s.add_dependency "railties", ">= 3.1.0" s.add_development_dependency "bundler", '>= 1.0.0' s.add_development_dependency "rails", ">= 3.1" s.add_development_dependency "pry" end d3_rails-3.5.6/MIT_LICENSE0000644000175000017500000000244312555530044016237 0ustar balasankarcbalasankarcd3_rails License (note that this license only really covers the ruby part of the code, d3 has it's own license which is also included in this gem, thank you Michael Bostocks for sharing your framework). --------------------------- The MIT License (MIT) Copyright (c) 2011-2013, Han Kang Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.d3_rails-3.5.6/README.md0000644000175000017500000000261512555530044016001 0ustar balasankarcbalasankarc# D3_Rails [![Gem Version](https://badge.fury.io/rb/d3_rails.png)](http://badge.fury.io/rb/d3_rails) **D3_Rails** is a small, lightweight gem which allows you to include any and all of D3 Javascripts into your 3.1 Rails application, merely by including any desired D3 files into your application.js manifest. # About D3 **D3** is a small, free JavaScript library for manipulating HTML documents based on data. D3 can help you quickly visualize your data as HTML or SVG, handle interactivity, and incorporate smooth transitions and staged animations into your pages. You can use D3 as a visualization framework (like Protovis), or you can use it to build dynamic pages (like jQuery). # Included Javascripts d3.js d3.min.js ### Installation This gem should work out of the box. All you have to do is add the gem to your Gemfile: gem 'd3_rails' Then bundle install or update (depending on if you want to upgrade an older version of this gem). bundle install bundle update For use with the asset pipeline, you can include the d3 javascript in your rails application by merely including the following line in your application.js manifest //= require jquery . . //= require d3 ### Versioning Version numbers of this gem have been changed as of **2-2-2012** to reflect the d3 version numbers. ### Extraneous files As of version 3.0.0, the extraneous files from legacy version of d3 have been removed.