money_column 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -1,2 +1,3 @@
1
1
  pkg
2
2
  .rvmrc
3
+ *.gem
@@ -3,7 +3,7 @@ PATH
3
3
  specs:
4
4
  money_column (0.2.1)
5
5
  activesupport (>= 2.3.14)
6
- money (~> 4.0.1)
6
+ money (~> 2.2.0)
7
7
 
8
8
  GEM
9
9
  remote: http://rubygems.org/
@@ -15,11 +15,7 @@ GEM
15
15
  thor (~> 0.14.6)
16
16
  guard-rspec (0.5.8)
17
17
  guard (>= 0.8.4)
18
- i18n (0.6.0)
19
- json (1.6.2)
20
- money (4.0.1)
21
- i18n (~> 0.4)
22
- json
18
+ money (2.2.0)
23
19
  rake (0.9.2.2)
24
20
  rb-fsevent (0.4.3.1)
25
21
  rspec (2.7.0)
@@ -19,6 +19,7 @@ class Car
19
19
  "USD"
20
20
  end
21
21
  end
22
+ ```
22
23
 
23
24
  So let's go ahead and store a price_in_cents for the car:
24
25
 
@@ -0,0 +1,3 @@
1
+ module MoneyColumn
2
+ VERSION = "0.2.2"
3
+ end
@@ -1,14 +1,16 @@
1
+ require File.expand_path('../lib/money_column/version', __FILE__)
2
+
1
3
  Gem::Specification.new do |s|
2
4
  s.specification_version = 3 if s.respond_to? :specification_version=
3
5
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
4
6
  s.rubygems_version = '1.3.7'
5
7
 
6
8
  s.name = 'money_column'
7
- s.version = '0.2.1'
8
- s.date = '2011-11-30'
9
+ s.version = MoneyColumn::VERSION
10
+ s.date = '2012-05-01'
9
11
  s.summary = 'A set of helper methods for working with money-based attributes.'
10
12
  s.description = 'A set of helper methods for working with money-based attributes.'
11
- s.authors = ["Michael Klett", "Shay Frendt"]
13
+ s.authors = ["Michael Klett", "Shay Frendt", "Nathan Verni"]
12
14
  s.email = 'support@chargify.com'
13
15
  s.homepage = 'http://github.com/chargify/money_column'
14
16
 
@@ -18,7 +20,7 @@ Gem::Specification.new do |s|
18
20
 
19
21
  # Runtime Dependencies
20
22
  s.add_runtime_dependency('activesupport', '>= 2.3.14')
21
- s.add_runtime_dependency('money', '~> 4.0.1')
23
+ s.add_runtime_dependency('money', '>= 2.2.0')
22
24
 
23
25
  # Development Dependencies
24
26
  s.add_development_dependency('rake', '~> 0.9.2')
metadata CHANGED
@@ -1,145 +1,136 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: money_column
3
- version: !ruby/object:Gem::Version
4
- hash: 21
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.2
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 2
9
- - 1
10
- version: 0.2.1
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Michael Klett
14
9
  - Shay Frendt
10
+ - Nathan Verni
15
11
  autorequire:
16
12
  bindir: bin
17
13
  cert_chain: []
18
-
19
- date: 2011-11-30 00:00:00 -05:00
20
- default_executable:
21
- dependencies:
22
- - !ruby/object:Gem::Dependency
14
+ date: 2012-05-01 00:00:00.000000000 Z
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
23
17
  name: activesupport
24
- prerelease: false
25
- requirement: &id001 !ruby/object:Gem::Requirement
18
+ requirement: !ruby/object:Gem::Requirement
26
19
  none: false
27
- requirements:
28
- - - ">="
29
- - !ruby/object:Gem::Version
30
- hash: 31
31
- segments:
32
- - 2
33
- - 3
34
- - 14
20
+ requirements:
21
+ - - ! '>='
22
+ - !ruby/object:Gem::Version
35
23
  version: 2.3.14
36
24
  type: :runtime
37
- version_requirements: *id001
38
- - !ruby/object:Gem::Dependency
39
- name: money
40
25
  prerelease: false
41
- requirement: &id002 !ruby/object:Gem::Requirement
26
+ version_requirements: !ruby/object:Gem::Requirement
42
27
  none: false
43
- requirements:
44
- - - ~>
45
- - !ruby/object:Gem::Version
46
- hash: 61
47
- segments:
48
- - 4
49
- - 0
50
- - 1
51
- version: 4.0.1
28
+ requirements:
29
+ - - ! '>='
30
+ - !ruby/object:Gem::Version
31
+ version: 2.3.14
32
+ - !ruby/object:Gem::Dependency
33
+ name: money
34
+ requirement: !ruby/object:Gem::Requirement
35
+ none: false
36
+ requirements:
37
+ - - ! '>='
38
+ - !ruby/object:Gem::Version
39
+ version: 2.2.0
52
40
  type: :runtime
53
- version_requirements: *id002
54
- - !ruby/object:Gem::Dependency
55
- name: rake
56
41
  prerelease: false
57
- requirement: &id003 !ruby/object:Gem::Requirement
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ none: false
44
+ requirements:
45
+ - - ! '>='
46
+ - !ruby/object:Gem::Version
47
+ version: 2.2.0
48
+ - !ruby/object:Gem::Dependency
49
+ name: rake
50
+ requirement: !ruby/object:Gem::Requirement
58
51
  none: false
59
- requirements:
52
+ requirements:
60
53
  - - ~>
61
- - !ruby/object:Gem::Version
62
- hash: 63
63
- segments:
64
- - 0
65
- - 9
66
- - 2
54
+ - !ruby/object:Gem::Version
67
55
  version: 0.9.2
68
56
  type: :development
69
- version_requirements: *id003
70
- - !ruby/object:Gem::Dependency
71
- name: rspec
72
57
  prerelease: false
73
- requirement: &id004 !ruby/object:Gem::Requirement
58
+ version_requirements: !ruby/object:Gem::Requirement
59
+ none: false
60
+ requirements:
61
+ - - ~>
62
+ - !ruby/object:Gem::Version
63
+ version: 0.9.2
64
+ - !ruby/object:Gem::Dependency
65
+ name: rspec
66
+ requirement: !ruby/object:Gem::Requirement
74
67
  none: false
75
- requirements:
68
+ requirements:
76
69
  - - ~>
77
- - !ruby/object:Gem::Version
78
- hash: 19
79
- segments:
80
- - 2
81
- - 7
82
- - 0
70
+ - !ruby/object:Gem::Version
83
71
  version: 2.7.0
84
72
  type: :development
85
- version_requirements: *id004
86
- - !ruby/object:Gem::Dependency
87
- name: guard-rspec
88
73
  prerelease: false
89
- requirement: &id005 !ruby/object:Gem::Requirement
74
+ version_requirements: !ruby/object:Gem::Requirement
90
75
  none: false
91
- requirements:
76
+ requirements:
92
77
  - - ~>
93
- - !ruby/object:Gem::Version
94
- hash: 11
95
- segments:
96
- - 0
97
- - 5
98
- - 0
78
+ - !ruby/object:Gem::Version
79
+ version: 2.7.0
80
+ - !ruby/object:Gem::Dependency
81
+ name: guard-rspec
82
+ requirement: !ruby/object:Gem::Requirement
83
+ none: false
84
+ requirements:
85
+ - - ~>
86
+ - !ruby/object:Gem::Version
99
87
  version: 0.5.0
100
88
  type: :development
101
- version_requirements: *id005
102
- - !ruby/object:Gem::Dependency
103
- name: growl
104
89
  prerelease: false
105
- requirement: &id006 !ruby/object:Gem::Requirement
90
+ version_requirements: !ruby/object:Gem::Requirement
91
+ none: false
92
+ requirements:
93
+ - - ~>
94
+ - !ruby/object:Gem::Version
95
+ version: 0.5.0
96
+ - !ruby/object:Gem::Dependency
97
+ name: growl
98
+ requirement: !ruby/object:Gem::Requirement
106
99
  none: false
107
- requirements:
100
+ requirements:
108
101
  - - ~>
109
- - !ruby/object:Gem::Version
110
- hash: 17
111
- segments:
112
- - 1
113
- - 0
114
- - 3
102
+ - !ruby/object:Gem::Version
115
103
  version: 1.0.3
116
104
  type: :development
117
- version_requirements: *id006
118
- - !ruby/object:Gem::Dependency
119
- name: rb-fsevent
120
105
  prerelease: false
121
- requirement: &id007 !ruby/object:Gem::Requirement
106
+ version_requirements: !ruby/object:Gem::Requirement
122
107
  none: false
123
- requirements:
108
+ requirements:
124
109
  - - ~>
125
- - !ruby/object:Gem::Version
126
- hash: 11
127
- segments:
128
- - 0
129
- - 4
130
- - 2
110
+ - !ruby/object:Gem::Version
111
+ version: 1.0.3
112
+ - !ruby/object:Gem::Dependency
113
+ name: rb-fsevent
114
+ requirement: !ruby/object:Gem::Requirement
115
+ none: false
116
+ requirements:
117
+ - - ~>
118
+ - !ruby/object:Gem::Version
131
119
  version: 0.4.2
132
120
  type: :development
133
- version_requirements: *id007
121
+ prerelease: false
122
+ version_requirements: !ruby/object:Gem::Requirement
123
+ none: false
124
+ requirements:
125
+ - - ~>
126
+ - !ruby/object:Gem::Version
127
+ version: 0.4.2
134
128
  description: A set of helper methods for working with money-based attributes.
135
129
  email: support@chargify.com
136
130
  executables: []
137
-
138
131
  extensions: []
139
-
140
132
  extra_rdoc_files: []
141
-
142
- files:
133
+ files:
143
134
  - .gitignore
144
135
  - Gemfile
145
136
  - Gemfile.lock
@@ -149,45 +140,36 @@ files:
149
140
  - Rakefile
150
141
  - lib/money_column.rb
151
142
  - lib/money_column/stores_money.rb
143
+ - lib/money_column/version.rb
152
144
  - money_column.gemspec
153
145
  - spec/money_column/money_column_spec.rb
154
146
  - spec/spec.opts
155
147
  - spec/spec_helper.rb
156
- has_rdoc: true
157
148
  homepage: http://github.com/chargify/money_column
158
149
  licenses: []
159
-
160
150
  post_install_message:
161
151
  rdoc_options: []
162
-
163
- require_paths:
152
+ require_paths:
164
153
  - lib
165
- required_ruby_version: !ruby/object:Gem::Requirement
154
+ required_ruby_version: !ruby/object:Gem::Requirement
166
155
  none: false
167
- requirements:
168
- - - ">="
169
- - !ruby/object:Gem::Version
170
- hash: 3
171
- segments:
172
- - 0
173
- version: "0"
174
- required_rubygems_version: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ! '>='
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
160
+ required_rubygems_version: !ruby/object:Gem::Requirement
175
161
  none: false
176
- requirements:
177
- - - ">="
178
- - !ruby/object:Gem::Version
179
- hash: 3
180
- segments:
181
- - 0
182
- version: "0"
162
+ requirements:
163
+ - - ! '>='
164
+ - !ruby/object:Gem::Version
165
+ version: '0'
183
166
  requirements: []
184
-
185
167
  rubyforge_project:
186
- rubygems_version: 1.6.2
168
+ rubygems_version: 1.8.24
187
169
  signing_key:
188
170
  specification_version: 3
189
171
  summary: A set of helper methods for working with money-based attributes.
190
- test_files:
172
+ test_files:
191
173
  - spec/money_column/money_column_spec.rb
192
174
  - spec/spec.opts
193
175
  - spec/spec_helper.rb