diff options
-rw-r--r-- | Gemfile | 5 | ||||
-rw-r--r-- | Gemfile.lock | 28 | ||||
-rw-r--r-- | Rakefile | 62 | ||||
-rw-r--r-- | iotas.gemspec | 28 |
4 files changed, 67 insertions, 56 deletions
@@ -0,0 +1,5 @@ +source "http://rubygems.org" + +# gem's dependencies are in iotas.gemspec +gemspec + diff --git a/Gemfile.lock b/Gemfile.lock new file mode 100644 index 0000000..9aa3532 --- /dev/null +++ b/Gemfile.lock @@ -0,0 +1,28 @@ +PATH + remote: . + specs: + iotas (0.0.1) + json + +GEM + remote: http://rubygems.org/ + specs: + diff-lcs (1.1.3) + json (1.7.3) + rake (0.9.2.2) + rspec (2.10.0) + rspec-core (~> 2.10.0) + rspec-expectations (~> 2.10.0) + rspec-mocks (~> 2.10.0) + rspec-core (2.10.0) + rspec-expectations (2.10.0) + diff-lcs (~> 1.1.3) + rspec-mocks (2.10.1) + +PLATFORMS + ruby + +DEPENDENCIES + iotas! + rake + rspec (~> 2.6) @@ -1,56 +1,6 @@ -# -*- coding: UTF-8 -*- -# -load './tasks/setup.rb' -# -# Project general information -PROJ.name = 'iotas' -PROJ.authors = 'Jérémy Zurcher' -PROJ.email = 'jeremy@asynk.ch' -PROJ.url = 'https://github.com/jeremyz/iotas' -PROJ.version = '0.0.1' -PROJ.rubyforge.name = 'FIXME' -PROJ.readme_file = 'README.rdoc' -# -# Annoucement -PROJ.ann.paragraphs << 'FEATURES' << 'SYNOPSIS' << 'REQUIREMENTS' << 'DOWNLOAD/INSTALL' << 'CREDITS' << 'LICENSE' -PROJ.ann.email[:from] = PROJ.email -PROJ.ann.email[:to] = ['FIXME'] -PROJ.ann.email[:server] = 'FIXME' -PROJ.ann.email[:tls] = false -# Gem specifications -PROJ.gem.need_tar = false -PROJ.gem.files = %w(Changelog MIT-LICENSE README.rdoc Rakefile) + Dir.glob("{ext,lib,spec,tasks}/**/*[^~]").reject { |fn| test ?d, fn } -PROJ.gem.platform = Gem::Platform::RUBY -PROJ.gem.required_ruby_version = ">= 1.9.2" -# -# Override Mr. Bones autogenerated extensions and force ours in -#PROJ.gem.extras['extensions'] = %w(ext/extconf.rb) -#PROJ.gem.extras['required_ruby_version'] = ">= 1.9.2" -# -# RDoc -PROJ.rdoc.exclude << '^ext\/' -PROJ.rdoc.opts << '-x' << 'ext' -# -# Ruby -PROJ.ruby_opts = [] -PROJ.ruby_opts << '-I' << 'lib' -# -# RSpec -PROJ.spec.files.exclude /rbx/ -PROJ.spec.opts << '--color' -# -# Rcov -PROJ.rcov.opts << '-I lib' -# -# Dependencies -depend_on 'rake', '>=0.8.7' -# -task :default => [:spec] -# -desc "Build all packages" -task :package => 'gem:package' -# -desc "Install the gem locally" -task :install => 'gem:install' -# -# EOF +require 'bundler/gem_tasks' + +require 'rspec/core/rake_task' +RSpec::Core::RakeTask.new + +task :default => :spec diff --git a/iotas.gemspec b/iotas.gemspec new file mode 100644 index 0000000..6b799bd --- /dev/null +++ b/iotas.gemspec @@ -0,0 +1,28 @@ +#! /usr/bin/env ruby +# -*- coding: UTF-8 -*- +# +$:.push File.expand_path("../lib", __FILE__) +require 'iotas' +# +Gem::Specification.new do |s| + s.name = "iotas" + s.version = Iotas::VERSION + s.authors = ["Jérémy Zurcher"] + s.email = ["jeremy@asynk.ch"] + s.homepage = "http://github.com/jeremyz/iotas" + s.summary = %q{ruby rewrite of C++ application framework evenja (http://www.revena.com/evenja)} + s.description = %q{Evenja propose a data centric paradigm. A traditional programm composed of many functions + is decomposed into small autonomous modifications applied on the data implemented in different instances of Door base class. + Routing between these doors is handled through links or user application destinations.} + + 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_runtime_dependency "json" + s.add_development_dependency "rspec", ["~> 2.6"] + s.add_development_dependency "rake" +end +# +# EOF |