infopark_cloud_connector 6.8.0.beta.200.856.8c0fec5 → 6.8.0.beta.200.869.9609b39
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.
- metadata +24 -31
- data/README +0 -71
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: infopark_cloud_connector
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 22460016053
|
5
5
|
prerelease: 6
|
6
6
|
segments:
|
7
7
|
- 6
|
@@ -9,13 +9,11 @@ version: !ruby/object:Gem::Version
|
|
9
9
|
- 0
|
10
10
|
- beta
|
11
11
|
- 200
|
12
|
-
-
|
13
|
-
-
|
14
|
-
-
|
15
|
-
-
|
16
|
-
|
17
|
-
- 5
|
18
|
-
version: 6.8.0.beta.200.856.8c0fec5
|
12
|
+
- 869
|
13
|
+
- 9609
|
14
|
+
- b
|
15
|
+
- 39
|
16
|
+
version: 6.8.0.beta.200.869.9609b39
|
19
17
|
platform: ruby
|
20
18
|
authors:
|
21
19
|
- Infopark AG
|
@@ -23,10 +21,11 @@ autorequire:
|
|
23
21
|
bindir: bin
|
24
22
|
cert_chain: []
|
25
23
|
|
26
|
-
date: 2012-07-
|
24
|
+
date: 2012-07-26 00:00:00 +02:00
|
27
25
|
default_executable:
|
28
26
|
dependencies:
|
29
27
|
- !ruby/object:Gem::Dependency
|
28
|
+
type: :runtime
|
30
29
|
requirement: &id001 !ruby/object:Gem::Requirement
|
31
30
|
none: false
|
32
31
|
requirements:
|
@@ -38,11 +37,11 @@ dependencies:
|
|
38
37
|
- 1
|
39
38
|
- 2
|
40
39
|
version: 1.1.2
|
41
|
-
version_requirements: *id001
|
42
|
-
name: couchrest
|
43
40
|
prerelease: false
|
44
|
-
|
41
|
+
name: couchrest
|
42
|
+
version_requirements: *id001
|
45
43
|
- !ruby/object:Gem::Dependency
|
44
|
+
type: :runtime
|
46
45
|
requirement: &id002 !ruby/object:Gem::Requirement
|
47
46
|
none: false
|
48
47
|
requirements:
|
@@ -54,42 +53,39 @@ dependencies:
|
|
54
53
|
- 3
|
55
54
|
- 6
|
56
55
|
version: 1.3.6
|
57
|
-
version_requirements: *id002
|
58
|
-
name: aws-sdk
|
59
56
|
prerelease: false
|
60
|
-
|
57
|
+
name: aws-sdk
|
58
|
+
version_requirements: *id002
|
61
59
|
- !ruby/object:Gem::Dependency
|
60
|
+
type: :runtime
|
62
61
|
requirement: &id003 !ruby/object:Gem::Requirement
|
63
62
|
none: false
|
64
63
|
requirements:
|
65
64
|
- - "="
|
66
65
|
- !ruby/object:Gem::Version
|
67
|
-
hash:
|
66
|
+
hash: 22460016053
|
68
67
|
segments:
|
69
68
|
- 6
|
70
69
|
- 8
|
71
70
|
- 0
|
72
71
|
- beta
|
73
72
|
- 200
|
74
|
-
-
|
75
|
-
-
|
76
|
-
-
|
77
|
-
-
|
78
|
-
|
79
|
-
- 5
|
80
|
-
version: 6.8.0.beta.200.856.8c0fec5
|
81
|
-
version_requirements: *id003
|
82
|
-
name: kvom
|
73
|
+
- 869
|
74
|
+
- 9609
|
75
|
+
- b
|
76
|
+
- 39
|
77
|
+
version: 6.8.0.beta.200.869.9609b39
|
83
78
|
prerelease: false
|
84
|
-
|
79
|
+
name: kvom
|
80
|
+
version_requirements: *id003
|
85
81
|
description: The Cloud Connector for Infopark CMS Fiona enables you to develop modern, dynamic Web 2.0 applications using Ruby on Rails and at the same time display CMS managed content.
|
86
82
|
email: info@infopark.de
|
87
83
|
executables: []
|
88
84
|
|
89
85
|
extensions: []
|
90
86
|
|
91
|
-
extra_rdoc_files:
|
92
|
-
|
87
|
+
extra_rdoc_files: []
|
88
|
+
|
93
89
|
files:
|
94
90
|
- lib/infopark_cloud_connector.rb
|
95
91
|
- lib/rails_connector/attribute.rb
|
@@ -121,7 +117,6 @@ files:
|
|
121
117
|
- lib/rails_connector/version.rb
|
122
118
|
- lib/rails_connector/workspace.rb
|
123
119
|
- lib/rails_connector/workspace_selection_middleware.rb
|
124
|
-
- README
|
125
120
|
has_rdoc: true
|
126
121
|
homepage: http://www.infopark.de
|
127
122
|
licenses: []
|
@@ -131,8 +126,6 @@ rdoc_options:
|
|
131
126
|
- --charset=UTF-8
|
132
127
|
- --title
|
133
128
|
- Infopark Cloud Connector
|
134
|
-
- --main
|
135
|
-
- README
|
136
129
|
require_paths:
|
137
130
|
- lib
|
138
131
|
required_ruby_version: !ruby/object:Gem::Requirement
|
data/README
DELETED
@@ -1,71 +0,0 @@
|
|
1
|
-
= Infopark Rails Connector
|
2
|
-
|
3
|
-
Infopark Rails Connector allows you to integrate a number of ready-to-run features into your Rails application.
|
4
|
-
|
5
|
-
== Configuring Access to CMS Data
|
6
|
-
|
7
|
-
Place a file named <tt>rails_connector.yml</tt> into your Rails application's <tt>config</tt> directory.
|
8
|
-
The file should contain the following data:
|
9
|
-
|
10
|
-
cms_database_url: "http://<user>:<password>@<db_host>:<db_port>/<db_name>"
|
11
|
-
aws_access_key_id: "<amazon access key id>"
|
12
|
-
aws_secret_access_key: "<amazon secret access key>"
|
13
|
-
s3_bucket_name: "<s3_bucket_name>"
|
14
|
-
search: "http://<user>:<password>@<search_host>:<search_port>"
|
15
|
-
|
16
|
-
|
17
|
-
== Enabling Addons
|
18
|
-
Here is how all available addons would be enabled in the <tt>rails_connector.rb</tt> initializer file of your application:
|
19
|
-
|
20
|
-
RailsConnector::Configuration.enable(
|
21
|
-
:comments,
|
22
|
-
:google_analytics,
|
23
|
-
:infopark_tracking,
|
24
|
-
:omc,
|
25
|
-
:pdf_generator,
|
26
|
-
:ratings,
|
27
|
-
:rss,
|
28
|
-
:search,
|
29
|
-
:seo_sitemap,
|
30
|
-
:time_machine
|
31
|
-
)
|
32
|
-
|
33
|
-
== Layout Helpers
|
34
|
-
Some of those functions depend on html or javascript code being included in the application layout.
|
35
|
-
For example, Google Analytics does only track pageviews if their javascript snippet is included
|
36
|
-
at the bottom of the html body.
|
37
|
-
|
38
|
-
Rails Connector provides two helpers which manage that kind of layout code,
|
39
|
-
switching on or off parts depending on what features are enabled or not:
|
40
|
-
|
41
|
-
rails_connector_header_tags
|
42
|
-
|
43
|
-
This helper needs to be called inside the html head tag.
|
44
|
-
|
45
|
-
rails_connector_after_content_tags
|
46
|
-
|
47
|
-
That helper is to be put right before the closing body tag.
|
48
|
-
|
49
|
-
== Generators
|
50
|
-
Infopark Rails Connector comes with three generators to help you get up and running quickly:
|
51
|
-
|
52
|
-
<tt>rails generate rails_connector:install</tt>
|
53
|
-
|
54
|
-
Adds Time machine assets, a +rails_connector.rb+ initializer and rake tasks specific to the gem to your application.
|
55
|
-
|
56
|
-
<tt>rails generate rails_connector:comments</tt>
|
57
|
-
|
58
|
-
Specific to the +comments+ feature. Adds a comments migration to your application.
|
59
|
-
|
60
|
-
<tt>rails generate rails_connector:ratings</tt>
|
61
|
-
|
62
|
-
Specific to the +ratings+ feature. Adds a ratings migration to your application as well as an example stylesheet and background image.
|
63
|
-
|
64
|
-
== Infopark Tracking
|
65
|
-
|
66
|
-
If you enable the infopark_tracking, please refer to the OMC documentation for further details,
|
67
|
-
e.g. Apache logging options.
|
68
|
-
|
69
|
-
== Seo Sitemap
|
70
|
-
|
71
|
-
The default implementation for the seo sitemap will feature all files from your CMS in the generated <tt>sitemap.xml</tt>. For a large number of files, this can slow down your server. Please refer to <tt>RailsConnector::SEO::ClassMethods#find_all_for_sitemap</tt> for advise on optimization.
|