populate-me 0.0.1 → 0.0.2
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
@@ -140,10 +140,10 @@ module PopulateMe
|
|
140
140
|
return tag if options[:permalink_classes].nil?
|
141
141
|
options[:permalink_classes].each do |sym|
|
142
142
|
c = Kernel.const_get sym
|
143
|
-
entries = c.
|
143
|
+
entries = c.find
|
144
144
|
unless entries.count==0
|
145
145
|
values << "<optgroup label='#{c.human_name}'>\n"
|
146
|
-
entries.
|
146
|
+
entries.each do |e|
|
147
147
|
values << "<option value='#{e.permalink}' #{'selected' if e.permalink==options[:input_value]}>#{e.to_label}</option>\n"
|
148
148
|
end
|
149
149
|
values << "</optgroup>\n"
|
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.2"
|
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.2
|
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: 2012-07-
|
12
|
+
date: 2012-07-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rack-golem
|