spell_number 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.1
1
+ 0.0.2
data/lib/spell_number.rb CHANGED
@@ -2,11 +2,11 @@ require 'spell_number/speller'
2
2
  require 'i18n'
3
3
 
4
4
  module SpellNumber
5
-
6
- I18n.load_path << Dir[File.join(File.dirname(__FILE__), '..', 'locales', '*.{rb,yml}').to_s]
7
-
5
+
6
+ I18n.load_path += Dir[File.join(File.dirname(__FILE__), '..', 'locales', '*.{rb,yml}').to_s]
7
+
8
8
  def self.number_to_words(number, options = {})
9
9
  Speller.new(options).number_to_words(number)
10
10
  end
11
-
11
+
12
12
  end
data/spell_number.gemspec CHANGED
@@ -4,14 +4,14 @@
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
- s.name = %q{spell_number}
8
- s.version = "0.0.1"
7
+ s.name = "spell_number"
8
+ s.version = "0.0.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Daniel Hahn"]
12
- s.date = %q{2011-02-17}
13
- s.description = %q{Simple Gem to spell numbers as words}
14
- s.email = %q{developers@betterplace.org}
12
+ s.date = "2012-04-19"
13
+ s.description = "Simple Gem to spell numbers as words"
14
+ s.email = "developers@betterplace.org"
15
15
  s.extra_rdoc_files = [
16
16
  "LICENSE.txt",
17
17
  "README.rdoc"
@@ -32,18 +32,17 @@ Gem::Specification.new do |s|
32
32
  "spec/number_to_spell_spec.rb",
33
33
  "spell_number.gemspec"
34
34
  ]
35
- s.homepage = %q{http://github.com/betterplace/spell_number}
35
+ s.homepage = "http://github.com/betterplace/spell_number"
36
36
  s.licenses = ["MIT"]
37
37
  s.require_paths = ["lib"]
38
- s.rubygems_version = %q{1.3.7}
39
- s.summary = %q{Spell numbers as words}
38
+ s.rubygems_version = "1.8.17"
39
+ s.summary = "Spell numbers as words"
40
40
  s.test_files = [
41
41
  "spec/number_to_spell_de_spec.rb",
42
42
  "spec/number_to_spell_spec.rb"
43
43
  ]
44
44
 
45
45
  if s.respond_to? :specification_version then
46
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
47
46
  s.specification_version = 3
48
47
 
49
48
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spell_number
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
5
- prerelease: false
4
+ hash: 27
5
+ prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 1
10
- version: 0.0.1
9
+ - 2
10
+ version: 0.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Daniel Hahn
@@ -15,13 +15,9 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-02-17 00:00:00 +01:00
19
- default_executable:
18
+ date: 2012-04-19 00:00:00 Z
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
22
- type: :runtime
23
- prerelease: false
24
- name: i18n
25
21
  version_requirements: &id001 !ruby/object:Gem::Requirement
26
22
  none: false
27
23
  requirements:
@@ -33,11 +29,11 @@ dependencies:
33
29
  - 3
34
30
  - 7
35
31
  version: 0.3.7
32
+ name: i18n
33
+ prerelease: false
34
+ type: :runtime
36
35
  requirement: *id001
37
36
  - !ruby/object:Gem::Dependency
38
- type: :development
39
- prerelease: false
40
- name: rspec
41
37
  version_requirements: &id002 !ruby/object:Gem::Requirement
42
38
  none: false
43
39
  requirements:
@@ -49,11 +45,11 @@ dependencies:
49
45
  - 3
50
46
  - 0
51
47
  version: 2.3.0
48
+ name: rspec
49
+ prerelease: false
50
+ type: :development
52
51
  requirement: *id002
53
52
  - !ruby/object:Gem::Dependency
54
- type: :development
55
- prerelease: false
56
- name: bundler
57
53
  version_requirements: &id003 !ruby/object:Gem::Requirement
58
54
  none: false
59
55
  requirements:
@@ -65,11 +61,11 @@ dependencies:
65
61
  - 0
66
62
  - 0
67
63
  version: 1.0.0
64
+ name: bundler
65
+ prerelease: false
66
+ type: :development
68
67
  requirement: *id003
69
68
  - !ruby/object:Gem::Dependency
70
- type: :development
71
- prerelease: false
72
- name: jeweler
73
69
  version_requirements: &id004 !ruby/object:Gem::Requirement
74
70
  none: false
75
71
  requirements:
@@ -81,11 +77,11 @@ dependencies:
81
77
  - 5
82
78
  - 2
83
79
  version: 1.5.2
80
+ name: jeweler
81
+ prerelease: false
82
+ type: :development
84
83
  requirement: *id004
85
84
  - !ruby/object:Gem::Dependency
86
- type: :development
87
- prerelease: false
88
- name: rcov
89
85
  version_requirements: &id005 !ruby/object:Gem::Requirement
90
86
  none: false
91
87
  requirements:
@@ -95,6 +91,9 @@ dependencies:
95
91
  segments:
96
92
  - 0
97
93
  version: "0"
94
+ name: rcov
95
+ prerelease: false
96
+ type: :development
98
97
  requirement: *id005
99
98
  description: Simple Gem to spell numbers as words
100
99
  email: developers@betterplace.org
@@ -120,7 +119,6 @@ files:
120
119
  - spec/number_to_spell_de_spec.rb
121
120
  - spec/number_to_spell_spec.rb
122
121
  - spell_number.gemspec
123
- has_rdoc: true
124
122
  homepage: http://github.com/betterplace/spell_number
125
123
  licenses:
126
124
  - MIT
@@ -150,7 +148,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
150
148
  requirements: []
151
149
 
152
150
  rubyforge_project:
153
- rubygems_version: 1.3.7
151
+ rubygems_version: 1.8.17
154
152
  signing_key:
155
153
  specification_version: 3
156
154
  summary: Spell numbers as words