motr 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -17,6 +17,6 @@ group :test do
17
17
  gem "colored"
18
18
  gem 'shoulda-context'
19
19
  gem 'fabrication', '0.9.5'
20
- gem 'ffaker', '1.5.0'
20
+ gem 'ffaker', '~> 1.0'
21
21
  gem 'spork', '~> 0.9.0.rc', :require => false
22
22
  end
@@ -21,7 +21,7 @@ module Motr
21
21
 
22
22
  configure do
23
23
  pos = sluggable_mod_options[:on] || "create"
24
- send(:"before_#{pos.to_s}", :_create_slugged_fields)
24
+ send(:before_validation, :_create_slugged_fields, :on => :"#{pos.to_s}")
25
25
  end
26
26
 
27
27
  def _create_slugged_fields
data/lib/motr/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Motr #:nodoc:
2
- VERSION = "0.0.8".freeze
2
+ VERSION = "0.0.9".freeze
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: motr
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.8
5
+ version: 0.0.9
6
6
  platform: ruby
7
7
  authors:
8
8
  - Brent Kirby
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-05-24 00:00:00 -04:00
13
+ date: 2011-05-25 00:00:00 -04:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -75,7 +75,7 @@ dependencies:
75
75
  requirements:
76
76
  - - ~>
77
77
  - !ruby/object:Gem::Version
78
- version: "1.5"
78
+ version: "1.0"
79
79
  type: :development
80
80
  prerelease: false
81
81
  version_requirements: *id006
@@ -165,7 +165,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
165
165
  requirements:
166
166
  - - ">="
167
167
  - !ruby/object:Gem::Version
168
- hash: -3091450084673038537
168
+ hash: 2612295616320464071
169
169
  segments:
170
170
  - 0
171
171
  version: "0"