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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7ab557da61b27e3a6cc1636289a81d30bcf47a88
4
- data.tar.gz: d19453061027e4f264da3691a6bcf8e188c5a709
3
+ metadata.gz: 070871a64114d813c0f6a5372323bd28ef167c33
4
+ data.tar.gz: 6193eed2022e3ad22837b864a239dcfb3079ab0f
5
5
  SHA512:
6
- metadata.gz: 2d8beacf6fbca219f5ca0f3c61357e737cacf8e50fcdcddb94892c00566370206f029d4ed004fdce614b28c132f862db55b1b9524fe4dff4f3f9933b71d7d0a7
7
- data.tar.gz: 99be3c4648a0c2d86a56f55b5846f9fde0df2588496ccbb1f0b12cd4283f60921584567123bfca96ed7659204fe7fce6d0c309d10823bf49581ec1c5e70563fa
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
@@ -35,8 +35,6 @@ module Lalala
35
35
 
36
36
  def setup_models
37
37
  empty_directory "app/models"
38
- copy_file "models/file_asset.rb", "app/models/file_asset.rb"
39
- copy_file "models/image_asset.rb", "app/models/image_asset.rb"
40
38
  end
41
39
 
42
40
  def setup_admin_users
@@ -1,6 +1,6 @@
1
1
  module Lalala
2
2
  VERSION = "4.1.0"
3
- BUILD = "314"
3
+ BUILD = "316"
4
4
 
5
5
  if BUILD != ("{{BUILD_NUMBER" + "}}") # prevent sed replacement (see script/ci)
6
6
  BUILD_VERSION = "#{VERSION}.dev.#{BUILD}"
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.314
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
@@ -1,2 +0,0 @@
1
- class FileAsset < Lalala::FileAsset
2
- end
@@ -1,2 +0,0 @@
1
- class ImageAsset < Lalala::ImageAsset
2
- end