magic_locales 0.0.17.beta2 → 0.0.17

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: 21e9d8c898f04e647bf24e07a4e259dddbfcdb9b
4
- data.tar.gz: e0b0a4833913008aad21a47bd1362811613cf697
3
+ metadata.gz: d55d29c31ba821cf4fe4de1dda4dfa5eee1a86e0
4
+ data.tar.gz: 301875d2a71e7dc3c7ca68495e8547b2b4eaa292
5
5
  SHA512:
6
- metadata.gz: 1b8b4a032ce78256d0eaf05a96493ea6518b19cd073ff196958e6ce3d4e4d1e6f6627e16b997f12e0aa1a0d3fa36f58c8eef992a52e384e2eded35164cbda8fb
7
- data.tar.gz: 987f4f17389dd088bf66de60eecee405cc59df4c2af42a4accd3bb7df6462209ddd88faf2a765d392b67d217274466a2b5bbb876dfe5f6984a3b24343fa16519
6
+ metadata.gz: 2c8ba2cc14c9d6c5d833c64ff56dc69cbd36e6398cdc151228483eb0cd6468880cbe9f4ac618ef1e08c14ca547a5898286654b7c70b9c7f109f1b09791fed0f6
7
+ data.tar.gz: 76df903d496471b1690a1870922e55db418192c0851511c88bcfd4a4f096215eea7468d08d8040a7129e4d34c87a8bd6dbb29cba051441a961ac124fc8cd62eb
@@ -9,7 +9,7 @@ class MagicLocales::Language < ActiveRecord::Base
9
9
 
10
10
  # =====> A S S O Z I A T I O N S <========================================================= #
11
11
  belongs_to :owner, polymorphic: true
12
- belongs_to :locale, class_name: "Wizard::Locale", foreign_key: :locale_id
12
+ belongs_to :locale, class_name: "MagicLocales::Locale", foreign_key: :locale_id
13
13
 
14
14
 
15
15
  # =====> A T T R I B U T E S <============================================================= #
@@ -21,6 +21,7 @@ class AddMagicLocales < ActiveRecord::Migration
21
21
  ## (spoken) Languages
22
22
  create_table :mgclang_languages do |t|
23
23
  t.string :level
24
+ t.boolean :default, default: false
24
25
  t.references :owner, polymorphic: true
25
26
  t.references :locale
26
27
  t.timestamps
@@ -1,3 +1,3 @@
1
1
  module MagicLocales
2
- VERSION = "0.0.17.beta2"
2
+ VERSION = "0.0.17"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: magic_locales
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.17.beta2
4
+ version: 0.0.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Torsten Wetzel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-30 00:00:00.000000000 Z
11
+ date: 2016-01-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: 5.1.2
47
+ version: '5.0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: 5.1.2
54
+ version: '5.0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: micromachine
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -586,9 +586,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
586
586
  version: '0'
587
587
  required_rubygems_version: !ruby/object:Gem::Requirement
588
588
  requirements:
589
- - - ">"
589
+ - - ">="
590
590
  - !ruby/object:Gem::Version
591
- version: 1.3.1
591
+ version: '0'
592
592
  requirements: []
593
593
  rubyforge_project:
594
594
  rubygems_version: 2.5.0