Skip to content

Commit ec40c36

Browse files
committed
Added license
1 parent 1258769 commit ec40c36

File tree

3 files changed

+24
-2
lines changed

3 files changed

+24
-2
lines changed

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2018 Fabien LEFEBVRE
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 all
13+
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 THE
21+
SOFTWARE.

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Cropper for Rails
2-
[![Gem Version](https://badge.fury.io/rb/jquery-cropper-rails.svg)](https://badge.fury.io/rb/jquery-cropper-rails)
2+
[![Gem Version](https://badge.fury.io/rb/cropper_rails.svg)](https://badge.fury.io/rb/cropper_rails)
33
[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://github.com/D1ceWard/jquery-cropper-rails/graphs/commit-activity)
44

55

cropper_rails.gemspec

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ require 'cropper_rails/version'
55
Gem::Specification.new do |spec|
66
spec.name = 'cropper_rails'
77
spec.version = Cropper::Rails::VERSION
8+
spec.licenses = ['MIT']
89
spec.authors = ['D1ceWard']
910
spec.email = ['[email protected]']
1011

@@ -19,7 +20,7 @@ Gem::Specification.new do |spec|
1920
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
2021
spec.require_paths = ['lib']
2122

22-
spec.add_runtime_dependency 'jquery-rails'
23+
spec.add_runtime_dependency 'jquery-rails', '~> 4.0'
2324

2425
spec.add_development_dependency 'bundler', '~> 1.16'
2526
end

0 commit comments

Comments
 (0)