thecore_settings 2.0.2 → 2.0.3

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: bf181b91079f75c382c0fdd7862546ea099e09c488cb470a00197b150988b6d5
4
- data.tar.gz: 41626987e0ec8ff713746a2c981b95733bae2182d0cfe5be084d95d287bb9955
3
+ metadata.gz: 0cafff1b57fc1c4e124155d2351b255000e725b8f4845bdb5f724c0d34b301dc
4
+ data.tar.gz: 02a9b30787bf39f2963e8c9279c76adb3004cb041403f06b238db0fa37d9be93
5
5
  SHA512:
6
- metadata.gz: 730e3419e28b035d4896c5afb872b210d0ff02286fbe1711f13124473295ba4a7fec44d07b71dde3be72c382fabcf295c7d908111f4a7f86f17b9b4597fb8c2d
7
- data.tar.gz: 4600d35f546f3d32d423b88f2e4851da37f1b8ea6c72995f9c93fbf280e25331bef4a637f8e95c14c2e9328f789f5c668cd4a1a75ade6ec1d9ea68affe84cd72
6
+ metadata.gz: efefe22648f01bc00055b0d3d5df9ffeed3380b7813ee4b9dc74f0d9f584f0dfe763611421727a8dd885d419049638f64ba1a67c0b3a99ccddde70155af4cecb
7
+ data.tar.gz: fa490f1c30a2abc69ef0da417b3d87c9f2736cc2f9b7fe3e731af90c64083fd5c0bbc9e2904dd482dc539d6728aaabc013db7bf5208c2cff84fdd8f88e1e1fe3
@@ -1,9 +1,4 @@
1
1
  Rails.application.configure do
2
2
  config.after_initialize do
3
- # Auto inizializza questa gemma
4
- # require 'rails_admin_settings'
5
- # require 'thecore_settings'
6
- # require 'rails_admin_requirements'
7
- # require 'thecore_settings_abilities'
8
3
  end
9
4
  end
@@ -15,9 +15,9 @@ it:
15
15
  color_invalid: Colore non valido
16
16
  mongoid: &mongoid
17
17
  models:
18
- rails_admin_settings/setting: Configurazioni
18
+ thecore_settings/setting: Configurazioni
19
19
  attributes:
20
- rails_admin_settings/setting:
20
+ thecore_settings/setting:
21
21
  c_at: Creato
22
22
  u_at: Modificato
23
23
  enabled: Abilitato
@@ -1,6 +1,6 @@
1
1
  class CreateRailsAdminSettings < ActiveRecord::Migration[5.0]
2
2
  def change
3
- create_table :rails_admin_settings do |t|
3
+ create_table :thecore_settings do |t|
4
4
  t.boolean :enabled, default: true
5
5
  t.string :kind, null: false, default: 'string'
6
6
  t.string :ns, default: 'main'
@@ -19,7 +19,7 @@ class CreateRailsAdminSettings < ActiveRecord::Migration[5.0]
19
19
  t.timestamps
20
20
  end
21
21
 
22
- add_index :rails_admin_settings, :key
23
- add_index :rails_admin_settings, [:ns, :key], unique: true
22
+ add_index :thecore_settings, :key
23
+ add_index :thecore_settings, [:ns, :key], unique: true
24
24
  end
25
25
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thecore_settings
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriele Tassoni