has_money 0.1.1 → 0.1.2

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/README.rdoc CHANGED
@@ -14,6 +14,9 @@ Defines methods :default_price_in_dollars and :default_price_in_dollars= which m
14
14
  == Install
15
15
  As a gem:
16
16
  $ gem install has_money
17
+
18
+ In your `Gemfile`:
19
+ gem 'has_money'
17
20
 
18
21
  As a plugin:
19
22
  script/plugin install git://github.com/samvincent/has_money.git
data/Rakefile CHANGED
@@ -9,7 +9,7 @@ begin
9
9
  gem.description = "Parsing the various ways people enter dollar amounts so you don't have to. Store values in cents as integer."
10
10
  gem.email = "sam.vincent@mac.com"
11
11
  gem.homepage = "http://github.com/samvincent/has_money"
12
- gem.authors = ["Greg Bell", "Sam Vincent", "Howard Yeh"]
12
+ gem.authors = ["Greg Bell", "Sam Vincent", "Philippe Creux"]
13
13
  gem.add_development_dependency "rspec", ">= 1.2.9"
14
14
  # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
15
15
  end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.1
1
+ 0.1.2
data/has_money.gemspec CHANGED
@@ -1,47 +1,40 @@
1
1
  # Generated by jeweler
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{has_money}
8
- s.version = "0.1.1"
8
+ s.version = "0.1.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Greg Bell", "Sam Vincent", "Howard Yeh"]
12
- s.date = %q{2010-11-12}
11
+ s.authors = [%q{Greg Bell}, %q{Sam Vincent}, %q{Philippe Creux}]
12
+ s.date = %q{2011-08-19}
13
13
  s.description = %q{Parsing the various ways people enter dollar amounts so you don't have to. Store values in cents as integer.}
14
14
  s.email = %q{sam.vincent@mac.com}
15
15
  s.extra_rdoc_files = [
16
16
  "LICENSE",
17
- "README.rdoc"
17
+ "README.rdoc"
18
18
  ]
19
19
  s.files = [
20
20
  ".document",
21
- ".gitignore",
22
- "LICENSE",
23
- "README.rdoc",
24
- "Rakefile",
25
- "VERSION",
26
- "has_money.gemspec",
27
- "init.rb",
28
- "lib/has_money.rb",
29
- "spec/has_money_spec.rb"
21
+ "LICENSE",
22
+ "README.rdoc",
23
+ "Rakefile",
24
+ "VERSION",
25
+ "has_money.gemspec",
26
+ "lib/has_money.rb",
27
+ "spec/has_money_spec.rb"
30
28
  ]
31
29
  s.homepage = %q{http://github.com/samvincent/has_money}
32
- s.rdoc_options = ["--charset=UTF-8"]
33
- s.require_paths = ["lib"]
34
- s.rubygems_version = %q{1.3.6}
30
+ s.require_paths = [%q{lib}]
31
+ s.rubygems_version = %q{1.8.6}
35
32
  s.summary = %q{Parsing the various ways people enter dollar amounts so you don't have to.}
36
- s.test_files = [
37
- "spec/has_money_spec.rb"
38
- ]
39
33
 
40
34
  if s.respond_to? :specification_version then
41
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
42
35
  s.specification_version = 3
43
36
 
44
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
37
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
45
38
  s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
46
39
  else
47
40
  s.add_dependency(%q<rspec>, [">= 1.2.9"])
data/lib/has_money.rb CHANGED
@@ -39,3 +39,6 @@ module HasMoney
39
39
 
40
40
  end
41
41
  end
42
+
43
+ # Inlcude in all AR Models
44
+ ActiveRecord::Base.send :include, HasMoney
metadata CHANGED
@@ -1,87 +1,68 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: has_money
3
- version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 0
7
- - 1
8
- - 1
9
- version: 0.1.1
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.2
5
+ prerelease:
10
6
  platform: ruby
11
- authors:
7
+ authors:
12
8
  - Greg Bell
13
9
  - Sam Vincent
14
- - Howard Yeh
10
+ - Philippe Creux
15
11
  autorequire:
16
12
  bindir: bin
17
13
  cert_chain: []
18
-
19
- date: 2010-11-12 00:00:00 -08:00
20
- default_executable:
21
- dependencies:
22
- - !ruby/object:Gem::Dependency
14
+ date: 2011-08-19 00:00:00.000000000Z
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
23
17
  name: rspec
24
- prerelease: false
25
- requirement: &id001 !ruby/object:Gem::Requirement
26
- requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- segments:
30
- - 1
31
- - 2
32
- - 9
18
+ requirement: &70107766657440 !ruby/object:Gem::Requirement
19
+ none: false
20
+ requirements:
21
+ - - ! '>='
22
+ - !ruby/object:Gem::Version
33
23
  version: 1.2.9
34
24
  type: :development
35
- version_requirements: *id001
36
- description: Parsing the various ways people enter dollar amounts so you don't have to. Store values in cents as integer.
25
+ prerelease: false
26
+ version_requirements: *70107766657440
27
+ description: Parsing the various ways people enter dollar amounts so you don't have
28
+ to. Store values in cents as integer.
37
29
  email: sam.vincent@mac.com
38
30
  executables: []
39
-
40
31
  extensions: []
41
-
42
- extra_rdoc_files:
32
+ extra_rdoc_files:
43
33
  - LICENSE
44
34
  - README.rdoc
45
- files:
35
+ files:
46
36
  - .document
47
- - .gitignore
48
37
  - LICENSE
49
38
  - README.rdoc
50
39
  - Rakefile
51
40
  - VERSION
52
41
  - has_money.gemspec
53
- - init.rb
54
42
  - lib/has_money.rb
55
43
  - spec/has_money_spec.rb
56
- has_rdoc: true
57
44
  homepage: http://github.com/samvincent/has_money
58
45
  licenses: []
59
-
60
46
  post_install_message:
61
- rdoc_options:
62
- - --charset=UTF-8
63
- require_paths:
47
+ rdoc_options: []
48
+ require_paths:
64
49
  - lib
65
- required_ruby_version: !ruby/object:Gem::Requirement
66
- requirements:
67
- - - ">="
68
- - !ruby/object:Gem::Version
69
- segments:
70
- - 0
71
- version: "0"
72
- required_rubygems_version: !ruby/object:Gem::Requirement
73
- requirements:
74
- - - ">="
75
- - !ruby/object:Gem::Version
76
- segments:
77
- - 0
78
- version: "0"
50
+ required_ruby_version: !ruby/object:Gem::Requirement
51
+ none: false
52
+ requirements:
53
+ - - ! '>='
54
+ - !ruby/object:Gem::Version
55
+ version: '0'
56
+ required_rubygems_version: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
79
62
  requirements: []
80
-
81
63
  rubyforge_project:
82
- rubygems_version: 1.3.6
64
+ rubygems_version: 1.8.6
83
65
  signing_key:
84
66
  specification_version: 3
85
67
  summary: Parsing the various ways people enter dollar amounts so you don't have to.
86
- test_files:
87
- - spec/has_money_spec.rb
68
+ test_files: []
data/.gitignore DELETED
@@ -1,21 +0,0 @@
1
- ## MAC OS
2
- .DS_Store
3
-
4
- ## TEXTMATE
5
- *.tmproj
6
- tmtags
7
-
8
- ## EMACS
9
- *~
10
- \#*
11
- .\#*
12
-
13
- ## VIM
14
- *.swp
15
-
16
- ## PROJECT::GENERAL
17
- coverage
18
- rdoc
19
- pkg
20
-
21
- ## PROJECT::SPECIFIC
data/init.rb DELETED
@@ -1,2 +0,0 @@
1
- # Inlcude in all AR Models
2
- ActiveRecord::Base.send :include, HasMoney