cameraman 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module Cameraman
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -19,5 +19,13 @@ module Cameraman
19
19
  @item.class.to_s.split('::').last
20
20
  end
21
21
 
22
+ def id
23
+ @item.id
24
+ end
25
+
26
+ def to_s
27
+ '{"id":"'+id+'","source":"'+source+'"}'
28
+ end
29
+
22
30
  end
23
31
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 1
9
- version: 0.0.1
8
+ - 2
9
+ version: 0.0.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Christian Mortaro
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-11-26 00:00:00 -02:00
17
+ date: 2011-11-27 00:00:00 -02:00
18
18
  default_executable:
19
19
  dependencies: []
20
20