webring-rails 1.4.2 → 1.4.3

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: 754be274910dadf9dc06187305d7482287140f2d2e8c18f4eb949c9343ca66ee
4
- data.tar.gz: '0449f04934aa33b9cdcc306890d27d1bd34a149c577996221a41904b02774215'
3
+ metadata.gz: bad76f5ea0fcb10729377a5cc42b2bc858a1460d929ca0711e490d26822dfe5e
4
+ data.tar.gz: 72995b854fdcaeeea0e710ad3a7deaa5fd101e1e87365d50a822ac439f89ce01
5
5
  SHA512:
6
- metadata.gz: d6cefdc9a28d9549e5778a436a962f49ebe8b367a43ab9fc7774f307cdd3f497735bb4bcea4fdd9b40f2fbcb8409737294b8103f667f811a83630fb2ae4150b3
7
- data.tar.gz: 945aa0fbc5e07f6aef49bf03079967640ccd7d2c697d4acfd5e9921f594ce89208f6d05f8ef92ac426dc4ca726131e26f958c5add6fb1878044114ce59b4edfc
6
+ metadata.gz: ee9b231f41c8165590650ff6fce9ef53f7eb48660195a39cf9592eeeef698d59eb9bc61b3ab39231785978ee8f8263fa6a0b9938893f48132c6928c3e9cbefdb
7
+ data.tar.gz: 82f951215f76f067ca9023c27e7665e56e7399894ec597db46ed598d02e84c470c6e5da6ee9457de93b29050a61ab42b71a8de32c512d28c3f62dbd21f6d648a
data/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  # Webring for Rails
4
4
 
5
- [Webring for Rails (webring-rails)](https://github.com/lstpsche/webring-rails) is a flexible engine for creating and managing a webring system in your Ruby on Rails application. A webring is a collection of websites linked together in a circular structure, allowing visitors to navigate from one site to another.
5
+ [Webring for Rails (webring-rails)](https://github.com/cybergizer-hq/webring-rails) is a flexible engine for creating and managing a webring system in your Ruby on Rails application. A webring is a collection of websites linked together in a circular structure, allowing visitors to navigate from one site to another.
6
6
 
7
7
  ## Features
8
8
 
@@ -0,0 +1,3 @@
1
+ <svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M13 3L6 14H12L11 21L18 10H12L13 3Z" fill="currentColor"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="${width}" height="${height}" style="${style}" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M13 3L6 14H12L11 21L18 10H12L13 3Z" fill="currentColor"/>
3
+ </svg>
@@ -1,5 +1,5 @@
1
1
  module Webring
2
- class MembershipRequestsController < ApplicationController
2
+ class MembershipRequestsController < ::ApplicationController
3
3
  def new
4
4
  @membership_request = MembershipRequest.new
5
5
  end
@@ -44,11 +44,7 @@ module Webring
44
44
 
45
45
  # should include `${width}`, `${height}`, `${style}` in order to be customizable
46
46
  def logo_svg
47
- <<~HTML
48
- <svg width="${width}" height="${height}" style="${style}" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
49
- <path d="M13 3L6 14H12L11 21L18 10H12L13 3Z" fill="currentColor"/>
50
- </svg>
51
- HTML
47
+ Webring::Engine.root.join('app/assets/images/webring/logo_template.svg').read
52
48
  end
53
49
 
54
50
  # Provide default texts for the widget
@@ -1,5 +1,5 @@
1
1
  module Webring
2
- class MembershipRequestsController < ApplicationController
2
+ class MembershipRequestsController < ::ApplicationController
3
3
  def new
4
4
  @membership_request = MembershipRequest.new
5
5
  end
@@ -1,3 +1,3 @@
1
1
  module Webring
2
- VERSION = '1.4.2'.freeze
2
+ VERSION = '1.4.3'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: webring-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.2
4
+ version: 1.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nikita Shkoda
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-06-09 00:00:00.000000000 Z
11
+ date: 2025-06-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -76,6 +76,8 @@ extra_rdoc_files: []
76
76
  files:
77
77
  - MIT-LICENSE
78
78
  - README.md
79
+ - app/assets/images/webring/logo.svg
80
+ - app/assets/images/webring/logo_template.svg
79
81
  - app/assets/javascripts/webring/widget.js
80
82
  - app/assets/javascripts/webring/widget.min.js
81
83
  - app/controllers/webring/application_controller.rb
@@ -111,11 +113,11 @@ files:
111
113
  - lib/webring-rails.rb
112
114
  - lib/webring/engine.rb
113
115
  - lib/webring/version.rb
114
- homepage: https://github.com/lstpsche/webring_rails
116
+ homepage: https://github.com/cybergizer-hq/webring_rails
115
117
  licenses:
116
118
  - MIT
117
119
  metadata:
118
- homepage_uri: https://github.com/lstpsche/webring_rails
120
+ homepage_uri: https://github.com/cybergizer-hq/webring_rails
119
121
  post_install_message:
120
122
  rdoc_options: []
121
123
  require_paths: