cloudlib 0.3.10 → 0.3.11
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.
- data/bin/cloudlib-web +2 -2
- data/cloudlib.gemspec +1 -1
- metadata +3 -3
data/bin/cloudlib-web
CHANGED
|
@@ -111,7 +111,7 @@ def set_attributes_from_form(entry)
|
|
|
111
111
|
end
|
|
112
112
|
end
|
|
113
113
|
|
|
114
|
-
|
|
114
|
+
enable :inline_templates
|
|
115
115
|
|
|
116
116
|
__END__
|
|
117
117
|
|
|
@@ -170,7 +170,7 @@ __END__
|
|
|
170
170
|
%td
|
|
171
171
|
%select{:name => 'entry_type'}
|
|
172
172
|
- ['','article','book','incollection','chapter','unpublished'].each do |type|
|
|
173
|
-
%option{:
|
|
173
|
+
%option{:onClick => show_fields(type), :selected => (@entry && @entry.show_attribute('entry_type') == type) || type.empty?}
|
|
174
174
|
= type
|
|
175
175
|
- Cloudlib::Entry.fields.each do |field|
|
|
176
176
|
%tr{:style => (@entry && field_for_type?(field, @entry.show_attribute('entry_type'))) || 'display: none;', :id => field.to_s}
|
data/cloudlib.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cloudlib
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 5
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 3
|
|
9
|
-
-
|
|
10
|
-
version: 0.3.
|
|
9
|
+
- 11
|
|
10
|
+
version: 0.3.11
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- John MacFarlane
|