mongoid_acts_as_list 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +5 -0
- data/.rspec +1 -0
- data/.vimrc.local +2 -0
- data/Gemfile +3 -0
- data/README.markdown +134 -0
- data/Rakefile +1 -0
- data/acts_as_list.gemspec +27 -0
- data/lib/mongoid/acts_as_list/configuration.rb +12 -0
- data/lib/mongoid/acts_as_list/list/embedded.rb +47 -0
- data/lib/mongoid/acts_as_list/list/root.rb +38 -0
- data/lib/mongoid/acts_as_list/list.rb +295 -0
- data/lib/mongoid/acts_as_list/version.rb +5 -0
- data/lib/mongoid_acts_as_list.rb +21 -0
- data/spec/acts_as_list/embeds_many_spec.rb +47 -0
- data/spec/acts_as_list/relational_spec.rb +62 -0
- data/spec/fixtures/embeds_many_models.rb +15 -0
- data/spec/fixtures/relational_models.rb +13 -0
- data/spec/mongoid_acts_as_list_spec.rb +7 -0
- data/spec/spec_helper.rb +34 -0
- data/spec/support/list_examples.rb +523 -0
- metadata +121 -0
metadata
ADDED
@@ -0,0 +1,121 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: mongoid_acts_as_list
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.3
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Olivier Melcher
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-03-25 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: rspec
|
16
|
+
requirement: &86692460 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :development
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *86692460
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: bson_ext
|
27
|
+
requirement: &86692200 !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
29
|
+
requirements:
|
30
|
+
- - ~>
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '1.5'
|
33
|
+
type: :development
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *86692200
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: database_cleaner
|
38
|
+
requirement: &86691800 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
40
|
+
requirements:
|
41
|
+
- - ! '>='
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '0'
|
44
|
+
type: :development
|
45
|
+
prerelease: false
|
46
|
+
version_requirements: *86691800
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: pry
|
49
|
+
requirement: &86691540 !ruby/object:Gem::Requirement
|
50
|
+
none: false
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
type: :development
|
56
|
+
prerelease: false
|
57
|
+
version_requirements: *86691540
|
58
|
+
- !ruby/object:Gem::Dependency
|
59
|
+
name: mongoid
|
60
|
+
requirement: &86691140 !ruby/object:Gem::Requirement
|
61
|
+
none: false
|
62
|
+
requirements:
|
63
|
+
- - ! '>='
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: 2.0.1
|
66
|
+
type: :runtime
|
67
|
+
prerelease: false
|
68
|
+
version_requirements: *86691140
|
69
|
+
description: ''
|
70
|
+
email:
|
71
|
+
- olivier.melcher@gmail.com
|
72
|
+
executables: []
|
73
|
+
extensions: []
|
74
|
+
extra_rdoc_files: []
|
75
|
+
files:
|
76
|
+
- .gitignore
|
77
|
+
- .rspec
|
78
|
+
- .vimrc.local
|
79
|
+
- Gemfile
|
80
|
+
- README.markdown
|
81
|
+
- Rakefile
|
82
|
+
- acts_as_list.gemspec
|
83
|
+
- lib/mongoid/acts_as_list/configuration.rb
|
84
|
+
- lib/mongoid/acts_as_list/list.rb
|
85
|
+
- lib/mongoid/acts_as_list/list/embedded.rb
|
86
|
+
- lib/mongoid/acts_as_list/list/root.rb
|
87
|
+
- lib/mongoid/acts_as_list/version.rb
|
88
|
+
- lib/mongoid_acts_as_list.rb
|
89
|
+
- spec/acts_as_list/embeds_many_spec.rb
|
90
|
+
- spec/acts_as_list/relational_spec.rb
|
91
|
+
- spec/fixtures/embeds_many_models.rb
|
92
|
+
- spec/fixtures/relational_models.rb
|
93
|
+
- spec/mongoid_acts_as_list_spec.rb
|
94
|
+
- spec/spec_helper.rb
|
95
|
+
- spec/support/list_examples.rb
|
96
|
+
homepage: ''
|
97
|
+
licenses: []
|
98
|
+
post_install_message:
|
99
|
+
rdoc_options: []
|
100
|
+
require_paths:
|
101
|
+
- lib
|
102
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
103
|
+
none: false
|
104
|
+
requirements:
|
105
|
+
- - ! '>='
|
106
|
+
- !ruby/object:Gem::Version
|
107
|
+
version: '0'
|
108
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
109
|
+
none: false
|
110
|
+
requirements:
|
111
|
+
- - ! '>='
|
112
|
+
- !ruby/object:Gem::Version
|
113
|
+
version: '0'
|
114
|
+
requirements: []
|
115
|
+
rubyforge_project: acts_as_list
|
116
|
+
rubygems_version: 1.8.11
|
117
|
+
signing_key:
|
118
|
+
specification_version: 3
|
119
|
+
summary: Implementation of the acts as list gem for Mongoid
|
120
|
+
test_files: []
|
121
|
+
has_rdoc:
|