zeevex_concurrency 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/.travis.yml ADDED
@@ -0,0 +1,6 @@
1
+ rvm:
2
+ - 1.8.7
3
+ - 1.9.3
4
+ - ree
5
+ - jruby
6
+ script: "bundle exec rake spec"
data/Rakefile CHANGED
@@ -1 +1,30 @@
1
1
  require "bundler/gem_tasks"
2
+
3
+ require 'rspec/core/rake_task'
4
+
5
+ RSpec::Core::RakeTask.new(:spec)
6
+
7
+ namespace :spec do
8
+ desc "Run on three Rubies"
9
+ task :platforms do
10
+ current = %x{rvm-prompt v}
11
+
12
+ fail = false
13
+ %w{1.8.7 1.9.3}.each do |version|
14
+ puts "Switching to #{version}"
15
+ Bundler.with_clean_env do
16
+ system %{bash -c 'source ~/.rvm/scripts/rvm && rvm #{version} && bundle exec rake spec'}
17
+ end
18
+ if $?.exitstatus != 0
19
+ fail = true
20
+ break
21
+ end
22
+ end
23
+
24
+ system %{rvm #{current}}
25
+
26
+ exit (fail ? 1 : 0)
27
+ end
28
+ end
29
+
30
+ task :default => 'spec'
@@ -1,3 +1,3 @@
1
1
  module ZeevexConcurrency
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zeevex_concurrency
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 1
10
- version: 0.0.1
9
+ - 2
10
+ version: 0.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Robert Sanders
@@ -118,6 +118,7 @@ extra_rdoc_files: []
118
118
 
119
119
  files:
120
120
  - .gitignore
121
+ - .travis.yml
121
122
  - Gemfile
122
123
  - LICENSE.txt
123
124
  - README.md