concerto_screencontent 0.1.1 → 0.1.2
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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 6cd9660678adaa62130b7032484ab5474487b0330710b0bd48682bfb817be00c
|
|
4
|
+
data.tar.gz: aad0212487e42101b98a85fae3ce9ce00feb36ff52ba249d7cec7dc6ea1120c5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 523b07d8ae942ad8e85012a9b63efd48dda78f37646835804b23e8a32acc4ba02c736a18ad962ea9edb982e31a7ef3e2b6a2654094ec9c9ff5021b23e1822c37
|
|
7
|
+
data.tar.gz: 2c041e440a03aaf389586109cfa103b9700052f8ebd02ad4358254aebfffad04918386f767fe5ea4fb764490da356524cd3753e36a26f1cbce82ab6e2f364ffc
|
data/README.md
CHANGED
|
@@ -1,28 +1,13 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
1
|
+
# Concerto Screen Content
|
|
2
|
+
A Concerto Plugin that displays active subscribed content under the screen information on the screen details page.
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
## Installation
|
|
8
|
-
Add this line to your application's Gemfile:
|
|
9
|
-
|
|
10
|
-
```ruby
|
|
11
|
-
gem 'concerto_screencontents'
|
|
12
|
-
```
|
|
4
|
+
# Requirements
|
|
5
|
+
This requires Concerto version 2.3.4 (because a view hook had to be added https://github.com/concerto/concerto/pull/1385).
|
|
13
6
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
Or install it yourself as:
|
|
20
|
-
```bash
|
|
21
|
-
$ gem install concerto_screencontents
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
## Contributing
|
|
25
|
-
Contribution directions go here.
|
|
7
|
+
## Usage
|
|
8
|
+
Add this gem to the Concerto Plugins via the Concerto UI.
|
|
9
|
+
* Source: RubyGems
|
|
10
|
+
* Name: concerto_screencontent
|
|
26
11
|
|
|
27
12
|
## License
|
|
28
13
|
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<!-- Begin Contents -->
|
|
2
2
|
<%
|
|
3
|
-
@contents = @screen.subscriptions.map { |s| s.contents }.flatten.collect! {|c| c.parent || c}.uniq
|
|
3
|
+
@contents = @screen.subscriptions.where(field_id: @screen.fields.map(&:id)).map { |s| s.contents }.flatten.collect! {|c| c.parent || c}.uniq
|
|
4
4
|
@contents = Kaminari.paginate_array(@contents).page(params[:page])
|
|
5
5
|
|
|
6
6
|
unless @contents.empty?
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: concerto_screencontent
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Marvin Frederickson
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2020-02-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -91,7 +91,7 @@ files:
|
|
|
91
91
|
- lib/concerto_screencontent/engine.rb
|
|
92
92
|
- lib/concerto_screencontent/version.rb
|
|
93
93
|
- lib/tasks/concerto_screencontent_tasks.rake
|
|
94
|
-
homepage:
|
|
94
|
+
homepage: https://github.com/mfrederickson/concerto-screencontent
|
|
95
95
|
licenses:
|
|
96
96
|
- MIT
|
|
97
97
|
metadata: {}
|
|
@@ -110,8 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
110
110
|
- !ruby/object:Gem::Version
|
|
111
111
|
version: '0'
|
|
112
112
|
requirements: []
|
|
113
|
-
|
|
114
|
-
rubygems_version: 2.6.10
|
|
113
|
+
rubygems_version: 3.0.3
|
|
115
114
|
signing_key:
|
|
116
115
|
specification_version: 4
|
|
117
116
|
summary: Display active content assigned to current screen
|