friendly_extensions 0.2.7 → 0.2.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/smart_currency.rb +1 -1
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6c9dd59949c5e27d976e6862b96e57a80a9a638f
4
- data.tar.gz: 570d44c51967a217e540f1a7d6bb91ae4ea67713
3
+ metadata.gz: 93579900f5196c25ce60ee15387ca5b96129816a
4
+ data.tar.gz: bdb56bb627bd07719ab0988f855f8d5e19befa5a
5
5
  SHA512:
6
- metadata.gz: 60720aa317b66cd7be453986e37f12d5ad0b48b27ddef2215a78fdd480fe1d35505335bb3b1384d2c5dae1c14f13213d9ff7144099e95b409bd2175c27e2cee8
7
- data.tar.gz: 21e68d908e8ba6f0a809179ee6f83571b47dc9870f7f90b918c8d7ae66ea13c5a1a63657d6114a8f54b761234f27ddf746a2accb0819b91afb1846fbf23bbfac
6
+ metadata.gz: c1a0591f051467b4d69543f1673d00dd0264632d6537214d86acddf08a2b9d7376a0b8fe6dbd8dfc2927b1989e83a7d21ba9f264361fb45f00135ebdda6d9ded
7
+ data.tar.gz: ad8ec29f78df72217aae03b532c27cc6b66d66a11d96ef479d0df1337d750a8ae1f75be325b1d3fadd2bb9e989bafb59f586c362e77b228cb043beda0cb3623c
@@ -7,7 +7,7 @@ module SmartCurrency
7
7
 
8
8
  module ClassMethods
9
9
  def smart_currency
10
- unless smart_currency?
10
+ if !smart_currency? && table_exists?
11
11
  include InstanceMethods
12
12
  auto_attributes = []
13
13
  self.skip_time_zone_conversion_for_attributes = []
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: friendly_extensions
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.7
4
+ version: 0.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Florian Eck
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-13 00:00:00.000000000 Z
11
+ date: 2017-10-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -72,7 +72,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
72
72
  version: '0'
73
73
  requirements: []
74
74
  rubyforge_project:
75
- rubygems_version: 2.4.8
75
+ rubygems_version: 2.6.12
76
76
  signing_key:
77
77
  specification_version: 4
78
78
  summary: Collection of useful features for Ruby/Rails Classes