populate-me 0.0.23 → 0.0.24
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/populate_me/mongo/crushyform.rb +2 -2
- data/populate-me.gemspec +1 -1
- metadata +2 -2
@@ -21,7 +21,7 @@ module PopulateMe
|
|
21
21
|
js = <<-EOJS
|
22
22
|
<script type="text/javascript" charset="utf-8">
|
23
23
|
$(function(){
|
24
|
-
$( "##{m.field_id_for(c)}" ).autocomplete({source: ["#{values.map{|v|v.gsub(/"/,'')}.join('","')}"]});
|
24
|
+
$( "##{m.field_id_for(c)}" ).autocomplete({source: ["#{values.map{|v|v.to_s.gsub(/"/,'')}.join('","')}"]});
|
25
25
|
});
|
26
26
|
</script>
|
27
27
|
EOJS
|
@@ -121,7 +121,7 @@ module PopulateMe
|
|
121
121
|
.autocomplete({
|
122
122
|
minLength: 0,
|
123
123
|
source: function( request, response ) {
|
124
|
-
response($.ui.autocomplete.filter(["#{values.map{|v|v.gsub(/"/,'')}.join('","')}"], request.term.split(/,\s*/).pop()));
|
124
|
+
response($.ui.autocomplete.filter(["#{values.map{|v|v.to_s.gsub(/"/,'')}.join('","')}"], request.term.split(/,\s*/).pop()));
|
125
125
|
},
|
126
126
|
focus: function() { return false; },
|
127
127
|
select: function( event, ui ) {
|
data/populate-me.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'populate-me'
|
3
|
-
s.version = "0.0.
|
3
|
+
s.version = "0.0.24"
|
4
4
|
s.platform = Gem::Platform::RUBY
|
5
5
|
s.summary = "ALPHA !!! Populate Me is relatively complete but simple CMS"
|
6
6
|
s.description = "ALPHA !!! Populate Me is relatively complete but simple CMS. It includes a Rack middleware for putting in your Rack stack, and a bespoke MongoDB ODM. But Populate Me is not really finished yet."
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: populate-me
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.24
|
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: 2014-
|
12
|
+
date: 2014-09-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rack-golem
|