sixarm_ruby_migration_helper_extensions 3.0.0 → 3.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/sixarm_ruby_migration_helper_extensions.rb +8 -9
- metadata +3 -3
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5ffd2c8d748c6eaeeee35a2b7e2f7ec37a08042fdab5d0d4564fb807b216a50d
|
4
|
+
data.tar.gz: 4518cd69457cedb323f96ca3318f90f12f815299922a18c12fced3284baa3d49
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e5923b7fd6c7018dd2da62b60b93f06467aa8d9de48715fc0b2c5433959ad829b14acff0e86bab8a14c57213f2d9522a994cf866a52bdb31ec284637be62b50a
|
7
|
+
data.tar.gz: 22cf2c8089680edf5702db49c694f74e6cfc9ea0a586601deaf1f242d3ecd9865d0ef7baa52a9980953aea92b030d9592132b6fae11d45067ed5fe211b8dd1f8
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
@@ -60,11 +60,11 @@ module Ddb
|
|
60
60
|
#
|
61
61
|
##
|
62
62
|
|
63
|
-
def height
|
64
|
-
def length
|
65
|
-
def width
|
66
|
-
def depth
|
67
|
-
def mass
|
63
|
+
def height(column_name=:height) column(column_name, :decimal, precision: 13, scale: 10) end
|
64
|
+
def length(column_name=:length) column(column_name, :decimal, precision: 13, scale: 10) end
|
65
|
+
def width(column_name=:width) column(column_name, :decimal, precision: 13, scale: 10) end
|
66
|
+
def depth(column_name=:depth) column(column_name, :decimal, precision: 13, scale: 10) end
|
67
|
+
def mass(column_name=:mass) column(column_name, :decimal, precision: 13, scale: 10) end
|
68
68
|
|
69
69
|
##
|
70
70
|
#
|
@@ -72,9 +72,9 @@ module Ddb
|
|
72
72
|
#
|
73
73
|
##
|
74
74
|
|
75
|
-
def latitude
|
76
|
-
def longitude
|
77
|
-
def altitude
|
75
|
+
def latitude(column_name=:latitude) column(column_name, :decimal, precision: 13, scale: 10); index(column_name); end
|
76
|
+
def longitude(column_name=:longitude) column(column_name, :decimal, precision: 13, scale: 10); index(column_name); end
|
77
|
+
def altitude(column_name=:altitude) column(column_name, :decimal, precision: 13, scale: 10); index(column_name); end
|
78
78
|
|
79
79
|
def geolocation
|
80
80
|
latitude
|
@@ -194,4 +194,3 @@ require "active_record"
|
|
194
194
|
if defined?(ActiveRecord::ConnectionAdapters::TableDefinition)
|
195
195
|
ActiveRecord::ConnectionAdapters::TableDefinition.send(:include, Ddb::SixArm::MigrationHelper)
|
196
196
|
end
|
197
|
-
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sixarm_ruby_migration_helper_extensions
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- SixArm
|
@@ -39,7 +39,7 @@ cert_chain:
|
|
39
39
|
tzpk/VnZXj7Ek/earx+N/Z+Wtnl2xENm5IF8SFPeI1HFa9NH47pqtxF1YKpNIEVc
|
40
40
|
2xa2BNHSePe7tys/2hbmZuyMu8X5ERmovsabSXB3a+YwtJh5c2jhA21wF7986s0q
|
41
41
|
-----END CERTIFICATE-----
|
42
|
-
date: 2018-
|
42
|
+
date: 2018-06-14 00:00:00.000000000 Z
|
43
43
|
dependencies:
|
44
44
|
- !ruby/object:Gem::Dependency
|
45
45
|
name: activerecord
|
@@ -215,7 +215,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
215
215
|
version: '0'
|
216
216
|
requirements: []
|
217
217
|
rubyforge_project:
|
218
|
-
rubygems_version: 2.7.
|
218
|
+
rubygems_version: 2.7.7
|
219
219
|
signing_key:
|
220
220
|
specification_version: 4
|
221
221
|
summary: SixArm.com → Ruby → Migration helper extensions
|
metadata.gz.sig
CHANGED
Binary file
|