godmin-uploads 0.10.0 → 0.10.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +11 -0
- data/godmin-uploads.gemspec +1 -1
- data/lib/godmin/uploads/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 490e27c439d357126868f80db8bd1bbfc85740e9
|
4
|
+
data.tar.gz: 9f6e2e4976f9131a09da5cc654db4d04c4207ca3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 12d99f1fd4d635277f47c936ca0c75c7918e12af1ed4e3c4a801552003afc5413362e1c5278b920d8b3fabdb98d2ca8895a322b2e874e8e1b56c09b8efafccf8
|
7
|
+
data.tar.gz: 78f92b59ce750f85a9afe9af2fbe166ababd2d42668c28be1071dc61413d8655e4a351596daa1ad8e8b070db57c68299427ddbb5ee362743dba63b1b9302e878
|
data/README.md
CHANGED
@@ -16,6 +16,17 @@ Or to the admin engine's `gemspec`:
|
|
16
16
|
s.add_dependency "godmin-uploads", "~> x.x.x"
|
17
17
|
```
|
18
18
|
|
19
|
+
Require the gem's stylesheet and javascript:
|
20
|
+
```css
|
21
|
+
*= require godmin
|
22
|
+
*= require godmin-uploads
|
23
|
+
```
|
24
|
+
|
25
|
+
```javascript
|
26
|
+
//= require godmin
|
27
|
+
//= require godmin-uploads
|
28
|
+
```
|
29
|
+
|
19
30
|
## Usage
|
20
31
|
|
21
32
|
See the [refile](https://github.com/elabs/refile) documentation for info on how to configure storage location, set up your model etc. Once that is done, require `godmin-uploads` in your application.js and application.css.
|
data/godmin-uploads.gemspec
CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |gem|
|
|
19
19
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
20
20
|
gem.require_paths = ["lib"]
|
21
21
|
|
22
|
-
gem.add_dependency "godmin", "
|
22
|
+
gem.add_dependency "godmin", "< 2.0", ">= 0.9.7"
|
23
23
|
gem.add_dependency "refile", "~> 0.5.3"
|
24
24
|
gem.add_dependency "mini_magick", "~> 4.0.1"
|
25
25
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: godmin-uploads
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.10.
|
4
|
+
version: 0.10.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jens Ljungblad
|
@@ -9,15 +9,15 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2016-02-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: godmin
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- - "
|
18
|
+
- - "<"
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: '0
|
20
|
+
version: '2.0'
|
21
21
|
- - ">="
|
22
22
|
- !ruby/object:Gem::Version
|
23
23
|
version: 0.9.7
|
@@ -25,9 +25,9 @@ dependencies:
|
|
25
25
|
prerelease: false
|
26
26
|
version_requirements: !ruby/object:Gem::Requirement
|
27
27
|
requirements:
|
28
|
-
- - "
|
28
|
+
- - "<"
|
29
29
|
- !ruby/object:Gem::Version
|
30
|
-
version: '0
|
30
|
+
version: '2.0'
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: 0.9.7
|
@@ -171,7 +171,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
171
171
|
version: '0'
|
172
172
|
requirements: []
|
173
173
|
rubyforge_project:
|
174
|
-
rubygems_version: 2.
|
174
|
+
rubygems_version: 2.4.5.1
|
175
175
|
signing_key:
|
176
176
|
specification_version: 4
|
177
177
|
summary: File uploads for the Godmin admin engine for Rails 4+
|