zable 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,7 +8,7 @@ module ZableHelper
8
8
  def zable(collection, klass, args={}, &block)
9
9
  reset_cycle("zable_cycle")
10
10
 
11
- html = stylesheet_link_tag("zable")
11
+ html = ''.html_safe #stylesheet_link_tag("zable")
12
12
  html << pagination_element(collection, args.slice(:entry_name, :params)) if args[:paginate]
13
13
  html << zable_element(args, block, collection, klass, args[:params])
14
14
  html << pagination_element(collection, args.slice(:entry_name, :params)) if args[:paginate]
data/lib/zable/engine.rb CHANGED
@@ -5,7 +5,6 @@ require 'action_controller'
5
5
  module Zable
6
6
  class Engine < Rails::Engine
7
7
  initializer "static assets" do |app|
8
- app.middleware.use ::ActionDispatch::Static, "#{root}/public"
9
8
  end
10
9
  end
11
10
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -44,7 +44,6 @@ files:
44
44
  - lib/zable.rb
45
45
  - app/helpers/zable_helper.rb
46
46
  - public/images/common/pagination_bg_dis.gif
47
- - public/stylesheets/zable.css
48
47
  - MIT-LICENSE
49
48
  - Rakefile
50
49
  - README.rdoc
@@ -1,53 +0,0 @@
1
- /*Any changes made to this stylesheet should also go into "/public/zable.css" of app and vice versa */
2
-
3
- /**************************************************************************************************/
4
- /* Begin: Pagination styling */
5
- /**************************************************************************************************/
6
-
7
- div .brownFilterResultsBox {
8
- text-align: right;
9
- }
10
-
11
- /* Div that pagination elements are contained in */
12
- div .pagination {
13
- padding: 3px 3px 3px 15px;
14
- margin: 3px;
15
- display: inline;
16
- }
17
-
18
- /* Next and/or previous links (whichever are active) and any active page links */
19
- div .pagination a {
20
- border: 2px solid #CECCB6;
21
- color: #948A63;
22
- padding: 0 8px;
23
- margin: 0;
24
- text-decoration: none;
25
- }
26
-
27
- /* Current page */
28
- div .pagination em {
29
- background-color: #94794E;
30
- border: 2px solid #8C6B3E;
31
- color: #FFFFFF;
32
- padding: 0 8px;
33
- margin: 0;
34
- text-decoration: none;
35
- font-style: normal;
36
- }
37
-
38
- /* Either next/previous if disabled */
39
- div .pagination span.disabled {
40
- background: url("../images/common/pagination_bg_dis.gif") repeat-x scroll center top transparent;
41
- border: 1px solid #E7E7E7;
42
- color: #A8A8A8;
43
- padding: 0 8px;
44
- }
45
-
46
- div .pagination a:hover,
47
- div .pagination a:active {
48
- border: 2px solid #333333;
49
- }
50
-
51
- /**************************************************************************************************/
52
- /* End: Pagination styling */
53
- /**************************************************************************************************/