restpack-web 0.2.4 → 0.2.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -10,7 +10,7 @@ module RestPack
10
10
  options[:core_domain] ||= ENV['RESTPACK_CORE_SERVICE']
11
11
  options[:access_key] ||= ENV['RESTPACK_ACCESS_KEY']
12
12
 
13
- raise "missing configuration" unless options[:core_domain] || options[:access_key]
13
+ raise "missing RestPack configuration" unless options[:core_domain] || options[:access_key]
14
14
 
15
15
  @core_cache = RestPack::Core::Client::Cache.create(options[:core_domain], options[:access_key])
16
16
  end
@@ -21,7 +21,7 @@ module RestPack
21
21
  end
22
22
 
23
23
  def is_authenticated?
24
- @user.present?
24
+ !@user.nil?
25
25
  end
26
26
 
27
27
  def get_service(name)
@@ -1,5 +1,5 @@
1
1
  module RestPack
2
2
  module Web
3
- VERSION = "0.2.4"
3
+ VERSION = "0.2.5"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: restpack-web
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: