simply_inline_svg 0.1.0

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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: adba1ff0f45e5477670d37ef25f29d314e0ac3236ec92608216c237460d74483
4
+ data.tar.gz: 948e1538920a5fd6d09a2f02395cf5e0791795cb1707310f011451689f067f05
5
+ SHA512:
6
+ metadata.gz: f925de496c66ad004e429d6f896cbd8e38ae406d7e966eb609588ee7e4a57fd09a4daef5cef394bdce974efa4cd4fed9e06c8b29a7819abe614e3ebdec258a00
7
+ data.tar.gz: 5bd7a03f0e959329222ebfdc316f2919332a16db57e2eb28b04b74c86b62bf7913f67f74480405733a201de57fcc361d5aa704422f2254778ca878ed4cf75350
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+ *.gem
@@ -0,0 +1,5 @@
1
+ ## [0.1.0] - 2020-08-09
2
+ ### Added
3
+ - Meta information about the gem.
4
+ - Inline SVGs compiled by Sprockets or Webpacker.
5
+ - Inline SVGs of any directories.
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at vuongpd95@gmail.com. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source "https://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in simply_inline_svg.gemspec
4
+ gemspec
@@ -0,0 +1,28 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ simply_inline_svg (0.1.0)
5
+ libxml-ruby
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ coderay (1.1.3)
11
+ libxml-ruby (3.2.0)
12
+ method_source (0.9.2)
13
+ pry (0.12.2)
14
+ coderay (~> 1.1.0)
15
+ method_source (~> 0.9.0)
16
+ rake (10.5.0)
17
+
18
+ PLATFORMS
19
+ ruby
20
+
21
+ DEPENDENCIES
22
+ bundler (~> 2.0)
23
+ pry (~> 0.12.2)
24
+ rake (~> 10.0)
25
+ simply_inline_svg!
26
+
27
+ BUNDLED WITH
28
+ 2.0.2
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2020 Vuong Pham
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,87 @@
1
+ # SimplyInlineSvg
2
+
3
+ SimplyInlineSVG is a super simple gem to help you inline SVG icons. Seriously, it's so simple that I don't even write any tests. But, I don't guarantee it works with all Ruby & Rails version though. Use this gem at your own peril.
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'simply_inline_svg'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ $ bundle
16
+
17
+ Or install it yourself as:
18
+
19
+ $ gem install simply_inline_svg
20
+
21
+ ## Usage
22
+
23
+ Run `bundle exec rails generate simply_inline_svg:install` to generate an initializer file if you are using Rails. Use the initializer file to register your SVGs
24
+
25
+ ```
26
+ # config/initializers/simply_inline_svg.rb
27
+ SimpleInlineSvg.register_directory(Rails.root.join("app", "assets", "images", "svgs"))
28
+ ```
29
+
30
+ Then in views, you can:
31
+
32
+ ```
33
+ <%= inline_svg_tag("icon-name.svg", class: "any-class") %>
34
+ ```
35
+
36
+ You can also use `register_svg` to register a single svg file. This gives you the power to decide how your svg should be referenced
37
+
38
+ ```
39
+ # config/initializers/simply_inline_svg.rb
40
+ SimpleInlineSvg.register_svg(:close_icon, Rails.root.join("app", "assets", "images", "svgs", "close.svg").to_s)
41
+ ```
42
+
43
+ Then in views, you can:
44
+
45
+ ```
46
+ <%= inline_svg_tag(:close_icon, class: "any-class") %>
47
+ ```
48
+
49
+ If you want to inline an SVG compiled by Webpacker or Sprockets (Rails only). You don't have to register them, just use:
50
+
51
+ ```
52
+ # For Sprockets
53
+ <%= assets_svg_tag(icon_path, class: "any-class") %>
54
+
55
+ # For Webpacker
56
+ <%= pack_svg_tag(icon_path, class: "any-class") %>
57
+ ```
58
+
59
+ `icon_path` of `assets_svg_tag` is similar to `icon_path` in `image_tag(icon_path)`. `icon_path` of `pack_svg_tag` is similar to `icon_path` in `assets_pack_path(icon_path)`.
60
+
61
+ Examples
62
+
63
+ ```
64
+ # For Sprockets
65
+ <%= assets_svg_tag("bed.svg", class: "any-class") %> # Render app/assets/images/bed.svg
66
+
67
+ # For Webpacker
68
+ <%= pack_svg_tag("media/images/bed.svg", class: "any-class") %> # Render app/javascript/images/bed.svg
69
+ ```
70
+
71
+ ## Development
72
+
73
+ After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
74
+
75
+ 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 tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
76
+
77
+ ## Contributing
78
+
79
+ Bug reports and pull requests are welcome on GitHub at https://github.com/vuongpd95/simply_inline_svg. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
80
+
81
+ ## License
82
+
83
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
84
+
85
+ ## Code of Conduct
86
+
87
+ Everyone interacting in the SimplyInlineSvg project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/vuongpd95/simply_inline_svg/blob/master/CODE_OF_CONDUCT.md).
@@ -0,0 +1,2 @@
1
+ require "bundler/gem_tasks"
2
+ task :default => :spec
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "simply_inline_svg"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,17 @@
1
+ # frozen_string_literal: true
2
+ require 'rails/generators/base'
3
+
4
+ module SimplyInlineSvg
5
+ module Generators
6
+ class InstallGenerator < Rails::Generators::Base
7
+ source_root File.expand_path("../../templates", __FILE__)
8
+ desc "Creates SimplyInlineSvg initializer for your application"
9
+
10
+ def copy_initializer
11
+ template "simply_inline_svg_initializer.rb", "config/initializers/simply_inline_svg.rb"
12
+
13
+ puts "Install complete!"
14
+ end
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,20 @@
1
+ # Register all svg images under assets
2
+ # SimplyInlineSvg::Storage.register_directory(Rails.root.join("app", "assets", "images"))
3
+ # Example:
4
+ # app/assets/images/dir/bed.svg
5
+ # app/assets/images/bathroom.svg
6
+ # app/assets/images/bed.svg
7
+ # In view templates
8
+ # inline_svg_tag("bed.svg") => Render app/assets/images/bed.svg
9
+ # inline_svg_tag("bathroom.svg") => Render app/assets/images/bathroom.svg
10
+ # Only the last svg registered if there're multiple svgs with the same name. If you want to keep
11
+ # all of them, use SimplyInlineSvg::Storage#register_svg
12
+ # SimplyInlineSvg::Storage.register_svg("dir/bed.svg", Rails.root.join("app", "assets", "images", "dir", "bed.svg"))
13
+ # SimplyInlineSvg::Storage.register_svg("bed.svg", Rails.root.join("app", "assets", "images", "bed.svg"))
14
+ # Then, in view templates
15
+ # inline_svg_tag("bed.svg") => Render app/assets/images/bed.svg
16
+ # inline_svg_tag("dir/bed.svg") => Render app/assets/images/dir/bed.svg
17
+
18
+ # If you want to render an svg compiled by Sprockets or Webpacker, use:
19
+ # assets_svg_tag("bed.svg") => Render app/assets/images/bed.svg
20
+ # pack_svg_tag("media/images/bed.svg") => Render app/javascript/images/bed.svg
@@ -0,0 +1,9 @@
1
+ require "simply_inline_svg/version"
2
+ require "simply_inline_svg/svg"
3
+ require "simply_inline_svg/storage"
4
+ require "simply_inline_svg/railtie" if defined?(Rails)
5
+
6
+ module SimplyInlineSvg
7
+ class Error < StandardError; end
8
+ class SvgNotFound < Error; end
9
+ end
@@ -0,0 +1,43 @@
1
+ module SimplyInlineSvg
2
+ module ActionView
3
+ module Helpers
4
+ def inline_svg_tag(name, options = {})
5
+ SimplyInlineSvg::Storage.find!(name).render(options).html_safe
6
+ end
7
+
8
+ def assets_svg_tag(name, options = {})
9
+ asset_name = "sprockets/#{name}"
10
+ svg = SimplyInlineSvg::Storage.find(asset_name)
11
+ return svg.render(options).html_safe if svg
12
+ if ::Rails.application.config.assets.compile
13
+ SimplyInlineSvg::Storage.register_svg(asset_name, ::Rails.application.assets[name].filename)
14
+ else
15
+ ::Rails.application.assets_manifest.assets.each do |k, v|
16
+ next unless k[-3..-1] == 'svg'
17
+ SimplyInlineSvg::Storage.register_svg(
18
+ "sprockets/#{k}",
19
+ "#{::Rails.application.assets_manifest.directory}/#{v}"
20
+ )
21
+ end
22
+ end
23
+ inline_svg_tag(asset_name, options)
24
+ end
25
+
26
+ def pack_svg_tag(name, options = {})
27
+ pack_name = "webpacker/#{name}"
28
+ svg = SimplyInlineSvg::Storage.find(pack_name)
29
+ return svg.render(options).html_safe if svg
30
+ if Webpacker.manifest.config.compile? && !Webpacker.manifest.dev_server.running?
31
+ Webpacker.manifest.compiler.compile
32
+ end
33
+ pack_dir = Rails.root.join("public").to_s
34
+ Webpacker.manifest.refresh.each do |k, v|
35
+ next unless k[-3..-1] == 'svg'
36
+ SimplyInlineSvg::Storage.register_svg("webpacker/#{k}", pack_dir + v)
37
+ end
38
+ inline_svg_tag(asset_name, options)
39
+ end
40
+
41
+ end
42
+ end
43
+ end
@@ -0,0 +1,13 @@
1
+ require 'rails/railtie'
2
+
3
+ module SimplyInlineSvg
4
+ class Railtie < ::Rails::Railtie
5
+ initializer "simply_inline_svg.action_view" do |app|
6
+ ActiveSupport.on_load :action_view do
7
+ require "simply_inline_svg/action_view/helpers"
8
+ include SimplyInlineSvg::ActionView::Helpers
9
+ end
10
+ end
11
+
12
+ end
13
+ end
@@ -0,0 +1,34 @@
1
+ module SimplyInlineSvg
2
+ class Storage
3
+ class << self
4
+
5
+ attr_accessor :data
6
+
7
+ def register_directory(directory)
8
+ fpaths = Dir["#{directory}/**/*.svg"]
9
+ while fpaths.length > 0
10
+ fpath = fpaths.shift
11
+ register_svg(File.basename(fpath), fpath)
12
+ end
13
+ self.data
14
+ end
15
+
16
+ def register_svg(fname, fpath)
17
+ svg = Svg.new(File.read(fpath))
18
+ self.data.merge!({ fname => svg })
19
+ end
20
+
21
+ def find!(name)
22
+ raise SvgNotFound if self.data[name].nil?
23
+ self.data[name]
24
+ end
25
+
26
+ def find(name)
27
+ self.data[name]
28
+ end
29
+
30
+ end
31
+ end
32
+ end
33
+
34
+ SimplyInlineSvg::Storage.data = {}
@@ -0,0 +1,34 @@
1
+ require 'xml'
2
+
3
+ module SimplyInlineSvg
4
+ class Svg
5
+
6
+ def initialize(str_svg)
7
+ @doc = XML::Parser.string(str_svg).parse
8
+ @svg_attributes = @doc.root.attributes
9
+ end
10
+
11
+ def []=(attr_name, attr_value)
12
+ @svg_attributes[attr_name.to_s] = attr_value.to_s
13
+ end
14
+
15
+ def [](attr_name)
16
+ @svg_attributes[attr_name.to_s]
17
+ end
18
+
19
+ def dup
20
+ self.class.new(@doc.to_s)
21
+ end
22
+
23
+ def to_s
24
+ @doc.to_s
25
+ end
26
+
27
+ def render(options = {})
28
+ return self.to_s if options.empty?
29
+ cloned_svg = self.dup
30
+ options.each { |k, v| cloned_svg[k] = v }
31
+ cloned_svg.to_s
32
+ end
33
+ end
34
+ end
@@ -0,0 +1,3 @@
1
+ module SimplyInlineSvg
2
+ VERSION = "0.1.0"
3
+ end
@@ -0,0 +1,35 @@
1
+ lib = File.expand_path("lib", __dir__)
2
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
+ require "simply_inline_svg/version"
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "simply_inline_svg"
7
+ spec.version = SimplyInlineSvg::VERSION
8
+ spec.authors = ["Vuong Pham"]
9
+ spec.email = ["vuongpd95@gmail.com"]
10
+
11
+ spec.summary = %q{SimplyInlineSVG helps you inline svg images into HTML template in a (really) simple way.}
12
+ spec.homepage = "https://chilling.dev/open-source/simply-inline-svg"
13
+ spec.license = "MIT"
14
+
15
+ # spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
16
+
17
+ spec.metadata["homepage_uri"] = spec.homepage
18
+ spec.metadata["source_code_uri"] = "https://github.com/vuongpd95/simply_inline_svg"
19
+ spec.metadata["changelog_uri"] = "https://github.com/vuongpd95/simply_inline_svg/blob/v#{SimplyInlineSvg::VERSION}/CHANGELOG.md"
20
+
21
+ # Specify which files should be added to the gem when it is released.
22
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
23
+ spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
24
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
25
+ end
26
+ spec.bindir = "exe"
27
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
28
+ spec.require_paths = ["lib"]
29
+
30
+ spec.add_runtime_dependency "libxml-ruby", ">= 2.7", "~> 3.2"
31
+
32
+ spec.add_development_dependency "bundler", "~> 2.0"
33
+ spec.add_development_dependency "rake", "~> 10.0"
34
+ spec.add_development_dependency "pry", "~> 0.12.2"
35
+ end
metadata ADDED
@@ -0,0 +1,129 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: simply_inline_svg
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Vuong Pham
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2020-10-05 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: libxml-ruby
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '2.7'
20
+ - - "~>"
21
+ - !ruby/object:Gem::Version
22
+ version: '3.2'
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '2.7'
30
+ - - "~>"
31
+ - !ruby/object:Gem::Version
32
+ version: '3.2'
33
+ - !ruby/object:Gem::Dependency
34
+ name: bundler
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: '2.0'
40
+ type: :development
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - "~>"
45
+ - !ruby/object:Gem::Version
46
+ version: '2.0'
47
+ - !ruby/object:Gem::Dependency
48
+ name: rake
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - "~>"
52
+ - !ruby/object:Gem::Version
53
+ version: '10.0'
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - "~>"
59
+ - !ruby/object:Gem::Version
60
+ version: '10.0'
61
+ - !ruby/object:Gem::Dependency
62
+ name: pry
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - "~>"
66
+ - !ruby/object:Gem::Version
67
+ version: 0.12.2
68
+ type: :development
69
+ prerelease: false
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - "~>"
73
+ - !ruby/object:Gem::Version
74
+ version: 0.12.2
75
+ description:
76
+ email:
77
+ - vuongpd95@gmail.com
78
+ executables: []
79
+ extensions: []
80
+ extra_rdoc_files: []
81
+ files:
82
+ - ".gitignore"
83
+ - CHANGELOG.md
84
+ - CODE_OF_CONDUCT.md
85
+ - Gemfile
86
+ - Gemfile.lock
87
+ - LICENSE.txt
88
+ - README.md
89
+ - Rakefile
90
+ - bin/console
91
+ - bin/setup
92
+ - lib/generators/simply_inline_svg/install_generator.rb
93
+ - lib/generators/templates/simply_inline_svg_initializer.rb
94
+ - lib/simply_inline_svg.rb
95
+ - lib/simply_inline_svg/action_view/helpers.rb
96
+ - lib/simply_inline_svg/railtie.rb
97
+ - lib/simply_inline_svg/storage.rb
98
+ - lib/simply_inline_svg/svg.rb
99
+ - lib/simply_inline_svg/version.rb
100
+ - simply_inline_svg.gemspec
101
+ homepage: https://chilling.dev/open-source/simply-inline-svg
102
+ licenses:
103
+ - MIT
104
+ metadata:
105
+ homepage_uri: https://chilling.dev/open-source/simply-inline-svg
106
+ source_code_uri: https://github.com/vuongpd95/simply_inline_svg
107
+ changelog_uri: https://github.com/vuongpd95/simply_inline_svg/blob/v0.1.0/CHANGELOG.md
108
+ post_install_message:
109
+ rdoc_options: []
110
+ require_paths:
111
+ - lib
112
+ required_ruby_version: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - ">="
115
+ - !ruby/object:Gem::Version
116
+ version: '0'
117
+ required_rubygems_version: !ruby/object:Gem::Requirement
118
+ requirements:
119
+ - - ">="
120
+ - !ruby/object:Gem::Version
121
+ version: '0'
122
+ requirements: []
123
+ rubyforge_project:
124
+ rubygems_version: 2.7.7
125
+ signing_key:
126
+ specification_version: 4
127
+ summary: SimplyInlineSVG helps you inline svg images into HTML template in a (really)
128
+ simple way.
129
+ test_files: []