concerto_content_scheduling 0.0.2 → 0.0.3
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
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9ea923f4eaa99424c696f63870952422de42eb03
|
|
4
|
+
data.tar.gz: a5260ab9d6e583dfb88c44f489eb169e3dd7dc4e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: de72529d368d9f4f77f16d3b8689ac3dc46b97f44874af5c4c8125788b4ea3107f7e175307112bd3be8f91de919fc3a11c78ec8f9b8a72abd25f823c62bbc146
|
|
7
|
+
data.tar.gz: 1f1b1fab3f7967c24ec0c937ab43db10ce4be55df715f45ef1a14b3a799563c1df95a2832f7c792e3e11f4966a381d9fc9110d65f539834cdb3cc5b035e5d63d
|
|
@@ -32,6 +32,11 @@ module ConcertoContentScheduling
|
|
|
32
32
|
@attributes.concat([:schedule_info => [:criteria, :start_time, :end_time]])
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
+
# make sure dynamic content has the same schedule as it's parent item
|
|
36
|
+
add_controller_hook "DynamicContent", :alter_content, :after do
|
|
37
|
+
@new_attributes[:schedule_info] = @content.parent.schedule_info
|
|
38
|
+
end
|
|
39
|
+
|
|
35
40
|
end
|
|
36
41
|
end
|
|
37
42
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: concerto_content_scheduling
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Concerto Developers
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2015-12-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -162,7 +162,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
162
162
|
version: '0'
|
|
163
163
|
requirements: []
|
|
164
164
|
rubyforge_project:
|
|
165
|
-
rubygems_version: 2.
|
|
165
|
+
rubygems_version: 2.4.5.1
|
|
166
166
|
signing_key:
|
|
167
167
|
specification_version: 4
|
|
168
168
|
summary: Schedule content for different times of day.
|