Skip to content

Commit

Permalink
Using PLATFORM for Gem::Platform.new
Browse files Browse the repository at this point in the history
  • Loading branch information
benedikt committed Jan 19, 2011
1 parent 4a747d1 commit 516b8e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SystemTimer.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Gem::Specification.new do |s|
s.version = SYSTEM_TIMER_VERSION
s.authors = ["Philippe Hanrigou", "David Vollbracht"]
if ENV['PACKAGE_FOR_WIN32'] || PLATFORM =~ /w(in)?32/
s.platform = Gem::Platform.new "mswin32"
s.platform = Gem::Platform.new(ENV['PACKAGE_FOR_WIN32'] ? "mswin32" : PLATFORM)
s.files = ['lib/system_timer.rb', 'lib/system_timer_stub.rb']
else
s.platform = Gem::Platform::RUBY
Expand Down

0 comments on commit 516b8e2

Please sign in to comment.