hyde 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/Rakefile +1 -1
  2. data/lib/hyde.rb +2 -2
  3. metadata +2 -2
data/Rakefile CHANGED
@@ -17,7 +17,7 @@ DESCRIPTION = "unit converter of hyde"
17
17
  RUBYFORGE_PROJECT = "lowreal"
18
18
  HOMEPATH = "http://#{RUBYFORGE_PROJECT}.rubyforge.org"
19
19
  BIN_FILES = %w( hyde )
20
- VERS = "0.0.3"
20
+ VERS = "0.0.4"
21
21
 
22
22
  REV = File.read(".svn/entries")[/committed-rev="(d+)"/, 1] rescue nil
23
23
  CLEAN.include ['**/.*.sw?', '*.gem', '.config']
@@ -82,9 +82,9 @@ module Hyde
82
82
  num = num.to_f
83
83
  num *= Prefix[prefix.to_sym] if prefix
84
84
  if unit == "hyde"
85
- "%.1fcm" % [Hyde.hyde_to_metre(num) * 100]
85
+ "%fcm" % [Hyde.hyde_to_metre(num) * 100]
86
86
  else
87
- "%.1fhyde" % [Hyde.send("#{unit}_to_hyde", num)]
87
+ "%fhyde" % [Hyde.send("#{unit}_to_hyde", num)]
88
88
  end
89
89
  end
90
90
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hyde
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - cho45
@@ -9,7 +9,7 @@ autorequire: hyde
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2007-12-28 00:00:00 +09:00
12
+ date: 2007-12-29 00:00:00 +09:00
13
13
  default_executable:
14
14
  dependencies: []
15
15