froala-editor-sdk 1.1.0 → 1.2.0

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: c86f7b8547036336a509a375e6c3cffe05b08158
4
- data.tar.gz: 4d1f1fc90cb5a151148fa22689f295f8466f0e09
3
+ metadata.gz: c51a689daf99ec97c6ccebbb452f66e3c0c217b8
4
+ data.tar.gz: 4dc43249a447e483c3463103d4e8cebd755ff4a5
5
5
  SHA512:
6
- metadata.gz: 57d7ffbc0e31ea8147d636352811e828bd115687d44ab48e588c908d6f151b1b495f785e657b30fd029e8c0e6f70f67524459f95999bb30403229efa41950be8
7
- data.tar.gz: e47944bbf7c724d6f62d3c76ed1e8762dc757c7593355c7d756301d1544fac527f1b6b37e4e91e73f0620af6f3bbd4b09afb5d3a75fc4881281127d205580231
6
+ metadata.gz: 642103cf3c5b322c4e7d9664c9619ef86503b720b9a1f3827a1bc94544862fce3cabd16cff1ca53045fe6145e3b60d3b0326337b109b10194daa8d7fba1c3e29
7
+ data.tar.gz: 5b429455276179d3a3dc96ef5f0158ce9b5ebc70afb606a8a47546f304f74f960b9c3f25819f55b8ed3d9cda5d4fdb1bd5f951bbcfb8ce71094d6ed852513b7e
@@ -46,13 +46,15 @@ module FroalaEditorSDK
46
46
  options[:region] = 'us-east-1' if options[:region].nil? || options[:region] == 's3'
47
47
 
48
48
  {
49
+ :bucket => options[:bucket], # Upload bucket
50
+ :region => options[:region] != 'us-east-1' ? "s3-#{options[:region]}" : 's3', # Upload region
51
+ :keyStart => options[:keyStart], # Start key/folder
52
+ :params => {
49
53
  :signature => self.signature(options), # Defined signature
54
+ :AWSAccessKeyId => options[:accessKey], # Your Access key
50
55
  :policy => self.policy(options), # Defined policy
51
- :bucket => options[:bucket], # Upload bucket
52
- :acl => options[:acl], # ACL property 'public-read'
53
- :keyStart => options[:keyStart], # Start key/folder
54
- :accessKey => options[:accessKey], # Your Access key
55
- :region => options[:region] != 'us-east-1' ? "s3-#{options[:region]}" : 's3' # Upload region
56
+ :acl => options[:acl] # ACL property 'public-read'
57
+ }
56
58
  }
57
59
  end
58
60
  end
@@ -1,7 +1,7 @@
1
1
  module FroalaEditorSDK
2
2
  module Version
3
3
  Major = 1
4
- Minor = 1
4
+ Minor = 2
5
5
  Tiny = 0
6
6
 
7
7
  String = "#{Major}.#{Minor}.#{Tiny}"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: froala-editor-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Froala Labs
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-29 00:00:00.000000000 Z
11
+ date: 2017-08-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mime-types