image_helpers 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +10 -0
- data/.rubocop.yml +12 -0
- data/.travis.yml +6 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +172 -0
- data/LICENSE.txt +21 -0
- data/README.md +109 -0
- data/Rakefile +12 -0
- data/image_helpers.gemspec +34 -0
- data/lib/image_helpers.rb +32 -0
- data/lib/image_helpers/version.rb +5 -0
- metadata +140 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 0ba2e859e318b810a02ad8b0bcec7ecddc3f2a82250999e9d5b9bdf7271c4e39
|
4
|
+
data.tar.gz: cce8a0b06f1fec24ded78a390fe3db7eb208f82c17209e855bb67592a3b61c72
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 7b80632dcd487d4d0fba5780956ce44fa66bd0ee343771024c8652172f94c85c1d8a97790118bc7ffc4b29697a935be106b822743f2037e907a7981e5dbe3124
|
7
|
+
data.tar.gz: 4d24687ca7dc338f716d0688233613b662683a3768614b8890a4f9a334690c4850b31cac29ca35b5cfdfd3c52386411a71a3fb369382132f0681a600a0618b6e
|
data/.gitignore
ADDED
data/.rubocop.yml
ADDED
data/.travis.yml
ADDED
data/CODE_OF_CONDUCT.md
ADDED
@@ -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 me@fnando.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 [https://contributor-covenant.org/version/1/4][version]
|
72
|
+
|
73
|
+
[homepage]: https://contributor-covenant.org
|
74
|
+
[version]: https://contributor-covenant.org/version/1/4/
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,172 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
image_helpers (0.1.0)
|
5
|
+
rails
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
actioncable (6.0.2.1)
|
11
|
+
actionpack (= 6.0.2.1)
|
12
|
+
nio4r (~> 2.0)
|
13
|
+
websocket-driver (>= 0.6.1)
|
14
|
+
actionmailbox (6.0.2.1)
|
15
|
+
actionpack (= 6.0.2.1)
|
16
|
+
activejob (= 6.0.2.1)
|
17
|
+
activerecord (= 6.0.2.1)
|
18
|
+
activestorage (= 6.0.2.1)
|
19
|
+
activesupport (= 6.0.2.1)
|
20
|
+
mail (>= 2.7.1)
|
21
|
+
actionmailer (6.0.2.1)
|
22
|
+
actionpack (= 6.0.2.1)
|
23
|
+
actionview (= 6.0.2.1)
|
24
|
+
activejob (= 6.0.2.1)
|
25
|
+
mail (~> 2.5, >= 2.5.4)
|
26
|
+
rails-dom-testing (~> 2.0)
|
27
|
+
actionpack (6.0.2.1)
|
28
|
+
actionview (= 6.0.2.1)
|
29
|
+
activesupport (= 6.0.2.1)
|
30
|
+
rack (~> 2.0, >= 2.0.8)
|
31
|
+
rack-test (>= 0.6.3)
|
32
|
+
rails-dom-testing (~> 2.0)
|
33
|
+
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
34
|
+
actiontext (6.0.2.1)
|
35
|
+
actionpack (= 6.0.2.1)
|
36
|
+
activerecord (= 6.0.2.1)
|
37
|
+
activestorage (= 6.0.2.1)
|
38
|
+
activesupport (= 6.0.2.1)
|
39
|
+
nokogiri (>= 1.8.5)
|
40
|
+
actionview (6.0.2.1)
|
41
|
+
activesupport (= 6.0.2.1)
|
42
|
+
builder (~> 3.1)
|
43
|
+
erubi (~> 1.4)
|
44
|
+
rails-dom-testing (~> 2.0)
|
45
|
+
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
46
|
+
activejob (6.0.2.1)
|
47
|
+
activesupport (= 6.0.2.1)
|
48
|
+
globalid (>= 0.3.6)
|
49
|
+
activemodel (6.0.2.1)
|
50
|
+
activesupport (= 6.0.2.1)
|
51
|
+
activerecord (6.0.2.1)
|
52
|
+
activemodel (= 6.0.2.1)
|
53
|
+
activesupport (= 6.0.2.1)
|
54
|
+
activestorage (6.0.2.1)
|
55
|
+
actionpack (= 6.0.2.1)
|
56
|
+
activejob (= 6.0.2.1)
|
57
|
+
activerecord (= 6.0.2.1)
|
58
|
+
marcel (~> 0.3.1)
|
59
|
+
activesupport (6.0.2.1)
|
60
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
61
|
+
i18n (>= 0.7, < 2)
|
62
|
+
minitest (~> 5.1)
|
63
|
+
tzinfo (~> 1.1)
|
64
|
+
zeitwerk (~> 2.2)
|
65
|
+
awesome_print (1.8.0)
|
66
|
+
builder (3.2.4)
|
67
|
+
byebug (11.1.1)
|
68
|
+
coderay (1.1.2)
|
69
|
+
concurrent-ruby (1.1.6)
|
70
|
+
crass (1.0.6)
|
71
|
+
erubi (1.9.0)
|
72
|
+
globalid (0.4.2)
|
73
|
+
activesupport (>= 4.2.0)
|
74
|
+
i18n (1.8.2)
|
75
|
+
concurrent-ruby (~> 1.0)
|
76
|
+
loofah (2.4.0)
|
77
|
+
crass (~> 1.0.2)
|
78
|
+
nokogiri (>= 1.5.9)
|
79
|
+
mail (2.7.1)
|
80
|
+
mini_mime (>= 0.1.1)
|
81
|
+
marcel (0.3.3)
|
82
|
+
mimemagic (~> 0.3.2)
|
83
|
+
method_source (0.9.2)
|
84
|
+
mimemagic (0.3.4)
|
85
|
+
mini_mime (1.0.2)
|
86
|
+
mini_portile2 (2.4.0)
|
87
|
+
minitest (5.14.0)
|
88
|
+
minitest-utils (0.4.6)
|
89
|
+
minitest
|
90
|
+
nio4r (2.5.2)
|
91
|
+
nokogiri (1.10.9)
|
92
|
+
mini_portile2 (~> 2.4.0)
|
93
|
+
pry (0.12.2)
|
94
|
+
coderay (~> 1.1.0)
|
95
|
+
method_source (~> 0.9.0)
|
96
|
+
pry-byebug (3.8.0)
|
97
|
+
byebug (~> 11.0)
|
98
|
+
pry (~> 0.10)
|
99
|
+
pry-meta (0.0.10)
|
100
|
+
awesome_print
|
101
|
+
pry
|
102
|
+
pry-byebug
|
103
|
+
pry-remote
|
104
|
+
pry-remote (0.1.8)
|
105
|
+
pry (~> 0.9)
|
106
|
+
slop (~> 3.0)
|
107
|
+
rack (2.2.2)
|
108
|
+
rack-proxy (0.6.5)
|
109
|
+
rack
|
110
|
+
rack-test (1.1.0)
|
111
|
+
rack (>= 1.0, < 3)
|
112
|
+
rails (6.0.2.1)
|
113
|
+
actioncable (= 6.0.2.1)
|
114
|
+
actionmailbox (= 6.0.2.1)
|
115
|
+
actionmailer (= 6.0.2.1)
|
116
|
+
actionpack (= 6.0.2.1)
|
117
|
+
actiontext (= 6.0.2.1)
|
118
|
+
actionview (= 6.0.2.1)
|
119
|
+
activejob (= 6.0.2.1)
|
120
|
+
activemodel (= 6.0.2.1)
|
121
|
+
activerecord (= 6.0.2.1)
|
122
|
+
activestorage (= 6.0.2.1)
|
123
|
+
activesupport (= 6.0.2.1)
|
124
|
+
bundler (>= 1.3.0)
|
125
|
+
railties (= 6.0.2.1)
|
126
|
+
sprockets-rails (>= 2.0.0)
|
127
|
+
rails-dom-testing (2.0.3)
|
128
|
+
activesupport (>= 4.2.0)
|
129
|
+
nokogiri (>= 1.6)
|
130
|
+
rails-html-sanitizer (1.3.0)
|
131
|
+
loofah (~> 2.3)
|
132
|
+
railties (6.0.2.1)
|
133
|
+
actionpack (= 6.0.2.1)
|
134
|
+
activesupport (= 6.0.2.1)
|
135
|
+
method_source
|
136
|
+
rake (>= 0.8.7)
|
137
|
+
thor (>= 0.20.3, < 2.0)
|
138
|
+
rake (13.0.1)
|
139
|
+
slop (3.6.0)
|
140
|
+
sprockets (4.0.0)
|
141
|
+
concurrent-ruby (~> 1.0)
|
142
|
+
rack (> 1, < 3)
|
143
|
+
sprockets-rails (3.2.1)
|
144
|
+
actionpack (>= 4.0)
|
145
|
+
activesupport (>= 4.0)
|
146
|
+
sprockets (>= 3.0.0)
|
147
|
+
thor (1.0.1)
|
148
|
+
thread_safe (0.3.6)
|
149
|
+
tzinfo (1.2.6)
|
150
|
+
thread_safe (~> 0.1)
|
151
|
+
webpacker (4.2.2)
|
152
|
+
activesupport (>= 4.2)
|
153
|
+
rack-proxy (>= 0.6.1)
|
154
|
+
railties (>= 4.2)
|
155
|
+
websocket-driver (0.7.1)
|
156
|
+
websocket-extensions (>= 0.1.0)
|
157
|
+
websocket-extensions (0.1.4)
|
158
|
+
zeitwerk (2.3.0)
|
159
|
+
|
160
|
+
PLATFORMS
|
161
|
+
ruby
|
162
|
+
|
163
|
+
DEPENDENCIES
|
164
|
+
image_helpers!
|
165
|
+
minitest
|
166
|
+
minitest-utils
|
167
|
+
pry-meta
|
168
|
+
rake
|
169
|
+
webpacker
|
170
|
+
|
171
|
+
BUNDLED WITH
|
172
|
+
2.1.2
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2020 Nando Vieira
|
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.
|
data/README.md
ADDED
@@ -0,0 +1,109 @@
|
|
1
|
+
# ImageHelpers
|
2
|
+
|
3
|
+
Some image helpers for Rails.
|
4
|
+
|
5
|
+
These helpers are optimized for
|
6
|
+
[webpacker](https://rubygems.org/gems/webpacker), which means that all images
|
7
|
+
will have paths resolved through packs.
|
8
|
+
|
9
|
+
## Installation
|
10
|
+
|
11
|
+
Add this line to your application's Gemfile:
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
gem "image_helpers"
|
15
|
+
```
|
16
|
+
|
17
|
+
And then execute:
|
18
|
+
|
19
|
+
$ bundle install
|
20
|
+
|
21
|
+
Or install it yourself as:
|
22
|
+
|
23
|
+
$ gem install image_helpers
|
24
|
+
|
25
|
+
## Usage
|
26
|
+
|
27
|
+
First, include the helpers module on your `ApplicationHelper`.
|
28
|
+
|
29
|
+
```ruby
|
30
|
+
module ApplicationHelper
|
31
|
+
include ImageHelpers
|
32
|
+
end
|
33
|
+
```
|
34
|
+
|
35
|
+
### `picture_tag(uris, options)`
|
36
|
+
|
37
|
+
Generate `<picture>` tags. The default image is the one that doesn't have the
|
38
|
+
`media` attribute.
|
39
|
+
|
40
|
+
```ruby
|
41
|
+
picture_tag([
|
42
|
+
{url: "logo.svg", alt: "ACME Inc."},
|
43
|
+
{url: "dark/logo.svg", media: "(prefers-color-scheme: dark)"}
|
44
|
+
])
|
45
|
+
```
|
46
|
+
|
47
|
+
This will be rendered as
|
48
|
+
|
49
|
+
```html
|
50
|
+
<picture>
|
51
|
+
<source srcset="/dark/logo.svg" media="(prefers-color-scheme: dark)" />
|
52
|
+
<img src="/logo.svg" alt="ACME Inc." />
|
53
|
+
</picture>
|
54
|
+
```
|
55
|
+
|
56
|
+
### `svg_sprite(sprite, link, options)`
|
57
|
+
|
58
|
+
Generate `<svg>` links.
|
59
|
+
|
60
|
+
```ruby
|
61
|
+
<%= svg_sprite :icons, :checkmark, class: "icon lg green" %>
|
62
|
+
```
|
63
|
+
|
64
|
+
This will be rendered as
|
65
|
+
|
66
|
+
```html
|
67
|
+
<svg class="icon lg green" role="presentation">
|
68
|
+
<use href="/icons.svg#checkmark">
|
69
|
+
</svg>
|
70
|
+
```
|
71
|
+
|
72
|
+
This is more useful if you wrap it in your own helper.
|
73
|
+
|
74
|
+
```ruby
|
75
|
+
def icon(name, color = nil)
|
76
|
+
svg_sprite :icons, name, class: "icon lg #{color}".rstrip
|
77
|
+
end
|
78
|
+
```
|
79
|
+
|
80
|
+
## Development
|
81
|
+
|
82
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run
|
83
|
+
`rake test` to run the tests. You can also run `bin/console` for an interactive
|
84
|
+
prompt that will allow you to experiment.
|
85
|
+
|
86
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To
|
87
|
+
release a new version, update the version number in `version.rb`, and then run
|
88
|
+
`bundle exec rake release`, which will create a git tag for the version, push
|
89
|
+
git commits and tags, and push the `.gem` file to
|
90
|
+
[rubygems.org](https://rubygems.org).
|
91
|
+
|
92
|
+
## Contributing
|
93
|
+
|
94
|
+
Bug reports and pull requests are welcome on GitHub at
|
95
|
+
https://github.com/fnando/image_helpers. This project is intended to be a safe,
|
96
|
+
welcoming space for collaboration, and contributors are expected to adhere to
|
97
|
+
the
|
98
|
+
[code of conduct](https://github.com/fnando/image_helpers/blob/master/CODE_OF_CONDUCT.md).
|
99
|
+
|
100
|
+
## License
|
101
|
+
|
102
|
+
The gem is available as open source under the terms of the
|
103
|
+
[MIT License](https://opensource.org/licenses/MIT).
|
104
|
+
|
105
|
+
## Code of Conduct
|
106
|
+
|
107
|
+
Everyone interacting in the ImageHelpers project's codebases, issue trackers,
|
108
|
+
chat rooms and mailing lists is expected to follow the
|
109
|
+
[code of conduct](https://github.com/fnando/image_helpers/blob/master/CODE_OF_CONDUCT.md).
|
data/Rakefile
ADDED
@@ -0,0 +1,34 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require_relative "lib/image_helpers/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |spec|
|
6
|
+
spec.name = "image_helpers"
|
7
|
+
spec.version = ImageHelpers::VERSION
|
8
|
+
spec.authors = ["Nando Vieira"]
|
9
|
+
spec.email = ["me@fnando.com"]
|
10
|
+
|
11
|
+
spec.summary = "Some image helpers for Rails."
|
12
|
+
spec.description = spec.summary
|
13
|
+
spec.homepage = "https://github.com/fnando/image_helpers"
|
14
|
+
spec.license = "MIT"
|
15
|
+
|
16
|
+
spec.metadata["homepage_uri"] = spec.homepage
|
17
|
+
|
18
|
+
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
19
|
+
`git ls-files -z`
|
20
|
+
.split("\x0")
|
21
|
+
.reject {|f| f.match(%r{^(test|spec|features)/}) }
|
22
|
+
end
|
23
|
+
|
24
|
+
spec.bindir = "exe"
|
25
|
+
spec.executables = spec.files.grep(%r{^exe/}) {|f| File.basename(f) }
|
26
|
+
spec.require_paths = ["lib"]
|
27
|
+
|
28
|
+
spec.add_dependency "rails"
|
29
|
+
spec.add_development_dependency "minitest"
|
30
|
+
spec.add_development_dependency "minitest-utils"
|
31
|
+
spec.add_development_dependency "pry-meta"
|
32
|
+
spec.add_development_dependency "rake"
|
33
|
+
spec.add_development_dependency "webpacker"
|
34
|
+
end
|
@@ -0,0 +1,32 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require "image_helpers/version"
|
4
|
+
|
5
|
+
module ImageHelpers
|
6
|
+
def picture_tag(images)
|
7
|
+
return if images.empty?
|
8
|
+
|
9
|
+
sources = images.select {|uri| uri[:media] }
|
10
|
+
image = images.find {|uri| !uri[:media] }
|
11
|
+
|
12
|
+
content_tag :picture do
|
13
|
+
sources.each do |source|
|
14
|
+
url = resolve_path_to_image(source.delete(:url))
|
15
|
+
concat tag(:source, {srcset: url}.merge(source))
|
16
|
+
end
|
17
|
+
|
18
|
+
concat image_pack_tag(image.delete(:url), image)
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
def svg_sprite(name, link, options = {})
|
23
|
+
name = "#{name}.svg" unless name.end_with?(".svg")
|
24
|
+
entry = current_webpacker_instance.config.source_entry_path.basename.to_s
|
25
|
+
url = asset_pack_path("media/#{entry}/images/#{name}")
|
26
|
+
options[:role] ||= "presentation"
|
27
|
+
|
28
|
+
content_tag :svg, options do
|
29
|
+
tag.use href: "#{url}##{link}"
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
metadata
ADDED
@@ -0,0 +1,140 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: image_helpers
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Nando Vieira
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2020-03-20 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rails
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: minitest
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: minitest-utils
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: pry-meta
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rake
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: webpacker
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
description: Some image helpers for Rails.
|
98
|
+
email:
|
99
|
+
- me@fnando.com
|
100
|
+
executables: []
|
101
|
+
extensions: []
|
102
|
+
extra_rdoc_files: []
|
103
|
+
files:
|
104
|
+
- ".gitignore"
|
105
|
+
- ".rubocop.yml"
|
106
|
+
- ".travis.yml"
|
107
|
+
- CODE_OF_CONDUCT.md
|
108
|
+
- Gemfile
|
109
|
+
- Gemfile.lock
|
110
|
+
- LICENSE.txt
|
111
|
+
- README.md
|
112
|
+
- Rakefile
|
113
|
+
- image_helpers.gemspec
|
114
|
+
- lib/image_helpers.rb
|
115
|
+
- lib/image_helpers/version.rb
|
116
|
+
homepage: https://github.com/fnando/image_helpers
|
117
|
+
licenses:
|
118
|
+
- MIT
|
119
|
+
metadata:
|
120
|
+
homepage_uri: https://github.com/fnando/image_helpers
|
121
|
+
post_install_message:
|
122
|
+
rdoc_options: []
|
123
|
+
require_paths:
|
124
|
+
- lib
|
125
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
126
|
+
requirements:
|
127
|
+
- - ">="
|
128
|
+
- !ruby/object:Gem::Version
|
129
|
+
version: '0'
|
130
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
131
|
+
requirements:
|
132
|
+
- - ">="
|
133
|
+
- !ruby/object:Gem::Version
|
134
|
+
version: '0'
|
135
|
+
requirements: []
|
136
|
+
rubygems_version: 3.1.2
|
137
|
+
signing_key:
|
138
|
+
specification_version: 4
|
139
|
+
summary: Some image helpers for Rails.
|
140
|
+
test_files: []
|