concerto_simple_rss 0.6 → 0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/simple_rss.rb +3 -1
- data/lib/concerto_simple_rss/version.rb +1 -1
- metadata +16 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a7621d623a546cb35b8ac6671dbdba81f570ebfb
|
4
|
+
data.tar.gz: 6a1ac67eb1add40753f8eb0d73f5c43e9d7badbc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d139ccbfe054efd6cc6ad626958354bd2de718e1651cc091f8ef24e30cb4a45257520e94ba8c8c02633b42978fcae2bb4e9f3bd3e1e9158ba86fa0d3f701a58
|
7
|
+
data.tar.gz: 475cba55dc73ca805b7511242bc08d8b9dc5d7e009f7d233eb31a9e91e4db18a0426343e468497f89438fdbebcd1a982febe6450e8bea2496e0100b6b3ceaef6
|
data/app/models/simple_rss.rb
CHANGED
@@ -300,7 +300,9 @@ class SimpleRss < DynamicContent
|
|
300
300
|
o.config['reverse_order'] = data[:reverse_order]
|
301
301
|
o.config['xsl'] = data[:xsl]
|
302
302
|
o.config['sanitize_tags'] = data[:sanitize_tags]
|
303
|
-
|
303
|
+
|
304
|
+
content = o.build_content
|
305
|
+
results = content.first.data unless content.blank?
|
304
306
|
rescue => e
|
305
307
|
results = "Unable to preview. #{e.message}"
|
306
308
|
end
|
metadata
CHANGED
@@ -1,41 +1,41 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: concerto_simple_rss
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
4
|
+
version: '0.7'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Michalski
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-09-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: ruby-xslt
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - ~>
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0.9'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - ~>
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0.9'
|
41
41
|
description: Simple support to render RSS content in Concerto 2.
|
@@ -45,6 +45,9 @@ executables: []
|
|
45
45
|
extensions: []
|
46
46
|
extra_rdoc_files: []
|
47
47
|
files:
|
48
|
+
- LICENSE
|
49
|
+
- README.md
|
50
|
+
- Rakefile
|
48
51
|
- app/assets/javascripts/concerto_simple_rss/application.js
|
49
52
|
- app/assets/javascripts/concerto_simple_rss/simple_rss.js
|
50
53
|
- app/assets/stylesheets/concerto_simple_rss/application.css
|
@@ -55,18 +58,18 @@ files:
|
|
55
58
|
- app/views/contents/simple_rss/_render_tile.html.erb
|
56
59
|
- app/views/contents/simple_rss/_tab_icon.html.erb
|
57
60
|
- config/routes.rb
|
61
|
+
- lib/concerto_simple_rss.rb
|
58
62
|
- lib/concerto_simple_rss/engine.rb
|
59
63
|
- lib/concerto_simple_rss/version.rb
|
60
|
-
- lib/concerto_simple_rss.rb
|
61
|
-
- LICENSE
|
62
|
-
- Rakefile
|
63
|
-
- README.md
|
64
64
|
- test/concerto_simple_rss_test.rb
|
65
|
+
- test/dummy/README.rdoc
|
66
|
+
- test/dummy/Rakefile
|
65
67
|
- test/dummy/app/assets/javascripts/application.js
|
66
68
|
- test/dummy/app/assets/stylesheets/application.css
|
67
69
|
- test/dummy/app/controllers/application_controller.rb
|
68
70
|
- test/dummy/app/helpers/application_helper.rb
|
69
71
|
- test/dummy/app/views/layouts/application.html.erb
|
72
|
+
- test/dummy/config.ru
|
70
73
|
- test/dummy/config/application.rb
|
71
74
|
- test/dummy/config/boot.rb
|
72
75
|
- test/dummy/config/database.yml
|
@@ -83,13 +86,10 @@ files:
|
|
83
86
|
- test/dummy/config/initializers/wrap_parameters.rb
|
84
87
|
- test/dummy/config/locales/en.yml
|
85
88
|
- test/dummy/config/routes.rb
|
86
|
-
- test/dummy/config.ru
|
87
89
|
- test/dummy/public/404.html
|
88
90
|
- test/dummy/public/422.html
|
89
91
|
- test/dummy/public/500.html
|
90
92
|
- test/dummy/public/favicon.ico
|
91
|
-
- test/dummy/Rakefile
|
92
|
-
- test/dummy/README.rdoc
|
93
93
|
- test/dummy/script/rails
|
94
94
|
- test/integration/navigation_test.rb
|
95
95
|
- test/test_helper.rb
|
@@ -103,17 +103,17 @@ require_paths:
|
|
103
103
|
- lib
|
104
104
|
required_ruby_version: !ruby/object:Gem::Requirement
|
105
105
|
requirements:
|
106
|
-
- -
|
106
|
+
- - ">="
|
107
107
|
- !ruby/object:Gem::Version
|
108
108
|
version: '0'
|
109
109
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
110
110
|
requirements:
|
111
|
-
- -
|
111
|
+
- - ">="
|
112
112
|
- !ruby/object:Gem::Version
|
113
113
|
version: '0'
|
114
114
|
requirements: []
|
115
115
|
rubyforge_project:
|
116
|
-
rubygems_version: 2.
|
116
|
+
rubygems_version: 2.4.5
|
117
117
|
signing_key:
|
118
118
|
specification_version: 4
|
119
119
|
summary: RSS Dynamic Concerto for Concerto 2.
|