clickhouse-activerecord 0.1.1 → 0.1.2

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: c6cf84ba5f26b055c401f57ead0582ac4016f66b
4
- data.tar.gz: 491d81569bfc86a70b5f084786046727097da075
3
+ metadata.gz: 678367cbac5ed82b144255157353b904daacc7a7
4
+ data.tar.gz: 964abcf8cbd1b79f209d01c6a2a43d143e863954
5
5
  SHA512:
6
- metadata.gz: ff8d1629cb46e3bbad4fc9c5f6d873a23e92950b0bb74c9a077795515557201eee2608ee5c2dd953b498e30e39f5f1ec5920e8e4c2c91d1db7c1e8b64d9fc109
7
- data.tar.gz: a04fac4e14cfd16d935e18ee29cfb3bc733835d15592fb40354e7cf25c7cbca789713af48b63ac138b465ba971334038fa27cec0c8794830366684cbcdc645db
6
+ metadata.gz: c1f105f17c651ecfddc44fa837c2462adb1ab1f69eae6cd767a22c1f9b56774ee3e130d29ace118a5ad8e22f1a174c4a74ccab453dc0c888109b165abea130ac
7
+ data.tar.gz: f619f0b652ec11c51c6421ac6fd1800f14543ccdf654dd87e423e8a87974d4c71c87767524163edd1211eee97304fa3d6258a5372e394dfacf5135c079eefba8
@@ -5,7 +5,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = 'clickhouse-activerecord'
8
- spec.version = '0.1.1'
8
+ spec.version = '0.1.2'
9
9
  spec.authors = ['Sergey Odintsov']
10
10
  spec.email = ['nixx.dj@gmail.com']
11
11
 
@@ -114,15 +114,15 @@ module ActiveRecord
114
114
  register_class_with_limit m, 'String', Type::String
115
115
  register_class_with_limit m, 'Nullable(String)', Type::String
116
116
  register_class_with_limit m, 'Uint8', Type::UnsignedInteger
117
+ register_class_with_limit m, 'Uint64', Type::BigInteger
118
+ register_class_with_limit m, 'Int64', Type::BigInteger
117
119
  register_class_with_limit m, 'Date', Clickhouse::OID::Date
118
120
  register_class_with_limit m, 'DateTime', Clickhouse::OID::DateTime
119
121
  m.alias_type 'UInt16', 'uint8'
120
122
  m.alias_type 'UInt32', 'uint8'
121
- m.alias_type 'UInt64', 'uint8'
122
123
  m.alias_type 'Int8', 'int8'
123
124
  m.alias_type 'Int16', 'int8'
124
125
  m.alias_type 'Int32', 'int8'
125
- m.alias_type 'Int64', 'int8'
126
126
  end
127
127
 
128
128
  # Queries the database and returns the results in an Array-like object
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: clickhouse-activerecord
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergey Odintsov
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-08-31 00:00:00.000000000 Z
11
+ date: 2017-09-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler