hitimes 1.0.2-x86-mswin32-60 → 1.0.3-x86-mswin32-60

Sign up to get free protection for your applications and to get access to all the features.
data/HISTORY CHANGED
@@ -1,5 +1,5 @@
1
1
  = Changelog
2
- == Version 1.0.2 2009-06-28
2
+ == Version 1.0.3 2009-06-28
3
3
 
4
4
  * Fix bug with time.h on linode (reported by Roger Pack)
5
5
  * Fix potential garbage collection issue with Interval class
data/gemspec.rb CHANGED
@@ -52,6 +52,6 @@ end
52
52
  Hitimes::GEM_SPEC_WIN = Hitimes::GEM_SPEC.clone
53
53
  Hitimes::GEM_SPEC_WIN.platform = ::Gem::Platform.new( "i386-mswin32_60" )
54
54
  Hitimes::GEM_SPEC_WIN.extensions = []
55
- Hitimes::GEM_SPEC_WIN.files += FileList["lib/hitimes/{1.8,1.9}/**.{dll,so}"].to_a
55
+ #Hitimes::GEM_SPEC_WIN.files +=
56
56
 
57
57
  Hitimes::SPECS = [ Hitimes::GEM_SPEC, Hitimes::GEM_SPEC_WIN ]
Binary file
Binary file
@@ -16,7 +16,7 @@ module Hitimes
16
16
  MINOR = 0
17
17
 
18
18
  # Build number
19
- BUILD = 2
19
+ BUILD = 3
20
20
 
21
21
  #
22
22
  # :call-seq:
@@ -75,7 +75,7 @@ describe Hitimes::TimedMetric do
75
75
 
76
76
  it "keeps track of the sum value" do
77
77
  2.times { @tm.start ; sleep 0.05 ; @tm.stop }
78
- @tm.sum.should be_close( 0.10, 0.001 )
78
+ @tm.sum.should be_close( 0.10, 0.002 )
79
79
  end
80
80
 
81
81
  it "keeps track of the sum of squars value" do
@@ -31,6 +31,11 @@ if pkg_config = Configuration.for_if_exist?("packaging") then
31
31
  puts Hitimes::GEM_SPEC.to_ruby
32
32
  end
33
33
 
34
+ desc "dump gemspec for win"
35
+ task :gemspec_win do
36
+ puts Hitimes::GEM_SPEC_WIN.to_ruby
37
+ end
38
+
34
39
  desc "reinstall gem"
35
40
  task :reinstall => [:uninstall, :repackage, :install]
36
41
 
@@ -44,6 +49,7 @@ if pkg_config = Configuration.for_if_exist?("packaging") then
44
49
  cp "ext/hitimes/hitimes_ext.so", "lib/hitimes/#{s}/", :verbose => true
45
50
  end
46
51
 
52
+ Hitimes::GEM_SPEC_WIN.files += FileList["lib/hitimes/{1.8,1.9}/**.{dll,so}"]
47
53
  Gem::Builder.new( Hitimes::GEM_SPEC_WIN ).build
48
54
  mkdir "pkg" unless File.directory?( 'pkg' )
49
55
  mv Dir["*.gem"].first, "pkg"
@@ -54,8 +60,10 @@ if pkg_config = Configuration.for_if_exist?("packaging") then
54
60
  rm_rf "lib/hitimes/1.9"
55
61
  end
56
62
 
63
+ task :prep => [:clean, :package, :package_win]
64
+
57
65
  desc "distribute copiously"
58
- task :copious => [:package, :package_win ] do
66
+ task :copious => [:clean, :package, :package_win ] do
59
67
  gems = Hitimes::SPECS.collect { |s| "#{s.full_name}.gem" }
60
68
  Rake::SshFilePublisher.new('jeremy@copiousfreetime.org',
61
69
  '/var/www/vhosts/www.copiousfreetime.org/htdocs/gems/gems',
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hitimes
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: x86-mswin32-60
6
6
  authors:
7
7
  - Jeremy Hinegardner
@@ -115,6 +115,8 @@ files:
115
115
  - tasks/utils.rb
116
116
  - Rakefile
117
117
  - gemspec.rb
118
+ - lib/hitimes/1.8/hitimes_ext.so
119
+ - lib/hitimes/1.9/hitimes_ext.so
118
120
  has_rdoc: true
119
121
  homepage: http://copiousfreetime.rubyforge.org/hitimes/
120
122
  post_install_message: