polyrex_calendarbase 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/polyrex_calendarbase.rb +8 -6
- metadata +19 -19
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 033b8444e90629eb7aaaf999e9f94124a4273269
|
4
|
+
data.tar.gz: f136f3855bf6bddf8397c778e267768079eb99d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 58744e0dfd7250de6232c27324ccb61a8baa45a9ef75fd0a0194b4c1e50a5fc3997b1f9fd5c16463a78d9d93ee34ca8f47b4a9fa5a2c5ecb4b7d3e7c49421554
|
7
|
+
data.tar.gz: 736a143183d054aa5775b98e8511a8a1fb8c20b6b8dd2ba309c579b09a22ffe1a8a27aaa32eddb6a33fbc11881f8e975d2be671543de9fb198fa21bec1a4a6cf
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/polyrex_calendarbase.rb
CHANGED
@@ -10,11 +10,13 @@ require 'chronic_cron'
|
|
10
10
|
require 'rxfhelper'
|
11
11
|
|
12
12
|
|
13
|
-
module
|
13
|
+
module LIBRARY2
|
14
14
|
|
15
15
|
def fetch_filepath(filename)
|
16
16
|
|
17
|
-
lib = File.dirname(__FILE__)
|
17
|
+
#lib = File.dirname(__FILE__)
|
18
|
+
#File.read filename
|
19
|
+
lib = 'http://rorbuilder.info/r/ruby/polyrex-calendar'
|
18
20
|
File.join(lib, filename)
|
19
21
|
end
|
20
22
|
|
@@ -79,7 +81,7 @@ end
|
|
79
81
|
|
80
82
|
|
81
83
|
class Calendar < Polyrex
|
82
|
-
include
|
84
|
+
include LIBRARY2
|
83
85
|
|
84
86
|
attr_accessor :xslt, :css_layout, :css_style, :filename
|
85
87
|
|
@@ -112,7 +114,7 @@ end
|
|
112
114
|
class PolyrexObjects
|
113
115
|
|
114
116
|
class Month
|
115
|
-
include
|
117
|
+
include LIBRARY2
|
116
118
|
|
117
119
|
attr_accessor :xslt, :css_layout, :css_style
|
118
120
|
|
@@ -143,7 +145,6 @@ class PolyrexObjects
|
|
143
145
|
end
|
144
146
|
|
145
147
|
class Week
|
146
|
-
include LIBRARY
|
147
148
|
|
148
149
|
def inspect()
|
149
150
|
"#<CalendarObjects::Week:%s" % __id__
|
@@ -172,7 +173,7 @@ end
|
|
172
173
|
|
173
174
|
|
174
175
|
class PolyrexCalendarBase
|
175
|
-
include
|
176
|
+
include LIBRARY2
|
176
177
|
|
177
178
|
|
178
179
|
attr_accessor :xsl, :css, :calendar, :month_xsl, :month_css
|
@@ -211,6 +212,7 @@ class PolyrexCalendarBase
|
|
211
212
|
a.group_by(&:month).each do |month, days|
|
212
213
|
|
213
214
|
@calendar.create.month no: month.to_s, title: Date::MONTHNAMES[month] do |create|
|
215
|
+
|
214
216
|
days.each do |x|
|
215
217
|
create.day sdate: x.strftime("%Y-%b-%d"), xday: x.day.to_s, title: Date::DAYNAMES[x.wday]
|
216
218
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: polyrex_calendarbase
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -12,26 +12,26 @@ cert_chain:
|
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
13
|
MIIDljCCAn6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBIMRIwEAYDVQQDDAlnZW1t
|
14
14
|
YXN0ZXIxHjAcBgoJkiaJk/IsZAEZFg5qYW1lc3JvYmVydHNvbjESMBAGCgmSJomT
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vr2iahl31IMHWn
|
28
|
+
otRaDUh0rp+wnlcU0lGVk0hRT6IXPXN1gDcDUmYBQDJp7m+O1hWfTHnceSDCSV0H
|
29
|
+
0bIpYUWaN5VUcUDIcCiPAtwCdqgkMwHi6iVAyXzZa+6jPBGFMsUA/ewKl/fJ5t0x
|
30
|
+
h/ezNfBK+cVuEk/uFhJ3PCW6ingGsCymlviVGYUlIq64C6eqA1yYJrVRJrL3x9Vt
|
31
|
+
aZ7rZb9dm0FkDSEwpGvz+OiQbqopT7YqTRBoH729wFH0LTqgRqCfDChz3T3QSdLu
|
32
|
+
NbTsaqbFosHAzw==
|
33
33
|
-----END CERTIFICATE-----
|
34
|
-
date:
|
34
|
+
date: 2017-05-07 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: polyrex
|
@@ -134,7 +134,7 @@ dependencies:
|
|
134
134
|
- !ruby/object:Gem::Version
|
135
135
|
version: 0.2.3
|
136
136
|
description:
|
137
|
-
email: james@
|
137
|
+
email: james@jamesrobertson.eu
|
138
138
|
executables: []
|
139
139
|
extensions: []
|
140
140
|
extra_rdoc_files: []
|
@@ -160,7 +160,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
160
160
|
version: '0'
|
161
161
|
requirements: []
|
162
162
|
rubyforge_project:
|
163
|
-
rubygems_version: 2.
|
163
|
+
rubygems_version: 2.6.8
|
164
164
|
signing_key:
|
165
165
|
specification_version: 4
|
166
166
|
summary: A calendar object which can be output to XML format from a Polyrex document
|
metadata.gz.sig
CHANGED
Binary file
|