imaginable 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -14,8 +14,8 @@ module Imaginable
14
14
  self._imaginable_settings.update(options) if options.is_a?(Hash)
15
15
 
16
16
  define_method "has_#{column}?" do
17
- uuid = self.method("#{column}_uuid").call
18
- token = self.method("#{column}_token").call
17
+ uuid = self["#{column}_uuid"]
18
+ token = self["#{column}_token"]
19
19
 
20
20
  return false unless uuid && token
21
21
 
@@ -23,9 +23,9 @@ module Imaginable
23
23
  end
24
24
 
25
25
  define_method column do
26
- uuid = self.method("#{column}_uuid").call
27
- token = self.method("#{column}_token").call
28
- version = self.method("#{column}_version").call
26
+ uuid = self["#{column}_uuid"]
27
+ token = self["#{column}_token"]
28
+ version = self["#{column}_version"]
29
29
  Image.new(uuid, token, version)
30
30
  end
31
31
 
@@ -1,3 +1,3 @@
1
1
  module Imaginable
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: imaginable
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 29
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 2
10
- version: 0.1.2
9
+ - 3
10
+ version: 0.1.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Thomas Dippel
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-04-12 00:00:00 +02:00
18
+ date: 2011-04-13 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency