cytoplasm 0.4.3 → 0.4.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -89,5 +89,7 @@
89
89
  var $this = $('.cytoResponseMessage[data-type="'+type+'"]');
90
90
  if (!$this.is('*')) $this = $('<p />').addClass('cytoResponseMessage').attr("data-type",type).hide().insertAfter($('header'));
91
91
  });
92
+
93
+ <% [:success,:notice,:error].each do |msg|%><% if flash[msg] %>$.cytoAjaxResponse("<%=flash[msg]%>","<%=msg.to_s%>");<% end end %>
92
94
  });
93
95
  })(jQuery);
@@ -6,6 +6,7 @@ require 'cytoplasm/railtie'
6
6
  [
7
7
  'button',
8
8
  'colorpicker',
9
+ 'field',
9
10
  'radio',
10
11
  'select',
11
12
  'slider',
@@ -1,3 +1,3 @@
1
1
  module Cytoplasm
2
- VERSION = "0.4.3"
2
+ VERSION = "0.4.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cytoplasm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
4
+ version: 0.4.4
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-02-27 00:00:00.000000000 Z
12
+ date: 2013-03-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -472,7 +472,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
472
472
  version: '0'
473
473
  segments:
474
474
  - 0
475
- hash: 1797275829385846811
475
+ hash: 1884488022482511892
476
476
  required_rubygems_version: !ruby/object:Gem::Requirement
477
477
  none: false
478
478
  requirements:
@@ -481,7 +481,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
481
481
  version: '0'
482
482
  segments:
483
483
  - 0
484
- hash: 1797275829385846811
484
+ hash: 1884488022482511892
485
485
  requirements: []
486
486
  rubyforge_project:
487
487
  rubygems_version: 1.8.24