lalala 4.1.0.dev.314 → 4.1.0.dev.316
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/db/migrate/20130423142125_replace_images_with_assets.rb +1 -20
- data/lib/generators/lalala/install/install_generator.rb +0 -2
- data/lib/lalala/version.rb +1 -1
- metadata +1 -3
- data/lib/generators/lalala/install/templates/models/file_asset.rb +0 -2
- data/lib/generators/lalala/install/templates/models/image_asset.rb +0 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 070871a64114d813c0f6a5372323bd28ef167c33
|
4
|
+
data.tar.gz: 6193eed2022e3ad22837b864a239dcfb3079ab0f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b8bdcf3a923a4814d87c6f13b75cbf81fbb830f7eaf6bbfcef66e7878950768f40a79334dd0cf673c28eaf8ea781c61e51ea818cfe3dea727c274621d105a7e8
|
7
|
+
data.tar.gz: 1da4864290987e9dd87907a1597a296bf64206093a2768b76b5fcc5796541bc5b514faf03b389136e25d83ee77968220446f691def437f95ce38b7824edc7aea
|
@@ -1,24 +1,5 @@
|
|
1
1
|
class ReplaceImagesWithAssets < ActiveRecord::Migration
|
2
2
|
def change
|
3
|
-
|
4
|
-
create_table :assets do |t|
|
5
|
-
t.string :asset
|
6
|
-
t.string :type
|
7
|
-
t.references :asset_owner, polymorphic: true
|
8
|
-
t.string :asset_owner_section
|
9
|
-
|
10
|
-
t.timestamps
|
11
|
-
end
|
12
|
-
|
13
|
-
add_index :assets, [:asset_owner_id, :asset_owner_type, :asset_owner_section], name: 'asset_owner_idx'
|
14
|
-
|
15
|
-
create_table :asset_translations do |t|
|
16
|
-
t.string :locale
|
17
|
-
t.references :asset
|
18
|
-
|
19
|
-
t.string :title
|
20
|
-
t.text :caption
|
21
|
-
end
|
22
|
-
|
3
|
+
# no-op
|
23
4
|
end
|
24
5
|
end
|
data/lib/lalala/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lalala
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.1.0.dev.
|
4
|
+
version: 4.1.0.dev.316
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Simon Menke
|
@@ -1415,8 +1415,6 @@ files:
|
|
1415
1415
|
- lib/generators/lalala/install/templates/errors_controller.rb
|
1416
1416
|
- lib/generators/lalala/install/templates/models/admin_user.rb
|
1417
1417
|
- lib/generators/lalala/install/templates/models/application_page.rb
|
1418
|
-
- lib/generators/lalala/install/templates/models/file_asset.rb
|
1419
|
-
- lib/generators/lalala/install/templates/models/image_asset.rb
|
1420
1418
|
- lib/generators/lalala/install/templates/pages_controller.rb
|
1421
1419
|
- lib/generators/lalala/install/templates/routes.rb.erb
|
1422
1420
|
- lib/generators/lalala/install/templates/staging.rb.erb
|