fortify 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -80,6 +80,7 @@ end
80
80
 
81
81
  ActiveResource::Base.class_eval do
82
82
  def initialize_with_default_attributes(attributes={})
83
+ attributes ||= {}
83
84
  initialize_without_default_attributes self.class.default_attributes.attributes.merge(attributes)
84
85
  end
85
86
 
@@ -1,3 +1,3 @@
1
- $LOAD_PATH << './lib'
2
- require 'activeresource'
1
+ $LOAD_PATH.unshift './lib'
2
+ require 'active_resource'
3
3
  require 'fortify'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fortify
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Parker
@@ -9,11 +9,11 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-12-02 00:00:00 -05:00
12
+ date: 2010-01-11 00:00:00 -05:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
- name: rails
16
+ name: activeresource
17
17
  type: :runtime
18
18
  version_requirement:
19
19
  version_requirements: !ruby/object:Gem::Requirement