nice_asset_carrierwave 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 4632d1237aef0a48a7521282a34736c2743120cc
4
+ data.tar.gz: 30f04e6a142acdb2ed72fac491e93c27c7094982
5
+ SHA512:
6
+ metadata.gz: 58401586580040932c52f63e0c1c324e9d82ad05c43e20e482ccf9038e7e243da4f594d11e87555b6a17e656b82ed27cf7fc341373a231f45d160d7236d24858
7
+ data.tar.gz: 64957f252ed98bb07e9519c694b4f66ccb5f9b2d8e25bafd774f00b3f2646bd2505588e339b36f3746eec98453b5d7119a9fcb7bec92bc00159e063b665881bc
@@ -0,0 +1,98 @@
1
+ module Overcommit
2
+ module Hook
3
+ module PreCommit
4
+ # Class to remove stray focus: true inclusions
5
+ class CheckForMissingViewSpecs < Base
6
+ # Overcommit expects you to override this method which will be called
7
+ # everytime your pre-commit hook is run.
8
+ def run
9
+ check_files
10
+
11
+ return :fail, error_lines.join("\n") if error_lines.any?
12
+
13
+ return :warn, "Check 'focus true' on lines you didn't modify\n" <<
14
+ warning_lines.join("\n") if warning_lines.any?
15
+
16
+ :pass
17
+ end
18
+
19
+ private
20
+
21
+ def check_files
22
+ rails_root=Dir.pwd.gsub(/\/.git-hooks\/pre_commit.*$/,'')
23
+ view_path="#{rails_root}/app/views"
24
+ spec_path="#{rails_root}/spec/views"
25
+ check_path(view_path,spec_path)
26
+ end
27
+
28
+ def check_path(iv,is)
29
+ d=Dir.new(iv)
30
+ files=d.entries-['.','..','.DS_Store']
31
+ if files.any?
32
+ files.each do |f|
33
+ v="#{iv}/#{f}"
34
+ s="#{is}/#{f}"
35
+ if File.directory?(v)
36
+ if File.exists?(s)
37
+ unless File.directory?(s)
38
+ error_lines_add("#{s} exists, but is not a directory like #{v}")
39
+ end
40
+ else
41
+ FileUtils.mkdir(s, mode: 0755)
42
+ end
43
+ check_path(v,s)
44
+ else
45
+ spec_file_name="#{s}_spec.rb"
46
+ unless File.exists?(spec_file_name)
47
+ error_lines_add("Had to create a missing view spec at #{spec_file_name}. Run your tests before re-committing, please.")
48
+ FileUtils.touch spec_file_name
49
+ FileUtils.chmod 0644,spec_file_name
50
+ open(spec_file_name, 'w') { |f|
51
+ f.puts here_doc(clipped_file_name(s))
52
+ }
53
+ end
54
+ end
55
+ end
56
+ end
57
+ end
58
+
59
+ def clipped_file_name(fn)
60
+ fn.gsub(/^.*views\//,'')
61
+ end
62
+
63
+ def here_doc(fn)
64
+ <<-END.gsub(/^ {12}/,'').gsub(/FILENAME/,fn)
65
+ require 'rails_helper'
66
+
67
+ RSpec.describe 'FILENAME', type: :view do
68
+ setup_factories
69
+
70
+ before do
71
+ end
72
+
73
+ it 'should render without error' do
74
+ render
75
+ end
76
+ end
77
+ END
78
+ end
79
+
80
+ def error_lines
81
+ @error_lines ||= []
82
+ end
83
+
84
+ def error_lines_add(message)
85
+ error_lines << message
86
+ end
87
+
88
+ def warning_lines
89
+ @warning_lines ||= []
90
+ end
91
+
92
+ def warning_lines_add(message)
93
+ warning_lines << message
94
+ end
95
+ end
96
+ end
97
+ end
98
+ end
@@ -0,0 +1,76 @@
1
+ module Overcommit
2
+ module Hook
3
+ module PreCommit
4
+ # Class to remove stray focus: true inclusions
5
+ class RemoveFocusTrue < Base
6
+ # Overcommit expects you to override this method which will be called
7
+ # everytime your pre-commit hook is run.
8
+ def run
9
+ # The `config` attribute is a hash of
10
+ # your settings based on your `.overcommit.yml` file.
11
+ # max_line_length = config['max']
12
+
13
+ check_files
14
+
15
+ # Overcommit expects 1 of the 3 as return values,
16
+ # `:fail`, `:warn` or `:pass`.
17
+ # If the hook returns `:fail`, the commit will
18
+ # be aborted with our message containing the errors.
19
+ return :fail, error_lines.join("\n") if error_lines.any?
20
+
21
+ # If the hook returns `:warn`, the commit will
22
+ # continue with our message containing the warnings.
23
+ return :warn, "Check 'focus true' on lines you didn't modify\n" <<
24
+ warning_lines.join("\n") if warning_lines.any?
25
+
26
+ :pass
27
+ end
28
+
29
+ def check_file(file)
30
+ # `modified_lines` is another method provided by Overcommit. It will
31
+ # return an array containing the index of lines in the file which have
32
+ # been modified for the particular commit.
33
+ # modified_lines_num = modified_lines(file)
34
+
35
+ # Loop through each file with the index.
36
+ File.open(file, 'r').each_with_index do |line, index|
37
+ # Check if the line contains focus true.
38
+ next unless line.match(/:focus\s*?=>\s*?true|focus:\s*?true/)
39
+ message = "#{file}:#{index + 1}: #{focus_true_message}"
40
+ error_lines_add(message)
41
+ end
42
+ end
43
+
44
+ def check_files
45
+ # For pre-commit hooks, `applicable_files` is one of the methods that
46
+ # Overcommit provides which returns an array of files that have been
47
+ # modified for the particular commit.
48
+
49
+ applicable_files.each do |file|
50
+ check_file(file)
51
+ end
52
+ end
53
+
54
+ def error_lines
55
+ @error_lines ||= []
56
+ end
57
+
58
+ def error_lines_add(message)
59
+ error_lines << message
60
+ end
61
+
62
+ def focus_true_message
63
+ 'Line contains "focus true". Remove it before commit, please'
64
+ end
65
+
66
+ def warning_lines
67
+ @warning_lines ||= []
68
+ end
69
+
70
+ def warning_lines_add(message)
71
+ warning_lines << message
72
+ end
73
+ end
74
+ end
75
+ end
76
+ end
data/.gitignore ADDED
@@ -0,0 +1,12 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+
11
+ # rspec failure tracking
12
+ .rspec_status
data/.overcommit.yml ADDED
@@ -0,0 +1,59 @@
1
+ # Use this file to configure the Overcommit hooks you wish to use. This will
2
+ # extend the default configuration defined in:
3
+ # https://github.com/brigade/overcommit/blob/master/config/default.yml
4
+ #
5
+ # At the topmost level of this YAML file is a key representing type of hook
6
+ # being run (e.g. pre-commit, commit-msg, etc.). Within each type you can
7
+ # customize each hook, such as whether to only run it on certain files (via
8
+ # `include`), whether to only display output if it fails (via `quiet`), etc.
9
+ #
10
+ # For a complete list of hooks, see:
11
+ # https://github.com/brigade/overcommit/tree/master/lib/overcommit/hook
12
+ #
13
+ # For a complete list of options that you can use to customize hooks, see:
14
+ # https://github.com/brigade/overcommit#configuration
15
+ #
16
+ # Uncomment the following lines to make the configuration take effect.
17
+
18
+ verify_signatures: false
19
+
20
+ PreCommit:
21
+ RemoveFocusTrue:
22
+ enabled: true
23
+ description: 'Checking for stray "focus: true" inclusions'
24
+ include:
25
+ - '**/*_spec.rb'
26
+
27
+ RuboCop:
28
+ enabled: true
29
+ on_warn: fail # Treat all warnings as failures
30
+ exclude:
31
+ - Gemfile
32
+ EsLint:
33
+ enabled: true
34
+ required_executable: 'npm'
35
+ on_warn: warn
36
+ on_fail: warn
37
+ command: ['npm', 'run', 'lint', '--']
38
+
39
+ PostCheckout:
40
+ IndexTags:
41
+ enabled: true
42
+ NpmInstall:
43
+ required_executable: 'npm'
44
+ enabled: true
45
+ command: ['npm', 'i', '-d']
46
+
47
+ BundleInstall:
48
+ enabled: true
49
+ #
50
+ # TrailingWhitespace:
51
+ # exclude:
52
+ # - '**/db/structure.sql' # Ignore trailing whitespace in generated files
53
+ #
54
+ PostCheckout:
55
+ ALL: # Special hook name that customizes all hooks of this type
56
+ quiet: true # Change all post-checkout hooks to only display output on failure
57
+
58
+ IndexTags:
59
+ enabled: true # Generate a tags file with `ctags` each time HEAD changes
data/.rspec ADDED
@@ -0,0 +1,4 @@
1
+ --color
2
+ --require spec_helper
3
+ --format documentation
4
+ #--fail-fast
data/.rubocop.yml ADDED
@@ -0,0 +1,22 @@
1
+ AllCops:
2
+ Exclude:
3
+ - 'Gemfile'
4
+ - '*.gemspec'
5
+ - 'Guardfile'
6
+ - 'Rakefile'
7
+ - '.git-hooks/**/*'
8
+ - 'app/views/**/*'
9
+ - 'bin/**/*'
10
+ - 'db/**/*'
11
+ - 'config/**/*'
12
+ - 'lib/**/*'
13
+ - 'log/**/*'
14
+ - 'node_modules/**/*'
15
+ - 'script/**/*'
16
+ - 'spec/**/*'
17
+ - 'tmp/**/*'
18
+ - 'vendor/**/*'
19
+ Lint/HandleExceptions:
20
+ Enabled: false
21
+ Style/AccessorMethodName:
22
+ Enabled: false
data/.travis.yml ADDED
@@ -0,0 +1,5 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.3.4
5
+ before_install: gem install bundler -v 1.14.6
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in nice_asset_carrierwave.gemspec
4
+ gemspec
data/Guardfile ADDED
@@ -0,0 +1,23 @@
1
+ require "guard/rspec/dsl"
2
+ dsl = Guard::RSpec::Dsl.new(self)
3
+
4
+ rspec = dsl.rspec
5
+ ruby = dsl.ruby
6
+ rails = dsl.rails(view_extensions: %w(erb haml jbuilder slim))
7
+
8
+ guard :rspec, cmd: "spring rspec" do
9
+ # RSpec files
10
+ rspec = dsl.rspec
11
+ watch(rspec.spec_helper) { rspec.spec_dir }
12
+ watch(rspec.spec_support) { rspec.spec_dir }
13
+ watch(rspec.spec_files)
14
+
15
+ # Ruby files
16
+ ruby = dsl.ruby
17
+ dsl.watch_spec_files_for(ruby.lib_files)
18
+ end
19
+
20
+ guard :rubocop, all_on_start: false, notification: true do
21
+ watch(%r{.+\.rb$})
22
+ watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) }
23
+ end
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2017 Terry S
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,42 @@
1
+ # NiceAssetCarrierwave
2
+
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/nice_asset_carrierwave`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'nice_asset_carrierwave'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install nice_asset_carrierwave
22
+
23
+ ## Usage
24
+
25
+ TODO: Write usage instructions here
26
+
27
+ ## Development
28
+
29
+ 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.
30
+
31
+ 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).
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/nice_asset_carrierwave.
36
+
37
+
38
+ ## License
39
+
40
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
41
+
42
+ # nice_asset_carrierwave
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "nice_asset_carrierwave"
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__)
data/bin/setup ADDED
@@ -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,3 @@
1
+ module NiceAssetCarrierwave
2
+ VERSION = "0.1.0"
3
+ end
@@ -0,0 +1,54 @@
1
+ require 'nice_asset_carrierwave/version'
2
+
3
+ # NiceAssetCarrierwave
4
+ module NiceAssetCarrierwave
5
+ # Takes an asset. Can be any model you like
6
+ # as long as it has a Carrierwave uploader mounted
7
+ # Default uploader name is attachment, but you can specify
8
+ # this in the options
9
+
10
+ def nice_asset(a, thumb = nil, options = nice_asset_options)
11
+ return unless a
12
+ @nice_asset_options = options
13
+ uploader = nice_asset_uploader(a)
14
+ return unless uploader && uploader.url
15
+ if a.respond_to?(:is_image?) && !a.is_image?
16
+ return uploader.url.split('/').last
17
+ end
18
+ nice_asset_image(a, thumb, options)
19
+ end
20
+
21
+ private
22
+
23
+ def nice_asset_image(a, thumb = nil, options = {})
24
+ options.merge!(nice_asset_options)
25
+ image_method = nice_asset_image_method(a)
26
+ image = thumb ? image_method.send(thumb) : image_method
27
+ image_tag image.url, options.merge(alt: a.title ||= '')
28
+ end
29
+
30
+ def nice_asset_image_method(a)
31
+ uploader = nice_asset_uploader(a)
32
+ return uploader unless nice_asset_namespace
33
+ uploader.send(nice_asset_namespace)
34
+ end
35
+
36
+ def nice_asset_namespace
37
+ nice_asset_options[:namespace]
38
+ end
39
+
40
+ def nice_asset_options
41
+ @nice_asset_options ||= {
42
+ namespace: nil,
43
+ uploader_name: :attachment
44
+ }
45
+ end
46
+
47
+ def nice_asset_uploader(a)
48
+ @nice_asset_uploader ||= a.send(nice_asset_uploader_name)
49
+ end
50
+
51
+ def nice_asset_uploader_name
52
+ nice_asset_options[:uploader_name]
53
+ end
54
+ end
@@ -0,0 +1,34 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'nice_asset_carrierwave/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "nice_asset_carrierwave"
8
+ spec.version = NiceAssetCarrierwave::VERSION
9
+ spec.authors = ["Terry S"]
10
+ spec.email = ["itsterry@gmail.com"]
11
+
12
+ spec.summary = %q{ A nice way of handling assets coming in from Carrierwave }
13
+ spec.homepage = "https://github.com/morsedigital/nice_asset_carrierwave"
14
+ spec.license = "MIT"
15
+
16
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
17
+ f.match(%r{^(test|spec|features)/})
18
+ end
19
+ spec.bindir = "exe"
20
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
21
+ spec.require_paths = ["lib"]
22
+
23
+ spec.add_dependency "carrierwave"
24
+ spec.add_development_dependency "bundler", "~> 1.14"
25
+ spec.add_development_dependency "byebug"
26
+ spec.add_development_dependency "rake", "~> 10.0"
27
+ spec.add_development_dependency "rspec", "~> 3.5"
28
+ spec.add_development_dependency "guard-rspec"
29
+ spec.add_development_dependency "guard-rubocop"
30
+ spec.add_development_dependency "listen"
31
+ spec.add_development_dependency "overcommit"
32
+ spec.add_development_dependency "pry-byebug"
33
+ spec.add_development_dependency "rubocop"
34
+ end
metadata ADDED
@@ -0,0 +1,215 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: nice_asset_carrierwave
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Terry S
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2017-06-19 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: carrierwave
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: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.14'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.14'
41
+ - !ruby/object:Gem::Dependency
42
+ name: byebug
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: rake
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '10.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '10.0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rspec
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '3.5'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '3.5'
83
+ - !ruby/object:Gem::Dependency
84
+ name: guard-rspec
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
+ - !ruby/object:Gem::Dependency
98
+ name: guard-rubocop
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: listen
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: overcommit
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: pry-byebug
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ - !ruby/object:Gem::Dependency
154
+ name: rubocop
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - ">="
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
167
+ description:
168
+ email:
169
+ - itsterry@gmail.com
170
+ executables: []
171
+ extensions: []
172
+ extra_rdoc_files: []
173
+ files:
174
+ - ".git-hooks/pre_commit/check_for_missing_view_specs.rb"
175
+ - ".git-hooks/pre_commit/remove_focus_true.rb"
176
+ - ".gitignore"
177
+ - ".overcommit.yml"
178
+ - ".rspec"
179
+ - ".rubocop.yml"
180
+ - ".travis.yml"
181
+ - Gemfile
182
+ - Guardfile
183
+ - LICENSE.txt
184
+ - README.md
185
+ - Rakefile
186
+ - bin/console
187
+ - bin/setup
188
+ - lib/nice_asset_carrierwave.rb
189
+ - lib/nice_asset_carrierwave/version.rb
190
+ - nice_asset_carrierwave.gemspec
191
+ homepage: https://github.com/morsedigital/nice_asset_carrierwave
192
+ licenses:
193
+ - MIT
194
+ metadata: {}
195
+ post_install_message:
196
+ rdoc_options: []
197
+ require_paths:
198
+ - lib
199
+ required_ruby_version: !ruby/object:Gem::Requirement
200
+ requirements:
201
+ - - ">="
202
+ - !ruby/object:Gem::Version
203
+ version: '0'
204
+ required_rubygems_version: !ruby/object:Gem::Requirement
205
+ requirements:
206
+ - - ">="
207
+ - !ruby/object:Gem::Version
208
+ version: '0'
209
+ requirements: []
210
+ rubyforge_project:
211
+ rubygems_version: 2.6.11
212
+ signing_key:
213
+ specification_version: 4
214
+ summary: A nice way of handling assets coming in from Carrierwave
215
+ test_files: []