activerecord-cockroachdb-adapter 0.2.0 → 0.2.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: 2950a2695b83c0a3bd4bcebe4f5264a6254e67de
4
- data.tar.gz: a28c9f714105f375e0bb3775ba4a425899655189
3
+ metadata.gz: ae35d20561a269a030800b32c38ca1c57ad85dd7
4
+ data.tar.gz: 5d05ad3cce87bcbee4b53cda42cf2930667b2f37
5
5
  SHA512:
6
- metadata.gz: c7727300dc620bb69673a7df6e9c178c035371fda98eb6ff09ac8d647f74a0ba1322035fefee30aff2847e11bcccd834c82f73868f2c4b319d89c1d5f5c1d1ef
7
- data.tar.gz: 33c65c50ff8a76ba5a6c322c53550ce8764cad2b94fc5f4661d1cfd043666da25ccac8e9229149adbbef24c1bf73a257b6b7ea36e94d00b779668c1c9c018205
6
+ metadata.gz: 4272d3906a4d030f57399ad958a9af366e87c56fe14173ce28f243520fd071704d0a33e57713cd27d024cccadc0eb77edc56025aafba993ae45c762e86d653fe
7
+ data.tar.gz: c8e05dc9c4295604816e9259c01ae9cb1ad1d7ad9150fed363b0f5946524c6c2d45ed5389fb9061ccc838dca230c6ec1a16660def94e3a643ccedd2e3256900a
data/README.md CHANGED
@@ -7,7 +7,7 @@ CockroachDB adapter for ActiveRecord 5. This is a lightweight extension of the P
7
7
  Add this line to your project's Gemfile:
8
8
 
9
9
  ```ruby
10
- gem 'activerecord-cockroachdb-adapter', '~> 0.1.0'
10
+ gem 'activerecord-cockroachdb-adapter', '~> 0.2.1'
11
11
  ```
12
12
 
13
13
  In `database.yml`, use the following adapter setting:
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "activerecord-cockroachdb-adapter"
7
- spec.version = "0.2.0"
7
+ spec.version = "0.2.1"
8
8
  spec.licenses = ["Apache-2.0"]
9
9
  spec.authors = ["Cockroach Labs"]
10
10
  spec.email = ["cockroach-db@googlegroups.com"]
@@ -32,6 +32,30 @@ class ActiveRecord::ConnectionAdapters::CockroachDBAdapter < ActiveRecord::Conne
32
32
  # to use the same original `Utils` module.
33
33
  Utils = ActiveRecord::ConnectionAdapters::PostgreSQL::Utils
34
34
 
35
+ def supports_json?
36
+ false
37
+ end
38
+
39
+ def supports_ddl_transactions?
40
+ false
41
+ end
42
+
43
+ def supports_extensions?
44
+ false
45
+ end
46
+
47
+ def supports_ranges?
48
+ false
49
+ end
50
+
51
+ def supports_materialized_views?
52
+ false
53
+ end
54
+
55
+ def supports_pg_crypto_uuid?
56
+ false
57
+ end
58
+
35
59
  def indexes(table_name, name = nil) # :nodoc:
36
60
  # The PostgreSQL adapter uses a correlated subquery in the following query,
37
61
  # which CockroachDB does not yet support. That portion of the query fetches
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord-cockroachdb-adapter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cockroach Labs
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-06-12 00:00:00.000000000 Z
11
+ date: 2017-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord