adhoq 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: c8e1d78866b3fae7c3a2641758a5b29ba5f7e7a3
4
- data.tar.gz: 6f6c4b12582208b1d3fcc4b32e3a573116d8a438
3
+ metadata.gz: ff58c455df9c61e8df3a602a4596e3403b3ee488
4
+ data.tar.gz: 9a4110eb2bb142689cc9d55adcfe67fe44227e07
5
5
  SHA512:
6
- metadata.gz: c4e12b30c892c054b5a9cc77931734c450abfdf5387af95779cc419442099769a1d9020067874b0dd57f8a9f19422bc745e9c842c1adbccd567bcd72824db276
7
- data.tar.gz: 87c36b10329c3ab980dd8ff4faf53cd224bed38f82518a6ce901385bf41a47906bbed1130e1f68e79a2fba9266c1f941929de42297614c2cd1619172145ca8a2
6
+ metadata.gz: df26bf182627080572116af631b83261604b7092ff03b88a48cd5adc33419d98762d2dfa5001d39b940e4cddda380a6947988ecf44ba18fb84cf5420d095fc9d
7
+ data.tar.gz: ac1b1a44fdbb52daf7ab555eddcd81f4e333c0861b15cf55bebe3d8496ff8d9859bbed54cc8f791349a9fbfbe9e08a948177fdec400dd15c88c8a4032cb3e2a2
@@ -1,4 +1,7 @@
1
- class CreateAdhoqQueries < ActiveRecord::Migration
1
+ major, minor, _ = Rails.version.split('.').map(&:to_i)
2
+ migration_class = (major > 5 || major == 5 && minor >= 1) ? ActiveRecord::Migration[4.2] : ActiveRecord::Migration
3
+
4
+ class CreateAdhoqQueries < migration_class
2
5
  def change
3
6
  create_table :adhoq_queries do |t|
4
7
  t.string :name
@@ -1,4 +1,7 @@
1
- class CreateAdhoqExecutions < ActiveRecord::Migration
1
+ major, minor, _ = Rails.version.split('.').map(&:to_i)
2
+ migration_class = (major > 5 || major == 5 && minor >= 1) ? ActiveRecord::Migration[4.2] : ActiveRecord::Migration
3
+
4
+ class CreateAdhoqExecutions < migration_class
2
5
  def change
3
6
  create_table :adhoq_executions do |t|
4
7
  t.belongs_to :query, null: false
@@ -1,4 +1,7 @@
1
- class CreateAdhoqReports < ActiveRecord::Migration
1
+ major, minor, _ = Rails.version.split('.').map(&:to_i)
2
+ migration_class = (major > 5 || major == 5 && minor >= 1) ? ActiveRecord::Migration[4.2] : ActiveRecord::Migration
3
+
4
+ class CreateAdhoqReports < migration_class
2
5
  def change
3
6
  create_table :adhoq_reports do |t|
4
7
  t.belongs_to :execution, null: false, index: true
@@ -1,3 +1,3 @@
1
1
  module Adhoq
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
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.1
4
+ version: 0.1.2
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-10-25 00:00:00.000000000 Z
11
+ date: 2017-02-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -461,7 +461,6 @@ files:
461
461
  - spec/models/adhoq/report_spec.rb
462
462
  - spec/spec_helper.rb
463
463
  - spec/support/activejob_helper.rb
464
- - spec/support/codeclimate_reporter.rb
465
464
  - spec/support/feature_spec_helper.rb
466
465
  - spec/support/have_values_in_xlsx_sheet_matcher.rb
467
466
  homepage: https://github.com/esminc/adhoq
@@ -484,7 +483,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
484
483
  version: '0'
485
484
  requirements: []
486
485
  rubyforge_project:
487
- rubygems_version: 2.5.1
486
+ rubygems_version: 2.5.2
488
487
  signing_key:
489
488
  specification_version: 4
490
489
  summary: DB management console in the wild.
@@ -501,7 +500,6 @@ test_files:
501
500
  - spec/models/adhoq/query_spec.rb
502
501
  - spec/models/adhoq/report_spec.rb
503
502
  - spec/support/activejob_helper.rb
504
- - spec/support/codeclimate_reporter.rb
505
503
  - spec/support/feature_spec_helper.rb
506
504
  - spec/support/have_values_in_xlsx_sheet_matcher.rb
507
505
  - spec/spec_helper.rb
@@ -1,4 +0,0 @@
1
- if ENV['CODECLIMATE_REPO_TOKEN'] && RUBY_VERSION >= '2.1'
2
- require 'codeclimate-test-reporter'
3
- CodeClimate::TestReporter.start
4
- end