m9t 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/m9t.rb +3 -2
  2. data/lib/m9t/version.rb +1 -1
  3. metadata +14 -16
data/lib/m9t.rb CHANGED
@@ -29,8 +29,9 @@ locales_path = File.expand_path(File.join(File.dirname(__FILE__), '..', 'locales
29
29
  I18n.load_path += Dir.glob("#{ locales_path }/*.yml")
30
30
  I18n.reload!
31
31
 
32
- Dir[File.dirname(__FILE__) + '/m9t/*.rb'].each do |file|
33
- require file
32
+ libs = %w( base direction distance i18n pressure speed temperature version )
33
+ libs.each do | library |
34
+ require "m9t/#{ library }"
34
35
  end
35
36
 
36
37
  module M9t
data/lib/m9t/version.rb CHANGED
@@ -3,7 +3,7 @@ module M9t
3
3
  module VERSION #:nodoc:
4
4
  MAJOR = 0
5
5
  MINOR = 2
6
- TINY = 1
6
+ TINY = 2
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY].join('.')
9
9
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: m9t
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
5
- prerelease: false
4
+ hash: 19
5
+ prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 1
10
- version: 0.2.1
9
+ - 2
10
+ version: 0.2.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Joe Yates
@@ -15,8 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-04-04 00:00:00 +01:00
19
- default_executable:
18
+ date: 2011-08-23 00:00:00 Z
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
22
21
  name: i18n
@@ -46,25 +45,24 @@ files:
46
45
  - README.rdoc
47
46
  - COPYING
48
47
  - Rakefile
49
- - lib/m9t/base.rb
48
+ - lib/m9t.rb
50
49
  - lib/m9t/direction.rb
50
+ - lib/m9t/temperature.rb
51
51
  - lib/m9t/distance.rb
52
52
  - lib/m9t/i18n.rb
53
- - lib/m9t/pressure.rb
54
53
  - lib/m9t/speed.rb
55
- - lib/m9t/temperature.rb
54
+ - lib/m9t/pressure.rb
55
+ - lib/m9t/base.rb
56
56
  - lib/m9t/version.rb
57
- - lib/m9t.rb
58
- - test/direction_test.rb
59
- - test/distance_test.rb
57
+ - test/test_all.rb
60
58
  - test/i18n_test.rb
61
- - test/pressure_test.rb
62
59
  - test/speed_test.rb
60
+ - test/distance_test.rb
63
61
  - test/temperature_test.rb
64
- - test/test_all.rb
62
+ - test/direction_test.rb
63
+ - test/pressure_test.rb
65
64
  - locales/en.yml
66
65
  - locales/it.yml
67
- has_rdoc: true
68
66
  homepage: http://github.com/joeyates/m9t
69
67
  licenses: []
70
68
 
@@ -94,7 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
94
92
  requirements: []
95
93
 
96
94
  rubyforge_project: nowarning
97
- rubygems_version: 1.3.7
95
+ rubygems_version: 1.8.6
98
96
  signing_key:
99
97
  specification_version: 3
100
98
  summary: Classes for handling measurement units