fullstack-cms 0.3.29 → 0.3.30
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -1
- data/Gemfile.lock +10 -10
- data/VERSION +1 -1
- data/app/models/link.rb +3 -3
- data/app/views/admin/links/_associated_fields.html.erb +2 -11
- data/app/views/admin/links/_linked_fields.html.erb +1 -2
- data/fullstack-cms.gemspec +5 -5
- metadata +5 -5
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -48,9 +48,9 @@ GEM
|
|
48
48
|
uuidtools (~> 2.1)
|
49
49
|
bcrypt-ruby (3.0.1)
|
50
50
|
bluecloth (2.2.0)
|
51
|
-
bootstrap-datepicker-rails (0.6.
|
51
|
+
bootstrap-datepicker-rails (0.6.36)
|
52
52
|
railties (>= 3.0)
|
53
|
-
bootstrap-helpers (0.1.
|
53
|
+
bootstrap-helpers (0.1.9)
|
54
54
|
rails
|
55
55
|
builder (3.0.4)
|
56
56
|
checkin (0.5.1)
|
@@ -73,7 +73,7 @@ GEM
|
|
73
73
|
coffeebeans (1.0.1)
|
74
74
|
actionpack (>= 3.0.0)
|
75
75
|
coffee-script
|
76
|
-
devise (2.2.
|
76
|
+
devise (2.2.1)
|
77
77
|
bcrypt-ruby (~> 3.0)
|
78
78
|
orm_adapter (~> 0.1)
|
79
79
|
railties (~> 3.1)
|
@@ -121,9 +121,9 @@ GEM
|
|
121
121
|
remotipart
|
122
122
|
resource-presentation-helpers
|
123
123
|
squeel
|
124
|
-
fullstack-admin (0.2.
|
124
|
+
fullstack-admin (0.2.15)
|
125
125
|
bootstrap-datepicker-rails
|
126
|
-
bootstrap-helpers (~> 0.1.
|
126
|
+
bootstrap-helpers (~> 0.1.9)
|
127
127
|
chosen-rails
|
128
128
|
ckeditor
|
129
129
|
facebox-rails
|
@@ -143,7 +143,7 @@ GEM
|
|
143
143
|
rails
|
144
144
|
hike (1.2.1)
|
145
145
|
htmlentities (4.3.1)
|
146
|
-
httparty (0.
|
146
|
+
httparty (0.10.0)
|
147
147
|
multi_json (~> 1.0)
|
148
148
|
multi_xml
|
149
149
|
i18n (0.6.1)
|
@@ -179,8 +179,8 @@ GEM
|
|
179
179
|
rack-mobile-detect
|
180
180
|
rails
|
181
181
|
multi_json (1.5.0)
|
182
|
-
multi_xml (0.5.
|
183
|
-
net-ssh (2.6.
|
182
|
+
multi_xml (0.5.2)
|
183
|
+
net-ssh (2.6.3)
|
184
184
|
nokogiri (1.5.6)
|
185
185
|
orm_adapter (0.4.0)
|
186
186
|
paperclip (3.4.0)
|
@@ -241,7 +241,7 @@ GEM
|
|
241
241
|
rails
|
242
242
|
rinku (1.2.2)
|
243
243
|
sass (3.2.5)
|
244
|
-
sass-rails (3.2.
|
244
|
+
sass-rails (3.2.6)
|
245
245
|
railties (~> 3.2.0)
|
246
246
|
sass (>= 3.1.10)
|
247
247
|
tilt (~> 1.3)
|
@@ -276,7 +276,7 @@ DEPENDENCIES
|
|
276
276
|
ars-permalink
|
277
277
|
awesome_nested_set
|
278
278
|
bluecloth
|
279
|
-
fullstack-admin (~> 0.2.
|
279
|
+
fullstack-admin (~> 0.2.15)
|
280
280
|
jeweler
|
281
281
|
rails_i18n_gettext
|
282
282
|
rinku (~> 1.2.2)
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.30
|
data/app/models/link.rb
CHANGED
@@ -4,9 +4,9 @@ class Link < ActiveRecord::Base
|
|
4
4
|
field :label, :string
|
5
5
|
include Positionable
|
6
6
|
|
7
|
-
field :description, :text
|
8
|
-
has_attached :image
|
9
|
-
has_attached :icon
|
7
|
+
# field :description, :text
|
8
|
+
# has_attached :image
|
9
|
+
# has_attached :icon
|
10
10
|
|
11
11
|
belongs_to :link_owner, :polymorphic => true
|
12
12
|
belongs_to :linked, :polymorphic => true
|
@@ -1,12 +1,3 @@
|
|
1
|
-
<%= f.
|
2
|
-
<%= f.input :label %>
|
3
|
-
<%= f.input :description %>
|
4
|
-
<%= f.input :nofollow %>
|
5
|
-
<% end %>
|
6
|
-
<%= f.inputs do %>
|
7
|
-
<%= f.input :image %>
|
8
|
-
<%= f.input :icon %>
|
9
|
-
<% end %>
|
10
|
-
|
1
|
+
<%= f.resource_inputs(:except => [:url]) %>
|
11
2
|
<hr/>
|
12
|
-
<%= render :partial => "admin/links/linked_fields", :locals => {:f => f} %>
|
3
|
+
<%= render :partial => "admin/links/linked_fields", :locals => {:f => f, :index => index} %>
|
@@ -7,8 +7,7 @@
|
|
7
7
|
<%= f.input :linked_type, :as => :radio, :collection => linkables_collection, :input_html => {:class => "linked-type-field"},
|
8
8
|
:label => t('fullstack.cms.link_resource_or_url', :default => "Link resource or url")
|
9
9
|
%>
|
10
|
-
<div class="linked-id-field-placeholder" id="linked_id_field_placeholder_<%=
|
11
|
-
%>" data-current-id="<%= f.object.linked_id %>" data-current-type="<%= f.object.linked_type %>">
|
10
|
+
<div class="linked-id-field-placeholder" id="linked_id_field_placeholder_<%= index %>" data-current-id="<%= f.object.linked_id %>" data-current-type="<%= f.object.linked_type %>">
|
12
11
|
</div>
|
13
12
|
<%= f.input :url, :label => false, :input_html => {:style => ("display: none" if f.object.persisted?), :class => "linked-url-field"} %>
|
14
13
|
<% end %>
|
data/fullstack-cms.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "fullstack-cms"
|
8
|
-
s.version = "0.3.
|
8
|
+
s.version = "0.3.30"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["mcasimir"]
|
12
|
-
s.date = "2013-01-
|
12
|
+
s.date = "2013-01-15"
|
13
13
|
s.description = "CMS system built on fullstack"
|
14
14
|
s.email = "maurizio.cas@gmail.com"
|
15
15
|
s.extra_rdoc_files = [
|
@@ -179,7 +179,7 @@ Gem::Specification.new do |s|
|
|
179
179
|
s.specification_version = 3
|
180
180
|
|
181
181
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
182
|
-
s.add_runtime_dependency(%q<fullstack-admin>, ["~> 0.2.
|
182
|
+
s.add_runtime_dependency(%q<fullstack-admin>, ["~> 0.2.15"])
|
183
183
|
s.add_runtime_dependency(%q<ars-permalink>, [">= 0"])
|
184
184
|
s.add_runtime_dependency(%q<acts-as-taggable-on>, [">= 0"])
|
185
185
|
s.add_runtime_dependency(%q<acts_as_indexed>, [">= 0"])
|
@@ -190,7 +190,7 @@ Gem::Specification.new do |s|
|
|
190
190
|
s.add_runtime_dependency(%q<bluecloth>, [">= 0"])
|
191
191
|
s.add_development_dependency(%q<jeweler>, [">= 0"])
|
192
192
|
else
|
193
|
-
s.add_dependency(%q<fullstack-admin>, ["~> 0.2.
|
193
|
+
s.add_dependency(%q<fullstack-admin>, ["~> 0.2.15"])
|
194
194
|
s.add_dependency(%q<ars-permalink>, [">= 0"])
|
195
195
|
s.add_dependency(%q<acts-as-taggable-on>, [">= 0"])
|
196
196
|
s.add_dependency(%q<acts_as_indexed>, [">= 0"])
|
@@ -202,7 +202,7 @@ Gem::Specification.new do |s|
|
|
202
202
|
s.add_dependency(%q<jeweler>, [">= 0"])
|
203
203
|
end
|
204
204
|
else
|
205
|
-
s.add_dependency(%q<fullstack-admin>, ["~> 0.2.
|
205
|
+
s.add_dependency(%q<fullstack-admin>, ["~> 0.2.15"])
|
206
206
|
s.add_dependency(%q<ars-permalink>, [">= 0"])
|
207
207
|
s.add_dependency(%q<acts-as-taggable-on>, [">= 0"])
|
208
208
|
s.add_dependency(%q<acts_as_indexed>, [">= 0"])
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fullstack-cms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.30
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-01-
|
12
|
+
date: 2013-01-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: fullstack-admin
|
@@ -18,7 +18,7 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 0.2.
|
21
|
+
version: 0.2.15
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ~>
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.2.
|
29
|
+
version: 0.2.15
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: ars-permalink
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
@@ -345,7 +345,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
345
345
|
version: '0'
|
346
346
|
segments:
|
347
347
|
- 0
|
348
|
-
hash: -
|
348
|
+
hash: -4367642732034536460
|
349
349
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
350
350
|
none: false
|
351
351
|
requirements:
|