jrhicks-static-generators 0.4.4 → 0.4.5

Sign up to get free protection for your applications and to get access to all the features.
data/Manifest CHANGED
@@ -14,9 +14,11 @@ rails_generators/static_app/templates/blueprint/README.textile
14
14
  rails_generators/static_app/templates/blueprint/readme.txt
15
15
  rails_generators/static_app/templates/blueprint/screen.css
16
16
  rails_generators/static_app/templates/faceted_search/lib/base.rb
17
+ rails_generators/static_app/templates/faceted_search/lib/date_range_facet.rb
17
18
  rails_generators/static_app/templates/faceted_search/lib/facet.rb
18
19
  rails_generators/static_app/templates/faceted_search/lib/keyword_facet.rb
19
20
  rails_generators/static_app/templates/faceted_search/lib/numeric_range_facet.rb
21
+ rails_generators/static_app/templates/faceted_search/views/date_range_facet.html.erb
20
22
  rails_generators/static_app/templates/faceted_search/views/keyword_facet.html.erb
21
23
  rails_generators/static_app/templates/faceted_search/views/numeric_range_facet.html.erb
22
24
  rails_generators/static_app/templates/header_bg.png
data/Rakefile CHANGED
@@ -2,7 +2,7 @@ require 'rubygems'
2
2
  require 'rake'
3
3
  require 'echoe'
4
4
 
5
- Echoe.new('static-generators', '0.4.4') do |p|
5
+ Echoe.new('static-generators', '0.4.5') do |p|
6
6
  p.project = "staticgenerators"
7
7
  p.description = "Generate attractive interfaces that are easy to edit."
8
8
  p.url = "http://github.com/jrhicks/static-scaffolds"
@@ -37,9 +37,11 @@ class StaticAppGenerator < Rails::Generator::Base
37
37
  m.file("faceted_search/lib/facet.rb","lib/faceted_search/facet.rb")
38
38
  m.file("faceted_search/lib/keyword_facet.rb","lib/faceted_search/keyword_facet.rb")
39
39
  m.file("faceted_search/lib/numeric_range_facet.rb","lib/faceted_search/numeric_range_facet.rb")
40
+ m.file("faceted_search/lib/date_range_facet.rb","lib/faceted_search/date_range_facet.rb")
40
41
  m.directory "app/views/faceted_search"
41
42
  m.file("faceted_search/views/keyword_facet.html.erb","app/views/faceted_search/_keyword_facet.html.erb")
42
43
  m.file("faceted_search/views/numeric_range_facet.html.erb","app/views/faceted_search/_numeric_range_facet.html.erb")
44
+ m.file("faceted_search/views/date_range_facet.html.erb","app/views/faceted_search/_date_range_facet.html.erb")
43
45
 
44
46
  # jrails plugin files
45
47
  [
@@ -24,6 +24,10 @@ class FacetedSearch::Base
24
24
  def create_numeric_range_facet(attribute)
25
25
  register(FacetedSearch::NumericRangeFacet.new(attribute, @model.table_name, @session))
26
26
  end
27
+
28
+ def create_date_range_facet(attribute)
29
+ register(FacetedSearch::DateRangeFacet.new(attribute, @model.table_name, @session))
30
+ end
27
31
 
28
32
  def refined(scope)
29
33
  @facets.each {|facet| scope = facet.refined(scope)}
@@ -48,8 +52,11 @@ class FacetedSearch::Base
48
52
  end
49
53
 
50
54
  def update_with(params)
51
- @facets.each {|facet| facet.update_with(params)}
52
- @session[page_param] = params[page_param] unless params[page_param].blank?
55
+ if @facets.map {|facet| facet.update_with(params)}.include?(true)
56
+ @session[page_param]=1 # Parameter of search changed. Start over at page 1
57
+ else
58
+ @session[page_param] = params[page_param] unless params[page_param].blank?
59
+ end
53
60
  end
54
61
 
55
62
  def order
@@ -0,0 +1,45 @@
1
+ class FacetedSearch::DateRangeFacet < FacetedSearch::Facet
2
+
3
+ # Set upper and lower limit values for an attribute
4
+
5
+ def initialize(attribute, table_name, session)
6
+ @attribute = attribute
7
+ @table_name = table_name
8
+ @session = session
9
+ end
10
+
11
+ def refined(scope)
12
+ scope = scope.scoped :conditions => ["#{@table_name}.#{@attribute} <= ?", upper_limit_date] unless upper_limit.blank?
13
+ scope = scope.scoped :conditions => ["#{@table_name}.#{@attribute} >= ?", lower_limit_date] unless lower_limit.blank?
14
+ return scope
15
+ end
16
+
17
+ def upper_limit_param_name()
18
+ "#{@table_name}_date_ul_#{@attribute}"
19
+ end
20
+
21
+ def lower_limit_param_name()
22
+ "#{@table_name}_date_ll_#{@attribute}"
23
+ end
24
+
25
+ def upper_limit_date
26
+ Date.parse(upper_limit)
27
+ end
28
+
29
+ def lower_limit_date
30
+ Date.parse(lower_limit)
31
+ end
32
+
33
+ def upper_limit
34
+ @session[upper_limit_param_name]
35
+ end
36
+
37
+ def lower_limit
38
+ @session[lower_limit_param_name]
39
+ end
40
+
41
+ def parameter_names
42
+ [upper_limit_param_name, lower_limit_param_name]
43
+ end
44
+
45
+ end
@@ -23,7 +23,14 @@ class FacetedSearch::Facet
23
23
  end
24
24
 
25
25
  def update_with(params)
26
- parameter_names.each {|p| @session[p] = params[p] unless params[p]==nil}
26
+ value_changed=false
27
+ for p in parameter_names
28
+ if params[p]!=nil
29
+ value_changed=true
30
+ @session[p] = params[p]
31
+ end
32
+ end
33
+ return value_changed
27
34
  end
28
35
 
29
36
  end
@@ -0,0 +1,15 @@
1
+ <%form_for(@facet, :url => { :action => "index" }) do |f|%>
2
+ From:
3
+ <input type="text" id="<%=@facet.lower_limit_param_name%>" name="<%=@facet.lower_limit_param_name%>" value="<%=@facet.lower_limit%>" size="10"><br>
4
+ To:
5
+ <input type="text" id="<%=@facet.upper_limit_param_name%>" name="<%=@facet.upper_limit_param_name%>" value="<%=@facet.upper_limit%>" size="10"><br>
6
+
7
+ <script type="text/javascript">
8
+ $(function() {
9
+ $("#<%=@facet.lower_limit_param_name%>").datepicker();
10
+ $("#<%=@facet.upper_limit_param_name%>").datepicker();
11
+ });
12
+ </script>
13
+
14
+ <%= submit_tag 'Update' %>
15
+ <%end%>
@@ -151,6 +151,14 @@ class StaticGenSpecsGenerator < Rails::Generator::NamedBase
151
151
  end
152
152
  end
153
153
 
154
+ def is_meta_data?(cname)
155
+ ["created_at", "updated_at"].include?(cname.to_s)
156
+ end
157
+
158
+ def guess_date_range_facets
159
+ column_names.select {|cname| [:datetime, :date, :timestamp].include?(guess_type(cname))}
160
+ end
161
+
154
162
  def guess_numeric_range_facets
155
163
  column_names.select {|cname| [:int,:float, :decimal].include?(guess_type(cname)) }
156
164
  end
@@ -53,7 +53,17 @@ class <%=class_name%>GenSpecs < GeneratorSpecs
53
53
  end
54
54
 
55
55
  def search_facets
56
- [<%if guess_keyword_facets and guess_keyword_facets.length>0 -%>
56
+ [
57
+ <%for attribute_name in guess_date_range_facets -%>
58
+ <%="#" if is_meta_data?(attribute_name)%> {
59
+ <%="#" if is_meta_data?(attribute_name)%> :name => "<%=attribute_name%>_facet",
60
+ <%="#" if is_meta_data?(attribute_name)%> :type => "date_range_facet",
61
+ <%="#" if is_meta_data?(attribute_name)%> :attributes => <%=attribute_name.inspect%>,
62
+ <%="#" if is_meta_data?(attribute_name)%> :partial => "date_range_facet",
63
+ <%="#" if is_meta_data?(attribute_name)%> :title => <%=attribute_name.titleize.inspect%>
64
+ <%="#" if is_meta_data?(attribute_name)%> },
65
+ <%end -%>
66
+ <%if guess_keyword_facets and guess_keyword_facets.length>0 -%>
57
67
  {
58
68
  :name => "keyword_facet",
59
69
  :type => "keyword_facet",
@@ -61,14 +71,17 @@ class <%=class_name%>GenSpecs < GeneratorSpecs
61
71
  :partial => "keyword_facet",
62
72
  :title => "Search"
63
73
  },
64
- <%end -%><%for nrc in guess_numeric_range_facets -%>
65
- {
66
- :name => "<%=nrc%>_facet",
67
- :type => "numeric_range_facet",
68
- :attributes => <%=nrc.inspect%>,
69
- :partial => "numeric_range_facet",
70
- :title => <%=nrc.titleize.inspect%>
71
- },<%end -%>
74
+ <%end -%>
75
+ <%for attribute_name in guess_numeric_range_facets -%>
76
+ <%="#" if is_meta_data?(attribute_name)%> {
77
+ <%="#" if is_meta_data?(attribute_name)%> :name => "<%=attribute_name%>_facet",
78
+ <%="#" if is_meta_data?(attribute_name)%> :type => "numeric_range_facet",
79
+ <%="#" if is_meta_data?(attribute_name)%> :attributes => <%=attribute_name.inspect%>,
80
+ <%="#" if is_meta_data?(attribute_name)%> :partial => "numeric_range_facet",
81
+ <%="#" if is_meta_data?(attribute_name)%> :title => <%=attribute_name.titleize.inspect%>
82
+ <%="#" if is_meta_data?(attribute_name)%> },
83
+ <%end -%>
84
+
72
85
  ]
73
86
  end
74
87
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{static-generators}
5
- s.version = "0.4.4"
5
+ s.version = "0.4.5"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Jeffrey Hicks"]
@@ -10,7 +10,7 @@ Gem::Specification.new do |s|
10
10
  s.description = %q{Generate attractive interfaces that are easy to edit.}
11
11
  s.email = %q{jrhicks (at) gmail (dot) com}
12
12
  s.extra_rdoc_files = ["CHANGELOG", "lib/static_generators.rb", "LICENSE", "README.md", "tasks/deployment.rake", "TODO"]
13
- s.files = ["CHANGELOG", "lib/static_generators.rb", "LICENSE", "rails_generators/static_app/static_app_generator.rb", "rails_generators/static_app/templates/application_helper.rb", "rails_generators/static_app/templates/blueprint/AUTHORS.textile", "rails_generators/static_app/templates/blueprint/icons/cross.png", "rails_generators/static_app/templates/blueprint/icons/key.png", "rails_generators/static_app/templates/blueprint/icons/tick.png", "rails_generators/static_app/templates/blueprint/ie.css", "rails_generators/static_app/templates/blueprint/print.css", "rails_generators/static_app/templates/blueprint/README", "rails_generators/static_app/templates/blueprint/README.textile", "rails_generators/static_app/templates/blueprint/readme.txt", "rails_generators/static_app/templates/blueprint/screen.css", "rails_generators/static_app/templates/faceted_search/lib/base.rb", "rails_generators/static_app/templates/faceted_search/lib/facet.rb", "rails_generators/static_app/templates/faceted_search/lib/keyword_facet.rb", "rails_generators/static_app/templates/faceted_search/lib/numeric_range_facet.rb", "rails_generators/static_app/templates/faceted_search/views/keyword_facet.html.erb", "rails_generators/static_app/templates/faceted_search/views/numeric_range_facet.html.erb", "rails_generators/static_app/templates/header_bg.png", "rails_generators/static_app/templates/icons/cross.png", "rails_generators/static_app/templates/icons/doc.png", "rails_generators/static_app/templates/icons/email.png", "rails_generators/static_app/templates/icons/external.png", "rails_generators/static_app/templates/icons/feed.png", "rails_generators/static_app/templates/icons/key.png", "rails_generators/static_app/templates/icons/pdf.png", "rails_generators/static_app/templates/icons/tick.png", "rails_generators/static_app/templates/icons/visited.png", "rails_generators/static_app/templates/icons/xls.png", "rails_generators/static_app/templates/jquery-ui-1.7.2.custom/css/redmond/images/ui-bg_flat_0_aaaaaa_40x100.png", "rails_generators/static_app/templates/jquery-ui-1.7.2.custom/css/redmond/images/ui-bg_flat_55_fbec88_40x100.png", "rails_generators/static_app/templates/jquery-ui-1.7.2.custom/css/redmond/images/ui-bg_glass_75_d0e5f5_1x400.png", "rails_generators/static_app/templates/jquery-ui-1.7.2.custom/css/redmond/images/ui-bg_glass_85_dfeffc_1x400.png", "rails_generators/static_app/templates/jquery-ui-1.7.2.custom/css/redmond/images/ui-bg_glass_95_fef1ec_1x400.png", "rails_generators/static_app/templates/jquery-ui-1.7.2.custom/css/redmond/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png", "rails_generators/static_app/templates/jquery-ui-1.7.2.custom/css/redmond/images/ui-bg_inset-hard_100_f5f8f9_1x100.png", "rails_generators/static_app/templates/jquery-ui-1.7.2.custom/css/redmond/images/ui-bg_inset-hard_100_fcfdfd_1x100.png", "rails_generators/static_app/templates/jquery-ui-1.7.2.custom/css/redmond/images/ui-icons_217bc0_256x240.png", "rails_generators/static_app/templates/jquery-ui-1.7.2.custom/css/redmond/images/ui-icons_2e83ff_256x240.png", "rails_generators/static_app/templates/jquery-ui-1.7.2.custom/css/redmond/images/ui-icons_469bdd_256x240.png", "rails_generators/static_app/templates/jquery-ui-1.7.2.custom/css/redmond/images/ui-icons_6da8d5_256x240.png", "rails_generators/static_app/templates/jquery-ui-1.7.2.custom/css/redmond/images/ui-icons_cd0a0a_256x240.png", "rails_generators/static_app/templates/jquery-ui-1.7.2.custom/css/redmond/images/ui-icons_d8e7f3_256x240.png", "rails_generators/static_app/templates/jquery-ui-1.7.2.custom/css/redmond/images/ui-icons_f9bd01_256x240.png", "rails_generators/static_app/templates/jquery-ui-1.7.2.custom/css/redmond/jquery-ui-1.7.2.custom.css", "rails_generators/static_app/templates/jquery-ui-1.7.2.custom/index.html", "rails_generators/static_app/templates/jquery-ui-1.7.2.custom/js/jquery-1.3.2.min.js", "rails_generators/static_app/templates/jquery-ui-1.7.2.custom/js/jquery-ui-1.7.2.custom.min.js", "rails_generators/static_app/templates/jrails/jquery-ui.js", "rails_generators/static_app/templates/jrails/jquery.js", "rails_generators/static_app/templates/jrails/jrails.js", "rails_generators/static_app/templates/layout.html.erb", "rails_generators/static_app/templates/layout_helper.rb", "rails_generators/static_app/templates/navigation_bar_bg.gif", "rails_generators/static_app/templates/plugins/jrails/CHANGELOG", "rails_generators/static_app/templates/plugins/jrails/init.rb", "rails_generators/static_app/templates/plugins/jrails/install.rb", "rails_generators/static_app/templates/plugins/jrails/javascripts/jquery-ui.js", "rails_generators/static_app/templates/plugins/jrails/javascripts/jquery.js", "rails_generators/static_app/templates/plugins/jrails/javascripts/jrails.js", "rails_generators/static_app/templates/plugins/jrails/javascripts/sources/jrails.js", "rails_generators/static_app/templates/plugins/jrails/lib/jrails.rb", "rails_generators/static_app/templates/plugins/jrails/README", "rails_generators/static_app/templates/plugins/jrails/tasks/jrails.rake", "rails_generators/static_app/templates/sorttable/sorttable.js", "rails_generators/static_app/templates/standard_banner.html.erb", "rails_generators/static_app/templates/standard_footer.html.erb", "rails_generators/static_app/templates/standard_header.html.erb", "rails_generators/static_app/templates/standard_navigation.html.erb", "rails_generators/static_app/templates/static_generator.rake", "rails_generators/static_app/templates/static_style.css", "rails_generators/static_app/templates/uni-form/jquery.js", "rails_generators/static_app/templates/uni-form/uni-form-generic.css", "rails_generators/static_app/templates/uni-form/uni-form.css", "rails_generators/static_app/templates/uni-form/uni-form.jquery.js", "rails_generators/static_app/USAGE", "rails_generators/static_authorization/static_authorization_generator.rb", "rails_generators/static_authorization/templates/migration.rb", "rails_generators/static_authorization/USAGE", "rails_generators/static_gen_specs/static_gen_specs_generator.rb", "rails_generators/static_gen_specs/templates/generator_specs.rb", "rails_generators/static_gen_specs/templates/model_gen_specs.rb", "rails_generators/static_gen_specs/USAGE", "rails_generators/static_scaffold/static_scaffold_generator.rb", "rails_generators/static_scaffold/templates/controller.rb", "rails_generators/static_scaffold/templates/fake_data.rake", "rails_generators/static_scaffold/templates/filter_session_base.rb", "rails_generators/static_scaffold/templates/functional_test.rb", "rails_generators/static_scaffold/templates/helper.rb", "rails_generators/static_scaffold/templates/helper_test.rb", "rails_generators/static_scaffold/templates/layout.html.erb", "rails_generators/static_scaffold/templates/model.rb", "rails_generators/static_scaffold/templates/model_search.rb", "rails_generators/static_scaffold/templates/paperclip_tokens.rb", "rails_generators/static_scaffold/templates/partial_facet_form.html.erb", "rails_generators/static_scaffold/templates/partial_work_area_entry_header.html.erb", "rails_generators/static_scaffold/templates/partial_work_area_index_header.html.erb", "rails_generators/static_scaffold/templates/view_edit.html.erb", "rails_generators/static_scaffold/templates/view_index.html.erb", "rails_generators/static_scaffold/templates/view_new.html.erb", "rails_generators/static_scaffold/templates/view_show.html.erb", "rails_generators/static_scaffold/USAGE", "Rakefile", "README.md", "tasks/deployment.rake", "TODO", "USAGE", "Manifest", "static-generators.gemspec"]
13
+ s.files = ["CHANGELOG", "lib/static_generators.rb", "LICENSE", "rails_generators/static_app/static_app_generator.rb", "rails_generators/static_app/templates/application_helper.rb", "rails_generators/static_app/templates/blueprint/AUTHORS.textile", "rails_generators/static_app/templates/blueprint/icons/cross.png", "rails_generators/static_app/templates/blueprint/icons/key.png", "rails_generators/static_app/templates/blueprint/icons/tick.png", "rails_generators/static_app/templates/blueprint/ie.css", "rails_generators/static_app/templates/blueprint/print.css", "rails_generators/static_app/templates/blueprint/README", "rails_generators/static_app/templates/blueprint/README.textile", "rails_generators/static_app/templates/blueprint/readme.txt", "rails_generators/static_app/templates/blueprint/screen.css", "rails_generators/static_app/templates/faceted_search/lib/base.rb", "rails_generators/static_app/templates/faceted_search/lib/date_range_facet.rb", "rails_generators/static_app/templates/faceted_search/lib/facet.rb", "rails_generators/static_app/templates/faceted_search/lib/keyword_facet.rb", "rails_generators/static_app/templates/faceted_search/lib/numeric_range_facet.rb", "rails_generators/static_app/templates/faceted_search/views/date_range_facet.html.erb", "rails_generators/static_app/templates/faceted_search/views/keyword_facet.html.erb", "rails_generators/static_app/templates/faceted_search/views/numeric_range_facet.html.erb", "rails_generators/static_app/templates/header_bg.png", "rails_generators/static_app/templates/icons/cross.png", "rails_generators/static_app/templates/icons/doc.png", "rails_generators/static_app/templates/icons/email.png", "rails_generators/static_app/templates/icons/external.png", "rails_generators/static_app/templates/icons/feed.png", "rails_generators/static_app/templates/icons/key.png", "rails_generators/static_app/templates/icons/pdf.png", "rails_generators/static_app/templates/icons/tick.png", "rails_generators/static_app/templates/icons/visited.png", "rails_generators/static_app/templates/icons/xls.png", "rails_generators/static_app/templates/jquery-ui-1.7.2.custom/css/redmond/images/ui-bg_flat_0_aaaaaa_40x100.png", "rails_generators/static_app/templates/jquery-ui-1.7.2.custom/css/redmond/images/ui-bg_flat_55_fbec88_40x100.png", "rails_generators/static_app/templates/jquery-ui-1.7.2.custom/css/redmond/images/ui-bg_glass_75_d0e5f5_1x400.png", "rails_generators/static_app/templates/jquery-ui-1.7.2.custom/css/redmond/images/ui-bg_glass_85_dfeffc_1x400.png", "rails_generators/static_app/templates/jquery-ui-1.7.2.custom/css/redmond/images/ui-bg_glass_95_fef1ec_1x400.png", "rails_generators/static_app/templates/jquery-ui-1.7.2.custom/css/redmond/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png", "rails_generators/static_app/templates/jquery-ui-1.7.2.custom/css/redmond/images/ui-bg_inset-hard_100_f5f8f9_1x100.png", "rails_generators/static_app/templates/jquery-ui-1.7.2.custom/css/redmond/images/ui-bg_inset-hard_100_fcfdfd_1x100.png", "rails_generators/static_app/templates/jquery-ui-1.7.2.custom/css/redmond/images/ui-icons_217bc0_256x240.png", "rails_generators/static_app/templates/jquery-ui-1.7.2.custom/css/redmond/images/ui-icons_2e83ff_256x240.png", "rails_generators/static_app/templates/jquery-ui-1.7.2.custom/css/redmond/images/ui-icons_469bdd_256x240.png", "rails_generators/static_app/templates/jquery-ui-1.7.2.custom/css/redmond/images/ui-icons_6da8d5_256x240.png", "rails_generators/static_app/templates/jquery-ui-1.7.2.custom/css/redmond/images/ui-icons_cd0a0a_256x240.png", "rails_generators/static_app/templates/jquery-ui-1.7.2.custom/css/redmond/images/ui-icons_d8e7f3_256x240.png", "rails_generators/static_app/templates/jquery-ui-1.7.2.custom/css/redmond/images/ui-icons_f9bd01_256x240.png", "rails_generators/static_app/templates/jquery-ui-1.7.2.custom/css/redmond/jquery-ui-1.7.2.custom.css", "rails_generators/static_app/templates/jquery-ui-1.7.2.custom/index.html", "rails_generators/static_app/templates/jquery-ui-1.7.2.custom/js/jquery-1.3.2.min.js", "rails_generators/static_app/templates/jquery-ui-1.7.2.custom/js/jquery-ui-1.7.2.custom.min.js", "rails_generators/static_app/templates/jrails/jquery-ui.js", "rails_generators/static_app/templates/jrails/jquery.js", "rails_generators/static_app/templates/jrails/jrails.js", "rails_generators/static_app/templates/layout.html.erb", "rails_generators/static_app/templates/layout_helper.rb", "rails_generators/static_app/templates/navigation_bar_bg.gif", "rails_generators/static_app/templates/plugins/jrails/CHANGELOG", "rails_generators/static_app/templates/plugins/jrails/init.rb", "rails_generators/static_app/templates/plugins/jrails/install.rb", "rails_generators/static_app/templates/plugins/jrails/javascripts/jquery-ui.js", "rails_generators/static_app/templates/plugins/jrails/javascripts/jquery.js", "rails_generators/static_app/templates/plugins/jrails/javascripts/jrails.js", "rails_generators/static_app/templates/plugins/jrails/javascripts/sources/jrails.js", "rails_generators/static_app/templates/plugins/jrails/lib/jrails.rb", "rails_generators/static_app/templates/plugins/jrails/README", "rails_generators/static_app/templates/plugins/jrails/tasks/jrails.rake", "rails_generators/static_app/templates/sorttable/sorttable.js", "rails_generators/static_app/templates/standard_banner.html.erb", "rails_generators/static_app/templates/standard_footer.html.erb", "rails_generators/static_app/templates/standard_header.html.erb", "rails_generators/static_app/templates/standard_navigation.html.erb", "rails_generators/static_app/templates/static_generator.rake", "rails_generators/static_app/templates/static_style.css", "rails_generators/static_app/templates/uni-form/jquery.js", "rails_generators/static_app/templates/uni-form/uni-form-generic.css", "rails_generators/static_app/templates/uni-form/uni-form.css", "rails_generators/static_app/templates/uni-form/uni-form.jquery.js", "rails_generators/static_app/USAGE", "rails_generators/static_authorization/static_authorization_generator.rb", "rails_generators/static_authorization/templates/migration.rb", "rails_generators/static_authorization/USAGE", "rails_generators/static_gen_specs/static_gen_specs_generator.rb", "rails_generators/static_gen_specs/templates/generator_specs.rb", "rails_generators/static_gen_specs/templates/model_gen_specs.rb", "rails_generators/static_gen_specs/USAGE", "rails_generators/static_scaffold/static_scaffold_generator.rb", "rails_generators/static_scaffold/templates/controller.rb", "rails_generators/static_scaffold/templates/fake_data.rake", "rails_generators/static_scaffold/templates/filter_session_base.rb", "rails_generators/static_scaffold/templates/functional_test.rb", "rails_generators/static_scaffold/templates/helper.rb", "rails_generators/static_scaffold/templates/helper_test.rb", "rails_generators/static_scaffold/templates/layout.html.erb", "rails_generators/static_scaffold/templates/model.rb", "rails_generators/static_scaffold/templates/model_search.rb", "rails_generators/static_scaffold/templates/paperclip_tokens.rb", "rails_generators/static_scaffold/templates/partial_facet_form.html.erb", "rails_generators/static_scaffold/templates/partial_work_area_entry_header.html.erb", "rails_generators/static_scaffold/templates/partial_work_area_index_header.html.erb", "rails_generators/static_scaffold/templates/view_edit.html.erb", "rails_generators/static_scaffold/templates/view_index.html.erb", "rails_generators/static_scaffold/templates/view_new.html.erb", "rails_generators/static_scaffold/templates/view_show.html.erb", "rails_generators/static_scaffold/USAGE", "Rakefile", "README.md", "tasks/deployment.rake", "TODO", "USAGE", "Manifest", "static-generators.gemspec"]
14
14
  s.has_rdoc = true
15
15
  s.homepage = %q{http://github.com/jrhicks/static-scaffolds}
16
16
  s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Static-generators", "--main", "README.md"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jrhicks-static-generators
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.4
4
+ version: 0.4.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeffrey Hicks
@@ -72,9 +72,11 @@ files:
72
72
  - rails_generators/static_app/templates/blueprint/readme.txt
73
73
  - rails_generators/static_app/templates/blueprint/screen.css
74
74
  - rails_generators/static_app/templates/faceted_search/lib/base.rb
75
+ - rails_generators/static_app/templates/faceted_search/lib/date_range_facet.rb
75
76
  - rails_generators/static_app/templates/faceted_search/lib/facet.rb
76
77
  - rails_generators/static_app/templates/faceted_search/lib/keyword_facet.rb
77
78
  - rails_generators/static_app/templates/faceted_search/lib/numeric_range_facet.rb
79
+ - rails_generators/static_app/templates/faceted_search/views/date_range_facet.html.erb
78
80
  - rails_generators/static_app/templates/faceted_search/views/keyword_facet.html.erb
79
81
  - rails_generators/static_app/templates/faceted_search/views/numeric_range_facet.html.erb
80
82
  - rails_generators/static_app/templates/header_bg.png