caboose-cms 0.5.19 → 0.5.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/caboose/engine.rb +11 -16
- data/lib/caboose/version.rb +1 -1
- metadata +1 -2
- data/app/views/caboose/sites/#Untitled-1# +0 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MzA2NTkxMGUyNmUwZDM4MjFlYjgzZmQwZTQ2NWI0NGVlN2I0NGQwOA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZWFmOGRkNTVmYTg1ZGE3YWZiZTExMGExMDYxYmQ5M2JhODc1NjNhZg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MDMwYjU3YTAyMjlkNjljZGQ5ZmY0OTk4NDBkZDdhYmI0ZDU2MTExZmVlODM5
|
10
|
+
YTI2Y2IyYjc3NmUwYmFhMTU5NDkyOTVkN2EwYzlhNTcxMzlkNjA2OWVlZDc4
|
11
|
+
ZTE5NjY4YmM3OWZlNzhmZGVmZmE5MjdjMzBjOTc1ZmQxZmE5MTI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YzBhYWY2MzBmOTBhODUwYzkzMjU2MjY3NzUwYzc4NzQxOTUxYzMxMTAxNTVl
|
14
|
+
MjNjMjY3MjAzMDgwNzVhMjBhNmFhZTM1MmM5YTIxMTU4NTFlNmE3NjY2MGRj
|
15
|
+
MjVkYjg3YWVkMjc5Y2NkZGM2M2E3ZGJjY2M4OGNlNmI5YTJmZjA=
|
data/lib/caboose/engine.rb
CHANGED
@@ -18,22 +18,17 @@ end
|
|
18
18
|
module Caboose
|
19
19
|
|
20
20
|
def Caboose.log(message, title = nil)
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
puts "\n>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
|
34
|
-
puts title.to_s unless title.nil?
|
35
|
-
puts message
|
36
|
-
puts ">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>\n"
|
21
|
+
if (Rails.logger.nil?)
|
22
|
+
puts "\n>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
|
23
|
+
puts title.to_s unless title.nil?
|
24
|
+
puts message
|
25
|
+
puts ">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>\n"
|
26
|
+
else
|
27
|
+
Rails.logger.info("\n>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>")
|
28
|
+
Rails.logger.info(title.to_s) unless title.nil?
|
29
|
+
Rails.logger.info(message)
|
30
|
+
Rails.logger.info(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>\n")
|
31
|
+
end
|
37
32
|
end
|
38
33
|
|
39
34
|
def Caboose.plugin_hook(*args)
|
data/lib/caboose/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: caboose-cms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.20
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- William Barry
|
@@ -663,7 +663,6 @@ files:
|
|
663
663
|
- app/views/caboose/settings/edit.html.erb
|
664
664
|
- app/views/caboose/settings/index.html.erb
|
665
665
|
- app/views/caboose/settings/new.html.erb
|
666
|
-
- app/views/caboose/sites/#Untitled-1#
|
667
666
|
- app/views/caboose/sites/_admin_footer.html.erb
|
668
667
|
- app/views/caboose/sites/_admin_header.html.erb
|
669
668
|
- app/views/caboose/sites/admin_delete_form.html.erb
|
@@ -1 +0,0 @@
|
|
1
|
-
/usr/local/rvm/gems/ruby-1.9.3-p547/bin:/usr/local/rvm/gems/ruby-1.9.3-p547@global/bin:/usr/local/rvm/rubies/ruby-1.9.3-p547/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/usr/local/rvm/bin
|