effective_assets 1.1.0 → 1.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1952d876351e15e101d6040786baf45e4762b1c7
4
- data.tar.gz: ca88463387c6efbeb7b6b6511b0712e0f195f50e
3
+ metadata.gz: 371cacea180aa16a4e91b10901a6a5b52536e263
4
+ data.tar.gz: ace78c3f32e2491a6d85adcaf2813555df21a61f
5
5
  SHA512:
6
- metadata.gz: 676962147ad354c9a01d947ef2345df8e4de646beb9425d06c996f731770ed55d23aaeb3185ff4e84ff5b66a053bf744a77a7bac53ade723ea380d89daf25350
7
- data.tar.gz: 94c54220ad670e4fb928f13521e7f4fcba9a24f48962c14978e70e5e502795ead0f0f265653d0987770d0bc0219a7e5c16f5f223d5d1dd5d374a291fe3a9e24e
6
+ metadata.gz: 348fa82d53d77aa34ee616e90967ab5a8b55e7789e38a982e00732a8c65dd4ec189d989372b1d174f54e1ca1da2d8d00606de8499b28ff6dca6e0c59463cf71d
7
+ data.tar.gz: c7e0d90d95b6a8fb4add3ceeaadc4a6bee93fa048d1c0cda336c84d24eb5c9933c9961e868a6ea9c180743e7e8895a47d92b428701d5ab9c6b3b9033dda81ed1
data/README.md CHANGED
@@ -125,8 +125,7 @@ The Bucket is now set up and ready to accept uploads, but we still need a user t
125
125
  - This displays the AWS Access Key and Secret Access Key.
126
126
  - (important) These are the two values you should copy into the effective_assets.rb initializer file
127
127
 
128
- - Once the user is created, Click on the User and find the Permissions tab
129
- - Select Permissions tab
128
+ - Once the user is created, Click on the User Properties area
130
129
  - Click Attach User Policy
131
130
  - Scroll down and Select 'Amazon S3 Full Access'
132
131
 
@@ -39,6 +39,10 @@ $.fn.S3Uploader = (options) ->
39
39
  alert("Unable to add #{file.name}.\n\nOnly #{settings.file_types.replace(/\|/g, ', ')} files allowed.")
40
40
  return false
41
41
 
42
+ if file.name.length > 150
43
+ alert("Unable to add #{file.name}.\n\nFile name too long. File name must be 150 or fewer characters long.")
44
+ return false
45
+
42
46
  # We're all good. Let's go ahead and add this
43
47
  current_files.push data
44
48
  $uploadForm.trigger("s3_file_added", [e, file])
@@ -1,3 +1,3 @@
1
1
  module EffectiveAssets
2
- VERSION = '1.1.0'.freeze
2
+ VERSION = '1.1.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_assets
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-12 00:00:00.000000000 Z
11
+ date: 2015-01-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails