sinatra-xsendfile 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 0fb641a1cdf9bfcce614bb08d1f0aba44e24c498
4
+ data.tar.gz: fa83045b842e40dd3a6573516faa9cdd9652b828
5
+ SHA512:
6
+ metadata.gz: b3e30908b0eb30953661257aef6a52afbea6b64cb97f82325bd30af0ef0496c0593575b40ebae28a208ab5dc913a582066fb6dbb14e4dd484487085a5d5b80e8
7
+ data.tar.gz: d34108964092c0f50f8620fe0d704285aaa509f973f37dd3f778e49f2d438200f6423db4c69cba7ed637b59042302f5cc1355d35265672457a2d4ab377cdaf28
data/Rakefile CHANGED
@@ -1,5 +1,6 @@
1
- require 'rubygems'
2
1
  require 'rake/testtask'
2
+ require 'bundler'
3
+ Bundler::GemHelper.install_tasks
3
4
 
4
5
  task :default => :test
5
6
 
@@ -1,5 +1,5 @@
1
1
  module Sinatra
2
2
  module Xsendfile
3
- VERSION = "0.4.0"
3
+ VERSION = "0.4.1"
4
4
  end
5
5
  end
data/test/sinatra_app.rb CHANGED
@@ -1,7 +1,6 @@
1
1
  require 'rubygems'
2
2
  require 'sinatra'
3
- require 'lib/sinatra/xsendfile'
4
-
3
+ require './lib/sinatra/xsendfile'
5
4
 
6
5
  set :xsf_header, 'x-test-send-file'
7
6
 
@@ -25,4 +24,4 @@ end
25
24
 
26
25
  get '/sendfile' do
27
26
  send_file(__FILE__)
28
- end
27
+ end
metadata CHANGED
@@ -1,60 +1,51 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: sinatra-xsendfile
3
- version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 0
7
- - 4
8
- - 0
9
- version: 0.4.0
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.4.1
10
5
  platform: ruby
11
- authors:
6
+ authors:
12
7
  - Vasily Polovnyov
13
8
  autorequire:
14
9
  bindir: bin
15
10
  cert_chain: []
16
-
17
- date: 2010-12-18 00:00:00 +03:00
18
- default_executable:
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
11
+ date: 2014-01-02 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
21
14
  name: sinatra
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
24
- requirements:
25
- - - ">="
26
- - !ruby/object:Gem::Version
27
- segments:
28
- - 0
29
- - 9
30
- - 1
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '>='
18
+ - !ruby/object:Gem::Version
31
19
  version: 0.9.1
32
20
  type: :runtime
33
- version_requirements: *id001
34
- - !ruby/object:Gem::Dependency
35
- name: rack-test
36
21
  prerelease: false
37
- requirement: &id002 !ruby/object:Gem::Requirement
38
- requirements:
39
- - - ">="
40
- - !ruby/object:Gem::Version
41
- segments:
42
- - 0
43
- - 3
44
- - 0
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '>='
25
+ - !ruby/object:Gem::Version
26
+ version: 0.9.1
27
+ - !ruby/object:Gem::Dependency
28
+ name: rack-test
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '>='
32
+ - !ruby/object:Gem::Version
45
33
  version: 0.3.0
46
34
  type: :development
47
- version_requirements: *id002
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '>='
39
+ - !ruby/object:Gem::Version
40
+ version: 0.3.0
48
41
  description: X-SendFile helper for Sinatra
49
42
  email: vasily@polovnyov.ru
50
43
  executables: []
51
-
52
44
  extensions: []
53
-
54
- extra_rdoc_files:
45
+ extra_rdoc_files:
55
46
  - LICENSE
56
47
  - README.md
57
- files:
48
+ files:
58
49
  - LICENSE
59
50
  - README.md
60
51
  - Rakefile
@@ -62,36 +53,30 @@ files:
62
53
  - lib/sinatra/xsendfile.rb
63
54
  - test/sinatra_app.rb
64
55
  - test/sinatra_xsendfile_test.rb
65
- has_rdoc: true
66
56
  homepage: http://github.com/vast/sinatra-xsendfile
67
- licenses: []
68
-
57
+ licenses:
58
+ - MIT
59
+ metadata: {}
69
60
  post_install_message:
70
61
  rdoc_options: []
71
-
72
- require_paths:
62
+ require_paths:
73
63
  - lib
74
- required_ruby_version: !ruby/object:Gem::Requirement
75
- requirements:
76
- - - ">="
77
- - !ruby/object:Gem::Version
78
- segments:
79
- - 0
80
- version: "0"
81
- required_rubygems_version: !ruby/object:Gem::Requirement
82
- requirements:
83
- - - ">="
84
- - !ruby/object:Gem::Version
85
- segments:
86
- - 0
87
- version: "0"
64
+ required_ruby_version: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - '>='
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ required_rubygems_version: !ruby/object:Gem::Requirement
70
+ requirements:
71
+ - - '>='
72
+ - !ruby/object:Gem::Version
73
+ version: '0'
88
74
  requirements: []
89
-
90
75
  rubyforge_project:
91
- rubygems_version: 1.3.6
76
+ rubygems_version: 2.1.8
92
77
  signing_key:
93
- specification_version: 3
78
+ specification_version: 4
94
79
  summary: X-SendFile helper for Sinatra
95
- test_files:
80
+ test_files:
96
81
  - test/sinatra_xsendfile_test.rb
97
82
  - test/sinatra_app.rb