mongo_mapper_acts_as_list 0.2 → 0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -31,7 +31,7 @@ module MongoMapper
31
31
  end
32
32
  )
33
33
  else
34
- scope_condition_method = "def scope_condition() \"#{configuration[:scope]}\" end"
34
+ scope_condition_method = "def scope_condition() #{configuration[:scope].to_json} end"
35
35
  end
36
36
 
37
37
  class_eval <<-EOV
@@ -2,7 +2,7 @@
2
2
  module MongoMapper
3
3
  module Plugins
4
4
  module ActsAsList
5
- Version = '0.2'
5
+ Version = '0.3'
6
6
  end
7
7
  end
8
8
  end
data/test/test_helper.rb CHANGED
@@ -4,6 +4,7 @@ $:.unshift File.expand_path(File.dirname(__FILE__) + '/../lib')
4
4
  require 'mongo_mapper'
5
5
  require 'mongo_mapper/plugins/acts_as_list'
6
6
  require 'test/unit'
7
+ require 'ruby-debug'
7
8
 
8
9
 
9
10
 
metadata CHANGED
@@ -1,12 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongo_mapper_acts_as_list
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 13
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
- - 2
9
- version: "0.2"
8
+ - 3
9
+ version: "0.3"
10
10
  platform: ruby
11
11
  authors:
12
12
  - Tomas Celizna
@@ -14,12 +14,12 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-02-18 00:00:00 +01:00
17
+ date: 2011-03-15 00:00:00 +01:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
+ type: :runtime
21
22
  name: mongo_mapper
22
- prerelease: false
23
23
  requirement: &id001 !ruby/object:Gem::Requirement
24
24
  none: false
25
25
  requirements:
@@ -29,11 +29,11 @@ dependencies:
29
29
  segments:
30
30
  - 0
31
31
  version: "0"
32
- type: :runtime
32
+ prerelease: false
33
33
  version_requirements: *id001
34
34
  - !ruby/object:Gem::Dependency
35
+ type: :development
35
36
  name: rake
36
- prerelease: false
37
37
  requirement: &id002 !ruby/object:Gem::Requirement
38
38
  none: false
39
39
  requirements:
@@ -43,7 +43,7 @@ dependencies:
43
43
  segments:
44
44
  - 0
45
45
  version: "0"
46
- type: :development
46
+ prerelease: false
47
47
  version_requirements: *id002
48
48
  description:
49
49
  email: