Initial commit of empty project.

This commit is contained in:
Jerry D'Antonio 2013-07-23 08:18:51 -04:00
commit 7735835609
19 changed files with 152 additions and 0 deletions

29
.gitignore vendored Normal file
View File

@ -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

1
.ruby-gemset Normal file
View File

@ -0,0 +1 @@
concurrent-ruby

1
.ruby-version Normal file
View File

@ -0,0 +1 @@
ruby-2.0.0-p195

4
.travis.yml Normal file
View File

@ -0,0 +1,4 @@
rvm:
- 2.0.0
- 1.9.3
- 1.9.2

14
Gemfile Normal file
View File

@ -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

21
LICENSE Normal file
View File

@ -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.

4
README.md Normal file
View File

@ -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.

19
Rakefile Normal file
View File

@ -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]

34
concurrent-ruby.gemspec Normal file
View File

@ -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
lib/.gitignore vendored Normal file
View File

1
lib/concurrent.rb Normal file
View File

@ -0,0 +1 @@
require 'concurrent/version'

0
lib/concurrent/.gitignore vendored Normal file
View File

View File

@ -0,0 +1,3 @@
module Concurrent
VERSION = '0.0.1'
end

0
spec/.gitignore vendored Normal file
View File

0
spec/concurrent/.gitignore vendored Normal file
View File

17
spec/spec_helper.rb Normal file
View File

@ -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
spec/support/.gitignore vendored Normal file
View File

0
tasks/.gitignore vendored Normal file
View File

4
tasks/metrics.rake Normal file
View File

@ -0,0 +1,4 @@
desc 'Display LOC (lines of code) report'
task :loc do
puts `countloc -r lib`
end