adhoq 0.1.0 → 0.1.1

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
  SHA1:
3
- metadata.gz: fcc956fd60d482e84489aced477d68d8df73c142
4
- data.tar.gz: 218b3bba8abf8e12d72ce80f9b7fdc761561f44f
3
+ metadata.gz: c8e1d78866b3fae7c3a2641758a5b29ba5f7e7a3
4
+ data.tar.gz: 6f6c4b12582208b1d3fcc4b32e3a573116d8a438
5
5
  SHA512:
6
- metadata.gz: 9a2c43c464d372904b2b294c4d02ea831de5a6f54b72a1304da1d3becef429202fb06f93cf6d2da45d0ffc1f29e319a846b346b446cd08fb8326a4903cb694ac
7
- data.tar.gz: cf2c9a58b577e0fb4403b6274d13ac4052d9528a2d37ab8fb97505aef48fd893d338ab43b29640a544ad9faa85fc0b8182445fbef1316c45e14015788c5cb578
6
+ metadata.gz: c4e12b30c892c054b5a9cc77931734c450abfdf5387af95779cc419442099769a1d9020067874b0dd57f8a9f19422bc745e9c842c1adbccd567bcd72824db276
7
+ data.tar.gz: 87c36b10329c3ab980dd8ff4faf53cd224bed38f82518a6ce901385bf41a47906bbed1130e1f68e79a2fba9266c1f941929de42297614c2cd1619172145ca8a2
@@ -5,8 +5,9 @@ module Adhoq
5
5
  def index
6
6
  hidden_model_names = Array(Adhoq.config.hidden_model_names)
7
7
  hidden_model_names << 'ActiveRecord::SchemaMigration'
8
+ hidden_model_names << 'ApplicationRecord'
8
9
 
9
- @ar_classes = ActiveRecord::Base.subclasses.
10
+ @ar_classes = ActiveRecord::Base.descendants.
10
11
  reject {|klass| hidden_model_names.include?(klass.name) }.
11
12
  sort_by(&:name)
12
13
 
data/lib/adhoq/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Adhoq
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: adhoq
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyosuke MOROHASHI
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-22 00:00:00.000000000 Z
11
+ date: 2016-10-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails