hitimes 1.0.2-x86-mswin32-60 → 1.0.3-x86-mswin32-60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/HISTORY +1 -1
- data/gemspec.rb +1 -1
- data/lib/hitimes/1.8/hitimes_ext.so +0 -0
- data/lib/hitimes/1.9/hitimes_ext.so +0 -0
- data/lib/hitimes/version.rb +1 -1
- data/spec/timed_metric_spec.rb +1 -1
- data/tasks/distribution.rake +9 -1
- metadata +3 -1
data/HISTORY
CHANGED
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 +=
|
55
|
+
#Hitimes::GEM_SPEC_WIN.files +=
|
56
56
|
|
57
57
|
Hitimes::SPECS = [ Hitimes::GEM_SPEC, Hitimes::GEM_SPEC_WIN ]
|
Binary file
|
Binary file
|
data/lib/hitimes/version.rb
CHANGED
data/spec/timed_metric_spec.rb
CHANGED
@@ -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.
|
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
|
data/tasks/distribution.rake
CHANGED
@@ -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.
|
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:
|