kbaum-pickle 0.2.1.2 → 0.2.1.3

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/.gitignore CHANGED
@@ -1,3 +1,4 @@
1
1
  pkg
2
2
  doc/*
3
3
  .garlic
4
+ *.gem
@@ -33,7 +33,7 @@ module Pickle
33
33
  raise ArgumentError, "Can't find a model with an ordinal (e.g. 1st user)" if name.is_a?(Integer)
34
34
  model_class = pickle_config.factories[factory].klass
35
35
  fields = fields.is_a?(Hash) ? parse_hash(fields) : parse_fields(fields)
36
- if record = model_class.find(:first, :conditions => convert_models_to_attributes(model_class, fields))
36
+ if record = model_class.first(:conditions => convert_models_to_attributes(model_class, fields))
37
37
  store_model(factory, name, record)
38
38
  end
39
39
  end
data/pickle.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{kbaum-pickle}
8
- s.version = "0.2.1.2"
8
+ s.version = "0.2.1.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Ian White"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kbaum-pickle
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1.2
4
+ version: 0.2.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ian White