relationizer 0.1.0 → 0.2.0

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: f126a29bb0808131eb6cee18ebc837d3c2476236
4
- data.tar.gz: c6ac6d1f8734ea4562743b36c264c7be1d37acbb
3
+ metadata.gz: 21ee2cd0fd6597dfd1dca5a5dbf1373cb47bf97d
4
+ data.tar.gz: 0aa7d5f6331dde1fca3c8600b966a5fdcb7896c3
5
5
  SHA512:
6
- metadata.gz: 4e6324a4f3279f93f78fc50c4d1695b4a22031a32f903210720944a080aa5ad09f3c9ec7def7f099a42c339c01004d99c6f8b0e3c23b222263d60285067fbb52
7
- data.tar.gz: 4df6ac38f1541305d2f7c1269f7f0e60c0d800785da8ab7a87fb21ffaba45750256f2d6b1ffa18aaf95efeba42bcddfdd59b91c4b4e48104e89dd1465febe9d6
6
+ metadata.gz: 5ffba7e872f1b15455e2e79609945e74de8705757a91b28d6f72ebee9f5d0bb8aec792640114df838b9071f3eed56cffc5303d822424537ce39860a7cbd3cdca
7
+ data.tar.gz: 041d84c052407fb3fc16abced7eafe832bc73f3c7d64c6168c81b48808bbdb0aeccbebc553f0420de6b424a6bd6c41f26ba1c7da1e1f622d5bd13b70a6045694
@@ -8,8 +8,6 @@ module Relationizer
8
8
 
9
9
  DEFAULT_TYPES = {
10
10
  Integer => :INT64,
11
- Fixnum => :INT64,
12
- Bignum => :INT64,
13
11
  BigDecimal => :FLOAT64,
14
12
  Float => :FLOAT64,
15
13
  String => :STRING,
@@ -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)
@@ -1,3 +1,3 @@
1
1
  module Relationizer
2
- VERSION = "0.1.0"
2
+ VERSION = "0.2.0"
3
3
  end
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.1.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: 2016-09-09 00:00:00.000000000 Z
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.5.1
83
+ rubygems_version: 2.6.11
85
84
  signing_key:
86
85
  specification_version: 4
87
86
  summary: Array<Array> to Relation ppoi String