rails_cropit 0.1.0 → 0.1.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.
@@ -0,0 +1,30 @@
1
+ .cropit-image-preview {
2
+ background-color: #f8f8f8;
3
+ background-size: cover;
4
+ border: 5px solid #ccc;
5
+ border-radius: 3px;
6
+ margin-top: 7px;
7
+ width: 250px;
8
+ height: 250px;
9
+ cursor: move;
10
+ }
11
+
12
+ .cropit-image-background {
13
+ opacity: .2;
14
+ cursor: auto;
15
+ }
16
+
17
+ .image-size-label {
18
+ margin-top: 10px;
19
+ }
20
+
21
+ cropit-image-input.input {
22
+ /* Use relative position to prevent from being covered by image background */
23
+ position: relative;
24
+ z-index: 10;
25
+ display: block;
26
+ }
27
+
28
+ .export {
29
+ margin-top: 10px;
30
+ }
@@ -1,3 +1,3 @@
1
1
  module RailsCropit
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
data/rails_cropit.gemspec CHANGED
@@ -16,8 +16,7 @@ Gem::Specification.new do |spec|
16
16
  spec.license = "MIT"
17
17
 
18
18
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
19
- spec.bindir = "exe"
20
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
19
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
21
20
  spec.require_paths = ["lib"]
22
21
 
23
22
  spec.add_development_dependency "bundler", "~> 1.8"
metadata CHANGED
@@ -1,18 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_cropit
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 0
10
- version: 0.1.0
9
+ - 1
10
+ version: 0.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Kaushal Kishor
14
14
  autorequire:
15
- bindir: exe
15
+ bindir: bin
16
16
  cert_chain: []
17
17
 
18
18
  date: 2015-09-27 00:00:00 +05:30
@@ -51,8 +51,9 @@ dependencies:
51
51
  description: It is jQuery gem for "customizable crop and zoom" on rails application platform
52
52
  email:
53
53
  - kaushalk16@gmail.com
54
- executables: []
55
-
54
+ executables:
55
+ - console
56
+ - setup
56
57
  extensions: []
57
58
 
58
59
  extra_rdoc_files: []
@@ -64,16 +65,13 @@ files:
64
65
  - LICENSE.txt
65
66
  - README.md
66
67
  - Rakefile
68
+ - app/assets/javascripts/jquery.cropit.js
69
+ - app/assets/stylesheets/cropit.css
67
70
  - bin/console
68
71
  - bin/setup
69
72
  - lib/rails_cropit.rb
70
73
  - lib/rails_cropit/version.rb
71
74
  - rails_cropit.gemspec
72
- - vendor/assets/javascripts/jquery.cropit.js
73
- - vendor/assets/javascripts/jquery.cropit.min.js
74
- - vendor/assets/stylesheets/cropit.coffee
75
- - vendor/assets/stylesheets/plugin.coffee
76
- - vendor/assets/stylesheets/zoomer.coffee
77
75
  has_rdoc: true
78
76
  homepage: https://github.com/kaushal-xx/rails_cropit
79
77
  licenses: