orange 0.3.7 → 0.3.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -60,6 +60,7 @@ module Orange
60
60
 
61
61
 
62
62
  def paid?(packet, member)
63
+ return true unless options[:spreedly_key]
63
64
  unless member.is_a? model_class
64
65
  member = model_class.get(member)
65
66
  end
@@ -68,6 +69,7 @@ module Orange
68
69
  end
69
70
 
70
71
  def subscription_url(packet, member)
72
+ return "" unless options[:spreedly_key]
71
73
  unless member.is_a? model_class
72
74
  member = model_class.get(member)
73
75
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 3
8
- - 7
9
- version: 0.3.7
8
+ - 8
9
+ version: 0.3.8
10
10
  platform: ruby
11
11
  authors:
12
12
  - David Haslem