activerecord-rdb-adapter 0.8.1 → 0.8.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 29962e4968f5597099dbfb993d10018e660a232340d9867c3a0056c363925fa6
4
- data.tar.gz: bc0e46387f5f3b4ec8edd3828d933e11e32f5dc0d1adc9f262499107b0260de6
3
+ metadata.gz: 8466e32fd4d30bd70536d64a3a82219dbd374b2ded7510b8e3eb22edb8c4db9f
4
+ data.tar.gz: 2fee3dabf84e12601fd2673d8e8558f4564b81ac681e85abb767cf4655344584
5
5
  SHA512:
6
- metadata.gz: b88f9435c63e6d6ca457fafa3046da5a79be57e0b331b44fa2c1d8ddd8b9cd7420e6a2d0f4c1d5534e08c754b42263e107504cbf86add2def969a2c3860a6801
7
- data.tar.gz: 7f0d624807fe4063ff5c0525eb5185d49141cc46450d54e216a23f908f409787caf5ae084ed865bfc16f6b203aa788fa3227f753e54fc9bdf39f9e34730a31f9
6
+ metadata.gz: fdddca9210836e27d8b17dd4dd06fb1b04b2b76e4f0f4a11137f29c85443c3e2dccc95f6b063718f4ec294832f2dc7fe446175bd1bfa6999f7e19a7453ac5912
7
+ data.tar.gz: 39843aa7e80b57573eb38dd1ce2e1f2677b68f5688dc4fbae640d668340e8dc39c9cedd88ee8fbe60808d14789e1982f3366113768d3908679f4313705271281
data/README.md CHANGED
@@ -1,5 +1,9 @@
1
+ # ActiveRecord RDB Adapter
2
+
1
3
  ActiveRecord adapter that allows you to use ActiveRecord 5+(**Rails 5.2 is recommended**) and **Ruby 2.5+** with [RedDatabase 3+](http://reddatabase.ru/) and Firebird 3
2
4
 
3
5
  [![Gem Version](https://badge.fury.io/rb/activerecord-rdb-adapter.svg)](https://badge.fury.io/rb/activerecord-rdb-adapter)
4
6
 
5
- inspired by https://github.com/rowland/activerecord-fb-adapter and https://github.com/FabioMR/firebird_adapter
7
+ GUI Database Editor for RedDatabase: [RedExpert](http://reddatabase.ru/downloads/redexpert/)
8
+
9
+ inspired by [activerecord-fb-adapter](https://github.com/rowland/activerecord-fb-adapter) and [firebird_adapter](https://github.com/FabioMR/firebird_adapter)
@@ -116,6 +116,10 @@ module ActiveRecord
116
116
  nil
117
117
  end
118
118
 
119
+ def sequence_exists?(sequence_name)
120
+ @connection.generator_names.include?(sequence_name)
121
+ end
122
+
119
123
  def trigger_exists?(trigger_name)
120
124
  !execute(squish_sql(<<-END_SQL))
121
125
  select 1
@@ -394,10 +398,6 @@ module ActiveRecord
394
398
  boolean: { name: 'boolean' } }
395
399
  end
396
400
 
397
- def sequence_exists?(sequence_name)
398
- @connection.generator_names.include?(sequence_name)
399
- end
400
-
401
401
  def create_table_definition(*args)
402
402
  Rdb::TableDefinition.new(*args)
403
403
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord-rdb-adapter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1
4
+ version: 0.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrey Lobanov (RedSoft)