Initial commit of empty project.
This commit is contained in:
commit
7735835609
|
@ -0,0 +1,29 @@
|
|||
Gemfile.lock
|
||||
tests.txt
|
||||
*.gem
|
||||
.rvmrc
|
||||
.ruby-version
|
||||
.ruby-gemset
|
||||
.bundle/*
|
||||
.yardoc/*
|
||||
doc/*
|
||||
tmp/*
|
||||
man/*
|
||||
*.tmproj
|
||||
rdoc/*
|
||||
*.orig
|
||||
*.BACKUP.*
|
||||
*.BASE.*
|
||||
*.LOCAL.*
|
||||
*.REMOTE.*
|
||||
git_pull.txt
|
||||
coverage
|
||||
.DS_Store
|
||||
TAGS
|
||||
tmtags
|
||||
*.swo
|
||||
*.swp
|
||||
.idea
|
||||
.rbx/*
|
||||
*.py
|
||||
*.pyc
|
|
@ -0,0 +1 @@
|
|||
concurrent-ruby
|
|
@ -0,0 +1 @@
|
|||
ruby-2.0.0-p195
|
|
@ -0,0 +1,4 @@
|
|||
rvm:
|
||||
- 2.0.0
|
||||
- 1.9.3
|
||||
- 1.9.2
|
|
@ -0,0 +1,14 @@
|
|||
source 'http://rubygems.org'
|
||||
|
||||
gemspec
|
||||
|
||||
group :development do
|
||||
gem 'debugger', :platforms => :mri
|
||||
end
|
||||
|
||||
group :testing do
|
||||
gem 'rake'
|
||||
gem 'rspec'
|
||||
gem 'countloc', :platforms => :mri
|
||||
gem 'irbtools', :platforms => :mri
|
||||
end
|
|
@ -0,0 +1,21 @@
|
|||
Copyright (c) Jerry D'Antonio -- released under the MIT license.
|
||||
|
||||
http://www.opensource.org/licenses/mit-license.php
|
||||
|
||||
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.
|
|
@ -0,0 +1,4 @@
|
|||
# Concurrent Ruby
|
||||
|
||||
This gem does nothing. It's a placeholder into which I plan to move the concurrency
|
||||
features of my [functional-ruby](https://github.com/jdantonio/functional-ruby) gem.
|
|
@ -0,0 +1,19 @@
|
|||
$:.push File.join(File.dirname(__FILE__), 'lib')
|
||||
$:.push File.join(File.dirname(__FILE__), 'tasks/support')
|
||||
|
||||
require 'rubygems'
|
||||
require 'bundler/gem_tasks'
|
||||
require 'rspec'
|
||||
require 'rspec/core/rake_task'
|
||||
|
||||
require 'concurrent'
|
||||
|
||||
Bundler::GemHelper.install_tasks
|
||||
|
||||
RSpec::Core::RakeTask.new(:spec)
|
||||
$:.unshift 'tasks'
|
||||
Dir.glob('tasks/**/*.rake').each do|rakefile|
|
||||
load rakefile
|
||||
end
|
||||
|
||||
task :default => [:spec]
|
|
@ -0,0 +1,34 @@
|
|||
$LOAD_PATH << File.expand_path('../lib', __FILE__)
|
||||
|
||||
require 'concurrent/version'
|
||||
|
||||
Gem::Specification.new do |s|
|
||||
s.name = 'concurrent-ruby'
|
||||
s.version = Concurrent::VERSION
|
||||
s.platform = Gem::Platform::RUBY
|
||||
s.author = "Jerry D'Antonio"
|
||||
s.email = 'jerry.dantonio@gmail.com'
|
||||
s.homepage = 'https://github.com/jdantonio/concurrent-ruby/'
|
||||
#s.summary = 'Erlang, Clojure, and Go inspired concurrent programming tools for Ruby.'
|
||||
s.summary = 'This gem does nothing. It is a placeholder for a gem I plan to build.'
|
||||
s.license = 'MIT'
|
||||
s.date = Time.now.strftime('%Y-%m-%d')
|
||||
|
||||
s.description = <<-EOF
|
||||
This gem does nothing. It is a placeholder for a gem I plan to build.
|
||||
EOF
|
||||
#s.description = <<-EOF
|
||||
#A gem for adding Erlang, Clojure, and Go inspired concurrent programming tools to Ruby.
|
||||
#EOF
|
||||
|
||||
s.files = Dir['README*', 'LICENSE*', 'CHANGELOG*']
|
||||
s.files += Dir['{lib,md,spec}/**/*']
|
||||
s.test_files = Dir['{spec}/**/*']
|
||||
s.extra_rdoc_files = ['README.md']
|
||||
s.extra_rdoc_files = Dir['README*', 'LICENSE*', 'CHANGELOG*']
|
||||
s.require_paths = ['lib']
|
||||
|
||||
s.required_ruby_version = '>= 1.9.2'
|
||||
|
||||
s.add_development_dependency 'bundler'
|
||||
end
|
|
@ -0,0 +1 @@
|
|||
require 'concurrent/version'
|
|
@ -0,0 +1,3 @@
|
|||
module Concurrent
|
||||
VERSION = '0.0.1'
|
||||
end
|
|
@ -0,0 +1,17 @@
|
|||
require 'concurrent'
|
||||
|
||||
# import all the support files
|
||||
Dir[File.join(File.dirname(__FILE__), 'support/**/*.rb')].each { |f| require File.expand_path(f) }
|
||||
|
||||
RSpec.configure do |config|
|
||||
|
||||
config.before(:suite) do
|
||||
end
|
||||
|
||||
config.before(:each) do
|
||||
end
|
||||
|
||||
config.after(:each) do
|
||||
end
|
||||
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
desc 'Display LOC (lines of code) report'
|
||||
task :loc do
|
||||
puts `countloc -r lib`
|
||||
end
|
Loading…
Reference in New Issue