refile-input 0.1.0 → 0.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: 415f22c2e06bccaf62e785b91dfa8f9dd11e1d76
4
- data.tar.gz: a108ce3b31507dfaae33e83e4a4b3eb2d98b2478
3
+ metadata.gz: 41e92f1f1d253e7ae891a1cd6e92caee9e86239f
4
+ data.tar.gz: 6399b814fa6a13d75768d7310a3263a72ef9b4c5
5
5
  SHA512:
6
- metadata.gz: 12ef261c9098c04a9755fc2ed874b965d6e7da6c8f2599e05d18e01472c6519ddc44c129b06b0633d7a8531eefaeed455115ac5e0003a79b3c2ab4aa86b3e398
7
- data.tar.gz: 4b4e11806912ee85129c0c76db7fb11cf76da48394aaf8546ca931e396bf84dfd583f7ca13953aeb2b2cdf3b2968989c42657ab1a81c24332195dccc742e347e
6
+ metadata.gz: 480d3fed16e9c5b0b24a37722511bef84ac0094ab353297d39c7e6f84c6ae1c8c8625aaebe364d20b02abd42c119078f1c6c4af3208cc9893a059686bc26217a
7
+ data.tar.gz: 1b6980fd98568f662c9b3f4c7b89896f917c4d6a0f4998608ac9ee474a4231b1dc8fccf8f09c4bbb7fef97981ffa05d4afc61947b5d4a101c1b16c9c7659a5ad
@@ -11,7 +11,7 @@ class RefileInput < Formtastic::Inputs::FileInput
11
11
 
12
12
  attacher = object.send(:"#{method}_attacher")
13
13
  options[:accept] = attacher.definition.accept
14
- host = options[:host] || Refile.host
14
+ host = options[:host] || Refile.cdn_host
15
15
 
16
16
  if options[:direct]
17
17
  backend_name = Refile.backends.key(attacher.cache)
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'refile-input'
3
3
  s.license = 'MIT'
4
- s.version = '0.1.0'
4
+ s.version = '0.1.1'
5
5
  s.authors = ["Petr Sergeev", "Sindre Moen"]
6
6
  s.email = ["peter@hyper.no", "sindre@hyper.no"]
7
7
  s.description = "This adds custom input to support refile file uploader to formtastic form builder"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: refile-input
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Petr Sergeev
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-02-02 00:00:00.000000000 Z
12
+ date: 2016-03-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: formtastic