refile-input 0.0.2 → 0.0.3

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: 37f9d3b46444c07b227349ce8d4db54e490ef552
4
- data.tar.gz: 30e6342d9ea02a0b1b245529bdf70c1f1d2ebc43
3
+ metadata.gz: e8b7d21d5e463367a2cb9837f63f2be94ffa2d87
4
+ data.tar.gz: 9724ff62f0cf2fcb68eef4eb6963414760a3a12c
5
5
  SHA512:
6
- metadata.gz: eac8b70ddafd2ab809f51759949292f9753ec5d0600c6e523625020b14b39e9aac29e832cb663fce807bb7bbdef169261441cbb9462409ee2e37039a7affc217
7
- data.tar.gz: f4afc98e7998aa4f53e3eee56b4466aca4549fa3dccfacd3da3589caa8396a25cec823a103cf9527c9d8fadd5d2fa451115750a2432ac54b3bdfce8af717fcf4
6
+ metadata.gz: 5ccece2a3d4d9c5af46d7caa74f323e82e063f2e292c66d2e487eaeefddc127ef00dc540cf2a5083fc087bd6ad6a6bce46e19acc8dea44b9a4cdb6310fa94423
7
+ data.tar.gz: 57847449e30b21917292e885a1e7bc83d0f6496e0263e2f4e24357234960bc394073e13eb770a44dcacf55b7925bd222b89bf8ecd07d9b6362c7514c21daa33b
data/Rakefile CHANGED
@@ -2,32 +2,3 @@ require 'bundler'
2
2
  require 'rake'
3
3
  Bundler.setup
4
4
  Bundler::GemHelper.install_tasks
5
-
6
- def cmd(command)
7
- puts command
8
- fail unless system command
9
- end
10
-
11
- require File.expand_path('../spec/support/detect_rails_version', __FILE__)
12
-
13
- # Import all our rake tasks
14
- FileList['tasks/**/*.rake'].each { |task| import task }
15
-
16
- task default: :test
17
-
18
- begin
19
- require 'jasmine'
20
- load 'jasmine/tasks/jasmine.rake'
21
- rescue LoadError
22
- task :jasmine do
23
- abort 'Jasmine is not available. In order to run jasmine, you must: (sudo) gem install jasmine'
24
- end
25
- end
26
-
27
- task :console do
28
- require 'irb'
29
- require 'irb/completion'
30
-
31
- ARGV.clear
32
- IRB.start
33
- end
@@ -6,7 +6,7 @@ class RefileInput < Formtastic::Inputs::FileInput
6
6
  options[:accept] = attacher.accept
7
7
 
8
8
  if options[:direct]
9
- host = Refile.host || options[:host]
9
+ host = options[:host] || Refile.host
10
10
  backend_name = Refile.backends.key(attacher.cache)
11
11
 
12
12
  url = ::File.join(host, Rails.application.routes.url_helpers.refile_app_path, backend_name)
data/refile-input.gemspec CHANGED
@@ -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.0.2'
4
+ s.version = '0.0.3'
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.0.2
4
+ version: 0.0.3
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: 2015-03-10 00:00:00.000000000 Z
12
+ date: 2015-04-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: formtastic
@@ -75,9 +75,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  version: '0'
76
76
  requirements: []
77
77
  rubyforge_project:
78
- rubygems_version: 2.2.2
78
+ rubygems_version: 2.4.5
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Refile input type for formtastic
82
82
  test_files: []
83
- has_rdoc: