html_skeleton 0.5.6 → 0.5.7

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
  SHA256:
3
- metadata.gz: b51e674d0b2f06dd01fad882c8f7c428a0b4b43051338bf4c53776bc28d49e68
4
- data.tar.gz: c486881cc2293281a495b09c2fb6902579c182b756d6c70e355f4d7331558b5d
3
+ metadata.gz: 1dae9f42404480eca66cc9349a9e4915a9448f9a02cc6ddfb10e4bb2cc7923d8
4
+ data.tar.gz: 8ab9ee93b688c9894ff0496a2dc15f97a2d72d32fadcb82136cdb8440cd126b8
5
5
  SHA512:
6
- metadata.gz: a85077f0d9d9458f6a1802b0ea090c6ec05748ed8d65b8b2ea44cdfff7f7a0643266fe442b5b8a3de06c9e814e241dbe1a714804b574ae15e39814d047fec30e
7
- data.tar.gz: 1061c2d580b80308e6b5ce3e429b491a8c1ce1459c956eb509919f4945b70a2a76aba60cfaa15382468e426cd543a822df89f3ae1727f922b20d480044d888f1
6
+ metadata.gz: 681c51b989d252e006cca7f9eba2b38b6b7120f8146ed1653c8e49234e7f35a90566c26c839e208f2c380cdb4f1db1da2a0db0128fdf13f08d2501405fbec8c0
7
+ data.tar.gz: 64b8c8595995942e47a3ce1add80205025d7ffa07b883919920b5dfdde84ae3783813446317433c8d2226a20ae2da5d6a719a6241cb36426c7106e952d40b099
data/MIT-LICENSE CHANGED
@@ -1,6 +1,4 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2012-2023 Dittmar Krall (www.matiq.com)
1
+ Copyright (c) 2012-2024 Dittmar Krall (www.matiq.com)
4
2
 
5
3
  Permission is hereby granted, free of charge, to any person obtaining
6
4
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -1,7 +1,10 @@
1
1
  # HtmlSkeleton
2
2
 
3
- [![Gem Version](https://badge.fury.io/rb/html_skeleton.png)](http://badge.fury.io/rb/html_skeleton)
3
+ [![Gem Version](https://badge.fury.io/rb/html_skeleton.svg)](http://badge.fury.io/rb/html_skeleton)
4
4
  [![GEM Downloads](https://img.shields.io/gem/dt/html_skeleton?color=168AFE&logo=ruby&logoColor=FE1616)](https://rubygems.org/gems/html_skeleton)
5
+ [![rake](https://github.com/matique/html_skeleton/actions/workflows/rake.yml/badge.svg)](https://github.com/matique/html_skeleton/actions/workflows/rake.yml)
6
+ [![Ruby Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://github.com/standardrb/standard)
7
+ [![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](http://choosealicense.com/licenses/mit/)
5
8
 
6
9
  HtmlSkeleton provides the frame for a calendar or a table,
7
10
  i.e. no loops are required to build up the HTML structure.
@@ -119,5 +122,5 @@ cell_proc: block || ->(row, col) { "<td>#{row} #{col}</td>"}
119
122
 
120
123
  ## Miscellaneous
121
124
 
122
- Copyright (c) 2012-2023 Dittmar Krall (www.matiq.com),
125
+ Copyright (c) 2012-2024 Dittmar Krall (www.matiq.com),
123
126
  released under the [MIT license](https://opensource.org/licenses/MIT).
data/lib/html_skeleton.rb CHANGED
@@ -7,16 +7,16 @@ require "html_skeleton_table"
7
7
  class HtmlSkeleton
8
8
  attr_reader :options
9
9
 
10
- def calendar(options = {}, &block)
11
- set_calendar_options(options, &block)
10
+ def calendar(options = {}, &)
11
+ set_calendar_options(options, &)
12
12
  month = @options[:month]
13
13
  frame = month ? "div" : "table"
14
14
  body = month ? a_month(@options[:year], month) : a_year(@options[:year])
15
15
  %(<#{frame} class="#{@options[:calendar_class]}"> #{body} </#{frame}>)
16
16
  end
17
17
 
18
- def table(rows, cols, options = {}, &block)
19
- set_table_options(options, &block)
18
+ def table(rows, cols, options = {}, &)
19
+ set_table_options(options, &)
20
20
  <<~TABLE
21
21
  <table class="#{@options[:table_class]}">
22
22
  #{table_header(cols)}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: html_skeleton
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.6
4
+ version: 0.5.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dittmar Krall
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-11 00:00:00.000000000 Z
11
+ date: 2024-10-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest
@@ -45,7 +45,7 @@ homepage: https://github.com/matique/html_skeleton
45
45
  licenses:
46
46
  - MIT
47
47
  metadata: {}
48
- post_install_message:
48
+ post_install_message:
49
49
  rdoc_options: []
50
50
  require_paths:
51
51
  - lib
@@ -60,8 +60,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  requirements: []
63
- rubygems_version: 3.4.20
64
- signing_key:
63
+ rubygems_version: 3.5.20
64
+ signing_key:
65
65
  specification_version: 4
66
66
  summary: A simple helper for creating HTML calendars and tables
67
67
  test_files: []