ecm_sliders 0.0.2.pre → 0.0.3.pre
Sign up to get free protection for your applications and to get access to all the features.
- data/app/models/ecm/sliders/item.rb +6 -1
- data/lib/ecm/sliders/version.rb +1 -1
- metadata +3 -3
@@ -18,6 +18,11 @@ class Ecm::Sliders::Item < ActiveRecord::Base
|
|
18
18
|
:ecm_sliders_slider,
|
19
19
|
:ecm_sliders_slider_id,
|
20
20
|
:image,
|
21
|
+
:image_file_name,
|
22
|
+
:image_file_size,
|
23
|
+
:image_content_type,
|
24
|
+
:image_finger_print,
|
25
|
+
:image_updated_at,
|
21
26
|
:position,
|
22
27
|
:url
|
23
28
|
|
@@ -29,7 +34,7 @@ class Ecm::Sliders::Item < ActiveRecord::Base
|
|
29
34
|
:styles => Ecm::Sliders::Configuration.item_image_styles
|
30
35
|
|
31
36
|
# validations
|
32
|
-
validates :
|
37
|
+
validates :ecm_sliders_slider, :presence => true
|
33
38
|
validates :markup_language, :presence => true,
|
34
39
|
:inclusion => Ecm::Sliders::Configuration.markup_languages
|
35
40
|
|
data/lib/ecm/sliders/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ecm_sliders
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 961915976
|
5
5
|
prerelease: 6
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
9
|
+
- 3
|
10
10
|
- pre
|
11
|
-
version: 0.0.
|
11
|
+
version: 0.0.3.pre
|
12
12
|
platform: ruby
|
13
13
|
authors:
|
14
14
|
- Roberto Vasquez Angel
|