acts_as_serializable 0.2.0 → 0.2.1
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.
- data/VERSION +1 -1
- data/acts_as_serializable.gemspec +2 -2
- data/lib/acts_as_serializable.rb +0 -1
- metadata +4 -4
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.2.
|
|
1
|
+
0.2.1
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{acts_as_serializable}
|
|
8
|
-
s.version = "0.2.
|
|
8
|
+
s.version = "0.2.1"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Birkir A. Barkarson"]
|
|
12
|
-
s.date = %q{2011-09-
|
|
12
|
+
s.date = %q{2011-09-21}
|
|
13
13
|
s.description = %q{Easy versioning of serialization methods}
|
|
14
14
|
s.email = %q{birkirb@stoicviking.net}
|
|
15
15
|
s.extra_rdoc_files = [
|
data/lib/acts_as_serializable.rb
CHANGED
|
@@ -44,7 +44,6 @@ module Serializable
|
|
|
44
44
|
def find_project_serialization_classes(project_path)
|
|
45
45
|
klass_name = self.name
|
|
46
46
|
serialization_directory = File.expand_path(File.join(project_path, 'serializations', klass_name.underscore))
|
|
47
|
-
puts serialization_directory.inspect
|
|
48
47
|
if File.exist?(serialization_directory)
|
|
49
48
|
Find.find(serialization_directory) do |path|
|
|
50
49
|
if File.file?(path) && versioned_klass = path.match(SERIALIZED_CLASS_NAME_REGEXP)
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: acts_as_serializable
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 21
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 2
|
|
9
|
-
-
|
|
10
|
-
version: 0.2.
|
|
9
|
+
- 1
|
|
10
|
+
version: 0.2.1
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Birkir A. Barkarson
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2011-09-
|
|
18
|
+
date: 2011-09-21 00:00:00 +09:00
|
|
19
19
|
default_executable:
|
|
20
20
|
dependencies:
|
|
21
21
|
- !ruby/object:Gem::Dependency
|