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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 83045066e53d76e14d00c1fc276d168315f21455
4
- data.tar.gz: 805261445555a1693a76b67aec5b46e4f75fcc33
3
+ metadata.gz: 033b8444e90629eb7aaaf999e9f94124a4273269
4
+ data.tar.gz: f136f3855bf6bddf8397c778e267768079eb99d9
5
5
  SHA512:
6
- metadata.gz: b69f66a4315505aef01a346db3a3435d9c0e2026123340ef2a01b4fb0f92860d1274a1780ced98bca382a271f8f0a67f5a201cce964bbb26f9f16eedf134dba1
7
- data.tar.gz: 9831f109073698fe86c2ec96fd35e6c713b3bcd7868cc31bd43be1427fecc519b089c82c87dfae2dd2da3774647f6698b0f16220c6016f7911ca10a6a359c945
6
+ metadata.gz: 58744e0dfd7250de6232c27324ccb61a8baa45a9ef75fd0a0194b4c1e50a5fc3997b1f9fd5c16463a78d9d93ee34ca8f47b4a9fa5a2c5ecb4b7d3e7c49421554
7
+ data.tar.gz: 736a143183d054aa5775b98e8511a8a1fb8c20b6b8dd2ba309c579b09a22ffe1a8a27aaa32eddb6a33fbc11881f8e975d2be671543de9fb198fa21bec1a4a6cf
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -10,11 +10,13 @@ require 'chronic_cron'
10
10
  require 'rxfhelper'
11
11
 
12
12
 
13
- module LIBRARY
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 LIBRARY
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 LIBRARY
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 LIBRARY
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
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
15
- 8ixkARkWAmV1MB4XDTE1MTIyNTE5MzEwNVoXDTE2MTIyNDE5MzEwNVowSDESMBAG
15
+ 8ixkARkWAmV1MB4XDTE3MDUwNzIzNTcyMloXDTE4MDUwNzIzNTcyMlowSDESMBAG
16
16
  A1UEAwwJZ2VtbWFzdGVyMR4wHAYKCZImiZPyLGQBGRYOamFtZXNyb2J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VyQGphbWVzcm9iZXJ0c29uLmV1MCYGA1UdEgQfMB2BG2dlbW1h
26
- c3RlckBqYW1lc3JvYmVydHNvbi5ldTANBgkqhkiG9w0BAQUFAAOCAQEAwJcMJod6
27
- RV65MKG+erXIGN4hsXMrOfK4H8cc5bY96lsV8IlAoJA98rJ24Q6nnxHZcYymRpEe
28
- JE2bDz5G6R5pUogdsU9yPqDjH3Cjh9pt/+o7Y5GreBqf9STuYgL8mAxetfsqzbvz
29
- cqosaZLzRdVZIiTsWfPjb/rmhpYeH1mdeYFeVlB+cl7O+NzE3u6CS/dfXOX/HlxP
30
- HjjQqFLG8M1mHK3ydMbqm8NhjPtCeBlNkNnFiuYAdwtsomZS6t0SMxMHAv2ZXWaK
31
- uG9boVJJdiqglpswYWGqIa7GArn1qv+T6zjQ8VKZRytWla6Yh26bX+HV02maOONj
32
- ovYcEWTRch3JSQ==
26
+ c3RlckBqYW1lc3JvYmVydHNvbi5ldTANBgkqhkiG9w0BAQUFAAOCAQEAHg8/Yvt9
27
+ +Pq/mah3JRaKvd/xa2zPDJrXx01oloNSYA6AmwVQxYeFH8+PQ6vr2iahl31IMHWn
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: 2015-12-25 00:00:00.000000000 Z
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@r0bertson.co.uk
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.4.8
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