railsdav 0.0.6 → 0.0.7

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.
data/README.md CHANGED
@@ -175,6 +175,7 @@ is_webdav_request? checks whether an Incoming request is issued by a WebDAV clie
175
175
 
176
176
  ## Changelog
177
177
 
178
+ * 0.0.7: Fix metadata class attribute inheritance problem
178
179
  * 0.0.6: Fix update_all for Rails 3.2
179
180
  * 0.0.5: Rails 3.2.x compatibility, add encoding hints, fix ResourceDescriptor load error
180
181
  * 0.0.4: Basic support for allprop in PROPFIND
@@ -20,7 +20,7 @@ module Railsdav
20
20
  options[:collection] = true unless options.has_key?(:collection)
21
21
 
22
22
  names.each do |name|
23
- self.webdav_metadata[name] = options
23
+ self.webdav_metadata = self.webdav_metadata.merge(name => options)
24
24
  end
25
25
  end
26
26
 
@@ -22,7 +22,7 @@ module Railsdav
22
22
  attr_accessor :depth
23
23
 
24
24
  # Create a new Renderer instance that will render an XML multistatus response.
25
- #
25
+ #
26
26
  # Arguments:
27
27
  # controller: the current controller instance
28
28
  #
@@ -169,8 +169,6 @@ class ActionDispatch::Routing::Mapper
169
169
  if parent_resource.actions.include?(:update_all)
170
170
  put :index, :action => :update_all
171
171
  opts << :put
172
- else
173
- puts "parent_resource #{parent_resource.inspect} does not include update_all: #{parent_resource.actions}"
174
172
  end
175
173
  dav_options :index, :to => dav_options_response(opts)
176
174
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: railsdav
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-06-24 00:00:00.000000000 Z
12
+ date: 2013-11-26 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Provides basic Rails 3/Rails 4 extensions for making your business resources
15
15
  accessible via WebDAV. This gem does by no means by no means implement the full