html_skeleton 0.5.4 → 0.5.5
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 +4 -4
- data/MIT-LICENSE +1 -1
- data/README.md +2 -2
- metadata +4 -32
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b1fcfd9e44c12bac333c9063ab0f7a73e9479deb47a1bc7b588b2f2073cb3cbe
|
|
4
|
+
data.tar.gz: 912e2ebf34fbcfed8ff035eab9478e68f963843b45902fe329db869ea4eeae93
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0bd5471ae4b9322f59b9d88f0157c4167c7d465e4a08c6e82a155eddaf4b6acf7d8c5b75e0eb8fa04e7bcda8f8827b1dff7bc1aede12f7a1459f7114c4299431
|
|
7
|
+
data.tar.gz: d8ae07ff06777a2d60910a62ebc1b69932aced4c358fa7d437acb92cf5744b9a8cfe8ac2f8b69caa509d9d2c645ae2f40adec8144d8be4356f10de8db79ef227
|
data/MIT-LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
The MIT License (MIT)
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2012-
|
|
3
|
+
Copyright (c) 2012-2023 Dittmar Krall (www.matiq.com)
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining
|
|
6
6
|
a copy of this software and associated documentation files (the
|
data/README.md
CHANGED
|
@@ -34,7 +34,7 @@ HtmlSkeleton.new.calendar year: 2012 # calendar for year 2012
|
|
|
34
34
|
HtmlSkeleton.new.calendar year: 2012, month: 8 # calendar for August 2012
|
|
35
35
|
|
|
36
36
|
HtmlSkeleton.new.calendar {|date|
|
|
37
|
-
link ="/#{controller_name}/toggle/#{@resource.id}?date=#{date}"
|
|
37
|
+
link = "/#{controller_name}/toggle/#{@resource.id}?date=#{date}"
|
|
38
38
|
style = @resource.holidays.include?(date.to_s) ?
|
|
39
39
|
'font-weight:bold; color:red' : ''
|
|
40
40
|
%Q{ <a style="#{style}" href="#{link}"> #{date.day.to_s} </a>}
|
|
@@ -118,7 +118,7 @@ cell_proc: block || ->(row, col) { "<td>#{row} #{col}</td>"}
|
|
|
118
118
|
|
|
119
119
|
## Miscellaneous
|
|
120
120
|
|
|
121
|
-
Copyright (c) 2012-
|
|
121
|
+
Copyright (c) 2012-2023 Dittmar Krall (www.matiq.com),
|
|
122
122
|
released under the MIT license:
|
|
123
123
|
|
|
124
124
|
* https://opensource.org/licenses/MIT
|
metadata
CHANGED
|
@@ -1,43 +1,15 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: html_skeleton
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dittmar Krall
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
12
|
-
dependencies:
|
|
13
|
-
- !ruby/object:Gem::Dependency
|
|
14
|
-
name: bundler
|
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
|
16
|
-
requirements:
|
|
17
|
-
- - ">="
|
|
18
|
-
- !ruby/object:Gem::Version
|
|
19
|
-
version: '0'
|
|
20
|
-
type: :development
|
|
21
|
-
prerelease: false
|
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
-
requirements:
|
|
24
|
-
- - ">="
|
|
25
|
-
- !ruby/object:Gem::Version
|
|
26
|
-
version: '0'
|
|
27
|
-
- !ruby/object:Gem::Dependency
|
|
28
|
-
name: rake
|
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
|
30
|
-
requirements:
|
|
31
|
-
- - ">="
|
|
32
|
-
- !ruby/object:Gem::Version
|
|
33
|
-
version: '0'
|
|
34
|
-
type: :development
|
|
35
|
-
prerelease: false
|
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
37
|
-
requirements:
|
|
38
|
-
- - ">="
|
|
39
|
-
- !ruby/object:Gem::Version
|
|
40
|
-
version: '0'
|
|
11
|
+
date: 2023-04-24 00:00:00.000000000 Z
|
|
12
|
+
dependencies: []
|
|
41
13
|
description: |2
|
|
42
14
|
A simple helper for creating HTML calendars and tables.
|
|
43
15
|
|
|
@@ -75,7 +47,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
75
47
|
- !ruby/object:Gem::Version
|
|
76
48
|
version: '0'
|
|
77
49
|
requirements: []
|
|
78
|
-
rubygems_version: 3.
|
|
50
|
+
rubygems_version: 3.4.10
|
|
79
51
|
signing_key:
|
|
80
52
|
specification_version: 4
|
|
81
53
|
summary: A simple helper for creating HTML calendars and tables
|