delayed_job_shallow_mongoid 0.2.8 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -1,18 +1,14 @@
1
1
  source "http://rubygems.org"
2
- # Add dependencies required to use your gem here.
3
- # Example:
4
- # gem "activesupport", ">= 2.3.5"
5
2
 
6
- gem "delayed_job", "~> 2.1.1"
7
- gem "mongoid", "~> 2.0.2"
3
+ gem "delayed_job", ">= 2.1.1"
4
+ gem "mongoid", "~> 2.0"
8
5
 
9
- # Add dependencies to develop your gem here.
10
- # Include everything needed to run rake, tests, features, etc.
11
6
  group :development do
12
- gem 'actionmailer'
7
+ gem "actionmailer"
13
8
  gem "shoulda", ">= 0"
14
9
  gem "bundler", "~> 1.0.0"
15
10
  gem "jeweler", "~> 1.6.4"
16
- gem 'rspec'
11
+ gem "rspec"
17
12
  gem "ruby-debug19"
13
+ gem "bson_ext", "~> 1.5"
18
14
  end
data/Rakefile CHANGED
@@ -16,7 +16,7 @@ require 'jeweler'
16
16
  Jeweler::Tasks.new do |gem|
17
17
  # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
18
18
  gem.name = "delayed_job_shallow_mongoid"
19
- gem.homepage = "http://github.com/jaghion/delayed_job_shallow_mongoid"
19
+ gem.homepage = "http://github.com/joeyAghion/delayed_job_shallow_mongoid"
20
20
  gem.license = "MIT"
21
21
  gem.summary = %Q{More efficient Mongoid document serialization for delayed_job.}
22
22
  gem.description = %Q{When the object or arg to a delayed_job is a Mongoid document, store only a small stub of the object instead of the full serialization.}
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.8
1
+ 0.3.0
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "delayed_job_shallow_mongoid"
8
- s.version = "0.2.8"
8
+ s.version = "0.3.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Joey Aghion"]
12
- s.date = "2012-01-04"
12
+ s.date = "2012-02-12"
13
13
  s.description = "When the object or arg to a delayed_job is a Mongoid document, store only a small stub of the object instead of the full serialization."
14
14
  s.email = "joey@aghion.com"
15
15
  s.extra_rdoc_files = [
@@ -19,21 +19,20 @@ Gem::Specification.new do |s|
19
19
  s.files = [
20
20
  ".document",
21
21
  "Gemfile",
22
- "Gemfile.lock",
23
22
  "LICENSE.txt",
24
23
  "README.md",
25
24
  "Rakefile",
26
25
  "VERSION",
27
26
  "delayed_job_shallow_mongoid.gemspec",
28
- "lib/delayed/performable_mailer.rb",
29
- "lib/delayed/performable_method.rb",
30
27
  "lib/delayed/shallow_mongoid.rb",
31
28
  "lib/delayed/shallow_mongoid/document_stub.rb",
29
+ "lib/delayed/shallow_mongoid/performable_mailer.rb",
30
+ "lib/delayed/shallow_mongoid/performable_method.rb",
32
31
  "lib/delayed_job_shallow_mongoid.rb",
33
32
  "spec/delayed_job_shallow_mongoid_spec.rb",
34
33
  "spec/spec_helper.rb"
35
34
  ]
36
- s.homepage = "http://github.com/jaghion/delayed_job_shallow_mongoid"
35
+ s.homepage = "http://github.com/joeyAghion/delayed_job_shallow_mongoid"
37
36
  s.licenses = ["MIT"]
38
37
  s.require_paths = ["lib"]
39
38
  s.rubygems_version = "1.8.10"
@@ -43,33 +42,36 @@ Gem::Specification.new do |s|
43
42
  s.specification_version = 3
44
43
 
45
44
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
46
- s.add_runtime_dependency(%q<delayed_job>, ["~> 2.1.1"])
47
- s.add_runtime_dependency(%q<mongoid>, ["~> 2.0.2"])
45
+ s.add_runtime_dependency(%q<delayed_job>, [">= 2.1.1"])
46
+ s.add_runtime_dependency(%q<mongoid>, ["~> 2.0"])
48
47
  s.add_development_dependency(%q<actionmailer>, [">= 0"])
49
48
  s.add_development_dependency(%q<shoulda>, [">= 0"])
50
49
  s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
51
50
  s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"])
52
51
  s.add_development_dependency(%q<rspec>, [">= 0"])
53
52
  s.add_development_dependency(%q<ruby-debug19>, [">= 0"])
53
+ s.add_development_dependency(%q<bson_ext>, ["~> 1.5"])
54
54
  else
55
- s.add_dependency(%q<delayed_job>, ["~> 2.1.1"])
56
- s.add_dependency(%q<mongoid>, ["~> 2.0.2"])
55
+ s.add_dependency(%q<delayed_job>, [">= 2.1.1"])
56
+ s.add_dependency(%q<mongoid>, ["~> 2.0"])
57
57
  s.add_dependency(%q<actionmailer>, [">= 0"])
58
58
  s.add_dependency(%q<shoulda>, [">= 0"])
59
59
  s.add_dependency(%q<bundler>, ["~> 1.0.0"])
60
60
  s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
61
61
  s.add_dependency(%q<rspec>, [">= 0"])
62
62
  s.add_dependency(%q<ruby-debug19>, [">= 0"])
63
+ s.add_dependency(%q<bson_ext>, ["~> 1.5"])
63
64
  end
64
65
  else
65
- s.add_dependency(%q<delayed_job>, ["~> 2.1.1"])
66
- s.add_dependency(%q<mongoid>, ["~> 2.0.2"])
66
+ s.add_dependency(%q<delayed_job>, [">= 2.1.1"])
67
+ s.add_dependency(%q<mongoid>, ["~> 2.0"])
67
68
  s.add_dependency(%q<actionmailer>, [">= 0"])
68
69
  s.add_dependency(%q<shoulda>, [">= 0"])
69
70
  s.add_dependency(%q<bundler>, ["~> 1.0.0"])
70
71
  s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
71
72
  s.add_dependency(%q<rspec>, [">= 0"])
72
73
  s.add_dependency(%q<ruby-debug19>, [">= 0"])
74
+ s.add_dependency(%q<bson_ext>, ["~> 1.5"])
73
75
  end
74
76
  end
75
77
 
@@ -1,5 +1,5 @@
1
1
  require 'delayed_job'
2
2
  require File.dirname(__FILE__) + '/delayed/shallow_mongoid'
3
3
  require File.dirname(__FILE__) + '/delayed/shallow_mongoid/document_stub'
4
- require File.dirname(__FILE__) + '/delayed/performable_method'
5
- require File.dirname(__FILE__) + '/delayed/performable_mailer'
4
+ require File.dirname(__FILE__) + '/delayed/shallow_mongoid/performable_method'
5
+ require File.dirname(__FILE__) + '/delayed/shallow_mongoid/performable_mailer'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: delayed_job_shallow_mongoid
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.8
4
+ version: 0.3.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,33 +9,33 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-01-04 00:00:00.000000000Z
12
+ date: 2012-02-12 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: delayed_job
16
- requirement: &70252554101280 !ruby/object:Gem::Requirement
16
+ requirement: &2153406800 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
- - - ~>
19
+ - - ! '>='
20
20
  - !ruby/object:Gem::Version
21
21
  version: 2.1.1
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70252554101280
24
+ version_requirements: *2153406800
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: mongoid
27
- requirement: &70252554100560 !ruby/object:Gem::Requirement
27
+ requirement: &2153406140 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
31
31
  - !ruby/object:Gem::Version
32
- version: 2.0.2
32
+ version: '2.0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70252554100560
35
+ version_requirements: *2153406140
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: actionmailer
38
- requirement: &70252554099840 !ruby/object:Gem::Requirement
38
+ requirement: &2153405420 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '0'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70252554099840
46
+ version_requirements: *2153405420
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: shoulda
49
- requirement: &70252554098960 !ruby/object:Gem::Requirement
49
+ requirement: &2153404800 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: '0'
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *70252554098960
57
+ version_requirements: *2153404800
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: bundler
60
- requirement: &70252554098280 !ruby/object:Gem::Requirement
60
+ requirement: &2153404140 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ~>
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: 1.0.0
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *70252554098280
68
+ version_requirements: *2153404140
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: jeweler
71
- requirement: &70252554097780 !ruby/object:Gem::Requirement
71
+ requirement: &2153403480 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ~>
@@ -76,10 +76,10 @@ dependencies:
76
76
  version: 1.6.4
77
77
  type: :development
78
78
  prerelease: false
79
- version_requirements: *70252554097780
79
+ version_requirements: *2153403480
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: rspec
82
- requirement: &70252553963220 !ruby/object:Gem::Requirement
82
+ requirement: &2153402780 !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
85
85
  - - ! '>='
@@ -87,10 +87,10 @@ dependencies:
87
87
  version: '0'
88
88
  type: :development
89
89
  prerelease: false
90
- version_requirements: *70252553963220
90
+ version_requirements: *2153402780
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: ruby-debug19
93
- requirement: &70252553962740 !ruby/object:Gem::Requirement
93
+ requirement: &2153399500 !ruby/object:Gem::Requirement
94
94
  none: false
95
95
  requirements:
96
96
  - - ! '>='
@@ -98,7 +98,18 @@ dependencies:
98
98
  version: '0'
99
99
  type: :development
100
100
  prerelease: false
101
- version_requirements: *70252553962740
101
+ version_requirements: *2153399500
102
+ - !ruby/object:Gem::Dependency
103
+ name: bson_ext
104
+ requirement: &2153398800 !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ~>
108
+ - !ruby/object:Gem::Version
109
+ version: '1.5'
110
+ type: :development
111
+ prerelease: false
112
+ version_requirements: *2153398800
102
113
  description: When the object or arg to a delayed_job is a Mongoid document, store
103
114
  only a small stub of the object instead of the full serialization.
104
115
  email: joey@aghion.com
@@ -110,20 +121,19 @@ extra_rdoc_files:
110
121
  files:
111
122
  - .document
112
123
  - Gemfile
113
- - Gemfile.lock
114
124
  - LICENSE.txt
115
125
  - README.md
116
126
  - Rakefile
117
127
  - VERSION
118
128
  - delayed_job_shallow_mongoid.gemspec
119
- - lib/delayed/performable_mailer.rb
120
- - lib/delayed/performable_method.rb
121
129
  - lib/delayed/shallow_mongoid.rb
122
130
  - lib/delayed/shallow_mongoid/document_stub.rb
131
+ - lib/delayed/shallow_mongoid/performable_mailer.rb
132
+ - lib/delayed/shallow_mongoid/performable_method.rb
123
133
  - lib/delayed_job_shallow_mongoid.rb
124
134
  - spec/delayed_job_shallow_mongoid_spec.rb
125
135
  - spec/spec_helper.rb
126
- homepage: http://github.com/jaghion/delayed_job_shallow_mongoid
136
+ homepage: http://github.com/joeyAghion/delayed_job_shallow_mongoid
127
137
  licenses:
128
138
  - MIT
129
139
  post_install_message:
@@ -138,7 +148,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
138
148
  version: '0'
139
149
  segments:
140
150
  - 0
141
- hash: -213852032855460183
151
+ hash: -1991508222429325858
142
152
  required_rubygems_version: !ruby/object:Gem::Requirement
143
153
  none: false
144
154
  requirements:
data/Gemfile.lock DELETED
@@ -1,104 +0,0 @@
1
- GEM
2
- remote: http://rubygems.org/
3
- specs:
4
- actionmailer (3.1.3)
5
- actionpack (= 3.1.3)
6
- mail (~> 2.3.0)
7
- actionpack (3.1.3)
8
- activemodel (= 3.1.3)
9
- activesupport (= 3.1.3)
10
- builder (~> 3.0.0)
11
- erubis (~> 2.7.0)
12
- i18n (~> 0.6)
13
- rack (~> 1.3.5)
14
- rack-cache (~> 1.1)
15
- rack-mount (~> 0.8.2)
16
- rack-test (~> 0.6.1)
17
- sprockets (~> 2.0.3)
18
- activemodel (3.1.3)
19
- activesupport (= 3.1.3)
20
- builder (~> 3.0.0)
21
- i18n (~> 0.6)
22
- activesupport (3.1.3)
23
- multi_json (~> 1.0)
24
- archive-tar-minitar (0.5.2)
25
- bson (1.5.1)
26
- builder (3.0.0)
27
- columnize (0.3.5)
28
- daemons (1.1.4)
29
- delayed_job (2.1.4)
30
- activesupport (~> 3.0)
31
- daemons
32
- diff-lcs (1.1.3)
33
- erubis (2.7.0)
34
- git (1.2.5)
35
- hike (1.2.1)
36
- i18n (0.6.0)
37
- jeweler (1.6.4)
38
- bundler (~> 1.0)
39
- git (>= 1.2.5)
40
- rake
41
- linecache19 (0.5.12)
42
- ruby_core_source (>= 0.1.4)
43
- mail (2.3.0)
44
- i18n (>= 0.4.0)
45
- mime-types (~> 1.16)
46
- treetop (~> 1.4.8)
47
- mime-types (1.17.2)
48
- mongo (1.5.1)
49
- bson (= 1.5.1)
50
- mongoid (2.0.2)
51
- activemodel (~> 3.0)
52
- mongo (~> 1.3)
53
- tzinfo (~> 0.3.22)
54
- multi_json (1.0.4)
55
- polyglot (0.3.3)
56
- rack (1.3.5)
57
- rack-cache (1.1)
58
- rack (>= 0.4)
59
- rack-mount (0.8.3)
60
- rack (>= 1.0.0)
61
- rack-test (0.6.1)
62
- rack (>= 1.0)
63
- rake (0.9.2.2)
64
- rspec (2.7.0)
65
- rspec-core (~> 2.7.0)
66
- rspec-expectations (~> 2.7.0)
67
- rspec-mocks (~> 2.7.0)
68
- rspec-core (2.7.1)
69
- rspec-expectations (2.7.0)
70
- diff-lcs (~> 1.1.2)
71
- rspec-mocks (2.7.0)
72
- ruby-debug-base19 (0.11.25)
73
- columnize (>= 0.3.1)
74
- linecache19 (>= 0.5.11)
75
- ruby_core_source (>= 0.1.4)
76
- ruby-debug19 (0.11.6)
77
- columnize (>= 0.3.1)
78
- linecache19 (>= 0.5.11)
79
- ruby-debug-base19 (>= 0.11.19)
80
- ruby_core_source (0.1.5)
81
- archive-tar-minitar (>= 0.5.2)
82
- shoulda (2.11.3)
83
- sprockets (2.0.3)
84
- hike (~> 1.2)
85
- rack (~> 1.0)
86
- tilt (~> 1.1, != 1.3.0)
87
- tilt (1.3.3)
88
- treetop (1.4.10)
89
- polyglot
90
- polyglot (>= 0.3.1)
91
- tzinfo (0.3.31)
92
-
93
- PLATFORMS
94
- ruby
95
-
96
- DEPENDENCIES
97
- actionmailer
98
- bundler (~> 1.0.0)
99
- delayed_job (~> 2.1.1)
100
- jeweler (~> 1.6.4)
101
- mongoid (~> 2.0.2)
102
- rspec
103
- ruby-debug19
104
- shoulda