tool 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -14,7 +14,7 @@ task(:install => :build) { gem :install, gem_file }
14
14
  task(:publish => :install) { gem :push, gem_file }
15
15
  task(:commit) { git :commit, '--allow-empty', '-m', message }
16
16
  task(:tag) { git :tag, '-s', '-m', message, version }
17
- task(:push) { git :push }
17
+ task(:push) { git(:push) and git(:push, '--tags') }
18
18
 
19
19
  task :release => [:spec, :commit, :publish, :tag, :push]
20
20
  task :default => :spec
@@ -1,3 +1,3 @@
1
1
  module Tool
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
@@ -18,7 +18,9 @@ describe Tool::Lock do
18
18
  end
19
19
 
20
20
  it 'locks for other threads' do
21
- a = Thread.new { synchronize { sleep(0.1) and track << :first } }
21
+ a = Thread.new { synchronize { sleep(0.2) and track << :first } }
22
+
23
+ sleep 0.1
22
24
  b = Thread.new { synchronize { track << :second } }
23
25
 
24
26
  a.join
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tool
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2011-10-27 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
16
- requirement: &2152929520 !ruby/object:Gem::Requirement
16
+ requirement: &2152865200 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '2.7'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *2152929520
24
+ version_requirements: *2152865200
25
25
  description: This is basically code usually copy from one project to another
26
26
  email: konstantin.mailinglists@googlemail.com
27
27
  executables: []