globalize-automatic 0.0.4 → 0.0.5

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: ecad62e525f85b5c698e5d791813ddb1ad1b13bc
4
- data.tar.gz: 7bfa8b02b94217943847035d12b598da6171f425
3
+ metadata.gz: 9e6b61de4bb74485b932ddcd9f32c58c4063148f
4
+ data.tar.gz: 718ddcd6b0d1cd9123edaf29616354cd714e9ee3
5
5
  SHA512:
6
- metadata.gz: 05ad9f43cedb721cce85d189ff7eb74e2763c67cda067e537df459bddb710fc9a3888380479f64014bc6c6b275321fb50a9d64ffb3816aaa02cc578ea89697ba
7
- data.tar.gz: 3571b48e92ff9a6be695621010d3ab7b1338ca0eabf4413ae334a41168360307022284ee1030321000cb739ce15c6cd45f3b1133f9756841a86a80b856151519
6
+ metadata.gz: 2f5b242b1bcf2ebbba3f36f86dd8a36eb46c7f5342eb4083bc67f0eb31cbfa2a65d87272a1d4d955e68abee2144e37399627bc2872ceda6d9e56f63218aca84e
7
+ data.tar.gz: a1ef9868578172474eb29f096d4f974fa200e5c1ec26a226768918372d8c359d7be1f1e27381c443ffc1f7d3c501c8bd54ae2e4aab17176c70e88353c6e45169
@@ -44,7 +44,7 @@ class Globalize::Automatic::Translation < ActiveRecord::Base
44
44
  class << self
45
45
  def create_table!(*fields)
46
46
  connection.create_table(table_name) do |t|
47
- t.references automatic_translated_model_foreign_key.sub(/_id$/, ''), null: false
47
+ t.references automatic_translated_model_foreign_key.sub(/_id$/, ''), null: false, index: true
48
48
  t.string :locale, null: false
49
49
  fields.each do |field|
50
50
  t.boolean *automatically_column_args(field)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Globalize
4
4
  module Automatic
5
- VERSION = '0.0.4'
5
+ VERSION = '0.0.5'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: globalize-automatic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yuichi Takeuchi