feidee_utils 0.0.6.2 → 0.0.6.3

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
- SHA1:
3
- metadata.gz: 319e55e5339d503de7cacd974b4973fb61047055
4
- data.tar.gz: 96b926526884bcfdd95b0d660e21f06d0ed6ed1d
2
+ SHA256:
3
+ metadata.gz: 4d48723a858469e838dd2b5420bed13ee509c436e2e6d4aa367f18066042e284
4
+ data.tar.gz: 77c0fd9c5ea5c3fc26ae19538fc91643013a09059c73f22a8824f6b2dfcf276b
5
5
  SHA512:
6
- metadata.gz: 8b288bf8bba784ce501e979a871f514ae293f0d6ab83b3641b201e0f0b7f48ac22b2c87eabcd922583400216e4b9787d109f36f88e1245a30c42d810b0390ea4
7
- data.tar.gz: b0d87edaef250212a95e60c5fb9776e4cf318420d6de6631fb01990a59adf6b57a275459994e9727129b862cce7dfaff466d14c05d3ffcf5df57daf952327256
6
+ metadata.gz: da370f4c8895cc3c1692351e8d3b2f7b183db971b3e9bde22092478947fda02b7d2c174995a3d537da1bfc14ffc617723f40e93374ea8f6277413ba0c9b94f0c
7
+ data.tar.gz: d3e4dc6e2883ea5b9a736d633ed5141f0b05332bcf6c90a4b465859d441ce334e410994190427ae9f011b30a238664c6db963d58274d856910d2eb5c57bffd89
@@ -8,7 +8,7 @@ module FeideeUtils
8
8
  if instance_variable_defined? var_name
9
9
  instance_variable_get var_name
10
10
  else
11
- val = instance_exec &block
11
+ val = instance_exec(&block)
12
12
  instance_variable_set var_name, val
13
13
  end
14
14
  end
@@ -27,7 +27,7 @@ module FeideeUtils
27
27
 
28
28
  def to_bigdecimal number
29
29
  # Be aware of the precision lost from String -> Float -> BigDecimal.
30
- BigDecimal.new(number, 12).round(2)
30
+ BigDecimal(number, 12).round(2)
31
31
  end
32
32
  end
33
33
  end
@@ -1,3 +1,3 @@
1
1
  module FeideeUtils
2
- VERSION = '0.0.6.2'
2
+ VERSION = '0.0.6.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: feidee_utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6.2
4
+ version: 0.0.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Liqing Muyi
@@ -56,20 +56,20 @@ dependencies:
56
56
  requirements:
57
57
  - - "~>"
58
58
  - !ruby/object:Gem::Version
59
- version: '1.3'
59
+ version: '1.4'
60
60
  - - ">="
61
61
  - !ruby/object:Gem::Version
62
- version: 1.3.10
62
+ version: 1.4.1
63
63
  type: :runtime
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - "~>"
68
68
  - !ruby/object:Gem::Version
69
- version: '1.3'
69
+ version: '1.4'
70
70
  - - ">="
71
71
  - !ruby/object:Gem::Version
72
- version: 1.3.10
72
+ version: 1.4.1
73
73
  - !ruby/object:Gem::Dependency
74
74
  name: tzinfo
75
75
  requirement: !ruby/object:Gem::Requirement
@@ -158,7 +158,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
158
158
  version: '0'
159
159
  requirements: []
160
160
  rubyforge_project:
161
- rubygems_version: 2.5.2.3
161
+ rubygems_version: 2.7.6.2
162
162
  signing_key:
163
163
  specification_version: 4
164
164
  summary: Utils to extract useful information from Feidee Mymoney backup.