inline_svg 0.12.0 → 0.12.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 +4 -4
- data/CHANGELOG.md +15 -2
- data/README.md +1 -1
- data/inline_svg.gemspec +1 -1
- data/lib/inline_svg/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0491a6e65ea3cac66dc9612b22a0a7a2715bb668
|
|
4
|
+
data.tar.gz: 31d0110574f801a1f3cc77916decb92edc997513
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b58b3ca89ab12aba85a60e6073e835aa335b1d7a8e6e6af9218a63c0342eadc4cdd2d905b08a88b9c53d0535c65b8706a48f3d29e0113b8e989d8708d4c70286
|
|
7
|
+
data.tar.gz: dd349c539a96ebeaf27dc71bcdc1c9cd7da6a4d54e07911272a5bf4896c28587a0d56c61e49eea6689e71917b020595b595982da27ea00a73ac75aa3ef70cf15
|
data/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file.
|
|
|
3
3
|
This project adheres to [Semantic Versioning](http://semver.org/).
|
|
4
4
|
|
|
5
5
|
## [Unreleased][unreleased]
|
|
6
|
+
- Nothing
|
|
7
|
+
|
|
8
|
+
## [0.12.1] - 2017-03-24
|
|
9
|
+
### Added
|
|
10
|
+
- Relax dependency on `Nokogiri` to allow users to upgrade to v1.7x, preventing
|
|
11
|
+
exposure to
|
|
12
|
+
[CVE-2016-4658](https://github.com/sparklemotion/nokogiri/issues/1615):
|
|
13
|
+
[#59](https://github.com/jamesmartin/inline_svg/issues/59)
|
|
14
|
+
|
|
15
|
+
## [0.12.0] - 2017-03-16
|
|
16
|
+
### Added
|
|
6
17
|
- Relax dependency on `ActiveSupport` to allow Rails 3 applications to use the
|
|
7
18
|
gem: [#54](https://github.com/jamesmartin/inline_svg/issues/54)
|
|
8
19
|
|
|
@@ -84,7 +95,7 @@ transformations](https://github.com/jamesmartin/inline_svg/blob/master/README.md
|
|
|
84
95
|
|
|
85
96
|
## [0.5.1] - 2015-03-30
|
|
86
97
|
### Warning
|
|
87
|
-
|
|
98
|
+
** This version is NOT comaptible with Sprockets >= 3. **
|
|
88
99
|
|
|
89
100
|
### Fixed
|
|
90
101
|
- Support for ActiveSupport (and hence, Rails) 4.2.x. Thanks, @jmarceli.
|
|
@@ -125,7 +136,9 @@ transformations](https://github.com/jamesmartin/inline_svg/blob/master/README.md
|
|
|
125
136
|
### Added
|
|
126
137
|
- Basic Railtie and view helper to inline SVG documents to Rails views.
|
|
127
138
|
|
|
128
|
-
[unreleased]: https://github.com/jamesmartin/inline_svg/compare/v0.
|
|
139
|
+
[unreleased]: https://github.com/jamesmartin/inline_svg/compare/v0.12.1...HEAD
|
|
140
|
+
[0.12.1]: https://github.com/jamesmartin/inline_svg/compare/v0.12.0...v0.12.1
|
|
141
|
+
[0.12.0]: https://github.com/jamesmartin/inline_svg/compare/v0.11.1...v0.12.0
|
|
129
142
|
[0.11.1]: https://github.com/jamesmartin/inline_svg/compare/v0.11.0...v0.11.1
|
|
130
143
|
[0.11.0]: https://github.com/jamesmartin/inline_svg/compare/v0.10.0...v0.11.0
|
|
131
144
|
[0.10.0]: https://github.com/jamesmartin/inline_svg/compare/v0.9.1...v0.10.0
|
data/README.md
CHANGED
|
@@ -7,7 +7,7 @@ embedding](http://css-tricks.com/using-svg/) it inline in the HTML.
|
|
|
7
7
|
This gem is a little Rails helper method (`inline_svg`) that reads an SVG document (via Sprockets, so works with the Rails Asset Pipeline), applies a CSS class attribute to the root of the document and
|
|
8
8
|
then embeds it into a view.
|
|
9
9
|
|
|
10
|
-
Inline SVG (from [v0.
|
|
10
|
+
Inline SVG supports [Rails 3](http://weblog.rubyonrails.org/2010/8/29/rails-3-0-it-s-done/) (from [v0.12.0](https://github.com/jamesmartin/inline_svg/releases/tag/v0.12.0)), [Rails 4](http://weblog.rubyonrails.org/2013/6/25/Rails-4-0-final/) and [Rails 5](http://weblog.rubyonrails.org/2016/6/30/Rails-5-0-final/) (from [v0.10.0](https://github.com/jamesmartin/inline_svg/releases/tag/v0.10.0)).
|
|
11
11
|
|
|
12
12
|
Want to embed SVGs with Javascript? You might like [RemoteSvg](https://github.com/jamesmartin/remote-svg), which features similar transforms but can also load SVGs from remote URLs (like S3 etc.).
|
|
13
13
|
|
data/inline_svg.gemspec
CHANGED
|
@@ -25,6 +25,6 @@ Gem::Specification.new do |spec|
|
|
|
25
25
|
spec.add_development_dependency "pry"
|
|
26
26
|
|
|
27
27
|
spec.add_runtime_dependency "activesupport", ">= 3.0"
|
|
28
|
-
spec.add_runtime_dependency "nokogiri", "
|
|
28
|
+
spec.add_runtime_dependency "nokogiri", ">= 1.6"
|
|
29
29
|
spec.add_runtime_dependency "loofah", ">= 2.0"
|
|
30
30
|
end
|
data/lib/inline_svg/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: inline_svg
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.12.
|
|
4
|
+
version: 0.12.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- James Martin
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-03-
|
|
11
|
+
date: 2017-03-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -98,14 +98,14 @@ dependencies:
|
|
|
98
98
|
name: nokogiri
|
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
|
100
100
|
requirements:
|
|
101
|
-
- - "
|
|
101
|
+
- - ">="
|
|
102
102
|
- !ruby/object:Gem::Version
|
|
103
103
|
version: '1.6'
|
|
104
104
|
type: :runtime
|
|
105
105
|
prerelease: false
|
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
|
107
107
|
requirements:
|
|
108
|
-
- - "
|
|
108
|
+
- - ">="
|
|
109
109
|
- !ruby/object:Gem::Version
|
|
110
110
|
version: '1.6'
|
|
111
111
|
- !ruby/object:Gem::Dependency
|