activerecord_translatable 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. data/MIT-LICENSE +20 -0
  2. data/README.rdoc +73 -0
  3. data/Rakefile +38 -0
  4. data/lib/activerecord_translatable.rb +9 -0
  5. data/lib/activerecord_translatable/extension.rb +86 -0
  6. data/spec/activerecord_translateable_spec.rb +81 -0
  7. data/spec/dummy/README.rdoc +261 -0
  8. data/spec/dummy/Rakefile +7 -0
  9. data/spec/dummy/app/assets/javascripts/application.js +15 -0
  10. data/spec/dummy/app/assets/stylesheets/application.css +13 -0
  11. data/spec/dummy/app/controllers/application_controller.rb +3 -0
  12. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  13. data/spec/dummy/app/models/something.rb +5 -0
  14. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  15. data/spec/dummy/config.ru +4 -0
  16. data/spec/dummy/config/application.rb +65 -0
  17. data/spec/dummy/config/boot.rb +10 -0
  18. data/spec/dummy/config/database.yml +29 -0
  19. data/spec/dummy/config/environment.rb +5 -0
  20. data/spec/dummy/config/environments/development.rb +37 -0
  21. data/spec/dummy/config/environments/production.rb +67 -0
  22. data/spec/dummy/config/environments/test.rb +37 -0
  23. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  24. data/spec/dummy/config/initializers/i18n_backend.rb +1 -0
  25. data/spec/dummy/config/initializers/inflections.rb +15 -0
  26. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  27. data/spec/dummy/config/initializers/secret_token.rb +7 -0
  28. data/spec/dummy/config/initializers/session_store.rb +8 -0
  29. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  30. data/spec/dummy/config/locales/en.yml +5 -0
  31. data/spec/dummy/config/routes.rb +58 -0
  32. data/spec/dummy/db/migrate/20121015083259_create_somethings.rb +8 -0
  33. data/spec/dummy/db/schema.rb +22 -0
  34. data/spec/dummy/log/development.log +96 -0
  35. data/spec/dummy/log/test.log +47 -0
  36. data/spec/dummy/public/404.html +26 -0
  37. data/spec/dummy/public/422.html +26 -0
  38. data/spec/dummy/public/500.html +25 -0
  39. data/spec/dummy/public/favicon.ico +0 -0
  40. data/spec/dummy/script/rails +6 -0
  41. data/spec/spec_helper.rb +15 -0
  42. metadata +192 -0
@@ -0,0 +1,8 @@
1
+ class CreateSomethings < ActiveRecord::Migration
2
+ def change
3
+ create_table :somethings do |t|
4
+ t.string_array :locales
5
+ t.timestamps
6
+ end
7
+ end
8
+ end
@@ -0,0 +1,22 @@
1
+ # encoding: UTF-8
2
+ # This file is auto-generated from the current state of the database. Instead
3
+ # of editing this file, please use the migrations feature of Active Record to
4
+ # incrementally modify your database, and then regenerate this schema definition.
5
+ #
6
+ # Note that this schema.rb definition is the authoritative source for your
7
+ # database schema. If you need to create the application database on another
8
+ # system, you should be using db:schema:load, not running all the migrations
9
+ # from scratch. The latter is a flawed and unsustainable approach (the more migrations
10
+ # you'll amass, the slower it'll run and the greater likelihood for issues).
11
+ #
12
+ # It's strongly recommended to check this file into your version control system.
13
+
14
+ ActiveRecord::Schema.define(:version => 20121015083259) do
15
+
16
+ create_table "somethings", :force => true do |t|
17
+ t.string_array "locales", :limit => 255
18
+ t.datetime "created_at", :null => false
19
+ t.datetime "updated_at", :null => false
20
+ end
21
+
22
+ end
@@ -0,0 +1,96 @@
1
+ Connecting to database specified by database.yml
2
+ Connecting to database specified by database.yml
3
+ Connecting to database specified by database.yml
4
+  (4.0ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
5
+  (4.0ms) SELECT distinct i.relname, d.indisunique, d.indkey, pg_get_indexdef(d.indexrelid), t.oid
6
+ FROM pg_class t
7
+ INNER JOIN pg_index d ON t.oid = d.indrelid
8
+ INNER JOIN pg_class i ON d.indexrelid = i.oid
9
+ WHERE i.relkind = 'i'
10
+ AND d.indisprimary = 'f'
11
+ AND t.relname = 'schema_migrations'
12
+ AND i.relnamespace IN (SELECT oid FROM pg_namespace WHERE nspname = ANY (current_schemas(false)) )
13
+ ORDER BY i.relname
14
+
15
+  (1.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
16
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
17
+ Migrating to CreateSomethings (20121015083259)
18
+  (0.1ms) BEGIN
19
+  (0.2ms) ROLLBACK
20
+ Connecting to database specified by database.yml
21
+  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
22
+ Migrating to CreateSomethings (20121015083259)
23
+  (0.1ms) BEGIN
24
+  (0.2ms) ROLLBACK
25
+ Connecting to database specified by database.yml
26
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
27
+ Migrating to CreateSomethings (20121015083259)
28
+  (0.1ms) BEGIN
29
+  (0.3ms) ROLLBACK
30
+ Connecting to database specified by database.yml
31
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
32
+ Migrating to CreateSomethings (20121015083259)
33
+  (0.1ms) BEGIN
34
+  (0.2ms) ROLLBACK
35
+ Connecting to database specified by database.yml
36
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
37
+ Migrating to CreateSomethings (20121015083259)
38
+  (0.1ms) BEGIN
39
+  (0.1ms) ROLLBACK
40
+ Connecting to database specified by database.yml
41
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
42
+ Migrating to CreateSomethings (20121015083259)
43
+  (0.1ms) BEGIN
44
+  (0.1ms) ROLLBACK
45
+ Connecting to database specified by database.yml
46
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
47
+ Migrating to CreateSomethings (20121015083259)
48
+  (0.1ms) BEGIN
49
+  (8.4ms) CREATE TABLE "somethings" ("id" serial primary key, "locales" character varying(255)[], "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
50
+  (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121015083259')
51
+  (0.6ms) COMMIT
52
+  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
53
+ PK and serial sequence (3.4ms)  SELECT attr.attname, seq.relname
54
+ FROM pg_class seq,
55
+ pg_attribute attr,
56
+ pg_depend dep,
57
+ pg_namespace name,
58
+ pg_constraint cons
59
+ WHERE seq.oid = dep.objid
60
+ AND seq.relkind = 'S'
61
+ AND attr.attrelid = dep.refobjid
62
+ AND attr.attnum = dep.refobjsubid
63
+ AND attr.attrelid = cons.conrelid
64
+ AND attr.attnum = cons.conkey[1]
65
+ AND cons.contype = 'p'
66
+ AND dep.refobjid = '"somethings"'::regclass
67
+ 
68
+  (1.9ms) SELECT distinct i.relname, d.indisunique, d.indkey, pg_get_indexdef(d.indexrelid), t.oid
69
+ FROM pg_class t
70
+ INNER JOIN pg_index d ON t.oid = d.indrelid
71
+ INNER JOIN pg_class i ON d.indexrelid = i.oid
72
+ WHERE i.relkind = 'i'
73
+ AND d.indisprimary = 'f'
74
+ AND t.relname = 'somethings'
75
+ AND i.relnamespace IN (SELECT oid FROM pg_namespace WHERE nspname = ANY (current_schemas(false)) )
76
+ ORDER BY i.relname
77
+
78
+ Connecting to database specified by database.yml
79
+  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
80
+  (429.1ms) DROP DATABASE IF EXISTS "translatable_test"
81
+  (334.5ms) CREATE DATABASE "translatable_test" ENCODING = 'unicode'
82
+  (9.8ms) CREATE TABLE "somethings" ("id" serial primary key, "locales" character varying(255)[], "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
83
+  (1.2ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
84
+  (3.1ms) SELECT distinct i.relname, d.indisunique, d.indkey, pg_get_indexdef(d.indexrelid), t.oid
85
+ FROM pg_class t
86
+ INNER JOIN pg_index d ON t.oid = d.indrelid
87
+ INNER JOIN pg_class i ON d.indexrelid = i.oid
88
+ WHERE i.relkind = 'i'
89
+ AND d.indisprimary = 'f'
90
+ AND t.relname = 'schema_migrations'
91
+ AND i.relnamespace IN (SELECT oid FROM pg_namespace WHERE nspname = ANY (current_schemas(false)) )
92
+ ORDER BY i.relname
93
+
94
+  (1.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
95
+  (0.5ms) SELECT version FROM "schema_migrations"
96
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20121015083259')
@@ -0,0 +1,47 @@
1
+ Connecting to database specified by database.yml
2
+ Connecting to database specified by database.yml
3
+ Connecting to database specified by database.yml
4
+ Connecting to database specified by database.yml
5
+  (0.1ms) BEGIN
6
+  (0.2ms) ROLLBACK
7
+  (0.1ms) BEGIN
8
+  (0.2ms) SAVEPOINT active_record_1
9
+ SQL (10.6ms) INSERT INTO "somethings" ("created_at", "locales", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Tue, 16 Oct 2012 09:07:48 UTC +00:00], ["locales", "{\"en\"}"], ["updated_at", Tue, 16 Oct 2012 09:07:48 UTC +00:00]]
10
+  (0.3ms) RELEASE SAVEPOINT active_record_1
11
+  (0.1ms) ROLLBACK
12
+  (0.1ms) BEGIN
13
+  (0.1ms) SAVEPOINT active_record_1
14
+ SQL (0.4ms) INSERT INTO "somethings" ("created_at", "locales", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Tue, 16 Oct 2012 09:07:48 UTC +00:00], ["locales", "{\"en\"}"], ["updated_at", Tue, 16 Oct 2012 09:07:48 UTC +00:00]]
15
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16
+  (0.1ms) ROLLBACK
17
+  (0.1ms) BEGIN
18
+  (0.1ms) SAVEPOINT active_record_1
19
+ SQL (0.4ms) INSERT INTO "somethings" ("created_at", "locales", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Tue, 16 Oct 2012 09:07:48 UTC +00:00], ["locales", "{\"en\"}"], ["updated_at", Tue, 16 Oct 2012 09:07:48 UTC +00:00]]
20
+  (0.1ms) RELEASE SAVEPOINT active_record_1
21
+  (0.1ms) ROLLBACK
22
+  (0.1ms) BEGIN
23
+  (0.1ms) SAVEPOINT active_record_1
24
+ SQL (0.6ms) INSERT INTO "somethings" ("created_at", "locales", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Tue, 16 Oct 2012 09:07:48 UTC +00:00], ["locales", "{\"en\"}"], ["updated_at", Tue, 16 Oct 2012 09:07:48 UTC +00:00]]
25
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26
+  (0.1ms) ROLLBACK
27
+  (0.1ms) BEGIN
28
+  (0.1ms) SAVEPOINT active_record_1
29
+ SQL (0.4ms) INSERT INTO "somethings" ("created_at", "locales", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Tue, 16 Oct 2012 09:07:48 UTC +00:00], ["locales", "{\"en\"}"], ["updated_at", Tue, 16 Oct 2012 09:07:48 UTC +00:00]]
30
+  (0.1ms) RELEASE SAVEPOINT active_record_1
31
+  (0.1ms) ROLLBACK
32
+  (0.1ms) BEGIN
33
+  (0.2ms) SAVEPOINT active_record_1
34
+ SQL (0.5ms) INSERT INTO "somethings" ("created_at", "locales", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Tue, 16 Oct 2012 09:07:48 UTC +00:00], ["locales", "{\"en\"}"], ["updated_at", Tue, 16 Oct 2012 09:07:48 UTC +00:00]]
35
+  (0.2ms) RELEASE SAVEPOINT active_record_1
36
+  (0.3ms) ROLLBACK
37
+  (0.1ms) BEGIN
38
+  (0.1ms) SAVEPOINT active_record_1
39
+ SQL (0.4ms) INSERT INTO "somethings" ("created_at", "locales", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Tue, 16 Oct 2012 09:07:48 UTC +00:00], ["locales", "{\"en\",\"de\"}"], ["updated_at", Tue, 16 Oct 2012 09:07:48 UTC +00:00]]
40
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41
+ Something Load (1.0ms) SELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = $1 LIMIT 1 [["id", 87]]
42
+  (0.3ms) ROLLBACK
43
+  (0.1ms) BEGIN
44
+  (0.1ms) SAVEPOINT active_record_1
45
+ SQL (0.4ms) INSERT INTO "somethings" ("created_at", "locales", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Tue, 16 Oct 2012 09:07:48 UTC +00:00], ["locales", "{\"en\"}"], ["updated_at", Tue, 16 Oct 2012 09:07:48 UTC +00:00]]
46
+  (0.2ms) RELEASE SAVEPOINT active_record_1
47
+  (0.1ms) ROLLBACK
@@ -0,0 +1,26 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The page you were looking for doesn't exist (404)</title>
5
+ <style type="text/css">
6
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
+ div.dialog {
8
+ width: 25em;
9
+ padding: 0 4em;
10
+ margin: 4em auto 0 auto;
11
+ border: 1px solid #ccc;
12
+ border-right-color: #999;
13
+ border-bottom-color: #999;
14
+ }
15
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
+ </style>
17
+ </head>
18
+
19
+ <body>
20
+ <!-- This file lives in public/404.html -->
21
+ <div class="dialog">
22
+ <h1>The page you were looking for doesn't exist.</h1>
23
+ <p>You may have mistyped the address or the page may have moved.</p>
24
+ </div>
25
+ </body>
26
+ </html>
@@ -0,0 +1,26 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The change you wanted was rejected (422)</title>
5
+ <style type="text/css">
6
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
+ div.dialog {
8
+ width: 25em;
9
+ padding: 0 4em;
10
+ margin: 4em auto 0 auto;
11
+ border: 1px solid #ccc;
12
+ border-right-color: #999;
13
+ border-bottom-color: #999;
14
+ }
15
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
+ </style>
17
+ </head>
18
+
19
+ <body>
20
+ <!-- This file lives in public/422.html -->
21
+ <div class="dialog">
22
+ <h1>The change you wanted was rejected.</h1>
23
+ <p>Maybe you tried to change something you didn't have access to.</p>
24
+ </div>
25
+ </body>
26
+ </html>
@@ -0,0 +1,25 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>We're sorry, but something went wrong (500)</title>
5
+ <style type="text/css">
6
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
+ div.dialog {
8
+ width: 25em;
9
+ padding: 0 4em;
10
+ margin: 4em auto 0 auto;
11
+ border: 1px solid #ccc;
12
+ border-right-color: #999;
13
+ border-bottom-color: #999;
14
+ }
15
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
+ </style>
17
+ </head>
18
+
19
+ <body>
20
+ <!-- This file lives in public/500.html -->
21
+ <div class="dialog">
22
+ <h1>We're sorry, but something went wrong.</h1>
23
+ </div>
24
+ </body>
25
+ </html>
File without changes
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
3
+
4
+ APP_PATH = File.expand_path('../../config/application', __FILE__)
5
+ require File.expand_path('../../config/boot', __FILE__)
6
+ require 'rails/commands'
@@ -0,0 +1,15 @@
1
+ # Configure Rails Environment
2
+ ENV["RAILS_ENV"] = "test"
3
+
4
+ require File.expand_path("../dummy/config/environment.rb", __FILE__)
5
+ require 'rspec/rails'
6
+
7
+ Rails.backtrace_cleaner.remove_silencers!
8
+
9
+ # Load support files
10
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
11
+
12
+ RSpec.configure do |config|
13
+ config.treat_symbols_as_metadata_keys_with_true_values = true
14
+ config.use_transactional_fixtures = true
15
+ end
metadata ADDED
@@ -0,0 +1,192 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: activerecord_translatable
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Philipp Fehre
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-10-16 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rails
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: 3.2.8
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: 3.2.8
30
+ - !ruby/object:Gem::Dependency
31
+ name: pg
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ type: :development
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
46
+ - !ruby/object:Gem::Dependency
47
+ name: activerecord-postgres-array
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ - !ruby/object:Gem::Dependency
63
+ name: rspec-rails
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ type: :development
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
78
+ description: translatable activerecord attributes
79
+ email:
80
+ - philipp.fehre@gmail.com
81
+ executables: []
82
+ extensions: []
83
+ extra_rdoc_files: []
84
+ files:
85
+ - lib/activerecord_translatable/extension.rb
86
+ - lib/activerecord_translatable.rb
87
+ - MIT-LICENSE
88
+ - Rakefile
89
+ - README.rdoc
90
+ - spec/activerecord_translateable_spec.rb
91
+ - spec/dummy/app/assets/javascripts/application.js
92
+ - spec/dummy/app/assets/stylesheets/application.css
93
+ - spec/dummy/app/controllers/application_controller.rb
94
+ - spec/dummy/app/helpers/application_helper.rb
95
+ - spec/dummy/app/models/something.rb
96
+ - spec/dummy/app/views/layouts/application.html.erb
97
+ - spec/dummy/config/application.rb
98
+ - spec/dummy/config/boot.rb
99
+ - spec/dummy/config/database.yml
100
+ - spec/dummy/config/environment.rb
101
+ - spec/dummy/config/environments/development.rb
102
+ - spec/dummy/config/environments/production.rb
103
+ - spec/dummy/config/environments/test.rb
104
+ - spec/dummy/config/initializers/backtrace_silencers.rb
105
+ - spec/dummy/config/initializers/i18n_backend.rb
106
+ - spec/dummy/config/initializers/inflections.rb
107
+ - spec/dummy/config/initializers/mime_types.rb
108
+ - spec/dummy/config/initializers/secret_token.rb
109
+ - spec/dummy/config/initializers/session_store.rb
110
+ - spec/dummy/config/initializers/wrap_parameters.rb
111
+ - spec/dummy/config/locales/en.yml
112
+ - spec/dummy/config/routes.rb
113
+ - spec/dummy/config.ru
114
+ - spec/dummy/db/migrate/20121015083259_create_somethings.rb
115
+ - spec/dummy/db/schema.rb
116
+ - spec/dummy/log/development.log
117
+ - spec/dummy/log/test.log
118
+ - spec/dummy/public/404.html
119
+ - spec/dummy/public/422.html
120
+ - spec/dummy/public/500.html
121
+ - spec/dummy/public/favicon.ico
122
+ - spec/dummy/Rakefile
123
+ - spec/dummy/README.rdoc
124
+ - spec/dummy/script/rails
125
+ - spec/spec_helper.rb
126
+ homepage: http://github.com/sideshowcoder/activerecord_translatable
127
+ licenses: []
128
+ post_install_message:
129
+ rdoc_options: []
130
+ require_paths:
131
+ - lib
132
+ required_ruby_version: !ruby/object:Gem::Requirement
133
+ none: false
134
+ requirements:
135
+ - - ! '>='
136
+ - !ruby/object:Gem::Version
137
+ version: '0'
138
+ segments:
139
+ - 0
140
+ hash: -3909879885711798376
141
+ required_rubygems_version: !ruby/object:Gem::Requirement
142
+ none: false
143
+ requirements:
144
+ - - ! '>='
145
+ - !ruby/object:Gem::Version
146
+ version: '0'
147
+ segments:
148
+ - 0
149
+ hash: -3909879885711798376
150
+ requirements: []
151
+ rubyforge_project:
152
+ rubygems_version: 1.8.23
153
+ signing_key:
154
+ specification_version: 3
155
+ summary: make attributes of active record translatable via the normal i18n backend
156
+ test_files:
157
+ - spec/activerecord_translateable_spec.rb
158
+ - spec/dummy/app/assets/javascripts/application.js
159
+ - spec/dummy/app/assets/stylesheets/application.css
160
+ - spec/dummy/app/controllers/application_controller.rb
161
+ - spec/dummy/app/helpers/application_helper.rb
162
+ - spec/dummy/app/models/something.rb
163
+ - spec/dummy/app/views/layouts/application.html.erb
164
+ - spec/dummy/config/application.rb
165
+ - spec/dummy/config/boot.rb
166
+ - spec/dummy/config/database.yml
167
+ - spec/dummy/config/environment.rb
168
+ - spec/dummy/config/environments/development.rb
169
+ - spec/dummy/config/environments/production.rb
170
+ - spec/dummy/config/environments/test.rb
171
+ - spec/dummy/config/initializers/backtrace_silencers.rb
172
+ - spec/dummy/config/initializers/i18n_backend.rb
173
+ - spec/dummy/config/initializers/inflections.rb
174
+ - spec/dummy/config/initializers/mime_types.rb
175
+ - spec/dummy/config/initializers/secret_token.rb
176
+ - spec/dummy/config/initializers/session_store.rb
177
+ - spec/dummy/config/initializers/wrap_parameters.rb
178
+ - spec/dummy/config/locales/en.yml
179
+ - spec/dummy/config/routes.rb
180
+ - spec/dummy/config.ru
181
+ - spec/dummy/db/migrate/20121015083259_create_somethings.rb
182
+ - spec/dummy/db/schema.rb
183
+ - spec/dummy/log/development.log
184
+ - spec/dummy/log/test.log
185
+ - spec/dummy/public/404.html
186
+ - spec/dummy/public/422.html
187
+ - spec/dummy/public/500.html
188
+ - spec/dummy/public/favicon.ico
189
+ - spec/dummy/Rakefile
190
+ - spec/dummy/README.rdoc
191
+ - spec/dummy/script/rails
192
+ - spec/spec_helper.rb