Skip to content

Commit

Permalink
Make this a gem with Bundler
Browse files Browse the repository at this point in the history
  • Loading branch information
munshkr committed Jun 25, 2013
1 parent 4622ba7 commit bad5949
Show file tree
Hide file tree
Showing 8 changed files with 81 additions and 35 deletions.
17 changes: 17 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,18 @@
.ipynb_checkpoints/
*.gem
*.rbc
.bundle
.config
.yardoc
Gemfile.lock
InstalledFiles
_yardoc
coverage
doc/
lib/bundler/man
pkg
rdoc
spec/reports
test/tmp
test/version_tmp
tmp
10 changes: 3 additions & 7 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
source :rubygems
source 'https://rubygems.org'

gem 'ffi-rzmq'
gem 'uuid'
gem 'json'
gem 'term-ansicolor'
gem 'trollop'
gem 'bond'
# Specify your gem's dependencies in iruby.gemspec
gemspec
28 changes: 0 additions & 28 deletions Gemfile.lock

This file was deleted.

22 changes: 22 additions & 0 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Copyright (c) 2013 Damián Silvani

MIT License

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.
1 change: 1 addition & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
require "bundler/gem_tasks"
30 changes: 30 additions & 0 deletions iruby.gemspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'iruby/version'

Gem::Specification.new do |spec|
spec.name = "iruby"
spec.version = Iruby::VERSION
spec.authors = ["Damián Silvani"]
spec.email = ["[email protected]"]
spec.description = %q{IPython Notebook for Ruby}
spec.summary = %q{Create an IPython Notebook profile for using Ruby as kernel}
spec.homepage = ""
spec.license = "MIT"

spec.files = `git ls-files`.split($/)
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]

spec.add_development_dependency "bundler", "~> 1.3"
spec.add_development_dependency "rake"

spec.add_runtime_dependency "bond"
spec.add_runtime_dependency "ffi-rzmq"
spec.add_runtime_dependency "json"
spec.add_runtime_dependency "term-ansicolor"
spec.add_runtime_dependency "trollop"
spec.add_runtime_dependency "uuid"
end
5 changes: 5 additions & 0 deletions lib/iruby.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
require "iruby/version"

module Iruby
# Your code goes here...
end
3 changes: 3 additions & 0 deletions lib/iruby/version.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module Iruby
VERSION = "0.0.1"
end

0 comments on commit bad5949

Please sign in to comment.