imagedrop 0.0.2 → 0.0.3
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/CHANGELOG.md +3 -0
- data/README.md +8 -8
- data/lib/imagedrop/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4c89521403652b7db24db77dc8dfd8ddb17bf973
|
|
4
|
+
data.tar.gz: 665e97c655bd00d6806798e08d9b1c19eeee3034
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5a782feb7aee775bf297dd91e70bd394740e6f0ed8c4ad5aa5c91c5762eaafa0d6bf5a8fba8df8e02142d7d155ef1795ecd98a91c6f0d974ee193b2802e9c9d1
|
|
7
|
+
data.tar.gz: 9d1b6a7fc6074c69fc61c6793b099544ddc9d7ccd3f31451d9ba53f6c7c026b37750c8a73c6c85dc3fc34938b1f498af803c09ed74b0cfb262fbe87172f2442f
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -37,7 +37,7 @@ ImageDrop uses simple CSS that is compatible with all browsers back to IE8. Corr
|
|
|
37
37
|
|
|
38
38
|
Be sure to already have jquery in your project and then add this line to your application's Gemfile:
|
|
39
39
|
|
|
40
|
-
gem '
|
|
40
|
+
gem 'imagedrop'
|
|
41
41
|
|
|
42
42
|
And then execute:
|
|
43
43
|
|
|
@@ -45,18 +45,18 @@ And then execute:
|
|
|
45
45
|
|
|
46
46
|
Or install it yourself as:
|
|
47
47
|
|
|
48
|
-
$ gem install
|
|
48
|
+
$ gem install imagedrop
|
|
49
49
|
|
|
50
50
|
In your application.js add:
|
|
51
51
|
|
|
52
|
-
//= require
|
|
52
|
+
//= require imagedrop
|
|
53
53
|
|
|
54
54
|
And your application.css add:
|
|
55
55
|
|
|
56
|
-
*= require
|
|
57
|
-
*= require
|
|
56
|
+
*= require imagedrop
|
|
57
|
+
*= require imagedrop_sample // optional
|
|
58
58
|
|
|
59
|
-
`
|
|
59
|
+
`imagedrop_sample.css.scss` is a good looking example, but it's just there to give you an idea of how you might style the ImageDrop. I guess you could call this the theme file_field.
|
|
60
60
|
|
|
61
61
|
## Usage
|
|
62
62
|
|
|
@@ -93,7 +93,7 @@ Obviously, your version will be a little different.
|
|
|
93
93
|
|
|
94
94
|
The same HTML structure expectation applies whether inside or outside of Rails (so check that out above). You can extract the coffeescript file from this repo and convert it to vanilla javascript at [js2coffee.org](http://js2coffee.org) kindly written and hosted by [Rico Sta Cruz](http://ricostacruz.com/).
|
|
95
95
|
|
|
96
|
-
The SCSS stylesheet, both of them, can be converted to whitebread CSS at [SASSMeister](http://sassmeister.com/) brilliantly offered by
|
|
96
|
+
The SCSS stylesheet, both of them, can be converted to whitebread CSS at [SASSMeister](http://sassmeister.com/) brilliantly offered by [Jed Foster](http://jedfoster.com/) and [Dale Sande](http://www.dalesande.com/).
|
|
97
97
|
|
|
98
98
|
## Alternatives
|
|
99
99
|
|
|
@@ -105,7 +105,7 @@ This may not be enough for your purposes. You might need to drop multiple files,
|
|
|
105
105
|
|
|
106
106
|
## Contributing
|
|
107
107
|
|
|
108
|
-
1. Fork it ( https://github.com/[my-github-username]/
|
|
108
|
+
1. Fork it ( https://github.com/[my-github-username]/imagedrop/fork )
|
|
109
109
|
2. Create your feature branch (`git checkout -b my-new-feature`)
|
|
110
110
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
|
111
111
|
4. Push to the branch (`git push origin my-new-feature`)
|
data/lib/imagedrop/version.rb
CHANGED