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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NmE2NTE5MDFhZWNmNTI5Y2JjMzk4MzFhOGMzYWQwMWRlMjc1OThkNQ==
4
+ MzA2NTkxMGUyNmUwZDM4MjFlYjgzZmQwZTQ2NWI0NGVlN2I0NGQwOA==
5
5
  data.tar.gz: !binary |-
6
- OGJjYWQ3NjE2MmQyYzA2YjYwZGJmMjhmNDc2NjRkY2FkMDEyODA1Yw==
6
+ ZWFmOGRkNTVmYTg1ZGE3YWZiZTExMGExMDYxYmQ5M2JhODc1NjNhZg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ODAwZWQ5MjNlZmRmNWZiNzM4NTIyMDJhNTIwOTA2ZDY4OWQ2N2JiMDU0ODY5
10
- M2U0ZDRmYzhjZjdmNTdmYjU0ZDU0NmViM2Y1ODhkZjk4YmZlYTFlYTU3YmMz
11
- NTM5ZDgxNTc5M2ZhNTJlNzRmMjA4OTdhNjk0OTE5ZTQ2OGIxYjQ=
9
+ MDMwYjU3YTAyMjlkNjljZGQ5ZmY0OTk4NDBkZDdhYmI0ZDU2MTExZmVlODM5
10
+ YTI2Y2IyYjc3NmUwYmFhMTU5NDkyOTVkN2EwYzlhNTcxMzlkNjA2OWVlZDc4
11
+ ZTE5NjY4YmM3OWZlNzhmZGVmZmE5MjdjMzBjOTc1ZmQxZmE5MTI=
12
12
  data.tar.gz: !binary |-
13
- NDg4NmFiY2ViNWVmZGRjZTU2NWM5MzNkNTk0OTY4MTk2OTdjMmVkZmUxMjRi
14
- MWUxNDBmNzcwNGM1YWUyMGJmMDNjM2JiZjAxYjE3ODA2ZDgzYTliMDZjZGFm
15
- NTAxODZhYjU0MzhhNjlmZDJkODVmYTM1ODI5ODNlYTcyMGM3NjU=
13
+ YzBhYWY2MzBmOTBhODUwYzkzMjU2MjY3NzUwYzc4NzQxOTUxYzMxMTAxNTVl
14
+ MjNjMjY3MjAzMDgwNzVhMjBhNmFhZTM1MmM5YTIxMTU4NTFlNmE3NjY2MGRj
15
+ MjVkYjg3YWVkMjc5Y2NkZGM2M2E3ZGJjY2M4OGNlNmI5YTJmZjA=
@@ -18,22 +18,17 @@ end
18
18
  module Caboose
19
19
 
20
20
  def Caboose.log(message, title = nil)
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.debug("\n>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>")
28
- # Rails.logger.debug(title.to_s) unless title.nil?
29
- # Rails.logger.debug(message)
30
- # Rails.logger.debug(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>\n")
31
- #end
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)
@@ -1,3 +1,3 @@
1
1
  module Caboose
2
- VERSION = '0.5.19'
2
+ VERSION = '0.5.20'
3
3
  end
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.19
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