scrivito_three_column_widget 0.65.0 → 0.90.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/LICENSE +3 -0
- data/README.md +4 -0
- data/app/models/three_column_widget.rb +2 -2
- data/app/views/three_column_widget/details.html.erb +5 -5
- data/lib/scrivito_three_column_widget/version.rb +1 -1
- metadata +3 -3
- data/app/views/layouts/scrivito_three_columns/application.html.erb +0 -14
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA1:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 108ca62034af9855276f00ad75d740fa31e8993d
         | 
| 4 | 
            +
              data.tar.gz: da4fae60570770e1ef922e4d85b457c342c83164
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 9aadcca017ba60f2fc0486b8bb49b4b96eb96a13041f2c24e71a4a94a4a931e68ed75d8604b7f8a066740c2e9768da70e4a9f8d1cd6308f3a0172d18517c6342
         | 
| 7 | 
            +
              data.tar.gz: 18b0e0938838adb204edba8510f9c6ec3a4f01670e125c50bba2a8a757bbc73d3540fd743a80d5b80dbb4c69fa9c6a584eda89a13d30214165d63934b2b8c30a
         | 
    
        data/LICENSE
    ADDED
    
    
    
        data/README.md
    CHANGED
    
    
| @@ -2,8 +2,8 @@ class ThreeColumnWidget < Widget | |
| 2 2 | 
             
              attribute :column_1, :widgetlist
         | 
| 3 3 | 
             
              attribute :column_2, :widgetlist
         | 
| 4 4 | 
             
              attribute :column_3, :widgetlist
         | 
| 5 | 
            -
              attribute :column_1_width, : | 
| 6 | 
            -
              attribute :column_2_width, : | 
| 5 | 
            +
              attribute :column_1_width, :enum, values: (1..12).to_a.map{|e| e.to_s}, default: '4'
         | 
| 6 | 
            +
              attribute :column_2_width, :enum, values: (1..12).to_a.map{|e| e.to_s}, default: '4'
         | 
| 7 7 |  | 
| 8 8 | 
             
              def column_3_width
         | 
| 9 9 | 
             
                12 - self.column_1_width.to_i - self.column_2_width.to_i
         | 
| @@ -1,7 +1,7 @@ | |
| 1 | 
            -
            <%= scrivito_details_for 'column 1' do %>
         | 
| 2 | 
            -
              <%= scrivito_tag(:div, widget, :column_1_width | 
| 1 | 
            +
            <%= scrivito_details_for 'Width for column 1' do %>
         | 
| 2 | 
            +
              <%= scrivito_tag(:div, widget, :column_1_width) %>
         | 
| 3 3 | 
             
            <% end %>
         | 
| 4 4 |  | 
| 5 | 
            -
            <%= scrivito_details_for 'column 2' do %>
         | 
| 6 | 
            -
              <%= scrivito_tag(:div, widget, :column_2_width | 
| 7 | 
            -
            <% end %>
         | 
| 5 | 
            +
            <%= scrivito_details_for 'Width for column 2' do %>
         | 
| 6 | 
            +
              <%= scrivito_tag(:div, widget, :column_2_width) %>
         | 
| 7 | 
            +
            <% end %>
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: scrivito_three_column_widget
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0. | 
| 4 | 
            +
              version: 0.90.0
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Scrivito
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2015- | 
| 11 | 
            +
            date: 2015-12-10 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: scrivito
         | 
| @@ -32,11 +32,11 @@ executables: [] | |
| 32 32 | 
             
            extensions: []
         | 
| 33 33 | 
             
            extra_rdoc_files: []
         | 
| 34 34 | 
             
            files:
         | 
| 35 | 
            +
            - LICENSE
         | 
| 35 36 | 
             
            - README.md
         | 
| 36 37 | 
             
            - Rakefile
         | 
| 37 38 | 
             
            - app/assets/images/scrivito_three_column_widget/widget_preview_3cols.png
         | 
| 38 39 | 
             
            - app/models/three_column_widget.rb
         | 
| 39 | 
            -
            - app/views/layouts/scrivito_three_columns/application.html.erb
         | 
| 40 40 | 
             
            - app/views/three_column_widget/details.html.erb
         | 
| 41 41 | 
             
            - app/views/three_column_widget/show.html.erb
         | 
| 42 42 | 
             
            - app/views/three_column_widget/thumbnail.html.erb
         | 
| @@ -1,14 +0,0 @@ | |
| 1 | 
            -
            <!DOCTYPE html>
         | 
| 2 | 
            -
            <html>
         | 
| 3 | 
            -
            <head>
         | 
| 4 | 
            -
              <title>ScrivitoThreeColumns</title>
         | 
| 5 | 
            -
              <%= stylesheet_link_tag    "scrivito_three_columns/application", media: "all" %>
         | 
| 6 | 
            -
              <%= javascript_include_tag "scrivito_three_columns/application" %>
         | 
| 7 | 
            -
              <%= csrf_meta_tags %>
         | 
| 8 | 
            -
            </head>
         | 
| 9 | 
            -
            <body>
         | 
| 10 | 
            -
             | 
| 11 | 
            -
            <%= yield %>
         | 
| 12 | 
            -
             | 
| 13 | 
            -
            </body>
         | 
| 14 | 
            -
            </html>
         |