investtools-money 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 56f275fec57301ecdff093b39c5ca310810a7c25
4
- data.tar.gz: 9b73dc802a5f73fccf2c33a21f3f89a8ab375341
3
+ metadata.gz: 8458cdfb679db2487e1e81878eeaef25157c8ee6
4
+ data.tar.gz: 6da5f97104de3b942a00e17271d16f8249e788cf
5
5
  SHA512:
6
- metadata.gz: aabfc21e2e69de9fa2019d229f3c94cbb8e04bc9fbfe142a5befaec32a2b4424df76b7cac85fae803485b3027dc67ed90be65aaee660402005983552bdd68f9f
7
- data.tar.gz: d0b4850238b0156cce21b706bdfd255fb5f0683272de92407bc7b6e15690209d8442092479d7da977ff2f19ecfb2ea0fe596aee23505d2c47fc3a5a2de43654e
6
+ metadata.gz: c55882b31924e6265a721a8caa17f7fe735698d517fde014e9d57b24f0a42181760920f584cf4bf82ebd6d9cbdc76ab8ef3716afdcec79c4777179b464e5b98b
7
+ data.tar.gz: 7e99f98c1c92adea31259773dc0fc8803425bfdf495f8bdd088000690b06fe92f4874da22d70f034488f068ccc25fc1b22b0623e260f7d655c3b3f86ace0cde4
@@ -10,7 +10,7 @@ class Money
10
10
 
11
11
  def money(field_name)
12
12
  define_method(field_name) do
13
- Money.new(super(), security.currency.code, date)
13
+ Money.new(super(), currency.code, date)
14
14
  end
15
15
  define_method("#{field_name}=") do |value|
16
16
  if value.kind_of?(Money)
data/lib/money/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  require 'money/base'
2
2
 
3
3
  class Money
4
- VERSION = "0.0.1"
4
+ VERSION = "0.0.2"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: investtools-money
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - André Aizim Kelmanson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-20 00:00:00.000000000 Z
11
+ date: 2015-02-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler