mongoid_money_field 3.2.0 → 3.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -2
- data/VERSION +1 -1
- data/lib/mongoid_money_field.rb +1 -1
- data/mongoid_money_field.gemspec +2 -2
- metadata +3 -3
data/Gemfile.lock
CHANGED
@@ -26,7 +26,7 @@ GEM
|
|
26
26
|
origin (~> 1.0)
|
27
27
|
tzinfo (~> 0.3.22)
|
28
28
|
moped (1.3.0)
|
29
|
-
multi_json (1.
|
29
|
+
multi_json (1.4.0)
|
30
30
|
origin (1.0.11)
|
31
31
|
rake (10.0.2)
|
32
32
|
rdoc (3.12)
|
@@ -47,7 +47,6 @@ GEM
|
|
47
47
|
|
48
48
|
PLATFORMS
|
49
49
|
ruby
|
50
|
-
x86-mingw32
|
51
50
|
|
52
51
|
DEPENDENCIES
|
53
52
|
bundler (>= 1.1.0)
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.2.
|
1
|
+
3.2.1
|
data/lib/mongoid_money_field.rb
CHANGED
@@ -83,7 +83,7 @@ module Mongoid
|
|
83
83
|
define_method( attr_plain ) do
|
84
84
|
value = instance_variable_get( "@#{attr_plain}".to_sym )
|
85
85
|
value = self.send( name ) if value.nil?
|
86
|
-
value = value.format( symbol: false, no_cents_if_whole: true ) if value.is_a?( Money )
|
86
|
+
value = value.format( symbol: false, no_cents_if_whole: true, thousands_separator: false ) if value.is_a?( Money )
|
87
87
|
|
88
88
|
value
|
89
89
|
end
|
data/mongoid_money_field.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "mongoid_money_field"
|
8
|
-
s.version = "3.2.
|
8
|
+
s.version = "3.2.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["glebtv"]
|
12
|
-
s.date = "2012-
|
12
|
+
s.date = "2012-12-01"
|
13
13
|
s.description = "Use RubyMoney with mongoid"
|
14
14
|
s.email = "glebtv@gmail.com"
|
15
15
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mongoid_money_field
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2.
|
4
|
+
version: 3.2.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-12-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: mongoid
|
@@ -190,7 +190,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
190
190
|
version: '0'
|
191
191
|
segments:
|
192
192
|
- 0
|
193
|
-
hash:
|
193
|
+
hash: 2751069151906080553
|
194
194
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
195
195
|
none: false
|
196
196
|
requirements:
|