radiant-downloads-extension 0.5.3 → 0.5.4

Sign up to get free protection for your applications and to get access to all the features.
data/lib/download_ui.rb CHANGED
@@ -19,7 +19,7 @@ module DownloadUI
19
19
  protected
20
20
 
21
21
  def load_default_download_regions
22
- returning OpenStruct.new do |download|
22
+ OpenStruct.new.tap do |download|
23
23
  download.edit = Radiant::AdminUI::RegionSet.new do |edit|
24
24
  edit.main.concat %w{edit_header edit_form}
25
25
  edit.form.concat %w{edit_title edit_description edit_document edit_access}
@@ -1,5 +1,5 @@
1
1
  module RadiantDownloadsExtension
2
- VERSION = '0.5.3'
2
+ VERSION = '0.5.4'
3
3
  SUMMARY = %q{Secure file distribution for radiant readers}
4
4
  DESCRIPTION = %q{Controlled file access using nginx's local redirects. Requires reader extension.}
5
5
  URL = "http://radiant.spanner.org/downloads"
@@ -25,9 +25,9 @@ Gem::Specification.new do |s|
25
25
  s.require_paths = ["lib"]
26
26
 
27
27
  s.post_install_message = %{
28
- Add this to your radiant project with:
28
+ Add this to your radiant project with a line in your Gemfile:
29
29
 
30
- config.gem 'radiant-downloads-extension', :version => '~> #{RadiantDownloadsExtension::VERSION}'
30
+ gem 'radiant-downloads-extension', '~> #{RadiantDownloadsExtension::VERSION}'
31
31
 
32
32
  }
33
33
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: radiant-downloads-extension
3
3
  version: !ruby/object:Gem::Version
4
- hash: 13
4
+ hash: 3
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 3
10
- version: 0.5.3
9
+ - 4
10
+ version: 0.5.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - William Ross
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-10-11 00:00:00 Z
18
+ date: 2011-10-12 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: paperclip
@@ -58,6 +58,7 @@ files:
58
58
  - lib/download_ui.rb
59
59
  - lib/radiant-downloads-extension.rb
60
60
  - lib/tasks/downloads_extension_tasks.rake
61
+ - radiant-downloads-extension-0.5.3.gem
61
62
  - radiant-downloads-extension.gemspec
62
63
  - Rakefile
63
64
  - README.markdown
@@ -76,7 +77,7 @@ files:
76
77
  homepage: http://radiant.spanner.org/downloads
77
78
  licenses: []
78
79
 
79
- post_install_message: "\n Add this to your radiant project with:\n\n config.gem 'radiant-downloads-extension', :version => '~> 0.5.3'\n\n "
80
+ post_install_message: "\n Add this to your radiant project with a line in your Gemfile:\n\n gem 'radiant-downloads-extension', '~> 0.5.4'\n\n "
80
81
  rdoc_options: []
81
82
 
82
83
  require_paths: