html_skeleton 0.5.4 → 0.5.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/MIT-LICENSE +1 -1
  3. data/README.md +4 -5
  4. metadata +6 -21
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 24a51299cefa7e3f6f5b3e988f30e27a8330f60f5308b715eb7992d26e179079
4
- data.tar.gz: 95c6620e0ca5fe022cea88934dd66e23a33c807abbd41a002d5b9b8fb4da999d
3
+ metadata.gz: b51e674d0b2f06dd01fad882c8f7c428a0b4b43051338bf4c53776bc28d49e68
4
+ data.tar.gz: c486881cc2293281a495b09c2fb6902579c182b756d6c70e355f4d7331558b5d
5
5
  SHA512:
6
- metadata.gz: 42132eec7917f4e3e3486137897b43f29c39f9ad0f1adcbddecd28c24213a95d11244f4eb8103bbe311bc57053f7a33919b5c12ee71e1675733221c00c5576f8
7
- data.tar.gz: 291c999dd9c9cbdc2b0637d35e46d95abcd3542f5782475c2145886d8381a055396517dbd3c2592a04905c0235aad60805ce029acfeaa146e68c822c014ae4d6
6
+ metadata.gz: a85077f0d9d9458f6a1802b0ea090c6ec05748ed8d65b8b2ea44cdfff7f7a0643266fe442b5b8a3de06c9e814e241dbe1a714804b574ae15e39814d047fec30e
7
+ data.tar.gz: 1061c2d580b80308e6b5ce3e429b491a8c1ce1459c956eb509919f4945b70a2a76aba60cfaa15382468e426cd543a822df89f3ae1727f922b20d480044d888f1
data/MIT-LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2012-2022 Dittmar Krall (www.matiq.com)
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
@@ -1,6 +1,7 @@
1
1
  # HtmlSkeleton
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/html_skeleton.png)](http://badge.fury.io/rb/html_skeleton)
4
+ [![GEM Downloads](https://img.shields.io/gem/dt/html_skeleton?color=168AFE&logo=ruby&logoColor=FE1616)](https://rubygems.org/gems/html_skeleton)
4
5
 
5
6
  HtmlSkeleton provides the frame for a calendar or a table,
6
7
  i.e. no loops are required to build up the HTML structure.
@@ -34,7 +35,7 @@ HtmlSkeleton.new.calendar year: 2012 # calendar for year 2012
34
35
  HtmlSkeleton.new.calendar year: 2012, month: 8 # calendar for August 2012
35
36
 
36
37
  HtmlSkeleton.new.calendar {|date|
37
- link ="/#{controller_name}/toggle/#{@resource.id}?date=#{date}"
38
+ link = "/#{controller_name}/toggle/#{@resource.id}?date=#{date}"
38
39
  style = @resource.holidays.include?(date.to_s) ?
39
40
  'font-weight:bold; color:red' : ''
40
41
  %Q{ <a style="#{style}" href="#{link}"> #{date.day.to_s} </a>}
@@ -118,7 +119,5 @@ cell_proc: block || ->(row, col) { "<td>#{row} #{col}</td>"}
118
119
 
119
120
  ## Miscellaneous
120
121
 
121
- Copyright (c) 2012-2022 Dittmar Krall (www.matiq.com),
122
- released under the MIT license:
123
-
124
- * https://opensource.org/licenses/MIT
122
+ Copyright (c) 2012-2023 Dittmar Krall (www.matiq.com),
123
+ released under the [MIT license](https://opensource.org/licenses/MIT).
metadata CHANGED
@@ -1,31 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: html_skeleton
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.4
4
+ version: 0.5.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dittmar Krall
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-21 00:00:00.000000000 Z
11
+ date: 2023-12-11 00:00:00.000000000 Z
12
12
  dependencies:
13
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
14
+ name: minitest
29
15
  requirement: !ruby/object:Gem::Requirement
30
16
  requirements:
31
17
  - - ">="
@@ -55,11 +41,10 @@ files:
55
41
  - lib/html_skeleton.rb
56
42
  - lib/html_skeleton_calendar.rb
57
43
  - lib/html_skeleton_table.rb
58
- homepage: http://matiq.com
44
+ homepage: https://github.com/matique/html_skeleton
59
45
  licenses:
60
46
  - MIT
61
- metadata:
62
- source_code_uri: https://github.com/matique/html_skeleton
47
+ metadata: {}
63
48
  post_install_message:
64
49
  rdoc_options: []
65
50
  require_paths:
@@ -75,7 +60,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
60
  - !ruby/object:Gem::Version
76
61
  version: '0'
77
62
  requirements: []
78
- rubygems_version: 3.3.26
63
+ rubygems_version: 3.4.20
79
64
  signing_key:
80
65
  specification_version: 4
81
66
  summary: A simple helper for creating HTML calendars and tables