Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

ChangeLog and README updates for the new release

  • Loading branch information...
commit a28ad1fe4b9b565dcd6bd941eef851d3c17a850c 1 parent 444435c
@ph7 ph7 authored
Showing with 28 additions and 18 deletions.
  1. +10 −5 ChangeLog
  2. +9 −4 README.markdown
  3. +9 −9 Rakefile
View
15 ChangeLog
@@ -1,3 +1,8 @@
+=== 1.2.3 / 2011-03-19
+
+ - Fix for RubyGems 1.6
+ (Contributed by James Tucker <http://blog.ra66i.org>)
+
=== 1.2.2 / 2011-01-25
* Explicit required_ruby_version = '~> 1.8.7' in gem spec.
@@ -5,7 +10,7 @@
=== 1.2.1 / 2010-11-15
- * Better Rubinious support (Contributed by
+ * Better Rubinious support (Contributed by
Evan Phoenix <http://blog.fallingsnow.net/>)
=== 1.2 / 2010-02-25
@@ -17,7 +22,7 @@
* Timeouts can now be specified as a float and be a fraction of a second.
e.g. `SystemTimer.timeout(0.5)`
(Based on a contribution by Dmytro Shteflyuk <http://kpumuk.info/>)
-
+
* Added support for custom timeout exception. Useful to avoid interference
with other libraries using `Timeout::Error` (e.g. `Net::HTTP`)
(Contributed by runix <http://github.com/runix>)
@@ -33,8 +38,8 @@
=== 1.1.1 / 2009-03-10
* Fixing set_itimerval_with_minimum_1s_interval method signature
- which was incorrect and resulted in a segfault on 64 bits
- platform (int versus VALUE). Thanks to Mike Perham for
+ which was incorrect and resulted in a segfault on 64 bits
+ platform (int versus VALUE). Thanks to Mike Perham for
investigating the problem and sending the patch!
=== 1.1.0 / 2008-11-05
@@ -45,7 +50,7 @@
Thread.new do
SystemTimer.timeout_after(5) do
sleep 60
- puts "hi there!"
+ puts "hi there!"
end
end
end
View
13 README.markdown
@@ -87,20 +87,25 @@ Contributors
* Dmytro Shteflyuk <http://kpumuk.info/> :
- Changed from using Mutex to Monitor. Evidently Mutex causes thread
join errors when Ruby is compiled with -disable-pthreads
- <http://github.com/kpumuk/system-micro-timer/commit/fe28f4dcf7d4126e53b7c642c5ec35fe8bc1e081>
+ <https://github.com/kpumuk/system-micro-timer/commit/fe28f4dcf7d4126e53b7c642c5ec35fe8bc1e081>
- First tentative to support float timeouts
- <http://github.com/kpumuk/system-micro-timer/commit/57fff73849aad7c94f8b9234352b7288d1314d21>
+ <https://github.com/kpumuk/system-micro-timer/commit/57fff73849aad7c94f8b9234352b7288d1314d21>
* runix <http://github.com/runix> :
- Added support for custom timeout exception. Useful to avoid interference
with other libraries using `Timeout::Error` (e.g. `Net::HTTP`)
- <http://github.com/runix/system-timer/commit/d33acb3acc53d5105c68b25c3a2126fa682f12c0>
- <http://github.com/runix/system-timer/commit/d8ca3452e462ea909d8e11a6091e7c30dfa3a1a8>
+ <https://github.com/runix/system-timer/commit/d33acb3acc53d5105c68b25c3a2126fa682f12c0>
+ <https://github.com/runix/system-timer/commit/d8ca3452e462ea909d8e11a6091e7c30dfa3a1a8>
* Jesse Storimer <http://jstorimer.com>
- Explicit required_ruby_version = '~> 1.8.7' in gem spec.
<https://github.com/jstorimer/system-timer/commit/ec08b4d2173ffd635065a1680c8f8b4fbf6691fd>
+* James Tucker <http://blog.ra66i.org>
+ - Fix for RubyGems 1.6, which will not require "thread"
+ <https://github.com/raggi/system-timer/commit/f6dd9535e3f1141f319fe7919b8347dd0e40560c>
+ <https://github.com/raggi/system-timer/commit/b13ff12bc7392b1aa2fe7911e305a3e8f215efd2>
+
Copyright
=========
View
18 Rakefile
@@ -14,13 +14,13 @@ CLOBBER.include '**/*.log'
CLOBBER.include '**/Makefile'
CLOBBER.include '**/extconf.h'
-SYSTEM_TIMER_VERSION = "1.2.2"
+SYSTEM_TIMER_VERSION = "1.2.3"
SYSTEM_TIMER_GEM_NAME = "SystemTimer"
desc 'Default: run unit tests.'
task :default => :test
-desc 'Install the gem into the local gem repository'
+desc 'Install the gem into the local gem repository'
task :install => 'package' do
sh "gem install ./pkg/#{SYSTEM_TIMER_GEM_NAME}-#{SYSTEM_TIMER_VERSION}.gem"
end
@@ -61,20 +61,20 @@ specification = Gem::Specification.new do |s|
s.summary = "Set a Timeout based on signals, which are more reliable than Timeout. Timeout is based on green threads."
s.version = SYSTEM_TIMER_VERSION
s.authors = ["Philippe Hanrigou", "David Vollbracht"]
- if ENV['PACKAGE_FOR_WIN32'] || PLATFORM['win32']
+ if ENV['PACKAGE_FOR_WIN32'] || PLATFORM['win32']
s.platform = Gem::Platform.new "mswin32"
s.files = FileList['lib/system_timer_stub.rb']
s.autorequire = "system_timer_stub"
else
s.platform = Gem::Platform::RUBY
- s.files = [ "COPYING", "LICENSE", "ChangeLog"] +
- FileList['ext/**/*.c'] +
- FileList['ext/**/*.rb'] +
- FileList['lib/**/*.rb'] +
+ s.files = [ "COPYING", "LICENSE", "ChangeLog"] +
+ FileList['ext/**/*.c'] +
+ FileList['ext/**/*.rb'] +
+ FileList['lib/**/*.rb'] +
FileList['test/**/*.rb']
s.autorequire = "system_timer"
s.extensions = ["ext/system_timer/extconf.rb"]
- end
+ end
s.require_path = "lib"
s.rdoc_options << '--title' << 'SystemTimer' << '--main' << 'README' << '--line-numbers'
s.has_rdoc = true
@@ -82,7 +82,7 @@ specification = Gem::Specification.new do |s|
s.test_file = "test/all_tests.rb"
s.rubyforge_project = "systemtimer"
end
-
+
Rake::GemPackageTask.new(specification) do |package|
package.need_zip = false
package.need_tar = false
Please sign in to comment.
Something went wrong with that request. Please try again.