caboose-cms 0.5.222 → 0.5.223

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
- ZjliZDRiZWU1NmE4ODhhNDgwZDA0YWJiMjQ5MjgwMjIwNDM1YzkwMg==
4
+ MDI5NzhlMmZhNjM3ZGJkZWVmOGM0NzNhNTUyMWQ0M2UzYjQ3YmYyZA==
5
5
  data.tar.gz: !binary |-
6
- NzdiN2ZkZjIxMjdlZGQzM2ViMzE1MGE5ODFhNjBjODBlMmViMTVlZA==
6
+ MDEwMDQ4YjMzMzU4N2I0YTkyZWYzYWQ2ZmMwZDZiNmI4NzM2Njg4OQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NDcxZDdkMGQyNDZiYTZjZDFhZjkxOTYwNGZiYjgwODI1NWE4OGIyN2YwOTIz
10
- YzNjMTM4YTA2MzVhN2Q2MWZlZWQ4Y2VlZjkyMjA4NDk5MGZjMjdmMTRjYTVh
11
- ODA3NmQ0YWU2NWQ4ZGJlNjMyOGUxMTVlMzNhMDM0YWMwMmQ3YjM=
9
+ MTVmYTIwNDE4YjVjZGE1OTU5Mjc0MWVjZjQ2ZjJjMDRkZGNjYTQ5YTM5ZDMx
10
+ ZmJiNjllN2YyMmFkNDQyMTE1MDliZDU0NTkyNDVlODVjOTczZWE5ZGFjYzUw
11
+ MTExNmM1YzY3MTg0YTFlNTU1ZTViNmIwNWM0YzM0YjRhMjIxMWI=
12
12
  data.tar.gz: !binary |-
13
- NDRhMWIyYzEwMTAyMjY0N2I4YTE5MzEzMTE5NjE2OWJiYWQ2YmFiNmVlNGFk
14
- OWM3MzcyODg2ZjkzMzIwNmIyN2I0NGYwNjI3ZWI3YzcwMDczMTMyMDVjZjMx
15
- MDQyOGM1ZmEyZGFjYWM2MjE3ZGM1NTRkY2UzYjZhNDUxYTBhMTg=
13
+ MjZmNGQzMWUyYmFlNThlMjczNjQ2N2JiNzNiZTIyMTM3Y2VlNTljYmRhNzU5
14
+ NWEwZTcwNDJkNzE1MWFjNGE3MTMyMDJkNmU5ZTRhMTBiOTBmODQxODY1MDEw
15
+ YmUyOWQ3MTIwMDU2NjRlNDU5MTQ5YWZjODFkZWUyMzJlMzIxY2U=
@@ -10,8 +10,10 @@ module Caboose
10
10
 
11
11
  # POST /admin/sns
12
12
  def admin_add
13
- body = JSON.parse(request.raw_post, {symbolize_names: true})
14
- if body[:Subject] == 'Amazon S3 Notification'
13
+ body = JSON.parse(request.raw_post, {symbolize_names: true})
14
+ if body[:Type] && body[:Type] == "SubscriptionConfirmation"
15
+ Caboose.log("SNS Subscription SubscribeURL\n#{body[:SubscribeURL]}")
16
+ elsif body[:Subject] == 'Amazon S3 Notification'
15
17
  msg = JSON.parse(body[:Message])
16
18
  if msg['Records']
17
19
  msg['Records'].each do |r|
@@ -1,8 +1,6 @@
1
1
 
2
2
  <h1>Media</h1>
3
3
 
4
- <p><a href='http://d9hjv462jiw15.cloudfront.net/media-images/22_tiny.jpg?1435603149'>Download</a></p>
5
-
6
4
  <div id='left_content'>
7
5
  <div id='categories'></div>
8
6
  <div id='controls'></div>
@@ -1,3 +1,3 @@
1
1
  module Caboose
2
- VERSION = '0.5.222'
2
+ VERSION = '0.5.223'
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.222
4
+ version: 0.5.223
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry