active_fedora_streamable 0.2.0 → 0.2.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.
@@ -1,7 +1,10 @@
1
1
  require 'active-fedora'
2
+ require 'active_support'
2
3
  module ActiveFedora
3
4
  module Streamable
4
5
  module Datastreams
6
+ extend ActiveSupport::Autoload
7
+ autoload :Version
5
8
  # the output of this method should be assigned to the response_body of a controller
6
9
  # the bytes returned from the datastream dissemination will be written to the response
7
10
  # piecemeal rather than being loaded into memory as a String
@@ -23,7 +26,6 @@ module ActiveFedora
23
26
  end
24
27
  end
25
28
  end
26
- require 'active_fedora_streamable/version'
27
29
  end
28
30
  end
29
31
  end
@@ -0,0 +1,9 @@
1
+ module ActiveFedora
2
+ module Streamable
3
+ module Datastreams
4
+ unless ActiveFedora::Streamable::Datastreams.const_defined? :VERSION
5
+ VERSION = '0.2.1'
6
+ end
7
+ end
8
+ end
9
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_fedora_streamable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -154,6 +154,7 @@ files:
154
154
  - README.textile
155
155
  - active_fedora_streamable.gemspec
156
156
  - lib/active_fedora_streamable.rb
157
+ - lib/active_fedora_streamable/version.rb
157
158
  homepage: https://github.com/cul/active_fedora_streamable
158
159
  licenses: []
159
160
  post_install_message: