relationizer 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/relationizer/big_query/standard.rb +0 -2
- data/lib/relationizer/postgresql.rb +2 -3
- data/lib/relationizer/version.rb +1 -1
- data/relationizer.gemspec +0 -8
- metadata +4 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 21ee2cd0fd6597dfd1dca5a5dbf1373cb47bf97d
|
4
|
+
data.tar.gz: 0aa7d5f6331dde1fca3c8600b966a5fdcb7896c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5ffba7e872f1b15455e2e79609945e74de8705757a91b28d6f72ebee9f5d0bb8aec792640114df838b9071f3eed56cffc5303d822424537ce39860a7cbd3cdca
|
7
|
+
data.tar.gz: 041d84c052407fb3fc16abced7eafe832bc73f3c7d64c6168c81b48808bbdb0aeccbebc553f0420de6b424a6bd6c41f26ba1c7da1e1f622d5bd13b70a6045694
|
@@ -7,15 +7,14 @@ module Relationizer
|
|
7
7
|
|
8
8
|
DEFAULT_TYPES = {
|
9
9
|
Integer => :INT8,
|
10
|
-
Fixnum => :INT8,
|
11
|
-
Bignum => :DECIMAL,
|
12
10
|
BigDecimal => :DECIMAL,
|
13
11
|
Float => :FLOAT8,
|
14
12
|
String => :TEXT,
|
15
13
|
TrueClass => :BOOLEAN,
|
16
14
|
FalseClass => :BOOLEAN,
|
17
15
|
Date => :DATE,
|
18
|
-
Time => :TIMESTAMPTZ
|
16
|
+
Time => :TIMESTAMPTZ,
|
17
|
+
DateTime => :TIMESTAMPTZ
|
19
18
|
}
|
20
19
|
|
21
20
|
def create_relation_literal(schema, tuples)
|
data/lib/relationizer/version.rb
CHANGED
data/relationizer.gemspec
CHANGED
@@ -13,14 +13,6 @@ Gem::Specification.new do |spec|
|
|
13
13
|
spec.homepage = "https://github.com/yancya/relationizer"
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
16
|
-
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
17
|
-
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
18
|
-
if spec.respond_to?(:metadata)
|
19
|
-
spec.metadata['allowed_push_host'] = "https://rubygems.org"
|
20
|
-
else
|
21
|
-
raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
|
22
|
-
end
|
23
|
-
|
24
16
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
25
17
|
spec.bindir = "exe"
|
26
18
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: relationizer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- yancya
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-04-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -63,8 +63,7 @@ files:
|
|
63
63
|
homepage: https://github.com/yancya/relationizer
|
64
64
|
licenses:
|
65
65
|
- MIT
|
66
|
-
metadata:
|
67
|
-
allowed_push_host: https://rubygems.org
|
66
|
+
metadata: {}
|
68
67
|
post_install_message:
|
69
68
|
rdoc_options: []
|
70
69
|
require_paths:
|
@@ -81,7 +80,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
81
80
|
version: '0'
|
82
81
|
requirements: []
|
83
82
|
rubyforge_project:
|
84
|
-
rubygems_version: 2.
|
83
|
+
rubygems_version: 2.6.11
|
85
84
|
signing_key:
|
86
85
|
specification_version: 4
|
87
86
|
summary: Array<Array> to Relation ppoi String
|