forest_liana 1.4.0 → 1.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0453256fc69a77b31246e967c1eaf807852d4a93
|
|
4
|
+
data.tar.gz: 7fcb2727dc69394bd5ec9d4c4c8941e2c1bca921
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f64d84cde5c1a64438edf863da33f881d6a4ad04205a85d6e12449ea31852c3f6b7958aad67fb21c91f1e5c09287ac0f316ae73b3c012b367b36abb375b662fc
|
|
7
|
+
data.tar.gz: 05907672c1a8fa59da2b960a26aa3b01d237de35c39dc5b5277e76570c8be3fac893d20cf26672ab49c941519a5bc6ab8104713f9ddd7857747004a41a133aeb
|
|
@@ -278,7 +278,11 @@ module ForestLiana
|
|
|
278
278
|
|
|
279
279
|
def attributes_time(active_record_class)
|
|
280
280
|
active_record_class.column_names.select do |column_name|
|
|
281
|
-
|
|
281
|
+
if Rails::VERSION::MAJOR > 4
|
|
282
|
+
active_record_class.column_for_attribute(column_name).type == :time
|
|
283
|
+
else
|
|
284
|
+
active_record_class.column_types[column_name].type == :time
|
|
285
|
+
end
|
|
282
286
|
end
|
|
283
287
|
end
|
|
284
288
|
|
data/lib/forest_liana/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: forest_liana
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.4.
|
|
4
|
+
version: 1.4.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sandro Munda
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-11-
|
|
11
|
+
date: 2016-11-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|