future_proof 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/.travis.yml ADDED
@@ -0,0 +1,5 @@
1
+ language: ruby
2
+ rvm:
3
+ - 1.9.3
4
+ - rbx-19mode
5
+ script: bundle exec rspec spec
data/README.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  FutureProof provides concurrency extensions for Ruby.
4
4
 
5
+ [![Build Status](https://travis-ci.org/nikitachernov/FutureProof.png)](https://travis-ci.org/nikitachernov/FutureProof)
6
+
5
7
  ## Installation
6
8
 
7
9
  Add this line to your application's Gemfile:
@@ -22,7 +24,7 @@ Or install it yourself as:
22
24
 
23
25
  f = FutureProof::Future.new { |a, b| a + b }
24
26
 
25
- f.call # => executing in a thread
27
+ f.call(1, 2) # => executing in a thread
26
28
 
27
29
  f.value # => returning value when ready
28
30
 
data/Rakefile CHANGED
@@ -1 +1,7 @@
1
- require "bundler/gem_tasks"
1
+ require 'bundler/gem_tasks'
2
+
3
+ task :default => [:test]
4
+
5
+ task :test do
6
+ sh 'rspec spec'
7
+ end
data/future_proof.gemspec CHANGED
@@ -4,21 +4,21 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
  require 'future_proof/version'
5
5
 
6
6
  Gem::Specification.new do |spec|
7
- spec.name = "future_proof"
7
+ spec.name = 'future_proof'
8
8
  spec.version = FutureProof::VERSION
9
- spec.authors = ["Nikita Cernovs"]
10
- spec.email = ["nikita.cernovs@gmail.com"]
9
+ spec.authors = ['Nikita Cernovs']
10
+ spec.email = ['nikita.cernovs@gmail.com']
11
11
  spec.description = %q{Ruby concurrency extenstions}
12
12
  spec.summary = %q{Ruby concurrency extenstions}
13
- spec.homepage = ""
14
- spec.license = "MIT"
13
+ spec.homepage = 'http://nikitachernov.github.io/FutureProof'
14
+ spec.license = 'MIT'
15
15
 
16
16
  spec.files = `git ls-files`.split($/)
17
17
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
- spec.require_paths = ["lib"]
19
+ spec.require_paths = ['lib']
20
20
 
21
- spec.add_development_dependency "bundler", "~> 1.3"
22
- spec.add_development_dependency "rspec"
23
- spec.add_development_dependency "rake"
21
+ spec.add_development_dependency 'bundler', '~> 1.3'
22
+ spec.add_development_dependency 'rspec'
23
+ spec.add_development_dependency 'rake'
24
24
  end
data/lib/future_proof.rb CHANGED
@@ -1,3 +1,3 @@
1
- require "future_proof/version"
1
+ require 'future_proof/version'
2
2
  require 'future_proof/future'
3
3
  require 'future_proof/thread_pool'
@@ -1,3 +1,3 @@
1
1
  module FutureProof
2
- VERSION = "0.0.1"
2
+ VERSION = '0.0.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: future_proof
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-05-01 00:00:00.000000000 Z
12
+ date: 2013-05-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -67,6 +67,7 @@ extensions: []
67
67
  extra_rdoc_files: []
68
68
  files:
69
69
  - .gitignore
70
+ - .travis.yml
70
71
  - Gemfile
71
72
  - LICENSE.txt
72
73
  - README.md
@@ -79,7 +80,7 @@ files:
79
80
  - spec/future_proof/future_spec.rb
80
81
  - spec/future_proof/thread_pool_spec.rb
81
82
  - spec/spec_helper.rb
82
- homepage: ''
83
+ homepage: http://nikitachernov.github.io/FutureProof
83
84
  licenses:
84
85
  - MIT
85
86
  post_install_message: