diff --git a/.gitignore b/.gitignore index 8474082c..5122c0ad 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,7 @@ site/ .bundle/ .pairs .rvmrc +*.gem +.bundle +Gemfile.lock +pkg/* diff --git a/Gemfile.lock b/Gemfile.lock deleted file mode 100644 index 837abb8d..00000000 --- a/Gemfile.lock +++ /dev/null @@ -1,33 +0,0 @@ -GEM - remote: http://rubygems.org/ - specs: - daemons (1.0.10) - frank (1.0.8) - haml (>= 3.0) - mongrel (>= 1.2.0.pre2) - net-scp (>= 1.0) - net-ssh (>= 2.0) - rack (>= 1.0) - tilt (= 0.9) - gem_plugin (0.2.3) - haml (3.0.25) - json_pure (1.4.6) - mongrel (1.2.0.pre2) - daemons (~> 1.0.10) - gem_plugin (~> 0.2.3) - net-scp (1.0.4) - net-ssh (>= 1.99.1) - net-ssh (2.1.0) - rack (1.2.1) - ragaskar-jsdoc_helper (0.0.2.1) - rake (0.8.7) - tilt (0.9) - -PLATFORMS - ruby - -DEPENDENCIES - frank - json_pure (~> 1.4.3) - ragaskar-jsdoc_helper - rake (= 0.8.7) diff --git a/Rakefile b/Rakefile index 89a8ccb5..99e52efe 100644 --- a/Rakefile +++ b/Rakefile @@ -29,6 +29,9 @@ def substitute_jasmine_version(filename) File.open(filename, 'w') { |f| f.write(contents) } end +require 'bundler' +Bundler::GemHelper.install_tasks + task :default => :spec desc "Run spec suite: Browser, Node, JSHint" diff --git a/jasmine-core.gemspec b/jasmine-core.gemspec new file mode 100644 index 00000000..1b5be715 --- /dev/null +++ b/jasmine-core.gemspec @@ -0,0 +1,21 @@ +# -*- encoding: utf-8 -*- +$:.push File.expand_path("../lib", __FILE__) +require "jasmine-core/version" + +Gem::Specification.new do |s| + s.name = "jasmine-core" + s.version = Jasmine::Core::VERSION + s.platform = Gem::Platform::RUBY + s.authors = ["TODO: Write your name"] + s.email = ["TODO: Write your email address"] + s.homepage = "" + s.summary = %q{TODO: Write a gem summary} + s.description = %q{TODO: Write a gem description} + + s.rubyforge_project = "jasmine-core" + + 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"] +end diff --git a/lib/jasmine-core.rb b/lib/jasmine-core.rb new file mode 100644 index 00000000..2fbd7756 --- /dev/null +++ b/lib/jasmine-core.rb @@ -0,0 +1,5 @@ +module Jasmine + module Core + # Your code goes here... + end +end diff --git a/lib/jasmine-core/version.rb b/lib/jasmine-core/version.rb new file mode 100644 index 00000000..dfedaece --- /dev/null +++ b/lib/jasmine-core/version.rb @@ -0,0 +1,5 @@ +module Jasmine + module Core + VERSION = "0.0.1" + end +end