mongoid_userstamp 0.3.0 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/spec/spec_helper.rb CHANGED
@@ -1,26 +1,26 @@
1
- # -*- encoding : utf-8 -*-
2
- require 'rubygems'
3
-
4
- $:.push File.expand_path('../../lib', __FILE__)
5
-
6
- require 'active_support/all'
7
- require 'mongoid'
8
- require 'mongoid_userstamp'
9
-
10
- Mongoid.configure do |config|
11
- config.connect_to(
12
- 'mongoid_userstamp_test'
13
- )
14
- end
15
-
16
- Dir[File.expand_path('../support/**/*.rb', __FILE__)].each do |f|
17
- require f
18
- end
19
-
20
- RSpec.configure do |config|
21
- config.mock_with :rspec
22
-
23
- config.after :suite do
24
- Mongoid.purge!
25
- end
26
- end
1
+ # -*- encoding : utf-8 -*-
2
+ require 'rubygems'
3
+
4
+ $:.push File.expand_path('../../lib', __FILE__)
5
+
6
+ require 'active_support/all'
7
+ require 'mongoid'
8
+ require 'mongoid_userstamp'
9
+
10
+ Mongoid.configure do |config|
11
+ config.connect_to(
12
+ 'mongoid_userstamp_test'
13
+ )
14
+ end
15
+
16
+ Dir[File.expand_path('../support/**/*.rb', __FILE__)].each do |f|
17
+ require f
18
+ end
19
+
20
+ RSpec.configure do |config|
21
+ config.mock_with :rspec
22
+
23
+ config.after :suite do
24
+ Mongoid.purge!
25
+ end
26
+ end
data/spec/support/book.rb CHANGED
@@ -1,7 +1,7 @@
1
- # -*- encoding : utf-8 -*-
2
- class Book
3
- include Mongoid::Document
4
- include Mongoid::Userstamp
5
-
6
- field :name
7
- end
1
+ # -*- encoding : utf-8 -*-
2
+ class Book
3
+ include Mongoid::Document
4
+ include Mongoid::Userstamp
5
+
6
+ field :name
7
+ end
data/spec/support/user.rb CHANGED
@@ -1,7 +1,7 @@
1
- # -*- encoding : utf-8 -*-
2
- class User
3
- include Mongoid::Document
4
- include Mongoid::Userstamp::User
5
-
6
- field :name
7
- end
1
+ # -*- encoding : utf-8 -*-
2
+ class User
3
+ include Mongoid::Document
4
+ include Mongoid::Userstamp::User
5
+
6
+ field :name
7
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongoid_userstamp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas Boerger
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-10-02 00:00:00.000000000 Z
12
+ date: 2014-01-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mongoid
@@ -25,6 +25,20 @@ dependencies:
25
25
  - - ! '>='
26
26
  - !ruby/object:Gem::Version
27
27
  version: 3.0.4
28
+ - !ruby/object:Gem::Dependency
29
+ name: rake
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - ! '>='
33
+ - !ruby/object:Gem::Version
34
+ version: '0'
35
+ type: :development
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - ! '>='
40
+ - !ruby/object:Gem::Version
41
+ version: '0'
28
42
  - !ruby/object:Gem::Dependency
29
43
  name: rspec
30
44
  requirement: !ruby/object:Gem::Requirement
@@ -45,42 +59,39 @@ dependencies:
45
59
  requirements:
46
60
  - - ! '>='
47
61
  - !ruby/object:Gem::Version
48
- version: 0.8.2.1
62
+ version: '0'
49
63
  type: :development
50
64
  prerelease: false
51
65
  version_requirements: !ruby/object:Gem::Requirement
52
66
  requirements:
53
67
  - - ! '>='
54
68
  - !ruby/object:Gem::Version
55
- version: 0.8.2.1
69
+ version: '0'
56
70
  - !ruby/object:Gem::Dependency
57
- name: jeweler
71
+ name: gem-release
58
72
  requirement: !ruby/object:Gem::Requirement
59
73
  requirements:
60
74
  - - ! '>='
61
75
  - !ruby/object:Gem::Version
62
- version: 1.8.3
76
+ version: '0'
63
77
  type: :development
64
78
  prerelease: false
65
79
  version_requirements: !ruby/object:Gem::Requirement
66
80
  requirements:
67
81
  - - ! '>='
68
82
  - !ruby/object:Gem::Version
69
- version: 1.8.3
70
- description: Userstamp for created and updated columns within mongoid
83
+ version: '0'
84
+ description: Userstamp for creator and updater columns using Mongoid
71
85
  email: tboerger@tbpro.de
72
86
  executables: []
73
87
  extensions: []
74
- extra_rdoc_files:
75
- - LICENSE.md
76
- - README.md
88
+ extra_rdoc_files: []
77
89
  files:
78
- - .ruby-version
90
+ - .gitignore
79
91
  - .travis.yml
80
92
  - CHANGELOG.md
81
93
  - Gemfile
82
- - Gemfile.lock
83
- - LICENSE.md
94
+ - LICENSE
84
95
  - README.md
85
96
  - Rakefile
86
97
  - init.rb
@@ -115,9 +126,13 @@ required_rubygems_version: !ruby/object:Gem::Requirement
115
126
  version: '0'
116
127
  requirements: []
117
128
  rubyforge_project:
118
- rubygems_version: 2.1.5
129
+ rubygems_version: 2.1.8
119
130
  signing_key:
120
131
  specification_version: 4
121
- summary: Userstamp for mongoid
122
- test_files: []
132
+ summary: Userstamp for Mongoid
133
+ test_files:
134
+ - spec/mongoid/userstamp_spec.rb
135
+ - spec/spec_helper.rb
136
+ - spec/support/book.rb
137
+ - spec/support/user.rb
123
138
  has_rdoc:
data/.ruby-version DELETED
@@ -1 +0,0 @@
1
- 1.9.3-p194
data/Gemfile.lock DELETED
@@ -1,50 +0,0 @@
1
- GEM
2
- remote: http://rubygems.org/
3
- specs:
4
- activemodel (3.2.13)
5
- activesupport (= 3.2.13)
6
- builder (~> 3.0.0)
7
- activesupport (3.2.13)
8
- i18n (= 0.6.1)
9
- multi_json (~> 1.0)
10
- builder (3.0.4)
11
- diff-lcs (1.2.1)
12
- git (1.2.5)
13
- i18n (0.6.1)
14
- jeweler (1.8.4)
15
- bundler (~> 1.0)
16
- git (>= 1.2.5)
17
- rake
18
- rdoc
19
- json (1.7.7)
20
- mongoid (3.1.2)
21
- activemodel (~> 3.2)
22
- moped (~> 1.4.2)
23
- origin (~> 1.0)
24
- tzinfo (~> 0.3.22)
25
- moped (1.4.3)
26
- multi_json (1.7.1)
27
- origin (1.0.11)
28
- rake (10.0.3)
29
- rdoc (4.0.0)
30
- json (~> 1.4)
31
- rspec (2.13.0)
32
- rspec-core (~> 2.13.0)
33
- rspec-expectations (~> 2.13.0)
34
- rspec-mocks (~> 2.13.0)
35
- rspec-core (2.13.1)
36
- rspec-expectations (2.13.0)
37
- diff-lcs (>= 1.1.3, < 2.0)
38
- rspec-mocks (2.13.0)
39
- tzinfo (0.3.37)
40
- yard (0.8.5.2)
41
-
42
- PLATFORMS
43
- ruby
44
- x86-mingw32
45
-
46
- DEPENDENCIES
47
- jeweler (>= 1.8.3)
48
- mongoid (>= 3.0.4)
49
- rspec (>= 2.13.0)
50
- yard (>= 0.8.2.1)