towsta 0.2.7 → 0.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,3 @@
1
1
  module Towsta
2
- VERSION = "0.2.7"
2
+ VERSION = "0.2.8"
3
3
  end
@@ -64,6 +64,12 @@ module Towsta
64
64
  element
65
65
  end
66
66
 
67
+ def self.to_hash
68
+ hashes = []
69
+ self.all.each {|hash| hashes << hash.attributes}
70
+ hashes
71
+ end
72
+
67
73
  def save creator=$towsta_default_author
68
74
  export = self.attributes
69
75
  export.delete :author
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 7
9
- version: 0.2.7
8
+ - 8
9
+ version: 0.2.8
10
10
  platform: ruby
11
11
  authors:
12
12
  - Mortaro
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-03-17 00:00:00 -03:00
17
+ date: 2011-03-18 00:00:00 -03:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency