translatable_ar 1.1.2 → 4.2.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: 8eec03fcd82e16ce2da34f286ebd27550efbf151
4
- data.tar.gz: b157d493625d17e9536cf6948fcab3e085d56c8f
3
+ metadata.gz: 0c22cdb4739b8a30a61816b048c263d6808bf59d
4
+ data.tar.gz: 2feb0786abb8406df0f87489cbf7e972b10c50d6
5
5
  SHA512:
6
- metadata.gz: e3e02b0e531d7e37d54cc1bcea6ce91eff24828eed7b9f1f1749e5843fa60b8805cf25148bc81233e352b7046ab9d159338a7593a3ac8eca1bdd7d476d71cd77
7
- data.tar.gz: 82fcbe2c36ff25a9fced672723da4a9e3afab9ce405f6a86d0acbedc866e77b405511c9664cc3685342181fc5c433c1d1fcde4ad9f568e23c0ee620a2accf189
6
+ metadata.gz: 9b2bc8a42339e5e4b3a02b69dcbe4df68444daeaf28499cb2ed564c26f0fced383a1a32fde839acc8a23a84037a15599df7875e4e594600531f3377aa40d0ffc
7
+ data.tar.gz: b92f8ae33a8e385aa802c9e7d555dd91fbe71000fb05780b3d1ef1ff7110ee69b982c621d42a00b9f4a16b46d00b069cf9fb5f435cc55fef4b362e0e6cf9e41e
@@ -9,7 +9,7 @@ class <%= migration_class_name %> < ActiveRecord::Migration
9
9
  <% end -%>
10
10
 
11
11
  <% attributes.each do |attribute| -%>
12
- add_hstore_index :<%= attribute.model.table_name %>, :<%= attribute.name %>_i18n
12
+ add_index :<%= attribute.model.table_name %>, :<%= attribute.name %>_i18n
13
13
  <% end -%>
14
14
 
15
15
  <% models.each do |model| -%>
@@ -30,7 +30,7 @@ class <%= migration_class_name %> < ActiveRecord::Migration
30
30
  <% end -%>
31
31
 
32
32
  <% attributes.each do |attribute| -%>
33
- remove_hstore_index :<%= attribute.model.table_name %>, :<%= attribute.name %>_i18n
33
+ remove_index :<%= attribute.model.table_name %>, :<%= attribute.name %>_i18n
34
34
  <% end -%>
35
35
  end
36
36
 
@@ -58,8 +58,8 @@ class FakeMigrationClassName < ActiveRecord::Migration
58
58
  add_column :fake_models_1, :fake_attribute1_name_i18n, :hstore
59
59
  add_column :fake_models_2, :fake_attribute2_name_i18n, :hstore
60
60
 
61
- add_hstore_index :fake_models_1, :fake_attribute1_name_i18n
62
- add_hstore_index :fake_models_2, :fake_attribute2_name_i18n
61
+ add_index :fake_models_1, :fake_attribute1_name_i18n
62
+ add_index :fake_models_2, :fake_attribute2_name_i18n
63
63
 
64
64
  puts "Preparing existing fake_model1_to_s objects ..."
65
65
  fake_model1_to_s.reset_column_information
@@ -77,8 +77,8 @@ class FakeMigrationClassName < ActiveRecord::Migration
77
77
  remove_column :fake_models_1, :fake_attribute1_name_i18n
78
78
  remove_column :fake_models_2, :fake_attribute2_name_i18n
79
79
 
80
- remove_hstore_index :fake_models_1, :fake_attribute1_name_i18n
81
- remove_hstore_index :fake_models_2, :fake_attribute2_name_i18n
80
+ remove_index :fake_models_1, :fake_attribute1_name_i18n
81
+ remove_index :fake_models_2, :fake_attribute2_name_i18n
82
82
  end
83
83
 
84
84
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: translatable_ar
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 4.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kasper Bjørn Nielsen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-24 00:00:00.000000000 Z
11
+ date: 2015-04-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest
@@ -98,7 +98,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
98
98
  version: '0'
99
99
  requirements: []
100
100
  rubyforge_project:
101
- rubygems_version: 2.2.2
101
+ rubygems_version: 2.4.6
102
102
  signing_key:
103
103
  specification_version: 4
104
104
  summary: i18n for your active record models with HStore attribute