stay 0.1.3 → 0.1.3.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -7,6 +7,7 @@ enchancement. Support [TinyMCE](http://tinymce.moxiecode.com/) as its editor.
7
7
  Installation **stay** is simple. In Rails > 3.0 just add **stay** in your Gemfile:
8
8
 
9
9
  ```ruby
10
+ gem "tinymce-rails"
10
11
  gem "stay"
11
12
  ```
12
13
 
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') do |p|
5
+ Echoe.new('stay', '0.1.3.1') 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"
@@ -81,7 +81,7 @@ Stay.prototype = {
81
81
  });
82
82
 
83
83
  if(!self.tinyMCEUsed){
84
- var ev = (typeof self.submitter_id === "undefined") ? "blur" : "click";
84
+ var ev = (typeof self.submitter_id === "undefined") ? "blur" : "click"
85
85
  console.log("Submitter event: " + ev + ", on:");
86
86
  console.log(self.submitter);
87
87
 
@@ -1,9 +1,7 @@
1
1
  module Stay
2
2
  module StringExtensions
3
3
  def to_html
4
- html = "<p>"
5
- html << self.gsub(" ", "&nbsp;").gsub("\n", "<br />").gsub("<p>", "").gsub("</p>","")
6
- html << "</p>"
4
+ html = self.gsub(" ", "&nbsp;").gsub("\n", "<br />").gsub("<p>", "").gsub("</p>","")
7
5
  html
8
6
  end
9
7
  end
data/stay.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "stay"
5
- s.version = "0.1.3"
5
+ s.version = "0.1.3.1"
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"]
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
+ version: 0.1.3.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-02-06 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jquery-rails
16
- requirement: &21051000 !ruby/object:Gem::Requirement
16
+ requirement: &28364760 !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: *21051000
24
+ version_requirements: *28364760
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: tinymce-rails
27
- requirement: &21050540 !ruby/object:Gem::Requirement
27
+ requirement: &28364300 !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: *21050540
35
+ version_requirements: *28364300
36
36
  description: Form ajax helper with tinymce support
37
37
  email: tejanium@yahoo.com
38
38
  executables: []