brdinheiro 2.0.6 → 2.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/brdinheiro/version.rb +1 -1
- data/lib/brdinheiro.rb +12 -3
- metadata +2 -2
data/lib/brdinheiro/version.rb
CHANGED
data/lib/brdinheiro.rb
CHANGED
@@ -10,11 +10,20 @@ nil_class).each {|req| require File.dirname(__FILE__) + "/brdinheiro/#{req}"}
|
|
10
10
|
%w(bigdecimal
|
11
11
|
rubygems
|
12
12
|
active_record
|
13
|
-
activesupport
|
14
|
-
|
13
|
+
activesupport).each {|req| require req }
|
14
|
+
|
15
|
+
begin
|
16
|
+
require 'brnumeros'
|
17
|
+
rescue MissingSourceFile
|
18
|
+
# probably not installed yet as a gem, so load from source
|
19
|
+
begin
|
20
|
+
require File.dirname(__FILE__) + '/../../brnumeros/lib/brnumeros'
|
21
|
+
rescue
|
22
|
+
end
|
23
|
+
end
|
15
24
|
|
16
25
|
String.send(:include, DinheiroUtil)
|
17
26
|
ActiveRecord::Base.send :include, DinheiroActiveRecord
|
18
27
|
|
19
28
|
module BrDinheiro
|
20
|
-
end
|
29
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: brdinheiro
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- "Marcos Tapaj\xC3\xB3s"
|
@@ -12,7 +12,7 @@ autorequire:
|
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
14
|
|
15
|
-
date: 2008-09-
|
15
|
+
date: 2008-09-23 00:00:00 -03:00
|
16
16
|
default_executable:
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|