croppie_rails 1.1.0 → 1.2.0
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/README.md +13 -5
- data/lib/croppie_rails/version.rb +1 -1
- data/vendor/assets/javascripts/croppie.js +1148 -1038
- data/vendor/assets/stylesheets/croppie.css +51 -46
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5ce288ee89664f60caf37d121b99c5e3b4949ffe
|
4
|
+
data.tar.gz: c65136d82cf9c14f2828eb667d920cc60d9966b5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 511a1edcc33118305ed2e40ce19f8fbacaff3cd295dc1fee976bb24f0e8db4d8a6f95a0fb781497b3c17b6e60e4d2667ce17cf78c539bc92743f7b522a62337e
|
7
|
+
data.tar.gz: 743b90a668d2f04c2527acafb1f2ce68afbb7ca1fb9fce5e6492a80cccc5acc905941ddb0d581b4ed92d1529f50233d3d3fbac61cd20f6efac3e7a85d31dbbcc
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Croppie Rails
|
2
2
|
|
3
|
-
A gem to automate using [
|
3
|
+
A gem to automate using [Croppie](http://foliotek.github.io/Croppie) with Rails
|
4
4
|
|
5
5
|
## Usage
|
6
6
|
|
@@ -22,17 +22,17 @@ Or install it yourself as:
|
|
22
22
|
|
23
23
|
Include javascript file in app/assets/javascripts/application.js:
|
24
24
|
|
25
|
-
//= require croppie
|
25
|
+
//= require croppie
|
26
26
|
|
27
27
|
Include stylesheet file on app/assets/stylesheets/application.css:
|
28
28
|
|
29
|
-
*= require croppie
|
29
|
+
*= require croppie
|
30
30
|
|
31
31
|
## Examples
|
32
32
|
|
33
33
|
Include javascript file in app/assets/javascripts/application.js:
|
34
34
|
|
35
|
-
//= require demo_croppie
|
35
|
+
//= require demo_croppie
|
36
36
|
|
37
37
|
and the view
|
38
38
|
|
@@ -43,12 +43,20 @@ and the view
|
|
43
43
|
Demo.init("YOUR_IMAGE.jpg");
|
44
44
|
</script>
|
45
45
|
```
|
46
|
-
and "Voalá"
|
46
|
+
and "Voalá"
|
47
47
|
|
48
48
|
## Contributing
|
49
49
|
|
50
50
|
Bug reports and pull requests are welcome on GitHub at https://github.com/luizpicolo/croppie_rails. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
51
51
|
|
52
|
+
## Versions
|
53
|
+
|
54
|
+
croppie_rails: 1.2.0
|
55
|
+
croppie: 2.1.1
|
56
|
+
|
57
|
+
croppie_rails: 1.1.0
|
58
|
+
croppie: 2.0.1
|
59
|
+
|
52
60
|
## License
|
53
61
|
|
54
62
|
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|