adhoq 0.2.0 → 0.3.0

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: 610933cb558524c8a284e46b1c237a2ed11b5b2f
4
- data.tar.gz: 683f284599de1c18c082ae941821b64759315773
3
+ metadata.gz: 47ea5ea847453ee2fd5a5fbd5e8c8d09e579998f
4
+ data.tar.gz: 40fe3bee5c8f7e289c52d5ef02e42cbce70f854e
5
5
  SHA512:
6
- metadata.gz: 1433f363086cbf99b03f402dad113a222fc37a1e5c4c91d29820573e29d8018971fa435cea11c248d3f749c46cd9672e6f9a0ddbd20f59e54418af49bc8b3ffe
7
- data.tar.gz: bfa98c6c1ea78864ddac408f9db426cc866388822c8bebd0c0bd5012a28561f412e22304d201eea769dd5a738b6d6e2a56f29614245531814b4bbcce1ffc0ce1
6
+ metadata.gz: 4e61736b80b3946ea4ade7f4014641dc96362ee7a945d1bd24074a5edfd0c7ef9e21646c5afe24f6f5f0731d7d19c2db35130f04e41ada1fdcee8a1a88f3b472
7
+ data.tar.gz: 3d7131fee5b46181dec95018313b3284e99dac5ac029d864cef5eb87970d7337b57e7c46ca954f66c412402c5ce56a93a9627ad3fcdefe9ee10a3f44d88a988f
@@ -8,7 +8,7 @@ module Adhoq
8
8
  hidden_model_names << 'ApplicationRecord'
9
9
 
10
10
  @ar_classes = ActiveRecord::Base.descendants.
11
- reject {|klass| klass.abstract_class? || hidden_model_names.include?(klass.name) }.
11
+ reject {|klass| klass.abstract_class? || hidden_model_names.include?(klass.name) || klass.name.nil? }.
12
12
  sort_by(&:name)
13
13
 
14
14
  render layout: false
@@ -1,3 +1,3 @@
1
1
  module Adhoq
2
- VERSION = "0.2.0"
2
+ VERSION = "0.3.0"
3
3
  end
@@ -1,6 +1,6 @@
1
1
  # Read about factories at https://github.com/thoughtbot/factory_girl
2
2
 
3
- FactoryGirl.define do
3
+ FactoryBot.define do
4
4
  factory :adhoq_query, class: 'Adhoq::Query' do
5
5
  name 'A query'
6
6
  description 'Simple simple SELECT'
@@ -6,7 +6,7 @@ require 'rspec/rails'
6
6
  require 'capybara/rspec'
7
7
  require 'capybara/poltergeist'
8
8
  require 'database_cleaner'
9
- require 'factory_girl_rails'
9
+ require 'factory_bot_rails'
10
10
  require 'pry-byebug'
11
11
 
12
12
  Rails.backtrace_cleaner.remove_silencers!
@@ -36,7 +36,7 @@ RSpec.configure do |config|
36
36
  config.profile_examples = 10
37
37
  config.order = :random
38
38
 
39
- config.include FactoryGirl::Syntax::Methods
39
+ config.include FactoryBot::Syntax::Methods
40
40
  Kernel.srand config.seed
41
41
 
42
42
  config.around(:each, :fog_mock) do |example|
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.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyosuke MOROHASHI
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-12 00:00:00.000000000 Z
11
+ date: 2018-05-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -28,14 +28,14 @@ dependencies:
28
28
  name: axlsx
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '2.0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '2.0'
41
41
  - !ruby/object:Gem::Dependency
@@ -56,14 +56,14 @@ dependencies:
56
56
  name: fog-aws
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: '1.4'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - "~>"
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '1.4'
69
69
  - !ruby/object:Gem::Dependency
@@ -193,7 +193,7 @@ dependencies:
193
193
  - !ruby/object:Gem::Version
194
194
  version: '0'
195
195
  - !ruby/object:Gem::Dependency
196
- name: factory_girl_rails
196
+ name: factory_bot_rails
197
197
  requirement: !ruby/object:Gem::Requirement
198
198
  requirements:
199
199
  - - ">="