stay 0.1.3.4.2 → 0.1.3.4.3

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -2,7 +2,7 @@ require 'rubygems'
2
2
  require 'rake'
3
3
  require 'echoe'
4
4
 
5
- Echoe.new('stay', '0.1.3.4.2') do |p|
5
+ Echoe.new('stay', '0.1.3.4.3') do |p|
6
6
  p.description = "Form ajax helper with tinymce support"
7
7
  p.summary = "Helper for building ajax form, inspired by best_in_place, with some modifications, support tinymce as editor"
8
8
  p.url = "http://github.com/tejanium/stay"
@@ -19,7 +19,6 @@ function Stay(e){
19
19
  Stay.prototype = {
20
20
  init: function(e){
21
21
  var self = this;
22
- console.info("Stay initializing...");
23
22
 
24
23
  self.stayWrapper = jQuery(e);
25
24
  self.stayObject = self.stayWrapper.find(".stay-object");
@@ -38,7 +37,6 @@ Stay.prototype = {
38
37
  self.submitter = (typeof self.submitter_id === "undefined") ? self.stayFormInput : jQuery(self.submitter_id)
39
38
 
40
39
  if(self.tinyMCEUsed){
41
- console.info("TinyMCE found! Initailize editor...");
42
40
  this.stayTinyMCE.tinymce({
43
41
  theme: self.tinyMCETheme,
44
42
  setup : function(ed) {
@@ -60,16 +58,12 @@ Stay.prototype = {
60
58
  }
61
59
  self.bindTrigger();
62
60
  self.bindCallback();
63
-
64
- console.info("Stay successfully initialized");
61
+
65
62
  },
66
63
 
67
64
  bindTrigger: function(){
68
65
  var self = this;
69
66
 
70
- console.log("Activator used: ");
71
- console.log(self.activator);
72
-
73
67
  self.activator.click(function(){
74
68
  self.stayObject.hide();
75
69
  self.stayForm.show();
@@ -82,9 +76,6 @@ Stay.prototype = {
82
76
 
83
77
  if(!self.tinyMCEUsed){
84
78
  var ev = (typeof self.submitter_id === "undefined") ? "blur" : "click"
85
- console.log("Submitter event: " + ev + ", on:");
86
- console.log(self.submitter);
87
-
88
79
  self.submitter.bind(ev, function(){
89
80
  self.stayFormForm.submit();
90
81
  self.stayFormInput.disable();
data/stay.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "stay"
5
- s.version = "0.1.3.4.2"
5
+ s.version = "0.1.3.4.3"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Teja Sophista"]
9
- s.date = "2012-02-08"
9
+ s.date = "2012-02-09"
10
10
  s.description = "Form ajax helper with tinymce support"
11
11
  s.email = "tejanium@yahoo.com"
12
12
  s.extra_rdoc_files = ["README.md", "README.rdoc", "lib/assets/javascripts/stay.js", "lib/stay.rb", "lib/stay/controller_extensions.rb", "lib/stay/engine.rb", "lib/stay/helper.rb", "lib/stay/string_extensions.rb"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stay
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3.4.2
4
+ version: 0.1.3.4.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-02-08 00:00:00.000000000Z
12
+ date: 2012-02-09 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jquery-rails
16
- requirement: &23836340 !ruby/object:Gem::Requirement
16
+ requirement: &12393960 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *23836340
24
+ version_requirements: *12393960
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: tinymce-rails
27
- requirement: &23835880 !ruby/object:Gem::Requirement
27
+ requirement: &12393500 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *23835880
35
+ version_requirements: *12393500
36
36
  description: Form ajax helper with tinymce support
37
37
  email: tejanium@yahoo.com
38
38
  executables: []