collapsible_section 0.1.0 → 0.1.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 524092c930ddb71116e48e940ebd81cfb602a9164c3c14fc860e0c31625b6073
4
- data.tar.gz: 1ed792284e2d1f143e0a9478f1bec216f7d430c9f7f5fd87eef1d1d71d926aba
3
+ metadata.gz: a6bd0344fa11f5b952319376553d4a9c19ca53d70cc82710a9448ca46bb9419a
4
+ data.tar.gz: c16ff63ae6980248dd2be299b9329f4508eed7faab0c7605b4e6305aac47a6a8
5
5
  SHA512:
6
- metadata.gz: beca26ae646a442b20f4ad9788167570e7db374555fbde0f688cff53dcf37d2e42a75bffb05d0343d7d610bc15cfb623ceaa353b9afec6a3894c8c3f9a674563
7
- data.tar.gz: 992f64bb568ab91e2d947d4fe076bbd9d18ba9aeaf76a694c33e09683174e455f91c23e2a6fba0c545200008860cd72b9e09b42720bf54f5c329a1446b096570
6
+ metadata.gz: 251052ea1a5423fb04d001c2e2938538319c5b2179e3e1818bcdea87c2c883c9c42e395debc106369332a0251aefbe9ea2c2a1ce5ae5e3a290dca3aa4b353359
7
+ data.tar.gz: ab975de1ec7a1a067482ec23dfebeeeb1a1c42b3bfb418f04cbb169cd844c22b5a258d77b52cf9a5bbb5235dc6945cedd0a56390528def9f3220c43c9258bbad
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.1.1] - 2025-08-04
4
+
5
+ ### Fixed
6
+
7
+ - Fixed HTML escaping issue where generated HTML was being escaped as text instead of rendered as proper HTML elements
8
+
3
9
  ## [0.1.0] - 2025-07-20
4
10
 
5
11
  - Initial release
data/README.md CHANGED
@@ -29,33 +29,26 @@ This will generate the same HTML structure but through a reusable gem component:
29
29
 
30
30
  ## Installation
31
31
 
32
- TODO: Replace `UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG` with your gem name right after releasing it to RubyGems.org. Please do not do it earlier due to security reasons. Alternatively, replace this section with instructions to install your gem from git if you don't plan to release to RubyGems.org.
33
-
34
32
  Install the gem and add to the application's Gemfile by executing:
35
33
 
36
34
  ```bash
37
- bundle add UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
35
+ bundle add collapsible_section
38
36
  ```
39
37
 
40
38
  If bundler is not being used to manage dependencies, install the gem by executing:
41
39
 
42
40
  ```bash
43
- gem install UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
41
+ gem install collapsible_section
44
42
  ```
45
43
 
46
- ## Usage
47
-
48
- TODO: Write usage instructions here
49
-
50
44
  ## Development
51
45
 
52
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
53
-
54
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
46
+ gem build collapsible_section.gemspec
47
+ gem push collapsible_section-0.1.0.gem
55
48
 
56
49
  ## Contributing
57
50
 
58
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/collapsible_section. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/[USERNAME]/collapsible_section/blob/main/CODE_OF_CONDUCT.md).
51
+ Bug reports and pull requests are welcome on GitHub at https://github.com/yaroslavrick/collapsible_section. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/yaroslavrick/collapsible_section/blob/main/CODE_OF_CONDUCT.md).
59
52
 
60
53
  ## License
61
54
 
@@ -63,4 +56,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
63
56
 
64
57
  ## Code of Conduct
65
58
 
66
- Everyone interacting in the CollapsibleSection project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/collapsible_section/blob/main/CODE_OF_CONDUCT.md).
59
+ Everyone interacting in the CollapsibleSection project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/yaroslavrick/collapsible_section/blob/main/CODE_OF_CONDUCT.md).
@@ -7,7 +7,7 @@ module CollapsibleSection
7
7
  summary_content = content_tag(:h3, title, class: "section-title")
8
8
  concat content_tag(:summary, summary_content, class: "section-header")
9
9
  concat capture(&block) if block_given?
10
- end
10
+ end.html_safe
11
11
  end
12
12
  end
13
13
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CollapsibleSection
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: collapsible_section
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yaroslav Yenkala