s3_file_field 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8562f7ad58376160a6bfb15521d2d8a0bc338053
4
- data.tar.gz: 7f4dc489a555fb32753aa89ad92b0ef28d9d0a90
3
+ metadata.gz: 00afb2600de317ec414528792d3c598e8d945fc7
4
+ data.tar.gz: 56bdc45396d2aa291cdebd741c384d2c71b9bfa8
5
5
  SHA512:
6
- metadata.gz: 5b66f0cca8ae2793aca657eea37d8ac0bdc83d6a237b6da2d54315620a85df006753af7e06c17265052827fe876f025dee5f40ee3c700d0a33b8182b2149bd2e
7
- data.tar.gz: f156006b770df28c5f4b5739d926ae7986116ef99d72c910d785a48f5dc94d2cccfdfb92ea306ecc2f143fcb1a87559ffe0b7ba8da30b34016ae3e485152392d
6
+ metadata.gz: 64472f94db2b2ac849d1ccb56b21572bb51f6e92d933c1d99eb11e7644cea2be0701d917557237d50a3b30d8b6c1cc645fe44a0592e55970beb6a489484b35b8
7
+ data.tar.gz: e8d0dd88f0af447594b0fc77a5664b8c6102caad6475b1cc14f497dcdf6fc31510a3f2ca8a695145384029404056ece98881c01aa2375c31c8ba8f178c9256c5
data/README.md CHANGED
@@ -14,9 +14,9 @@ Add this line to your application's Gemfile:
14
14
  gem 's3_file_field'
15
15
  ```
16
16
 
17
- Then add a new initalizer with your AWS credentials:
17
+ Then add a new initializer with your AWS credentials:
18
18
 
19
- **config/initalizers/s3_file_field.rb**
19
+ **config/initializers/s3_file_field.rb**
20
20
  ```ruby
21
21
  S3FileField.config do |c|
22
22
  c.access_key_id = ENV['AWS_ACCESS_KEY_ID']
@@ -146,3 +146,5 @@ After successful upload, you'll find file data in `data.result` field:
146
146
  ## License
147
147
 
148
148
  This repository is MIT-licensed. You are awesome.
149
+
150
+ [![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/sheerun/s3_file_field/trend.png)](https://bitdeli.com/free "Bitdeli Badge")
@@ -3,6 +3,8 @@
3
3
 
4
4
  jQuery.fn.S3FileField = (options) ->
5
5
 
6
+ options = {} unless options?
7
+
6
8
  # support multiple elements
7
9
  if @length > 1
8
10
  @each -> $(this).S3Uploader options if @length > 1
@@ -1,3 +1,3 @@
1
1
  module S3FileField
2
- VERSION = "1.0.3"
2
+ VERSION = "1.0.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: s3_file_field
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Stankiewicz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-07-23 00:00:00.000000000 Z
11
+ date: 2013-10-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -135,3 +135,4 @@ signing_key:
135
135
  specification_version: 4
136
136
  summary: jQuery File Upload extension for direct uploading to Amazon S3 using CORS
137
137
  test_files: []
138
+ has_rdoc: