fullstack-cms 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.1
1
+ 0.2.2
@@ -1,7 +1,5 @@
1
- <% if @photo.destroyed? %>
2
- $("a[data-method='delete']").filter("[href='<%=j request.path %>']").closest(".thumbnail_span").fadeOut 'slow', -> $(this).remove()
3
-
4
- console.log("'<%=j request.path %>']")
1
+ <% if current_resource.destroyed? %>
2
+ $("a[data-method='delete']").filter("[href='<%=j request.path %>']").closest(".thumbnail").fadeOut 'slow', -> $(this).remove()
5
3
  $("#photos .counter").text('<%= @photo.photographable.photos.count %>').effect("highlight", {}, 1000)
6
4
  <% else %>
7
5
  $.notify.error('<%=j t("flash.error.delete") %>')
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "fullstack-cms"
8
- s.version = "0.2.1"
8
+ s.version = "0.2.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["mcasimir"]
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.2.1
4
+ version: 0.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -344,7 +344,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
344
344
  version: '0'
345
345
  segments:
346
346
  - 0
347
- hash: 1880743011061210640
347
+ hash: 2012089189051141459
348
348
  required_rubygems_version: !ruby/object:Gem::Requirement
349
349
  none: false
350
350
  requirements: