infopark_fiona_connector 6.9.4 → 7.0.1.5.2.3.rc4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/app/assets/images/admin/minus.gif +0 -0
- data/app/assets/images/bg80.png +0 -0
- data/app/assets/images/edit.png +0 -0
- data/app/assets/images/icons/mm_generic.png +0 -0
- data/app/assets/images/icons/mm_menu.png +0 -0
- data/app/assets/javascripts/editmarker.js +240 -0
- data/app/assets/javascripts/infopark_rails_connector.js.erb +0 -0
- data/app/assets/stylesheets/editmarker.css +70 -0
- data/app/assets/stylesheets/infopark_rails_connector.css.erb +0 -0
- data/app/controllers/cms_controller.rb +7 -0
- data/app/controllers/rails_connector/default_cms_controller.rb +43 -0
- data/app/helpers/cms_helper.rb +7 -0
- data/app/helpers/cms_routing_helper.rb +7 -0
- data/app/helpers/rails_connector/cms_asset_helper.rb +2 -1
- data/app/helpers/rails_connector/default_cms_helper.rb +23 -0
- data/app/helpers/rails_connector/default_cms_routing_helper.rb +120 -0
- data/app/helpers/rails_connector/display_helper.rb +5 -5
- data/app/helpers/rails_connector/layout_helper.rb +29 -0
- data/app/helpers/rails_connector/marker_helper.rb +1 -3
- data/app/helpers/rails_connector/table_of_contents_helper.rb +22 -0
- data/app/models/named_link.rb +2 -0
- data/app/views/cms/_index.html.erb +7 -0
- data/app/views/cms/index.html.erb +1 -0
- data/app/views/errors/403_forbidden.html.erb +3 -0
- data/app/views/errors/410_gone.html.erb +7 -0
- data/config/cms_routes.rb +17 -0
- data/config/locales/de.rails_connector.errors.yml +11 -0
- data/config/locales/de.rails_connector.lib.yml +6 -0
- data/config/locales/de.rails_connector.views.yml +9 -0
- data/config/locales/en.rails_connector.errors.yml +10 -0
- data/config/locales/en.rails_connector.lib.yml +6 -0
- data/config/locales/en.rails_connector.views.yml +9 -0
- data/lib/gem_dependencies.rb +67 -0
- data/lib/infopark_fiona_connector.rb +26 -3
- data/lib/meta_eager_loader.rb +1 -0
- data/lib/obj.rb +3 -0
- data/lib/rails_connector/attr_dict.rb +31 -16
- data/lib/rails_connector/attribute.rb +96 -0
- data/lib/rails_connector/authenticable.rb +30 -0
- data/lib/rails_connector/basic_obj.rb +82 -95
- data/lib/rails_connector/blob.rb +14 -6
- data/lib/rails_connector/blob_mapping.rb +16 -0
- data/lib/rails_connector/blob_mysql.rb +1 -1
- data/lib/rails_connector/blob_oracle.rb +1 -1
- data/lib/rails_connector/channel.rb +19 -0
- data/lib/rails_connector/cms_accessible.rb +112 -0
- data/lib/rails_connector/cms_base_model.rb +9 -0
- data/lib/rails_connector/cms_dispatch_controller.rb +46 -0
- data/lib/rails_connector/cms_env.rb +68 -0
- data/lib/rails_connector/cms_test_request.rb +8 -0
- data/lib/rails_connector/configuration.rb +3 -1
- data/lib/rails_connector/content.rb +11 -0
- data/lib/rails_connector/core_extensions.rb +1 -0
- data/lib/rails_connector/core_extensions/time.rb +18 -0
- data/lib/rails_connector/date_attribute.rb +1 -1
- data/lib/rails_connector/engine.rb +68 -0
- data/lib/rails_connector/fiona_datetime.rb +14 -0
- data/lib/rails_connector/html_string.rb +19 -0
- data/lib/rails_connector/job.rb +13 -0
- data/lib/rails_connector/link_list.rb +32 -0
- data/lib/rails_connector/link_resolvable.rb +9 -0
- data/lib/rails_connector/markdown_string.rb +19 -0
- data/lib/rails_connector/meta.rb +148 -0
- data/lib/rails_connector/meta/eager_loader.rb +82 -0
- data/lib/rails_connector/named_link.rb +16 -1
- data/lib/rails_connector/news.rb +7 -3
- data/lib/rails_connector/obj_class.rb +140 -0
- data/lib/rails_connector/obj_class_attr.rb +5 -0
- data/lib/rails_connector/object_with_meta_data.rb +18 -0
- data/lib/rails_connector/rack_middlewares.rb +1 -2
- data/lib/rails_connector/string_tagging.rb +29 -0
- data/lib/version.rb +7 -0
- metadata +168 -42
- data/README +0 -5
@@ -0,0 +1,82 @@
|
|
1
|
+
# -*- encoding : utf-8 -*-
|
2
|
+
require 'singleton'
|
3
|
+
require 'set'
|
4
|
+
|
5
|
+
module RailsConnector
|
6
|
+
module Meta
|
7
|
+
class EagerLoader
|
8
|
+
include Singleton
|
9
|
+
attr_reader :obj_classes
|
10
|
+
|
11
|
+
def initialize
|
12
|
+
# Rails.logger.debug "EagerLoader: I am eager to start working"
|
13
|
+
@obj_classes = {}
|
14
|
+
RailsConnector::ObjClass.includes(:custom_attributes_raw).all.each do |obj_class|
|
15
|
+
@obj_classes[obj_class.name] = obj_class if obj_class
|
16
|
+
end
|
17
|
+
preload_attribute_blobs
|
18
|
+
end
|
19
|
+
|
20
|
+
def obj_class(name)
|
21
|
+
name = name.to_s
|
22
|
+
if !@obj_classes.fetch(name, nil).nil?
|
23
|
+
@obj_classes[name]
|
24
|
+
else
|
25
|
+
# TODO: preload_attribute_blobs for obj_class
|
26
|
+
@obj_classes[name] ||= RailsConnector::ObjClass.find_by_obj_class_name(name)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
def forget_obj_class(name)
|
31
|
+
@obj_classes.delete(name.to_s)
|
32
|
+
end
|
33
|
+
|
34
|
+
protected
|
35
|
+
def preload_attribute_blobs
|
36
|
+
attribute_names = Set.new
|
37
|
+
@obj_classes.each do |_, obj_class|
|
38
|
+
obj_class.custom_attributes.each do |attribute_name, _|
|
39
|
+
attribute_names << attribute_name
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
43
|
+
blob_names = attribute_names.map {|attribute_name| "#{attribute_name}.jsonAttributeDict" }
|
44
|
+
# Fiona >= 6.8
|
45
|
+
if RailsConnector::BlobMapping.exists?
|
46
|
+
blob_names = attribute_names.map {|attribute_name| "#{attribute_name}.jsonAttributeDict" }
|
47
|
+
fingerprint_map = RailsConnector::BlobMapping.get_fingerprint_map(blob_names)
|
48
|
+
blob_fingerprints = fingerprint_map.values
|
49
|
+
# NOTE: this is correct!
|
50
|
+
blobs = RailsConnector::Blob.where(:blob_name => blob_fingerprints).to_a
|
51
|
+
blob_map = Hash[blobs.map {|b| [b.blob_name, b]}]
|
52
|
+
|
53
|
+
@obj_classes.each do |_, obj_class|
|
54
|
+
obj_class.custom_attributes.each do |_, attribute|
|
55
|
+
blob_name = "#{attribute.name}.jsonAttributeDict"
|
56
|
+
fingerprint = fingerprint_map[blob_name]
|
57
|
+
blob = blob_map[fingerprint]
|
58
|
+
|
59
|
+
next unless blob && blob.blob_data?
|
60
|
+
attribute.instance_variable_set(:@blob_data, ::JSON.parse(blob.blob_data))
|
61
|
+
end
|
62
|
+
end
|
63
|
+
# Fiona = 6.7
|
64
|
+
else
|
65
|
+
blob_names = attribute_names.map {|attribute_name| "#{attribute_name}.jsonAttributeDict" }
|
66
|
+
blobs = RailsConnector::Blob.where(:blob_name => blob_names).to_a
|
67
|
+
blob_map = Hash[blobs.map {|b| [b.blob_name, b]}]
|
68
|
+
|
69
|
+
@obj_classes.each do |_, obj_class|
|
70
|
+
obj_class.custom_attributes.each do |_, attribute|
|
71
|
+
blob_name = "#{attribute.name}.jsonAttributeDict"
|
72
|
+
blob = blob_map[blob_name]
|
73
|
+
|
74
|
+
next unless blob && blob.blob_data?
|
75
|
+
attribute.instance_variable_set(:@blob_data, ::JSON.parse(blob.blob_data))
|
76
|
+
end
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
80
|
+
end
|
81
|
+
end
|
82
|
+
end
|
@@ -5,6 +5,8 @@ module RailsConnector
|
|
5
5
|
# @api public
|
6
6
|
class NamedLink
|
7
7
|
|
8
|
+
LINKLIST_NAME = 'related_links'
|
9
|
+
|
8
10
|
# @api public
|
9
11
|
class NotFound < StandardError
|
10
12
|
end
|
@@ -18,7 +20,20 @@ module RailsConnector
|
|
18
20
|
def self.generate_named_links_cache
|
19
21
|
return if @@named_links_cache
|
20
22
|
|
21
|
-
|
23
|
+
# add method for get related_links attiribute for simply Obj-instance
|
24
|
+
attributes = RailsConnector::Attribute.where(attribute_name: LINKLIST_NAME)
|
25
|
+
if attributes.length != 0
|
26
|
+
Obj.send(:define_attribute, LINKLIST_NAME, ActiveRecord::Type::String.new)
|
27
|
+
Obj.send(:delegate, LINKLIST_NAME.to_sym, to: :attr_dict)
|
28
|
+
else
|
29
|
+
Rails.logger.warn "Check if you NamedLink class is defined properly. Attibute related_links does not exist."
|
30
|
+
# there is not attribute named 'related_links' defined
|
31
|
+
@@named_links_cache = []
|
32
|
+
@@updated_at = Time.now
|
33
|
+
return nil
|
34
|
+
end
|
35
|
+
|
36
|
+
found_objects = BasicObj.where(obj_class: 'NamedLink')
|
22
37
|
Rails.logger.warn "Couldn't find NamedLink CMS Object!" if found_objects.empty?
|
23
38
|
Rails.logger.warn "More than one NamedLink CMS Object found!" if found_objects.size > 1
|
24
39
|
|
data/lib/rails_connector/news.rb
CHANGED
@@ -1,16 +1,20 @@
|
|
1
1
|
module RailsConnector
|
2
|
-
|
3
2
|
# The CMS news object
|
4
3
|
#
|
5
4
|
# This class models the join table between channels and objects.
|
6
5
|
# Instances of this class also hold information about validity range.
|
7
6
|
# @api public
|
8
7
|
class News < CmsBaseModel
|
9
|
-
|
10
8
|
self.primary_key = "news_id"
|
11
9
|
|
12
10
|
belongs_to :object, :class_name => 'Obj', :foreign_key => 'object_id'
|
13
11
|
|
14
|
-
|
12
|
+
def self.table_name
|
13
|
+
"#{table_name_prefix}" "news"
|
14
|
+
end
|
15
15
|
|
16
|
+
scope :active, -> { where('? BETWEEN valid_from AND valid_until', Time.now.to_s(:number))}
|
17
|
+
|
18
|
+
scope :for_channel, ->(channel_name) {where(channel_name: channel_name)}
|
19
|
+
end
|
16
20
|
end
|
@@ -0,0 +1,140 @@
|
|
1
|
+
module RailsConnector
|
2
|
+
|
3
|
+
# This class is used to read out the custom attributes,
|
4
|
+
# mandatory attributes and titles of an Obj.
|
5
|
+
# Warning: Dependent on the setup of your DB replication, most tables
|
6
|
+
# with meta information will not be available on your live system!
|
7
|
+
class ObjClass < CmsBaseModel
|
8
|
+
|
9
|
+
self.primary_key = :obj_class_id
|
10
|
+
|
11
|
+
has_many :custom_attributes_jt, :class_name => '::RailsConnector::ObjClassAttr', :foreign_key => 'obj_class_id', :primary_key => 'obj_class_id'
|
12
|
+
has_many :custom_attributes_raw, :through => :custom_attributes_jt, :source => :custom_attributes_raw
|
13
|
+
|
14
|
+
alias_attribute :name, :obj_class_name
|
15
|
+
alias_attribute :type, :obj_type
|
16
|
+
|
17
|
+
attribute :is_enabled, :boolean
|
18
|
+
alias_attribute :enabled, :is_enabled
|
19
|
+
|
20
|
+
%w(attributeGroupNames attributeGroups canCreateNewsItems completionCheck
|
21
|
+
contentTypes createPermission workflowModification validSubObjClasses
|
22
|
+
validSubObjClassCheck
|
23
|
+
validContentTypes titles recordSetCallback presetFromParentAttributes
|
24
|
+
presetAttributes).each do |key|
|
25
|
+
define_method(key.underscore) do
|
26
|
+
load_blob_data
|
27
|
+
@blob_data[key]
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
# Returns the title of the file format or nil, if it was not set.
|
32
|
+
def title(language)
|
33
|
+
titles[language.to_s].presence
|
34
|
+
end
|
35
|
+
|
36
|
+
# returns channel feature is_activate?
|
37
|
+
def can_create_news_items?
|
38
|
+
can_create_news_items.to_i != 0
|
39
|
+
end
|
40
|
+
|
41
|
+
def ruby_class
|
42
|
+
@r_klass ||= RailsConnector::BasicObj.compute_type(name)
|
43
|
+
end
|
44
|
+
|
45
|
+
# Returns true, if a custom Ruby class exists.
|
46
|
+
def has_custom_ruby_class?
|
47
|
+
ruby_class != Obj
|
48
|
+
end
|
49
|
+
|
50
|
+
# Returns the custom attributes in the form of a Hash.
|
51
|
+
def custom_attributes
|
52
|
+
# create a Hash (with indifferent access) out of an Array of ActiveRecord objects
|
53
|
+
@custom_attributes ||= self.custom_attributes_raw.map do |attr|
|
54
|
+
{attr.attribute_name => attr}
|
55
|
+
end.reduce(HashWithIndifferentAccess.new, &:merge)
|
56
|
+
end
|
57
|
+
|
58
|
+
# Returns true, if the Obj Class has an attribute of the given name.
|
59
|
+
def custom_attribute?(attr)
|
60
|
+
self.custom_attributes.key?(attr.to_s)
|
61
|
+
end
|
62
|
+
|
63
|
+
# Returns an Array of String of all mandatory attributes found for this ObjClass,
|
64
|
+
# no matter if it is a custom or built-in attribute. Built-in attributes
|
65
|
+
# are underscored (valid_from, not validFrom).
|
66
|
+
# Possible +options+ are:
|
67
|
+
# <tt>:only_custom_attributes</tt>:: Return only custom attributes, omit
|
68
|
+
# built-in attributes like content_type or valid_from.
|
69
|
+
def mandatory_attribute_names(options = {})
|
70
|
+
only_custom_attributes ||= options[:only_custom_attributes] || false
|
71
|
+
build_mandatory_attribute_arrays
|
72
|
+
return @mandatory_custom_attributes if only_custom_attributes
|
73
|
+
@mandatory_attributes
|
74
|
+
end
|
75
|
+
|
76
|
+
# Returns true, if the file format has an mandatory attribute of the given name.
|
77
|
+
def mandatory_attribute?(attr)
|
78
|
+
self.mandatory_attribute_names.include?(attr.to_s)
|
79
|
+
end
|
80
|
+
|
81
|
+
# Convenience method for find_by_obj_class_name
|
82
|
+
def self.find_by_name(*args)
|
83
|
+
self.find_by_obj_class_name(*args)
|
84
|
+
end
|
85
|
+
|
86
|
+
# Reads a whole bunch of data, where only some of it is useful
|
87
|
+
# in a Rails application:
|
88
|
+
# attributeGroups, availableBlobEditors, bodyTemplateName,
|
89
|
+
# canCreateNewsItems, completionCheck, mandatoryAttributes,
|
90
|
+
# presetAttributes, recordSetCallback, titles, validSubObjClassCheck,
|
91
|
+
# workflowModification
|
92
|
+
def self.read_blob_data(name) #:nodoc:
|
93
|
+
blob = RailsConnector::Meta.hello_im_rails_and_im_retarted_so_please_be_patient do # these queries really pollute our logs!
|
94
|
+
blob_name = if RailsConnector::BlobMapping.exists?
|
95
|
+
RailsConnector::BlobMapping.get_fingerprint("#{name}.jsonObjClassDict")
|
96
|
+
else
|
97
|
+
"#{name}.jsonObjClassDict"
|
98
|
+
end
|
99
|
+
|
100
|
+
RailsConnector::Blob.find_without_excluded_blob_data(blob_name)
|
101
|
+
end
|
102
|
+
|
103
|
+
return {} unless blob && blob.blob_data?
|
104
|
+
|
105
|
+
JSON.parse(blob.blob_data)
|
106
|
+
end
|
107
|
+
|
108
|
+
private
|
109
|
+
|
110
|
+
def load_blob_data #:nodoc:
|
111
|
+
return if @blob_data
|
112
|
+
|
113
|
+
@blob_data = self.class.read_blob_data(self.name)
|
114
|
+
|
115
|
+
# reset depending instance variables
|
116
|
+
@mandatory_custom_attributes = @mandatory_attributes = nil
|
117
|
+
end
|
118
|
+
|
119
|
+
def build_mandatory_attribute_arrays #:nodoc:
|
120
|
+
return if @mandatory_attributes
|
121
|
+
|
122
|
+
load_blob_data
|
123
|
+
|
124
|
+
@mandatory_custom_attributes = []
|
125
|
+
@mandatory_attributes = []
|
126
|
+
(@blob_data['mandatoryAttributes'] || []).each do |attr|
|
127
|
+
attr_name = attr.to_s
|
128
|
+
if self.custom_attribute?(attr_name)
|
129
|
+
@mandatory_custom_attributes << attr_name
|
130
|
+
else
|
131
|
+
# only modify built-in attributes; i.e. `validFrom` will become `valid_from`
|
132
|
+
attr_name = attr_name.underscore
|
133
|
+
end
|
134
|
+
@mandatory_attributes << attr_name
|
135
|
+
end
|
136
|
+
end
|
137
|
+
|
138
|
+
end
|
139
|
+
|
140
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# -*- encoding : utf-8 -*-
|
2
|
+
module RailsConnector
|
3
|
+
|
4
|
+
# This class allows us to read out the version and
|
5
|
+
# the reminder information of an Obj
|
6
|
+
class ObjectWithMetaData < CmsBaseModel #:nodoc:
|
7
|
+
|
8
|
+
# If we name the class Object, conflicts with the plain Ruby
|
9
|
+
# objects inside the RailsConnector will occur.
|
10
|
+
def self.table_name
|
11
|
+
"#{table_name_prefix}" "objects"
|
12
|
+
end
|
13
|
+
|
14
|
+
self.primary_key = :object_id
|
15
|
+
|
16
|
+
end
|
17
|
+
|
18
|
+
end
|
@@ -0,0 +1,29 @@
|
|
1
|
+
module RailsConnector
|
2
|
+
|
3
|
+
# adds flavour to strings
|
4
|
+
module StringTagging
|
5
|
+
|
6
|
+
# html flavour
|
7
|
+
def self.tag_as_html(string, source)
|
8
|
+
unless string.blank?
|
9
|
+
class << string
|
10
|
+
include RailsConnector::HtmlString
|
11
|
+
end
|
12
|
+
string.source = source
|
13
|
+
end
|
14
|
+
string
|
15
|
+
end
|
16
|
+
|
17
|
+
# markdown flavour
|
18
|
+
def self.tag_as_markdown(string, source)
|
19
|
+
unless string.blank?
|
20
|
+
class << string
|
21
|
+
include RailsConnector::MarkdownString
|
22
|
+
end
|
23
|
+
string.source = source
|
24
|
+
end
|
25
|
+
string
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
end
|
data/lib/version.rb
ADDED
metadata
CHANGED
@@ -1,151 +1,277 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: infopark_fiona_connector
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
5
|
-
prerelease:
|
4
|
+
version: 7.0.1.5.2.3.rc4
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Infopark AG
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2020-07-13 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rails
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '5.0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '5.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: activerecord
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '5.0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '5.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rake
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '12.3'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '12.3'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: json
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '2.3'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '2.3'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: maruku
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0.7'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0.7'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: jquery-rails
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '4.3'
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '4.3'
|
14
97
|
- !ruby/object:Gem::Dependency
|
15
98
|
name: mime-types
|
16
99
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
100
|
requirements:
|
19
|
-
- - ~>
|
101
|
+
- - "~>"
|
20
102
|
- !ruby/object:Gem::Version
|
21
|
-
version: '1
|
103
|
+
version: '3.1'
|
22
104
|
type: :runtime
|
23
105
|
prerelease: false
|
24
106
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
107
|
requirements:
|
27
|
-
- - ~>
|
108
|
+
- - "~>"
|
28
109
|
- !ruby/object:Gem::Version
|
29
|
-
version: '1
|
110
|
+
version: '3.1'
|
30
111
|
- !ruby/object:Gem::Dependency
|
31
112
|
name: mysql_blob_streaming
|
32
113
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
114
|
requirements:
|
35
|
-
- - ~>
|
115
|
+
- - "~>"
|
36
116
|
- !ruby/object:Gem::Version
|
37
|
-
version: 2.
|
117
|
+
version: '2.3'
|
38
118
|
type: :runtime
|
39
119
|
prerelease: false
|
40
120
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
121
|
requirements:
|
43
|
-
- - ~>
|
122
|
+
- - "~>"
|
44
123
|
- !ruby/object:Gem::Version
|
45
|
-
version: 2.
|
124
|
+
version: '2.3'
|
46
125
|
- !ruby/object:Gem::Dependency
|
47
126
|
name: rsolr
|
48
127
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
128
|
requirements:
|
51
|
-
- - ~>
|
129
|
+
- - "~>"
|
52
130
|
- !ruby/object:Gem::Version
|
53
|
-
version: 1.
|
131
|
+
version: 2.1.0s
|
54
132
|
type: :runtime
|
55
133
|
prerelease: false
|
56
134
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
135
|
requirements:
|
59
|
-
- - ~>
|
136
|
+
- - "~>"
|
60
137
|
- !ruby/object:Gem::Version
|
61
|
-
version: 1.
|
138
|
+
version: 2.1.0s
|
62
139
|
- !ruby/object:Gem::Dependency
|
63
140
|
name: helpful_configuration
|
64
141
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
142
|
requirements:
|
67
|
-
- - ~>
|
143
|
+
- - "~>"
|
68
144
|
- !ruby/object:Gem::Version
|
69
145
|
version: 0.1.0
|
70
146
|
type: :runtime
|
71
147
|
prerelease: false
|
72
148
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
149
|
requirements:
|
75
|
-
- - ~>
|
150
|
+
- - "~>"
|
76
151
|
- !ruby/object:Gem::Version
|
77
152
|
version: 0.1.0
|
78
|
-
description:
|
79
|
-
dynamic
|
80
|
-
|
153
|
+
description: Fiona Connector for Infopark CMS Fiona enables you to develop modern,
|
154
|
+
dynamic web applications using Ruby on Rails and at the same time display CMS managed
|
155
|
+
content.
|
81
156
|
email: info@infopark.de
|
82
157
|
executables: []
|
83
158
|
extensions: []
|
84
159
|
extra_rdoc_files: []
|
85
160
|
files:
|
86
|
-
- .yardopts
|
87
|
-
-
|
161
|
+
- ".yardopts"
|
162
|
+
- app/assets/images/admin/minus.gif
|
163
|
+
- app/assets/images/bg80.png
|
164
|
+
- app/assets/images/edit.png
|
165
|
+
- app/assets/images/icons/mm_generic.png
|
166
|
+
- app/assets/images/icons/mm_menu.png
|
167
|
+
- app/assets/javascripts/editmarker.js
|
168
|
+
- app/assets/javascripts/infopark_rails_connector.js.erb
|
169
|
+
- app/assets/stylesheets/editmarker.css
|
170
|
+
- app/assets/stylesheets/infopark_rails_connector.css.erb
|
171
|
+
- app/controllers/cms_controller.rb
|
172
|
+
- app/controllers/rails_connector/default_cms_controller.rb
|
173
|
+
- app/helpers/cms_helper.rb
|
174
|
+
- app/helpers/cms_routing_helper.rb
|
88
175
|
- app/helpers/rails_connector/cms_asset_helper.rb
|
89
176
|
- app/helpers/rails_connector/cms_tag_helper.rb
|
177
|
+
- app/helpers/rails_connector/default_cms_helper.rb
|
178
|
+
- app/helpers/rails_connector/default_cms_routing_helper.rb
|
90
179
|
- app/helpers/rails_connector/display_helper.rb
|
91
180
|
- app/helpers/rails_connector/editing_helper.rb
|
181
|
+
- app/helpers/rails_connector/layout_helper.rb
|
92
182
|
- app/helpers/rails_connector/marker_helper.rb
|
183
|
+
- app/helpers/rails_connector/table_of_contents_helper.rb
|
184
|
+
- app/models/named_link.rb
|
185
|
+
- app/views/cms/_index.html.erb
|
186
|
+
- app/views/cms/index.html.erb
|
187
|
+
- app/views/errors/403_forbidden.html.erb
|
188
|
+
- app/views/errors/410_gone.html.erb
|
189
|
+
- config/cms_routes.rb
|
190
|
+
- config/locales/de.rails_connector.errors.yml
|
191
|
+
- config/locales/de.rails_connector.lib.yml
|
192
|
+
- config/locales/de.rails_connector.views.yml
|
193
|
+
- config/locales/en.rails_connector.errors.yml
|
194
|
+
- config/locales/en.rails_connector.lib.yml
|
195
|
+
- config/locales/en.rails_connector.views.yml
|
196
|
+
- lib/gem_dependencies.rb
|
93
197
|
- lib/generators/rails_connector/install/install_generator.rb
|
94
198
|
- lib/generators/rails_connector/install/templates/app/models/obj.rb.erb
|
95
199
|
- lib/generators/rails_connector/install/templates/initializers/rails_connector.rb
|
96
200
|
- lib/generators/rails_connector/install/templates/local/configuration.rb
|
97
201
|
- lib/infopark_fiona_connector.rb
|
202
|
+
- lib/meta_eager_loader.rb
|
203
|
+
- lib/obj.rb
|
98
204
|
- lib/rails_connector/attr_dict.rb
|
99
205
|
- lib/rails_connector/attr_value_provider.bundle
|
100
206
|
- lib/rails_connector/attr_value_provider.so
|
101
207
|
- lib/rails_connector/attr_value_provider64.so
|
208
|
+
- lib/rails_connector/attribute.rb
|
209
|
+
- lib/rails_connector/authenticable.rb
|
102
210
|
- lib/rails_connector/basic_obj.rb
|
103
211
|
- lib/rails_connector/blob.rb
|
212
|
+
- lib/rails_connector/blob_mapping.rb
|
104
213
|
- lib/rails_connector/blob_mysql.rb
|
105
214
|
- lib/rails_connector/blob_oracle.rb
|
106
215
|
- lib/rails_connector/cache_middleware.rb
|
216
|
+
- lib/rails_connector/channel.rb
|
217
|
+
- lib/rails_connector/cms_accessible.rb
|
107
218
|
- lib/rails_connector/cms_base_model.rb
|
219
|
+
- lib/rails_connector/cms_dispatch_controller.rb
|
220
|
+
- lib/rails_connector/cms_env.rb
|
221
|
+
- lib/rails_connector/cms_test_request.rb
|
108
222
|
- lib/rails_connector/configuration.rb
|
223
|
+
- lib/rails_connector/content.rb
|
224
|
+
- lib/rails_connector/core_extensions.rb
|
225
|
+
- lib/rails_connector/core_extensions/time.rb
|
109
226
|
- lib/rails_connector/date_attribute.rb
|
110
227
|
- lib/rails_connector/default_search_request.rb
|
228
|
+
- lib/rails_connector/engine.rb
|
111
229
|
- lib/rails_connector/errors.rb
|
230
|
+
- lib/rails_connector/fiona_datetime.rb
|
112
231
|
- lib/rails_connector/fiona_engine.rb
|
232
|
+
- lib/rails_connector/html_string.rb
|
233
|
+
- lib/rails_connector/job.rb
|
113
234
|
- lib/rails_connector/link.rb
|
235
|
+
- lib/rails_connector/link_list.rb
|
236
|
+
- lib/rails_connector/link_resolvable.rb
|
114
237
|
- lib/rails_connector/lucene_search_request.rb
|
238
|
+
- lib/rails_connector/markdown_string.rb
|
239
|
+
- lib/rails_connector/meta.rb
|
240
|
+
- lib/rails_connector/meta/eager_loader.rb
|
115
241
|
- lib/rails_connector/named_link.rb
|
116
242
|
- lib/rails_connector/news.rb
|
243
|
+
- lib/rails_connector/obj_class.rb
|
244
|
+
- lib/rails_connector/obj_class_attr.rb
|
245
|
+
- lib/rails_connector/object_with_meta_data.rb
|
117
246
|
- lib/rails_connector/permission.rb
|
118
247
|
- lib/rails_connector/rack_middlewares.rb
|
119
248
|
- lib/rails_connector/ses.rb
|
120
249
|
- lib/rails_connector/ses/verity_accessor.rb
|
250
|
+
- lib/rails_connector/string_tagging.rb
|
121
251
|
- lib/rails_connector/verity_search_request.rb
|
122
252
|
- lib/search_request.rb
|
253
|
+
- lib/version.rb
|
123
254
|
homepage: http://www.infopark.de
|
124
|
-
licenses:
|
255
|
+
licenses:
|
256
|
+
- LGPL-3.0
|
257
|
+
metadata: {}
|
125
258
|
post_install_message:
|
126
259
|
rdoc_options: []
|
127
260
|
require_paths:
|
128
261
|
- lib
|
129
262
|
required_ruby_version: !ruby/object:Gem::Requirement
|
130
|
-
none: false
|
131
263
|
requirements:
|
132
|
-
- -
|
264
|
+
- - ">="
|
133
265
|
- !ruby/object:Gem::Version
|
134
266
|
version: '0'
|
135
|
-
segments:
|
136
|
-
- 0
|
137
|
-
hash: -408569393
|
138
267
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
139
|
-
none: false
|
140
268
|
requirements:
|
141
|
-
- -
|
269
|
+
- - ">="
|
142
270
|
- !ruby/object:Gem::Version
|
143
271
|
version: 1.3.5
|
144
272
|
requirements: []
|
145
|
-
|
146
|
-
rubygems_version: 1.8.25
|
273
|
+
rubygems_version: 3.0.3
|
147
274
|
signing_key:
|
148
|
-
specification_version:
|
275
|
+
specification_version: 4
|
149
276
|
summary: Infopark Fiona Connector
|
150
277
|
test_files: []
|
151
|
-
has_rdoc: yard
|