snippr 0.15.11 → 0.15.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/snippr/railtie.rb +4 -5
- data/snippr.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YTRlNGI2NWQwZGQwNTUyYTcxMjllY2VlYjUwYzVmYzVmN2EzMjUzZg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZTk1YzZiYTU1NDE3NjBhOTc3OGI2NWMwNDQ2NDY5MmJjNzBkNWIwZg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NmNmODYzZDQ0NjI3Y2ZkYzgwZjg2YTVmNTBlYTlkYmYyOGFkYTc2YzUzMWI5
|
10
|
+
ODcwNTNmNjU1YzkyMzc5ZGMzNmIyYWYyN2QxYWUzNjA1MzNkOTRiYmE4ZGZj
|
11
|
+
NjRmYjBkMmJmODMyNGYyZTNhMjg5ZDk3MzkwMDQ2OWM4OWEwMDU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MGM2MzEyMmVlYzc3YzFkODk0YWExYjg5MTNjMjQwNjM5YWE3ODg2MDNmMDNh
|
14
|
+
NmQxN2VlYzUzYzlmZWM0NWVhNDU4MGFiNDNlOWVjNTNhYTNlYzFlZjA1Y2U5
|
15
|
+
ODkzOTlmNWU3M2ZkOGQ3ZDM4N2ZhZjAyMjFlMTVjM2Q0MzY4NmQ=
|
data/lib/snippr/railtie.rb
CHANGED
@@ -7,6 +7,10 @@ module Snippr
|
|
7
7
|
config.before_configuration do |app|
|
8
8
|
app.config.paths["app/helpers"] << File.expand_path("../../app/helpers", __FILE__)
|
9
9
|
app.config.paths["app/views"] << File.expand_path("../../app/views", __FILE__)
|
10
|
+
app.config.paths["app/assets"] << File.expand_path("../../app/assets", __FILE__)
|
11
|
+
|
12
|
+
app.config.assets.precompile << "snippr_tardis/snippr_tardis.css"
|
13
|
+
app.config.assets.precompile << "snippr_tardis/snippr_tardis.js"
|
10
14
|
end
|
11
15
|
|
12
16
|
initializer :setup_snippr, :group => :all do |app|
|
@@ -19,11 +23,6 @@ module Snippr
|
|
19
23
|
|
20
24
|
if Snippr.tardis_enabled
|
21
25
|
require "snippr/rails/controller_extension"
|
22
|
-
|
23
|
-
app.config.paths["app/assets"] << File.expand_path("../../app/assets", __FILE__)
|
24
|
-
app.config.assets.precompile << "snippr_tardis/snippr_tardis.css"
|
25
|
-
app.config.assets.precompile << "snippr_tardis/snippr_tardis.js"
|
26
|
-
|
27
26
|
ActionController::Base.send(:include, Snippr::Rails::ControllerExtension)
|
28
27
|
ActionController::Base.send(:prepend_before_filter, :activate_snippr_tardis)
|
29
28
|
end
|
data/snippr.gemspec
CHANGED