caboose-cms 0.5.187 → 0.5.188

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
- YjZkZTQxZjA1MDMyYjdjY2Y1MGVjYjU2ZGY5ZjdjNjM4ODAxZWZjOQ==
4
+ OGVkMDMxZGNmMjZjYzJhNjVjODI0ODU3OTBmOWEwNWNlNzMyOGQ0Mg==
5
5
  data.tar.gz: !binary |-
6
- MzkzOWYyOWEwMmRlNzRhOTJiMDU1MDg2ODZjZmM4ZTAwYzY0OGI3Zg==
6
+ NmViZjE5NzQzODgwMWQzY2Q1ZTFhYzVmNGMzZmRjMzI5OWE4Y2RjOQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MmVhNThmZDcxYTE3NTFkNGMxOTE0NTNlYmRhZWM1YTJlZWI2ZTQ5OTBhYTUw
10
- MTlkY2M4MWUwNGJiNzFlNzc4MzdlM2MwMDM0Zjk5YWNlMGMwNDQyYjIyZTM4
11
- YWUxMDA0Yzk3NjQ1ZDAyZWJlOGQ3YTYyODQwOWVlN2JjODEyM2U=
9
+ YmIzMmM5ZDE0ZTQ3M2E5ZmYyYTJhMTVjMTc5ZTBmZDg1NzJjYjgyYmQ1YWVm
10
+ ZjkzNTc0Mzg5MGYzOTRmZDJhNTU2NzExOTJhOTRhZjJkZDNhODQ3YzI4Mjhh
11
+ YjIzNDk4N2NjY2VhMzNmOWM3NWVkYTQ3NDU1YjYzOWUyY2U5ZjU=
12
12
  data.tar.gz: !binary |-
13
- YTAwNGJmZTI2N2U5ZWIxYjk4ZjlkYmRjN2I0MTAyYzU4YjkyMjZkYTU2YmNi
14
- YTIzMmFjYmNlOGNiYTE3YWY4NDZiMjBjOWQ3ZjVjYjc2Y2IyMzc4OThlYzkx
15
- ZTk1YmEyNTI2ZmIxZjc2NDE5M2MwOTZlMDYwZGU2YjMzMTI2NWM=
13
+ MDNiNzg5MjE0ZmY3NTViZmJiYWJhZmFiYjQ5NmZjZGJjNjYxZTM1NTBjZmM4
14
+ MWY3ODUwNDEyYTZlY2U2ZDg2ZjczZDhkMzFkMjFmMDFlMWFlNmM1NGYwZDUx
15
+ NDU0YTcwMTI4ODUwZTE2YzVkMTgyYTkyMDEwYmU5OTg3N2ViNGI=
@@ -3,7 +3,7 @@ module Caboose
3
3
 
4
4
  # GET /my-account/orders/:order_id/line-items
5
5
  def index
6
- return if !logged_in?
6
+ return if !verify_logged_in
7
7
  @order = Order.find(params[:order_id])
8
8
  if @order.customer_id != logged_in_user.id
9
9
  @error = "The given order does not belong to you."
@@ -14,7 +14,7 @@ module Caboose
14
14
 
15
15
  # GET /my-account/orders/:order_id/line-items/:id
16
16
  def edit
17
- return if !logged_in?
17
+ return if !verify_logged_in
18
18
 
19
19
  @order = Order.find(params[:order_id])
20
20
  @line_item = LineItem.find(params[:id])
@@ -27,7 +27,7 @@ module Caboose
27
27
 
28
28
  # GET /my-account/orders/:order_id/line-items/:id/download
29
29
  def download
30
- return if !logged_in?
30
+ return if !verify_logged_in
31
31
 
32
32
  order = Order.find(params[:order_id])
33
33
  if order.customer_id != logged_in_user.id
@@ -35,7 +35,7 @@ module Caboose
35
35
  render :file => 'caboose/extras/error'
36
36
  return
37
37
  end
38
-
38
+
39
39
  li = LineItem.find(params[:id])
40
40
  if !li.variant.downloadable
41
41
  render :text => "Not a downloadable file."
@@ -1,3 +1,3 @@
1
1
  module Caboose
2
- VERSION = '0.5.187'
2
+ VERSION = '0.5.188'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caboose-cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.187
4
+ version: 0.5.188
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-27 00:00:00.000000000 Z
11
+ date: 2015-03-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pg