mongo_mapper_ext 0.2.6 → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/mongo_mapper_ext/gems.rb +3 -16
- data/readme.md +2 -2
- metadata +42 -140
@@ -1,16 +1,3 @@
|
|
1
|
-
|
2
|
-
gem '
|
3
|
-
gem '
|
4
|
-
gem 'activemodel', '3.0.7'
|
5
|
-
gem 'bson', '1.3.0'
|
6
|
-
gem 'bson_ext', '1.3.0'
|
7
|
-
gem 'mongo', '1.3.0'
|
8
|
-
gem 'plucky', '0.3.6'
|
9
|
-
|
10
|
-
gem 'mini_magick', '3.2.1'
|
11
|
-
gem 'subexec', '0.0.4'
|
12
|
-
|
13
|
-
# core gems
|
14
|
-
gem 'mongo_mapper', '0.9.0'
|
15
|
-
|
16
|
-
gem 'carrierwave', '0.5.3'
|
1
|
+
gem 'mongo_mapper', '~> 0.9'
|
2
|
+
gem 'carrierwave', '~> 0.5'
|
3
|
+
gem 'mini_magick', '~> 3.2'
|
data/readme.md
CHANGED
@@ -20,6 +20,7 @@
|
|
20
20
|
end
|
21
21
|
|
22
22
|
## Migrations
|
23
|
+
**Please see samples/migration.rb** for full example.
|
23
24
|
|
24
25
|
# Works with multiple databases, support versions
|
25
26
|
Migration.define :default, 1 do |m|
|
@@ -30,7 +31,6 @@
|
|
30
31
|
# Tell it database and version, and it's smart enough to figure out all needed :up or :down
|
31
32
|
Migration.update(:default, 1)
|
32
33
|
|
33
|
-
|
34
34
|
## Custom Scope
|
35
35
|
:with_scope, :default_scope, :with_exclusive_scope, see spec for details.
|
36
36
|
|
@@ -81,4 +81,4 @@ Attribute Cache, Spec Helpers (auto-clean db before each test).
|
|
81
81
|
|
82
82
|
# License
|
83
83
|
|
84
|
-
Copyright (c) Alexey Petrushin
|
84
|
+
Copyright (c) Alexey Petrushin http://petrush.in, released under the MIT license.
|
metadata
CHANGED
@@ -1,148 +1,55 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: mongo_mapper_ext
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.7
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
7
|
+
authors:
|
8
8
|
- Alexey Petrushin
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
name: i18n
|
18
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
19
|
-
none: false
|
20
|
-
requirements:
|
21
|
-
- - "="
|
22
|
-
- !ruby/object:Gem::Version
|
23
|
-
version: 0.5.0
|
24
|
-
type: :runtime
|
25
|
-
prerelease: false
|
26
|
-
version_requirements: *id001
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: activesupport
|
29
|
-
requirement: &id002 !ruby/object:Gem::Requirement
|
30
|
-
none: false
|
31
|
-
requirements:
|
32
|
-
- - "="
|
33
|
-
- !ruby/object:Gem::Version
|
34
|
-
version: 3.0.7
|
35
|
-
type: :runtime
|
36
|
-
prerelease: false
|
37
|
-
version_requirements: *id002
|
38
|
-
- !ruby/object:Gem::Dependency
|
39
|
-
name: activemodel
|
40
|
-
requirement: &id003 !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
|
-
requirements:
|
43
|
-
- - "="
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
version: 3.0.7
|
46
|
-
type: :runtime
|
47
|
-
prerelease: false
|
48
|
-
version_requirements: *id003
|
49
|
-
- !ruby/object:Gem::Dependency
|
50
|
-
name: bson
|
51
|
-
requirement: &id004 !ruby/object:Gem::Requirement
|
52
|
-
none: false
|
53
|
-
requirements:
|
54
|
-
- - "="
|
55
|
-
- !ruby/object:Gem::Version
|
56
|
-
version: 1.3.0
|
57
|
-
type: :runtime
|
58
|
-
prerelease: false
|
59
|
-
version_requirements: *id004
|
60
|
-
- !ruby/object:Gem::Dependency
|
61
|
-
name: bson_ext
|
62
|
-
requirement: &id005 !ruby/object:Gem::Requirement
|
63
|
-
none: false
|
64
|
-
requirements:
|
65
|
-
- - "="
|
66
|
-
- !ruby/object:Gem::Version
|
67
|
-
version: 1.3.0
|
68
|
-
type: :runtime
|
69
|
-
prerelease: false
|
70
|
-
version_requirements: *id005
|
71
|
-
- !ruby/object:Gem::Dependency
|
72
|
-
name: mongo
|
73
|
-
requirement: &id006 !ruby/object:Gem::Requirement
|
12
|
+
date: 2011-08-11 00:00:00.000000000Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: mongo_mapper
|
16
|
+
requirement: &2809580 !ruby/object:Gem::Requirement
|
74
17
|
none: false
|
75
|
-
requirements:
|
76
|
-
- -
|
77
|
-
- !ruby/object:Gem::Version
|
78
|
-
version:
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0.9'
|
79
22
|
type: :runtime
|
80
23
|
prerelease: false
|
81
|
-
version_requirements: *
|
82
|
-
- !ruby/object:Gem::Dependency
|
83
|
-
name:
|
84
|
-
requirement: &
|
24
|
+
version_requirements: *2809580
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: carrierwave
|
27
|
+
requirement: &2809340 !ruby/object:Gem::Requirement
|
85
28
|
none: false
|
86
|
-
requirements:
|
87
|
-
- -
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: 0.
|
29
|
+
requirements:
|
30
|
+
- - ~>
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '0.5'
|
90
33
|
type: :runtime
|
91
34
|
prerelease: false
|
92
|
-
version_requirements: *
|
93
|
-
- !ruby/object:Gem::Dependency
|
35
|
+
version_requirements: *2809340
|
36
|
+
- !ruby/object:Gem::Dependency
|
94
37
|
name: mini_magick
|
95
|
-
requirement: &
|
96
|
-
none: false
|
97
|
-
requirements:
|
98
|
-
- - "="
|
99
|
-
- !ruby/object:Gem::Version
|
100
|
-
version: 3.2.1
|
101
|
-
type: :runtime
|
102
|
-
prerelease: false
|
103
|
-
version_requirements: *id008
|
104
|
-
- !ruby/object:Gem::Dependency
|
105
|
-
name: subexec
|
106
|
-
requirement: &id009 !ruby/object:Gem::Requirement
|
107
|
-
none: false
|
108
|
-
requirements:
|
109
|
-
- - "="
|
110
|
-
- !ruby/object:Gem::Version
|
111
|
-
version: 0.0.4
|
112
|
-
type: :runtime
|
113
|
-
prerelease: false
|
114
|
-
version_requirements: *id009
|
115
|
-
- !ruby/object:Gem::Dependency
|
116
|
-
name: mongo_mapper
|
117
|
-
requirement: &id010 !ruby/object:Gem::Requirement
|
118
|
-
none: false
|
119
|
-
requirements:
|
120
|
-
- - "="
|
121
|
-
- !ruby/object:Gem::Version
|
122
|
-
version: 0.9.0
|
123
|
-
type: :runtime
|
124
|
-
prerelease: false
|
125
|
-
version_requirements: *id010
|
126
|
-
- !ruby/object:Gem::Dependency
|
127
|
-
name: carrierwave
|
128
|
-
requirement: &id011 !ruby/object:Gem::Requirement
|
38
|
+
requirement: &2809100 !ruby/object:Gem::Requirement
|
129
39
|
none: false
|
130
|
-
requirements:
|
131
|
-
- -
|
132
|
-
- !ruby/object:Gem::Version
|
133
|
-
version:
|
40
|
+
requirements:
|
41
|
+
- - ~>
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '3.2'
|
134
44
|
type: :runtime
|
135
45
|
prerelease: false
|
136
|
-
version_requirements: *
|
46
|
+
version_requirements: *2809100
|
137
47
|
description:
|
138
48
|
email:
|
139
49
|
executables: []
|
140
|
-
|
141
50
|
extensions: []
|
142
|
-
|
143
51
|
extra_rdoc_files: []
|
144
|
-
|
145
|
-
files:
|
52
|
+
files:
|
146
53
|
- Rakefile
|
147
54
|
- readme.md
|
148
55
|
- lib/mongo_mapper_ext/carrier_wave/fixes.rb
|
@@ -180,33 +87,28 @@ files:
|
|
180
87
|
- spec/mongo_mapper/migration_spec.rb
|
181
88
|
- spec/mongo_mapper/mongo_mapper_spec.rb
|
182
89
|
- spec/mongo_mapper/spec_helper.rb
|
183
|
-
has_rdoc: true
|
184
90
|
homepage: http://github.com/alexeypetrushin/mongo_mapper_ext
|
185
91
|
licenses: []
|
186
|
-
|
187
92
|
post_install_message:
|
188
93
|
rdoc_options: []
|
189
|
-
|
190
|
-
require_paths:
|
94
|
+
require_paths:
|
191
95
|
- lib
|
192
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
96
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
193
97
|
none: false
|
194
|
-
requirements:
|
195
|
-
- -
|
196
|
-
- !ruby/object:Gem::Version
|
197
|
-
version:
|
198
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
98
|
+
requirements:
|
99
|
+
- - ! '>='
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '0'
|
102
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
199
103
|
none: false
|
200
|
-
requirements:
|
201
|
-
- -
|
202
|
-
- !ruby/object:Gem::Version
|
203
|
-
version:
|
104
|
+
requirements:
|
105
|
+
- - ! '>='
|
106
|
+
- !ruby/object:Gem::Version
|
107
|
+
version: '0'
|
204
108
|
requirements: []
|
205
|
-
|
206
109
|
rubyforge_project:
|
207
|
-
rubygems_version: 1.
|
110
|
+
rubygems_version: 1.8.6
|
208
111
|
signing_key:
|
209
112
|
specification_version: 3
|
210
113
|
summary: Extensions for MongoMapper
|
211
114
|
test_files: []
|
212
|
-
|