Skip to content

Commit

Permalink
drink bundler koolaid
Browse files Browse the repository at this point in the history
  • Loading branch information
cowboyd committed Jan 7, 2011
1 parent 5e745d7 commit 1e7790f
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 69 deletions.
10 changes: 5 additions & 5 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
PATH
remote: .
specs:
rednode (0.1.0)
rednode (0.1.2)
eventmachine
therubyracer (~> 0.8.0.pre)
therubyracer (>= 0.8.0)

GEM
remote: http://rubygems.org/
Expand All @@ -20,13 +20,13 @@ GEM
rspec-mocks (2.0.1)
rspec-core (~> 2.0.1)
rspec-expectations (~> 2.0.1)
therubyracer (0.8.0.pre2)
therubyracer (0.8.0)

PLATFORMS
ruby

DEPENDENCIES
eventmachine
rednode!
rspec (~> 2.0.0)
therubyracer (~> 0.8.0.pre)
rspec (>= 2.0.0)
therubyracer (>= 0.8.0)
23 changes: 6 additions & 17 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,23 +1,12 @@
require 'rubygems'
require 'bundler/setup'
require 'bundler'
Bundler::GemHelper.install_tasks

$:.unshift('./lib')
require 'rednode'
task :default => :spec

$gem = Gem::Specification.new do |gem|
gem.name = "rednode"
gem.version = Rednode::VERSION
gem.summary = %Q{Pure Ruby implementation of Node.js' native libraries.}
gem.description = %Q{Lets you run node.js apps without the node native runtime using V8, therubyracer and a pure ruby native runtime using Eventmachine}
gem.email = ["cowboyd@thefrontside.com", "aslak.hellesoy@gmail.com"]
gem.homepage = "http://github.com/cowboyd/rednode"
gem.authors = ["Charles Lowell", "Aslak Hellesøy"]
gem.add_dependency "therubyracer", "~> 0.8.0.pre"
gem.add_dependency "eventmachine"
gem.add_development_dependency "rspec", "~> 2.0.0"
end

task :default => :spec
task :clean do
sh "rm -rf pkg"
end

for lib in Dir["tasks/*.rake"]
load lib
Expand Down
2 changes: 1 addition & 1 deletion lib/rednode.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
require 'v8'

module Rednode
VERSION = '0.1.1'
require 'rednode/version'
NODE_VERSION = '0.2.0'
NODE_HOME = File.expand_path(File.dirname(__FILE__) + '/../ext/node')
require 'rednode/node'
Expand Down
3 changes: 3 additions & 0 deletions lib/rednode/version.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module Rednode
VERSION = '0.1.2'
end
44 changes: 18 additions & 26 deletions rednode.gemspec

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions tasks/clean.rake

This file was deleted.

18 changes: 0 additions & 18 deletions tasks/gem.rake

This file was deleted.

0 comments on commit 1e7790f

Please sign in to comment.