mongo_mapper_ext 0.1.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -1,10 +1,9 @@
1
1
  require 'rake_ext'
2
2
 
3
- gem_spec(
3
+ project(
4
4
  :name => "mongo_mapper_ext",
5
- :version => "0.1.1",
5
+ :version => "0.2.2",
6
6
  :summary => "Extensions for MongoMapper",
7
- :dependencies => %w(mongo_mapper),
8
7
 
9
8
  :author => "Alexey Petrushin",
10
9
  :homepage => "http://github.com/alexeypetrushin/mongo_mapper"
@@ -0,0 +1,2 @@
1
+ gem 'mongo_mapper', '0.8.6'
2
+ gem 'bson_ext', '1.1.1'
@@ -1,6 +1,6 @@
1
- gem 'mongo_mapper', '>=0.8'
2
- require 'mongo_mapper'
1
+ require 'mongo_mapper_ext/gems'
3
2
 
3
+ require 'mongo_mapper'
4
4
 
5
5
  [
6
6
  'hacks/fixes',
@@ -1,5 +1,4 @@
1
- require 'rspec_ext'
2
- require "#{__FILE__.dirname}/helper"
1
+ require 'spec_helper'
3
2
 
4
3
  require "mongo_mapper_ext/micelaneous"
5
4
  require "mongo_mapper_ext/plugins/micelaneous"
@@ -1,5 +1,4 @@
1
- require 'rspec_ext'
2
- require "#{__FILE__.dirname}/helper"
1
+ require 'spec_helper'
3
2
 
4
3
  require "mongo_mapper_ext/micelaneous"
5
4
  require "mongo_mapper_ext/plugins/micelaneous"
@@ -1,5 +1,4 @@
1
- require 'rspec_ext'
2
- require "#{__FILE__.dirname}/helper"
1
+ require 'spec_helper'
3
2
 
4
3
  require "mongo_mapper_ext"
5
4
  require "mongo_mapper_ext/spec/helper"
data/spec/scope_spec.rb CHANGED
@@ -1,5 +1,4 @@
1
- require 'rspec_ext'
2
- require "#{__FILE__.dirname}/helper"
1
+ require 'spec_helper'
3
2
 
4
3
  require "mongo_mapper_ext/plugins/default_scope"
5
4
 
@@ -1,3 +1,5 @@
1
+ require 'rspec_ext'
2
+
1
3
  lib_dir = "#{__FILE__.parent_dirname}/lib"
2
4
  $LOAD_PATH << lib_dir unless $LOAD_PATH.include? lib_dir
3
5
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongo_mapper_ext
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 19
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
- - 1
9
- - 1
10
- version: 0.1.1
8
+ - 2
9
+ - 2
10
+ version: 0.2.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Alexey Petrushin
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-10-13 00:00:00 +04:00
18
+ date: 2010-10-15 00:00:00 +04:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -24,14 +24,32 @@ dependencies:
24
24
  requirement: &id001 !ruby/object:Gem::Requirement
25
25
  none: false
26
26
  requirements:
27
- - - ">="
27
+ - - "="
28
28
  - !ruby/object:Gem::Version
29
- hash: 3
29
+ hash: 51
30
30
  segments:
31
31
  - 0
32
- version: "0"
32
+ - 8
33
+ - 6
34
+ version: 0.8.6
33
35
  type: :runtime
34
36
  version_requirements: *id001
37
+ - !ruby/object:Gem::Dependency
38
+ name: bson_ext
39
+ prerelease: false
40
+ requirement: &id002 !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - "="
44
+ - !ruby/object:Gem::Version
45
+ hash: 17
46
+ segments:
47
+ - 1
48
+ - 1
49
+ - 1
50
+ version: 1.1.1
51
+ type: :runtime
52
+ version_requirements: *id002
35
53
  description:
36
54
  email:
37
55
  executables: []
@@ -44,6 +62,7 @@ files:
44
62
  - Rakefile
45
63
  - readme.md
46
64
  - lib/mongo_mapper_ext/db_config.rb
65
+ - lib/mongo_mapper_ext/gems.rb
47
66
  - lib/mongo_mapper_ext/hacks/fixes.rb
48
67
  - lib/mongo_mapper_ext/hacks/time_measuring.rb
49
68
  - lib/mongo_mapper_ext/micelaneous.rb
@@ -57,12 +76,12 @@ files:
57
76
  - lib/mongo_mapper_ext/spec/helper.rb
58
77
  - lib/mongo_mapper_ext/view_helpers.rb
59
78
  - lib/mongo_mapper_ext.rb
60
- - spec/helper.rb
61
79
  - spec/micelaneous_plugin_spec.rb
62
80
  - spec/micelaneous_spec.rb
63
81
  - spec/migration_spec.rb
64
82
  - spec/mm_spec.rb
65
83
  - spec/scope_spec.rb
84
+ - spec/spec_helper.rb
66
85
  has_rdoc: true
67
86
  homepage: http://github.com/alexeypetrushin/mongo_mapper
68
87
  licenses: []