dq_admin 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: 8cfc1b8ee56ddffff026f152b65efcf81d8f30ff
4
- data.tar.gz: a08dfbc4da5c931ce5b18fa6f6b42cf753cb4d32
3
+ metadata.gz: 216a598110fe18dd796fdf2575b329f5a985ec01
4
+ data.tar.gz: 9646985c051a1e90c51e4e66610f657c4fcdd389
5
5
  SHA512:
6
- metadata.gz: 06abaa4760f0f8c1b9efda1628b099cf10ccf24b18c669a8fa5f241b437490c95adae418b5cbc92c377dfdae97b479640b35f5183c31795500e06d9530ed770f
7
- data.tar.gz: 05b22afa7ed3e7d8afb0bf679e3bc13d4ead35ec4e8a9b1faed8d9ae0e4aae5dc0909aaf56375b10292a0f72519a6ba95f1f0fb2aee8736439cc965a637c8d74
6
+ metadata.gz: accfef4927c6625eff6753f7fff6e3d2f323b3488bc101fb3ebee79f0d5352d622220ab6d8781924963596a20a2af4ea90fe22bcb18401c122aea1712d51c0cf
7
+ data.tar.gz: a1fca42eea0bc1dbe2d1e0db56f059827911bc45885ece51b000e92c367d0f4b59a3c552a7f23606e6db0bf67029b29b1d6f21e2591f150e45308164ff72cdf4
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- dq_admin (0.2.0)
4
+ dq_admin (0.3.0)
5
5
  autoprefixer-rails
6
6
  carrierwave
7
7
  devise
data/README.md CHANGED
@@ -10,6 +10,7 @@ Add this line to your application's Gemfile:
10
10
 
11
11
  ```ruby
12
12
  gem 'dq_admin'
13
+ rails dq_admin:install:migrations
13
14
  ```
14
15
 
15
16
  And then execute:
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- class DeviseCreateDqAdminUsers < ActiveRecord::Migration[5.1]
3
+ class DeviseCreateDqAdminUsers < ActiveRecord::Migration["#{Rails::VERSION::MAJOR}.#{Rails::VERSION::MINOR}"]
4
4
  def change
5
5
  create_table :dq_admin_users do |t|
6
6
  ## Database authenticatable
@@ -1,4 +1,4 @@
1
- class CreateDqAdminFields < ActiveRecord::Migration[5.1]
1
+ class CreateDqAdminFields < ActiveRecord::Migration["#{Rails::VERSION::MAJOR}.#{Rails::VERSION::MINOR}"]
2
2
  def change
3
3
  create_table :dq_admin_fields do |t|
4
4
  t.string :key
@@ -1,4 +1,4 @@
1
- class RenameConfigToOption < ActiveRecord::Migration[5.1]
1
+ class RenameConfigToOption < ActiveRecord::Migration["#{Rails::VERSION::MAJOR}.#{Rails::VERSION::MINOR}"]
2
2
  def change
3
3
  rename_column :dq_admin_fields, :config, :options
4
4
  end
@@ -1,4 +1,4 @@
1
- class CreateDqAdminSettings < ActiveRecord::Migration[5.1]
1
+ class CreateDqAdminSettings < ActiveRecord::Migration["#{Rails::VERSION::MAJOR}.#{Rails::VERSION::MINOR}"]
2
2
  def change
3
3
  create_table :dq_admin_settings do |t|
4
4
  t.text :config
@@ -1,4 +1,4 @@
1
- class CreateDqAdminProducts < ActiveRecord::Migration[5.1]
1
+ class CreateDqAdminProducts < ActiveRecord::Migration["#{Rails::VERSION::MAJOR}.#{Rails::VERSION::MINOR}"]
2
2
  def change
3
3
  create_table :dq_admin_products do |t|
4
4
  t.string :name
@@ -1,4 +1,4 @@
1
- class CreateDqAdminSlides < ActiveRecord::Migration[5.1]
1
+ class CreateDqAdminSlides < ActiveRecord::Migration["#{Rails::VERSION::MAJOR}.#{Rails::VERSION::MINOR}"]
2
2
  def change
3
3
  create_table :dq_admin_slides do |t|
4
4
  t.string :image
@@ -1,4 +1,4 @@
1
- class CreateDqAdminArticles < ActiveRecord::Migration[5.1]
1
+ class CreateDqAdminArticles < ActiveRecord::Migration["#{Rails::VERSION::MAJOR}.#{Rails::VERSION::MINOR}"]
2
2
  def change
3
3
  create_table :dq_admin_articles do |t|
4
4
  t.string :title
@@ -1,4 +1,4 @@
1
- class AddUsernameToUsers < ActiveRecord::Migration[5.1]
1
+ class AddUsernameToUsers < ActiveRecord::Migration["#{Rails::VERSION::MAJOR}.#{Rails::VERSION::MINOR}"]
2
2
  def change
3
3
  add_column :dq_admin_users, :username, :string
4
4
  end
@@ -1,3 +1,3 @@
1
1
  module DqAdmin
2
- VERSION = '0.2.0'
2
+ VERSION = '0.3.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dq_admin
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
  - vincent178