concerto_calendar 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/app/models/calendar.rb +1 -1
- data/lib/concerto_calendar/version.rb +1 -1
- metadata +35 -27
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: f890cce6959798cdc250f22aab6d80f49245cbba
|
4
|
+
data.tar.gz: cfee3670734fdeaa5d3144db6ae8e02ec15fb43e
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: acc649554f7c4973ae695e37bfc3c64a0249cba74ef47a349b2428d8381998b334ee98e082a5fe6884ef8cd7c911350f76a1ba56b2bd224546ef5361457ef188
|
7
|
+
data.tar.gz: a360ab1f6f987e868a2371d95d9d321f06b21a7aae92767b8508ecc5f31e1a18ddf407b52d00a32a6b21771b45f74a5d9764e574e35006fe426945a1bdbcfe48
|
data/app/models/calendar.rb
CHANGED
@@ -183,7 +183,7 @@ class Calendar < DynamicContent
|
|
183
183
|
end
|
184
184
|
end
|
185
185
|
result.items.sort! { |a, b| a.start_time <=> b.start_time }
|
186
|
-
result.items = result.items[0..max_results]
|
186
|
+
result.items = result.items[0..(max_results -1)]
|
187
187
|
rescue => e
|
188
188
|
result.error_message = e.message
|
189
189
|
end
|
metadata
CHANGED
@@ -1,61 +1,71 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: concerto_calendar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.0.3
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Marvin Frederickson
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
13
|
-
default_executable:
|
11
|
+
date: 2014-05-12 00:00:00.000000000 Z
|
14
12
|
dependencies:
|
15
13
|
- !ruby/object:Gem::Dependency
|
16
14
|
name: rails
|
17
|
-
requirement:
|
18
|
-
none: false
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
19
16
|
requirements:
|
20
|
-
- -
|
17
|
+
- - '>='
|
21
18
|
- !ruby/object:Gem::Version
|
22
19
|
version: '0'
|
23
20
|
type: :runtime
|
24
21
|
prerelease: false
|
25
|
-
version_requirements:
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '>='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
26
27
|
- !ruby/object:Gem::Dependency
|
27
28
|
name: google-api-client
|
28
|
-
requirement:
|
29
|
-
none: false
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - '>='
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
|
-
version_requirements:
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
37
41
|
- !ruby/object:Gem::Dependency
|
38
42
|
name: icalendar
|
39
|
-
requirement:
|
40
|
-
none: false
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
41
44
|
requirements:
|
42
|
-
- -
|
45
|
+
- - '>='
|
43
46
|
- !ruby/object:Gem::Version
|
44
47
|
version: '0'
|
45
48
|
type: :runtime
|
46
49
|
prerelease: false
|
47
|
-
version_requirements:
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
48
55
|
- !ruby/object:Gem::Dependency
|
49
56
|
name: sqlite3
|
50
|
-
requirement:
|
51
|
-
none: false
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
52
58
|
requirements:
|
53
|
-
- -
|
59
|
+
- - '>='
|
54
60
|
- !ruby/object:Gem::Version
|
55
61
|
version: '0'
|
56
62
|
type: :development
|
57
63
|
prerelease: false
|
58
|
-
version_requirements:
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
59
69
|
description: Simple support to render google calendar v2/v3 or iCal content in Concerto
|
60
70
|
2.
|
61
71
|
email:
|
@@ -112,31 +122,29 @@ files:
|
|
112
122
|
- test/dummy/script/rails
|
113
123
|
- test/integration/navigation_test.rb
|
114
124
|
- test/test_helper.rb
|
115
|
-
has_rdoc: true
|
116
125
|
homepage: https://github.com/concerto/concerto-calendar/
|
117
126
|
licenses:
|
118
127
|
- Apache 2.0
|
128
|
+
metadata: {}
|
119
129
|
post_install_message:
|
120
130
|
rdoc_options: []
|
121
131
|
require_paths:
|
122
132
|
- lib
|
123
133
|
required_ruby_version: !ruby/object:Gem::Requirement
|
124
|
-
none: false
|
125
134
|
requirements:
|
126
|
-
- -
|
135
|
+
- - '>='
|
127
136
|
- !ruby/object:Gem::Version
|
128
137
|
version: '0'
|
129
138
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
130
|
-
none: false
|
131
139
|
requirements:
|
132
|
-
- -
|
140
|
+
- - '>='
|
133
141
|
- !ruby/object:Gem::Version
|
134
142
|
version: '0'
|
135
143
|
requirements: []
|
136
144
|
rubyforge_project:
|
137
|
-
rubygems_version:
|
145
|
+
rubygems_version: 2.0.14
|
138
146
|
signing_key:
|
139
|
-
specification_version:
|
147
|
+
specification_version: 4
|
140
148
|
summary: Calendar Content for Concerto 2.
|
141
149
|
test_files:
|
142
150
|
- test/concerto_calendar_test.rb
|