acts_as_localizable 0.3.2 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{acts_as_localizable}
8
- s.version = "0.3.2"
8
+ s.version = "0.3.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["davydotcom"]
@@ -1,16 +1,16 @@
1
1
  class CreateLocalizedFields < ActiveRecord::Migration
2
2
  def self.up
3
- create_table :localized_fields do |t|
4
- t.string :localized_object_type
5
- t.integer :localized_object_id
6
- t.string :locale
7
- t.string :field_name
8
- t.text :value
9
- #Any additional fields here
3
+ create_table :localized_fields do |t|
4
+ t.string :localized_object_type
5
+ t.integer :localized_object_id
6
+ t.string :locale
7
+ t.string :field_name
8
+ t.text :value
9
+ #Any additional fields here
10
10
 
11
- t.timestamps
12
- end
13
- add_index :localized_fields,[:localized_object_type,:localized_object_type_id]
11
+ t.timestamps
12
+ end
13
+ add_index :localized_fields,[:localized_object_type,:localized_object_id], :name => 'index_localized_fields_on_object_type_and_id'
14
14
  end
15
15
 
16
16
  def self.down
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: acts_as_localizable
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
5
- prerelease: false
4
+ hash: 21
5
+ prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 2
10
- version: 0.3.2
9
+ - 3
10
+ version: 0.3.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - davydotcom
@@ -88,7 +88,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
88
88
  requirements: []
89
89
 
90
90
  rubyforge_project:
91
- rubygems_version: 1.3.7
91
+ rubygems_version: 1.6.2
92
92
  signing_key:
93
93
  specification_version: 3
94
94
  summary: Used to store localized fields in your rails database for individual tables