needs_resources 0.3.0 → 0.4.0

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.
@@ -50,7 +50,7 @@ module NeedsResources
50
50
  if prefix == 'default_'
51
51
  resources[type.to_sym] ||= name.to_sym
52
52
  elsif prefix.nil?
53
- resources[type.to_sym] ||= "default_#{type}".to_sym
53
+ resources["default_#{type}".to_sym] ||= name.to_sym
54
54
  end
55
55
  end
56
56
 
@@ -1,3 +1,3 @@
1
1
  module NeedsResources
2
- VERSION = '0.3.0'
2
+ VERSION = '0.4.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: needs_resources
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
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-10-31 00:00:00.000000000 Z
12
+ date: 2013-11-01 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Ruby gem to provide lightweight inversion of control type resources for
15
15
  an application