alphabetic_paginate 0.0.9 → 0.0.10
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.
- checksums.yaml +8 -8
- data/lib/alphabetic_paginate/version.rb +1 -1
- data/lib/alphabetic_paginate.rb +13 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
MDZhMmY2MzdjNTllMWZlYmUzODEwZTMyMmU3YWQ1N2Q5NTI2ZDA4Ng==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
NGNlMzViM2FiZTBmODQ1N2NkMzdmNDczYzY4NzczMzNlNzViNzZmMA==
|
|
7
7
|
!binary "U0hBNTEy":
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
NzE4NzY4ZmQ5NzdkNTdiYzEwMjc5ZDA0YTAwYzc2OTM0ODZjOGY5ZTQyNjdh
|
|
10
|
+
ODQ4MjM4NTRkZjViYWI5ZTE3MGFjNGM5NGVjMDA0ZTk1ZDM1NmQ1OTIxNTY0
|
|
11
|
+
OWU2MTc5ZGIyZDZhODRhY2MwMjUyNTFhNzU5NTJlOTljMDI4Yjk=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
MDAyMGExYWExM2YzMjA4Y2FmNmQ3Mjc0MWMyMTNkMTYyOWFlOWMzNTRhNjk2
|
|
14
|
+
MzVhMDU5ZDc2ZWYzMGI0MmJjM2RjNDQ2YWE3NDhkNzMxNTcxZGI0NTNhYTg0
|
|
15
|
+
YmVjOGZmMzczNWEyMThmNTBkOWQ2NGViOTQxYzFhODk5NzZjOWY=
|
data/lib/alphabetic_paginate.rb
CHANGED
|
@@ -3,6 +3,19 @@ require "alphabetic_paginate/version"
|
|
|
3
3
|
module Alphabetic_paginate
|
|
4
4
|
module Rails
|
|
5
5
|
class Engine < Rails::Engine
|
|
6
|
+
add_paths_block = lambda { |app|
|
|
7
|
+
app.config.assets.paths << File.expand_path("../app/assets/javascripts", __FILE__)
|
|
8
|
+
|
|
9
|
+
# Ensure Zepto and Modernizr are precompiled in production
|
|
10
|
+
# app.configassets.precompile += %w(vendor/zepto.js vendor/custom.modernizr.js)
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
# Standard initializer
|
|
14
|
+
initializer 'alphabetic_paginate.update_asset_paths', &add_paths_block
|
|
15
|
+
|
|
16
|
+
# Special initializer lets us precompile assets without fully initializing
|
|
17
|
+
initializer 'alphabetic_paginate.update_asset_paths', :group => :assets,
|
|
18
|
+
&add_paths_block
|
|
6
19
|
end
|
|
7
20
|
end
|
|
8
21
|
end
|