public
Description: All the extra stuff you could want for the Mack Framework.
Homepage: http://www.mackframework.com
Clone URL: git://github.com/markbates/mack-more.git
Upgraded to facets 2.4.3 [#99 state:resolved]
markbates (author)
Mon Aug 18 11:24:31 -0700 2008
commit  eaf0e49cbecb640897c1e527ce7c1d3f03c6612c
tree    7c764ad6fdc0c9333ff96e8cb6e656c5d3e7054f
parent  da597c8ee2bb90f5747221cb989a40687d354c82
...
1
2
 
3
4
5
...
1
 
2
3
4
5
0
@@ -1,4 +1,4 @@
0
 desc "Install the gem"
0
-task :install => :package do |t|
0
+task :install => [:rerdoc, :package] do |t|
0
   puts `sudo gem install --local pkg/#{@gem_spec.name}-#{@gem_spec.version}.gem --no-update-sources`
0
 end
0
\ No newline at end of file
...
15
16
17
18
 
19
20
21
...
15
16
17
 
18
19
20
21
0
@@ -15,7 +15,7 @@ require File.join(crt, "rake_task_requires")
0
   s.files = FileList['lib/**/*.*', 'README', 'doc/**/*.*', 'bin/**/*.*']
0
   s.require_paths << 'lib'
0
 
0
-  s.add_dependency("facets", "2.4.1")
0
+  s.add_dependency("facets", "2.4.3")
0
   s.add_dependency("english", "0.2.0")
0
   s.add_dependency("extlib", "0.9.3")
0
   s.extra_rdoc_files = ["README"]
...
 
 
1
2
 
3
4
5
6
7
...
10
11
12
 
 
13
14
15
16
17
18
19
20
21
22
...
1
2
3
4
5
6
 
7
8
9
...
12
13
14
15
16
17
18
19
20
21
 
 
22
23
24
0
@@ -1,7 +1,9 @@
0
+fl = File.join(File.dirname(__FILE__), "mack-facets")
0
+
0
 require 'rubygems'
0
 require 'digest'
0
+require File.join(fl, "extensions", "time") # we need this here, otherwise facets 2.4.3 breaks!
0
 require 'facets'
0
-require 'facets/ruby'
0
 require 'facets/style'
0
 require 'facets/blank'
0
 require 'facets/hash'
0
@@ -10,13 +12,13 @@ require 'facets/hash/stringify_keys'
0
 require 'facets/module'
0
 require 'facets/infinity'
0
 require 'facets/times'
0
+require 'facets/time'
0
+require 'facets/string'
0
 require 'english/inflect'
0
 require 'english/numerals'
0
 require 'extlib/assertions'
0
 require 'extlib/hook'
0
 
0
-fl = File.join(File.dirname(__FILE__), "mack-facets")
0
-
0
 [:inflector, :inflections, :options_merger, :registry_list, :registry_map, :blank_slate].each do |k|
0
   path = File.join(fl, "utils", "#{k}")
0
   require path
...
1
 
2
3
4
...
 
1
2
3
4
0
@@ -1,4 +1,4 @@
0
-<h1>Edit <%= @name_singular_camel %></h1>
0
+<h1>Edit <%= @name_singular.humanize.titlecase %></h1>
0
 
0
 <%%= error_messages_for :<%= @name_singular %> %>
0
 
...
1
 
2
3
4
...
 
1
2
3
4
0
@@ -1,4 +1,4 @@
0
-<h1>Listing <%= @name_plural_camel %></h1>
0
+<h1>Listing <%= @name_plural.humanize.titlecase %></h1>
0
 
0
 <table>
0
   <tr>
...
1
 
2
3
4
...
 
1
2
3
4
0
@@ -1,4 +1,4 @@
0
-<h1>New <%= @name_singular_camel %></h1>
0
+<h1>New <%= @name_singular.humanize.titlecase %></h1>
0
 
0
 <%%= error_messages_for :<%= @name_singular %> %>
0
 
...
1
2
 
3
4
5
...
1
 
2
3
4
5
0
@@ -1,5 +1,5 @@
0
 <p>
0
-  <h1><%= @name_singular_camel %></h1>
0
+  <h1><%= @name_singular.humanize.titlecase %></h1>
0
 </p>
0
 <% for column in showable_columns -%>
0
 <p>

Comments