infopark_rails_connector_meta 1.7.1 → 1.7.2
Sign up to get free protection for your applications and to get access to all the features.
- data/app/models/rails_connector/abstract_model.rb +7 -0
- data/app/models/rails_connector/attribute.rb +1 -1
- data/app/models/rails_connector/blob_mapping.rb +1 -1
- data/app/models/rails_connector/channel.rb +1 -1
- data/app/models/rails_connector/content.rb +1 -1
- data/app/models/rails_connector/obj_class.rb +1 -1
- data/app/models/rails_connector/object_with_meta_data.rb +1 -1
- data/lib/meta/version.rb +1 -1
- metadata +5 -4
@@ -5,7 +5,7 @@ module RailsConnector
|
|
5
5
|
# text? are created by meta programming have no documentation of their own.
|
6
6
|
# Warning: Dependent on the setup of your DB replication, most tables
|
7
7
|
# with meta information will not be available on your live system!
|
8
|
-
class Attribute < RailsConnector::
|
8
|
+
class Attribute < RailsConnector::AbstractModel
|
9
9
|
|
10
10
|
# The possible types of an attribute.
|
11
11
|
TYPES = %w{date enum html linklist markdown multienum string text}
|
@@ -5,7 +5,7 @@ module RailsConnector
|
|
5
5
|
# mandatory attributes and titles of an Obj.
|
6
6
|
# Warning: Dependent on the setup of your DB replication, most tables
|
7
7
|
# with meta information will not be available on your live system!
|
8
|
-
class ObjClass < RailsConnector::
|
8
|
+
class ObjClass < RailsConnector::AbstractModel
|
9
9
|
|
10
10
|
self.primary_key = :obj_class_id
|
11
11
|
|
@@ -3,7 +3,7 @@ module RailsConnector
|
|
3
3
|
|
4
4
|
# This class allows us to read out the version and
|
5
5
|
# the reminder information of an Obj
|
6
|
-
class ObjectWithMetaData < RailsConnector::
|
6
|
+
class ObjectWithMetaData < RailsConnector::AbstractModel #:nodoc:
|
7
7
|
|
8
8
|
# If we name the class Object, conflicts with the plain Ruby
|
9
9
|
# objects inside the RailsConnector will occur.
|
data/lib/meta/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: infopark_rails_connector_meta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 15
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 7
|
9
|
-
-
|
10
|
-
version: 1.7.
|
9
|
+
- 2
|
10
|
+
version: 1.7.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Tomasz Przedmojski
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2013-03-
|
18
|
+
date: 2013-03-14 00:00:00 +01:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -106,6 +106,7 @@ files:
|
|
106
106
|
- Gemfile
|
107
107
|
- LICENSE
|
108
108
|
- Rakefile
|
109
|
+
- app/models/rails_connector/abstract_model.rb
|
109
110
|
- app/models/rails_connector/abstract_obj.rb
|
110
111
|
- app/models/rails_connector/attribute.rb
|
111
112
|
- app/models/rails_connector/blob_mapping.rb
|