money-mongoid 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/Gemfile +6 -10
  2. data/Gemfile.lock +25 -21
  3. data/VERSION +1 -1
  4. data/money-mongoid.gemspec +88 -0
  5. metadata +12 -27
data/Gemfile CHANGED
@@ -1,21 +1,17 @@
1
1
  source :rubygems
2
2
 
3
3
  gem 'money'
4
-
5
- gem 'mongoid', "~> 3.0.0.rc"
6
- gem 'moped'
7
-
8
- # gem 'mongoid', "~> 2.4"
9
- # gem 'bson'
4
+ gem 'mongoid', ">= 2.4.0"
10
5
 
11
6
  group :development do
12
- gem "rspec", "~> 2.10"
7
+ gem "rspec", ">= 2.10"
13
8
  gem "rdoc", ">= 3.12"
14
- gem "bundler", "~> 1.1.0"
15
- gem "jeweler", ">= 1.8.3"
9
+ gem "bundler", ">= 1.1.0"
10
+ gem "jeweler", ">= 1.8.4"
16
11
  gem "simplecov",">= 0.5"
17
12
  end
18
13
 
19
14
  group :test do
20
- # gem 'bson_ext'
15
+ gem 'moped'
16
+ gem 'bson_ext'
21
17
  end
data/Gemfile.lock CHANGED
@@ -1,44 +1,47 @@
1
1
  GEM
2
2
  remote: http://rubygems.org/
3
3
  specs:
4
- activemodel (3.2.6)
5
- activesupport (= 3.2.6)
4
+ activemodel (3.2.8)
5
+ activesupport (= 3.2.8)
6
6
  builder (~> 3.0.0)
7
- activesupport (3.2.6)
7
+ activesupport (3.2.8)
8
8
  i18n (~> 0.6)
9
9
  multi_json (~> 1.0)
10
+ bson (1.6.4)
11
+ bson_ext (1.6.4)
12
+ bson (~> 1.6.4)
10
13
  builder (3.0.0)
11
14
  diff-lcs (1.1.3)
12
15
  git (1.2.5)
13
16
  i18n (0.6.0)
14
- jeweler (1.8.3)
17
+ jeweler (1.8.4)
15
18
  bundler (~> 1.0)
16
19
  git (>= 1.2.5)
17
20
  rake
18
21
  rdoc
19
- json (1.7.3)
22
+ json (1.7.5)
20
23
  money (5.0.0)
21
24
  i18n (~> 0.4)
22
25
  json
23
- mongoid (3.0.0.rc)
26
+ mongoid (3.0.4)
24
27
  activemodel (~> 3.1)
25
- moped (~> 1.0.0.rc)
26
- origin (~> 1.0.0.rc)
28
+ moped (~> 1.1)
29
+ origin (~> 1.0)
27
30
  tzinfo (~> 0.3.22)
28
- moped (1.0.0.rc)
31
+ moped (1.2.0)
29
32
  multi_json (1.3.6)
30
- origin (1.0.1)
33
+ origin (1.0.6)
31
34
  rake (0.9.2.2)
32
35
  rdoc (3.12)
33
36
  json (~> 1.4)
34
- rspec (2.10.0)
35
- rspec-core (~> 2.10.0)
36
- rspec-expectations (~> 2.10.0)
37
- rspec-mocks (~> 2.10.0)
38
- rspec-core (2.10.1)
39
- rspec-expectations (2.10.0)
37
+ rspec (2.11.0)
38
+ rspec-core (~> 2.11.0)
39
+ rspec-expectations (~> 2.11.0)
40
+ rspec-mocks (~> 2.11.0)
41
+ rspec-core (2.11.1)
42
+ rspec-expectations (2.11.2)
40
43
  diff-lcs (~> 1.1.3)
41
- rspec-mocks (2.10.1)
44
+ rspec-mocks (2.11.2)
42
45
  simplecov (0.6.4)
43
46
  multi_json (~> 1.0)
44
47
  simplecov-html (~> 0.5.3)
@@ -49,11 +52,12 @@ PLATFORMS
49
52
  ruby
50
53
 
51
54
  DEPENDENCIES
52
- bundler (~> 1.1.0)
53
- jeweler (>= 1.8.3)
55
+ bson_ext
56
+ bundler (>= 1.1.0)
57
+ jeweler (>= 1.8.4)
54
58
  money
55
- mongoid (~> 3.0.0.rc)
59
+ mongoid (>= 2.4.0)
56
60
  moped
57
61
  rdoc (>= 3.12)
58
- rspec (~> 2.10)
62
+ rspec (>= 2.10)
59
63
  simplecov (>= 0.5)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
@@ -0,0 +1,88 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = "money-mongoid"
8
+ s.version = "0.1.1"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Kristian Mandrup"]
12
+ s.date = "2012-08-23"
13
+ s.description = "Makes it easy to use money with mongoid"
14
+ s.email = "kmandrup@gmail.com"
15
+ s.extra_rdoc_files = [
16
+ "LICENSE.txt",
17
+ "README.md"
18
+ ]
19
+ s.files = [
20
+ ".document",
21
+ ".rspec",
22
+ "Gemfile",
23
+ "Gemfile.lock",
24
+ "LICENSE.txt",
25
+ "README.md",
26
+ "Rakefile",
27
+ "VERSION",
28
+ "lib/money-mongoid.rb",
29
+ "lib/money/mongoid.rb",
30
+ "lib/money/mongoid/2x/money.rb",
31
+ "lib/money/mongoid/3x/money.rb",
32
+ "lib/money/mongoid/core_ext.rb",
33
+ "lib/money/mongoid/core_ext/array.rb",
34
+ "lib/money/mongoid/core_ext/string.rb",
35
+ "lib/money/mongoid/macros.rb",
36
+ "lib/money/mongoid/monetizable.rb",
37
+ "lib/money/mongoid/monetize.rb",
38
+ "lib/money/orm/generic.rb",
39
+ "money-mongoid.gemspec",
40
+ "spec/money/mongoid/2x/money_spec.rb",
41
+ "spec/money/mongoid/2x/product.rb",
42
+ "spec/money/mongoid/3x/money_spec.rb",
43
+ "spec/money/mongoid/3x/product.rb",
44
+ "spec/money/mongoid/models/account.rb",
45
+ "spec/money/mongoid/models/price.rb",
46
+ "spec/money/mongoid/monetize_spec.rb",
47
+ "spec/money/mongoid/spec_helper.rb",
48
+ "spec/money/mongoid/support/mongoid.yml",
49
+ "spec/money/mongoid/version_setup.rb",
50
+ "spec/spec_helper.rb"
51
+ ]
52
+ s.homepage = "http://github.com/kristianmandrup/money-mongoid"
53
+ s.licenses = ["MIT"]
54
+ s.require_paths = ["lib"]
55
+ s.rubygems_version = "1.8.24"
56
+ s.summary = "Mongoid support and integration for the money gem"
57
+
58
+ if s.respond_to? :specification_version then
59
+ s.specification_version = 3
60
+
61
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
62
+ s.add_runtime_dependency(%q<money>, [">= 0"])
63
+ s.add_runtime_dependency(%q<mongoid>, [">= 2.4.0"])
64
+ s.add_development_dependency(%q<rspec>, [">= 2.10"])
65
+ s.add_development_dependency(%q<rdoc>, [">= 3.12"])
66
+ s.add_development_dependency(%q<bundler>, [">= 1.1.0"])
67
+ s.add_development_dependency(%q<jeweler>, [">= 1.8.4"])
68
+ s.add_development_dependency(%q<simplecov>, [">= 0.5"])
69
+ else
70
+ s.add_dependency(%q<money>, [">= 0"])
71
+ s.add_dependency(%q<mongoid>, [">= 2.4.0"])
72
+ s.add_dependency(%q<rspec>, [">= 2.10"])
73
+ s.add_dependency(%q<rdoc>, [">= 3.12"])
74
+ s.add_dependency(%q<bundler>, [">= 1.1.0"])
75
+ s.add_dependency(%q<jeweler>, [">= 1.8.4"])
76
+ s.add_dependency(%q<simplecov>, [">= 0.5"])
77
+ end
78
+ else
79
+ s.add_dependency(%q<money>, [">= 0"])
80
+ s.add_dependency(%q<mongoid>, [">= 2.4.0"])
81
+ s.add_dependency(%q<rspec>, [">= 2.10"])
82
+ s.add_dependency(%q<rdoc>, [">= 3.12"])
83
+ s.add_dependency(%q<bundler>, [">= 1.1.0"])
84
+ s.add_dependency(%q<jeweler>, [">= 1.8.4"])
85
+ s.add_dependency(%q<simplecov>, [">= 0.5"])
86
+ end
87
+ end
88
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: money-mongoid
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-07-07 00:00:00.000000000 Z
12
+ date: 2012-08-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: money
@@ -29,28 +29,12 @@ dependencies:
29
29
  version: '0'
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: mongoid
32
- requirement: !ruby/object:Gem::Requirement
33
- none: false
34
- requirements:
35
- - - ~>
36
- - !ruby/object:Gem::Version
37
- version: 3.0.0.rc
38
- type: :runtime
39
- prerelease: false
40
- version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
43
- - - ~>
44
- - !ruby/object:Gem::Version
45
- version: 3.0.0.rc
46
- - !ruby/object:Gem::Dependency
47
- name: moped
48
32
  requirement: !ruby/object:Gem::Requirement
49
33
  none: false
50
34
  requirements:
51
35
  - - ! '>='
52
36
  - !ruby/object:Gem::Version
53
- version: '0'
37
+ version: 2.4.0
54
38
  type: :runtime
55
39
  prerelease: false
56
40
  version_requirements: !ruby/object:Gem::Requirement
@@ -58,13 +42,13 @@ dependencies:
58
42
  requirements:
59
43
  - - ! '>='
60
44
  - !ruby/object:Gem::Version
61
- version: '0'
45
+ version: 2.4.0
62
46
  - !ruby/object:Gem::Dependency
63
47
  name: rspec
64
48
  requirement: !ruby/object:Gem::Requirement
65
49
  none: false
66
50
  requirements:
67
- - - ~>
51
+ - - ! '>='
68
52
  - !ruby/object:Gem::Version
69
53
  version: '2.10'
70
54
  type: :development
@@ -72,7 +56,7 @@ dependencies:
72
56
  version_requirements: !ruby/object:Gem::Requirement
73
57
  none: false
74
58
  requirements:
75
- - - ~>
59
+ - - ! '>='
76
60
  - !ruby/object:Gem::Version
77
61
  version: '2.10'
78
62
  - !ruby/object:Gem::Dependency
@@ -96,7 +80,7 @@ dependencies:
96
80
  requirement: !ruby/object:Gem::Requirement
97
81
  none: false
98
82
  requirements:
99
- - - ~>
83
+ - - ! '>='
100
84
  - !ruby/object:Gem::Version
101
85
  version: 1.1.0
102
86
  type: :development
@@ -104,7 +88,7 @@ dependencies:
104
88
  version_requirements: !ruby/object:Gem::Requirement
105
89
  none: false
106
90
  requirements:
107
- - - ~>
91
+ - - ! '>='
108
92
  - !ruby/object:Gem::Version
109
93
  version: 1.1.0
110
94
  - !ruby/object:Gem::Dependency
@@ -114,7 +98,7 @@ dependencies:
114
98
  requirements:
115
99
  - - ! '>='
116
100
  - !ruby/object:Gem::Version
117
- version: 1.8.3
101
+ version: 1.8.4
118
102
  type: :development
119
103
  prerelease: false
120
104
  version_requirements: !ruby/object:Gem::Requirement
@@ -122,7 +106,7 @@ dependencies:
122
106
  requirements:
123
107
  - - ! '>='
124
108
  - !ruby/object:Gem::Version
125
- version: 1.8.3
109
+ version: 1.8.4
126
110
  - !ruby/object:Gem::Dependency
127
111
  name: simplecov
128
112
  requirement: !ruby/object:Gem::Requirement
@@ -166,6 +150,7 @@ files:
166
150
  - lib/money/mongoid/monetizable.rb
167
151
  - lib/money/mongoid/monetize.rb
168
152
  - lib/money/orm/generic.rb
153
+ - money-mongoid.gemspec
169
154
  - spec/money/mongoid/2x/money_spec.rb
170
155
  - spec/money/mongoid/2x/product.rb
171
156
  - spec/money/mongoid/3x/money_spec.rb
@@ -192,7 +177,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
192
177
  version: '0'
193
178
  segments:
194
179
  - 0
195
- hash: -620732319928410117
180
+ hash: 4167690394384495730
196
181
  required_rubygems_version: !ruby/object:Gem::Requirement
197
182
  none: false
198
183
  requirements: