th_simple_content_management 0.2.6 → 0.2.7
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
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
OTU4ZjFjZGQzYTFmZjI5NjZjNDhiYTVhOTgyMDZlZWU5MTU3MDYxOA==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
NDdhYjlmYTc0NGFmYjYyNGEwYmU2OTZmYzE0YTMwM2YzYWViODZjNg==
|
|
7
7
|
!binary "U0hBNTEy":
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
Njk3NDY0NzU5YTNiMTlhYjdjMWQ1NWI4MGY1ZjNhODhhMmMzMzFjZTAxYThi
|
|
10
|
+
NzA2Njg3NTUxODFlMWNmZDllYjRjMzk3MTFkNjcxMDJiMjA1MDMyZGNkZjdm
|
|
11
|
+
MzFjNTk2N2FhN2I1OThhMDk2ZDU4MmM5NDY2MmJjZjJmMTYyODE=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
MTFjZjBhYmZmMzg5MTM1NjU1MTVhNDU3NTI4OGYyNjgyNmZkMThjNmRiYjdj
|
|
14
|
+
ZjEyZDZmNzk5MjkyNDc5MjQzNmE3NjQ2OGQxMzBlZTc1MWU2N2ViNmU3Y2I5
|
|
15
|
+
Mjc2YzJkZWE2OTNiZmQ5MTFlNTI4MWQ1MmNhY2M4MWRhMjEyYzQ=
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
class SimpleContentManagement::IndexBanner < ActiveRecord::Base
|
|
2
2
|
mount_uploader :background_image, SimpleContentManagement::ImageUploader
|
|
3
3
|
|
|
4
|
-
attr_accessible :uri, :title, :summary, :list_items, :background_image, :background_image_cache
|
|
4
|
+
attr_accessible :uri, :title, :summary, :list_items, :background_image, :background_image_cache
|
|
5
5
|
|
|
6
6
|
validates_presence_of :background_image, :list_items, :summary
|
|
7
7
|
end
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
<%= f.input :uri %>
|
|
19
19
|
|
|
20
|
-
<%= f.input :background_image
|
|
20
|
+
<%= f.input :background_image do %>
|
|
21
21
|
<%= image_tag resource.background_image.url if resource.background_image.present? %>
|
|
22
22
|
<br>
|
|
23
23
|
<%= f.input_field :background_image %>
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: th_simple_content_management
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Toby Hinloopen
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-
|
|
11
|
+
date: 2014-03-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|