mm-commentable 1.2.0 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: f0c42c774662e1d5531936ee228935a3a00864df
4
+ data.tar.gz: 835f1a94cec2738a576894e9e20079cfdeb20cad
5
+ SHA512:
6
+ metadata.gz: c5837b3dab49190f7e9b041501661ed520ad37b01b83454979633a55b3f2e52ad3700309f4fc83ee079d1647669ce2930bce1d017e91db3c9737da973ba5031d
7
+ data.tar.gz: 1a2bd85f3217faf8bd883eb0b14b8f332ffe0f7cb380ae92c804acc5daf3a038dc7de035275dae72e38c11208885307656cd5b3b9a141c97bdd1413c80897d5c
data/.ruby-gemset ADDED
@@ -0,0 +1 @@
1
+ mm-commentable
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ ruby-2.1.5
data/Gemfile CHANGED
@@ -1,14 +1,12 @@
1
- source "http://rubygems.org"
1
+ source 'https://rubygems.org'
2
+ ruby '2.1.5'
2
3
 
3
4
  group :development do
4
- gem 'bson_ext', '1.3.0'
5
- gem 'mongo_mapper', '0.9.0'
5
+ gem 'mongo_mapper'
6
6
  gem 'i18n'
7
7
 
8
- gem 'ruby-debug'
9
- gem "rspec", "~> 2.1.0"
10
- gem "yard", "~> 0.6.0"
11
- gem "bundler", "~> 1.0.0"
12
- gem "jeweler", "~> 1.5.1"
13
- gem "rcov", ">= 0"
8
+ gem 'byebug'
9
+ gem "rspec"
10
+ gem "yard"
11
+ gem "jeweler"
14
12
  end
data/Gemfile.lock CHANGED
@@ -1,58 +1,100 @@
1
1
  GEM
2
- remote: http://rubygems.org/
2
+ remote: https://rubygems.org/
3
3
  specs:
4
- activemodel (3.0.6)
5
- activesupport (= 3.0.6)
6
- builder (~> 2.1.2)
7
- i18n (~> 0.5.0)
8
- activesupport (3.0.6)
9
- bson (1.3.0)
10
- bson_ext (1.3.0)
11
- builder (2.1.2)
12
- columnize (0.3.2)
13
- diff-lcs (1.1.2)
14
- git (1.2.5)
15
- i18n (0.5.0)
16
- jeweler (1.5.2)
17
- bundler (~> 1.0.0)
4
+ activemodel (4.2.1)
5
+ activesupport (= 4.2.1)
6
+ builder (~> 3.1)
7
+ activesupport (4.2.1)
8
+ i18n (~> 0.7)
9
+ json (~> 1.7, >= 1.7.7)
10
+ minitest (~> 5.1)
11
+ thread_safe (~> 0.3, >= 0.3.4)
12
+ tzinfo (~> 1.1)
13
+ addressable (2.3.7)
14
+ bson (1.12.0)
15
+ builder (3.2.2)
16
+ byebug (4.0.3)
17
+ columnize (= 0.9.0)
18
+ columnize (0.9.0)
19
+ descendants_tracker (0.0.4)
20
+ thread_safe (~> 0.3, >= 0.3.1)
21
+ diff-lcs (1.2.5)
22
+ faraday (0.9.1)
23
+ multipart-post (>= 1.2, < 3)
24
+ git (1.2.9.1)
25
+ github_api (0.12.3)
26
+ addressable (~> 2.3)
27
+ descendants_tracker (~> 0.0.4)
28
+ faraday (~> 0.8, < 0.10)
29
+ hashie (>= 3.3)
30
+ multi_json (>= 1.7.5, < 2.0)
31
+ nokogiri (~> 1.6.3)
32
+ oauth2
33
+ hashie (3.4.0)
34
+ highline (1.7.1)
35
+ i18n (0.7.0)
36
+ jeweler (2.0.1)
37
+ builder
38
+ bundler (>= 1.0)
18
39
  git (>= 1.2.5)
40
+ github_api
41
+ highline (>= 1.6.15)
42
+ nokogiri (>= 1.5.10)
19
43
  rake
20
- linecache (0.43)
21
- mongo (1.3.0)
22
- bson (>= 1.3.0)
23
- mongo_mapper (0.9.0)
24
- activemodel (~> 3.0.0)
25
- activesupport (~> 3.0.0)
26
- plucky (~> 0.3.6)
27
- plucky (0.3.7)
28
- mongo (~> 1.1)
29
- rake (0.8.7)
30
- rcov (0.9.9)
31
- rspec (2.1.0)
32
- rspec-core (~> 2.1.0)
33
- rspec-expectations (~> 2.1.0)
34
- rspec-mocks (~> 2.1.0)
35
- rspec-core (2.1.0)
36
- rspec-expectations (2.1.0)
37
- diff-lcs (~> 1.1.2)
38
- rspec-mocks (2.1.0)
39
- ruby-debug (0.10.4)
40
- columnize (>= 0.1)
41
- ruby-debug-base (~> 0.10.4.0)
42
- ruby-debug-base (0.10.4)
43
- linecache (>= 0.3)
44
- yard (0.6.4)
44
+ rdoc
45
+ json (1.8.2)
46
+ jwt (1.4.1)
47
+ mini_portile (0.6.2)
48
+ minitest (5.5.1)
49
+ mongo (1.12.0)
50
+ bson (= 1.12.0)
51
+ mongo_mapper (0.13.1)
52
+ activemodel (>= 3.0.0)
53
+ activesupport (>= 3.0)
54
+ mongo (~> 1.8)
55
+ plucky (~> 0.6.5)
56
+ multi_json (1.11.0)
57
+ multi_xml (0.5.5)
58
+ multipart-post (2.0.0)
59
+ nokogiri (1.6.6.2)
60
+ mini_portile (~> 0.6.0)
61
+ oauth2 (1.0.0)
62
+ faraday (>= 0.8, < 0.10)
63
+ jwt (~> 1.0)
64
+ multi_json (~> 1.3)
65
+ multi_xml (~> 0.5)
66
+ rack (~> 1.2)
67
+ plucky (0.6.6)
68
+ mongo (~> 1.5)
69
+ rack (1.6.0)
70
+ rake (10.4.2)
71
+ rdoc (4.2.0)
72
+ json (~> 1.4)
73
+ rspec (3.2.0)
74
+ rspec-core (~> 3.2.0)
75
+ rspec-expectations (~> 3.2.0)
76
+ rspec-mocks (~> 3.2.0)
77
+ rspec-core (3.2.2)
78
+ rspec-support (~> 3.2.0)
79
+ rspec-expectations (3.2.0)
80
+ diff-lcs (>= 1.2.0, < 2.0)
81
+ rspec-support (~> 3.2.0)
82
+ rspec-mocks (3.2.1)
83
+ diff-lcs (>= 1.2.0, < 2.0)
84
+ rspec-support (~> 3.2.0)
85
+ rspec-support (3.2.2)
86
+ thread_safe (0.3.5)
87
+ tzinfo (1.2.2)
88
+ thread_safe (~> 0.1)
89
+ yard (0.8.7.6)
45
90
 
46
91
  PLATFORMS
47
92
  ruby
48
93
 
49
94
  DEPENDENCIES
50
- bson_ext (= 1.3.0)
51
- bundler (~> 1.0.0)
95
+ byebug
52
96
  i18n
53
- jeweler (~> 1.5.1)
54
- mongo_mapper (= 0.9.0)
55
- rcov
56
- rspec (~> 2.1.0)
57
- ruby-debug
58
- yard (~> 0.6.0)
97
+ jeweler
98
+ mongo_mapper
99
+ rspec
100
+ yard
data/README.rdoc CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  A simple MongoMapper plugin to make adding comments to your models easy
4
4
 
5
+ v1.2 is a mongomapper 0.9.0 update to support the new plugin system
6
+ if you are using mongomapper 0.8.x please use version 1.1 of the gem
7
+
8
+
5
9
  == Usage
6
10
 
7
11
  Install the gem
data/Rakefile CHANGED
@@ -32,10 +32,10 @@ RSpec::Core::RakeTask.new(:spec) do |spec|
32
32
  spec.pattern = FileList['spec/**/*_spec.rb']
33
33
  end
34
34
 
35
- RSpec::Core::RakeTask.new(:rcov) do |spec|
36
- spec.pattern = 'spec/**/*_spec.rb'
37
- spec.rcov = true
38
- end
35
+ # RSpec::Core::RakeTask.new(:rcov) do |spec|
36
+ # spec.pattern = 'spec/**/*_spec.rb'
37
+ # spec.rcov = true
38
+ # end
39
39
 
40
40
  task :default => :spec
41
41
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.0
1
+ 2.0.0
@@ -11,31 +11,22 @@ module MongoMapper
11
11
  many :comments
12
12
  end
13
13
 
14
- module InstanceMethods
15
-
16
- def commentable?; true; end
17
-
18
- def add_comment!(comment_body, commentor)
19
-
20
- comment = self.comments.build({
21
- :body => comment_body,
22
- :commentor => commentor
23
- })
24
-
25
- return false unless comment.save
26
-
27
- self.increment('comments_count' => 1)
28
- on_add_comment(comment)
29
- end
30
-
31
- def on_add_comment(comment)
32
- raise NotImplementedError
33
- end
14
+ def commentable?; true; end
34
15
 
16
+ def add_comment!(comment_body, commentor)
17
+
18
+ comment = self.comments.build({
19
+ :body => comment_body,
20
+ :commentor => commentor
21
+ })
22
+
23
+ return false unless comment.save
24
+
25
+ increment({ comments_count: 1 })
26
+ on_add_comment(comment) if respond_to? :on_add_comment
35
27
  end
36
28
 
37
29
  module ClassMethods
38
-
39
30
  end
40
31
 
41
32
  end
@@ -2,16 +2,18 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
+ # stub: mm-commentable 2.0.0 ruby lib
5
6
 
6
7
  Gem::Specification.new do |s|
7
- s.name = %q{mm-commentable}
8
- s.version = "1.2.0"
8
+ s.name = "mm-commentable"
9
+ s.version = "2.0.0"
9
10
 
10
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
+ s.require_paths = ["lib"]
11
13
  s.authors = ["Luke Cunningham"]
12
- s.date = %q{2011-04-14}
13
- s.description = %q{A very simple mongomapper plugin to make you models commentable}
14
- s.email = %q{luke@icaruswings.com}
14
+ s.date = "2015-03-23"
15
+ s.description = "A very simple mongomapper plugin to make you models commentable"
16
+ s.email = "luke@icaruswings.com"
15
17
  s.extra_rdoc_files = [
16
18
  "LICENSE.txt",
17
19
  "README.rdoc"
@@ -19,6 +21,8 @@ Gem::Specification.new do |s|
19
21
  s.files = [
20
22
  ".document",
21
23
  ".rspec",
24
+ ".ruby-gemset",
25
+ ".ruby-version",
22
26
  "Gemfile",
23
27
  "Gemfile.lock",
24
28
  "LICENSE.txt",
@@ -33,51 +37,36 @@ Gem::Specification.new do |s|
33
37
  "spec/spec_helper.rb",
34
38
  "spec/support/models.rb"
35
39
  ]
36
- s.homepage = %q{http://github.com/icaruswings/mm-commentable}
40
+ s.homepage = "http://github.com/icaruswings/mm-commentable"
37
41
  s.licenses = ["MIT"]
38
- s.require_paths = ["lib"]
39
- s.rubygems_version = %q{1.6.2}
40
- s.summary = %q{A very simple mongomapper plugin to make you models commentable}
41
- s.test_files = [
42
- "spec/mm-commentable_spec.rb",
43
- "spec/spec_helper.rb",
44
- "spec/support/models.rb"
45
- ]
42
+ s.rubygems_version = "2.4.3"
43
+ s.summary = "A very simple mongomapper plugin to make you models commentable"
46
44
 
47
45
  if s.respond_to? :specification_version then
48
- s.specification_version = 3
46
+ s.specification_version = 4
49
47
 
50
48
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
51
- s.add_development_dependency(%q<bson_ext>, ["= 1.3.0"])
52
- s.add_development_dependency(%q<mongo_mapper>, ["= 0.9.0"])
49
+ s.add_development_dependency(%q<mongo_mapper>, [">= 0"])
53
50
  s.add_development_dependency(%q<i18n>, [">= 0"])
54
- s.add_development_dependency(%q<ruby-debug>, [">= 0"])
55
- s.add_development_dependency(%q<rspec>, ["~> 2.1.0"])
56
- s.add_development_dependency(%q<yard>, ["~> 0.6.0"])
57
- s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
58
- s.add_development_dependency(%q<jeweler>, ["~> 1.5.1"])
59
- s.add_development_dependency(%q<rcov>, [">= 0"])
51
+ s.add_development_dependency(%q<byebug>, [">= 0"])
52
+ s.add_development_dependency(%q<rspec>, [">= 0"])
53
+ s.add_development_dependency(%q<yard>, [">= 0"])
54
+ s.add_development_dependency(%q<jeweler>, [">= 0"])
60
55
  else
61
- s.add_dependency(%q<bson_ext>, ["= 1.3.0"])
62
- s.add_dependency(%q<mongo_mapper>, ["= 0.9.0"])
56
+ s.add_dependency(%q<mongo_mapper>, [">= 0"])
63
57
  s.add_dependency(%q<i18n>, [">= 0"])
64
- s.add_dependency(%q<ruby-debug>, [">= 0"])
65
- s.add_dependency(%q<rspec>, ["~> 2.1.0"])
66
- s.add_dependency(%q<yard>, ["~> 0.6.0"])
67
- s.add_dependency(%q<bundler>, ["~> 1.0.0"])
68
- s.add_dependency(%q<jeweler>, ["~> 1.5.1"])
69
- s.add_dependency(%q<rcov>, [">= 0"])
58
+ s.add_dependency(%q<byebug>, [">= 0"])
59
+ s.add_dependency(%q<rspec>, [">= 0"])
60
+ s.add_dependency(%q<yard>, [">= 0"])
61
+ s.add_dependency(%q<jeweler>, [">= 0"])
70
62
  end
71
63
  else
72
- s.add_dependency(%q<bson_ext>, ["= 1.3.0"])
73
- s.add_dependency(%q<mongo_mapper>, ["= 0.9.0"])
64
+ s.add_dependency(%q<mongo_mapper>, [">= 0"])
74
65
  s.add_dependency(%q<i18n>, [">= 0"])
75
- s.add_dependency(%q<ruby-debug>, [">= 0"])
76
- s.add_dependency(%q<rspec>, ["~> 2.1.0"])
77
- s.add_dependency(%q<yard>, ["~> 0.6.0"])
78
- s.add_dependency(%q<bundler>, ["~> 1.0.0"])
79
- s.add_dependency(%q<jeweler>, ["~> 1.5.1"])
80
- s.add_dependency(%q<rcov>, [">= 0"])
66
+ s.add_dependency(%q<byebug>, [">= 0"])
67
+ s.add_dependency(%q<rspec>, [">= 0"])
68
+ s.add_dependency(%q<yard>, [">= 0"])
69
+ s.add_dependency(%q<jeweler>, [">= 0"])
81
70
  end
82
71
  end
83
72
 
@@ -8,11 +8,11 @@ describe "MongoMapper::Plugins::ActsAsCommentable" do
8
8
  end
9
9
 
10
10
  it "should be commentable" do
11
- @commentable.should be_commentable
11
+ expect(@commentable).to be_commentable
12
12
  end
13
13
 
14
14
  it "should have a comments_count attribute that defaults to 0" do
15
- @commentable.comments_count.should equal 0
15
+ expect(@commentable.comments_count).to be_zero
16
16
  end
17
17
 
18
18
  describe "add_comment!" do
@@ -28,27 +28,18 @@ describe "MongoMapper::Plugins::ActsAsCommentable" do
28
28
  @commentable.add_comment!("first comment", @luke)
29
29
  @commentable.reload
30
30
 
31
- @commentable.comments.size.should equal 1
31
+ expect(@commentable.comments.size).to be 1
32
32
  end
33
33
 
34
34
  it "should assign the commentor" do
35
35
  @commentable.add_comment!("first comment", @luke)
36
36
  comment = @commentable.comments.first
37
37
 
38
- comment.commentor_id.should == @luke.id
39
- comment.commentor_type.should == @luke.class.name
40
- comment.commentor.should == @luke
41
- end
42
-
43
- it "should throw NotImplementedError if the :on_add_vote callback has not inplemented" do
44
- commentable = CommentableWithoutCallback.new
45
- lambda {
46
- commentable.add_comment!(1, @luke)
47
- }.should raise_error(NotImplementedError)
38
+ expect(comment.commentor).to equal @luke
48
39
  end
49
40
 
50
41
  it "should call :on_add_vote if the callback has been implemented" do
51
- @commentable.should_receive(:on_add_comment)
42
+ expect(@commentable).to receive(:on_add_comment)
52
43
  @commentable.add_comment!(1, @luke)
53
44
  end
54
45
 
@@ -63,25 +54,21 @@ describe "Comment" do
63
54
  end
64
55
 
65
56
  it "should be embeddable?" do
66
- Comment.embeddable?.should be_true
67
- end
68
-
69
- it "should be embeddable?" do
70
- Comment.embeddable?.should be_true
57
+ expect(Comment).to be_embeddable
71
58
  end
72
59
 
73
60
  it "should have a created_at key" do
74
- @comment.should respond_to(:created_at=)
75
- @comment.should respond_to(:created_at)
61
+ expect(@comment).to respond_to(:created_at=)
62
+ expect(@comment).to respond_to(:created_at)
76
63
  end
77
64
 
78
65
  it "should have a commentor association" do
79
- @comment.should respond_to(:commentor_id=)
80
- @comment.should respond_to(:commentor_id)
81
- @comment.should respond_to(:commentor_type=)
82
- @comment.should respond_to(:commentor_type)
83
-
84
- @comment.associations[:commentor].should be_a(MongoMapper::Plugins::Associations::BelongsToAssociation)
66
+ expect(@comment).to respond_to(:commentor_id=)
67
+ expect(@comment).to respond_to(:commentor_id)
68
+ expect(@comment).to respond_to(:commentor_type=)
69
+ expect(@comment).to respond_to(:commentor_type)
70
+
71
+ expect(@comment.associations[:commentor]).to be_a(MongoMapper::Plugins::Associations::BelongsToAssociation)
85
72
  end
86
73
 
87
74
  end
metadata CHANGED
@@ -1,173 +1,111 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: mm-commentable
3
- version: !ruby/object:Gem::Version
4
- hash: 31
5
- prerelease:
6
- segments:
7
- - 1
8
- - 2
9
- - 0
10
- version: 1.2.0
3
+ version: !ruby/object:Gem::Version
4
+ version: 2.0.0
11
5
  platform: ruby
12
- authors:
6
+ authors:
13
7
  - Luke Cunningham
14
8
  autorequire:
15
9
  bindir: bin
16
10
  cert_chain: []
17
-
18
- date: 2011-04-14 00:00:00 +10:00
19
- default_executable:
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
22
- prerelease: false
23
- type: :development
24
- requirement: &id001 !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - "="
28
- - !ruby/object:Gem::Version
29
- hash: 27
30
- segments:
31
- - 1
32
- - 3
33
- - 0
34
- version: 1.3.0
35
- name: bson_ext
36
- version_requirements: *id001
37
- - !ruby/object:Gem::Dependency
38
- prerelease: false
39
- type: :development
40
- requirement: &id002 !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
43
- - - "="
44
- - !ruby/object:Gem::Version
45
- hash: 59
46
- segments:
47
- - 0
48
- - 9
49
- - 0
50
- version: 0.9.0
11
+ date: 2015-03-23 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
51
14
  name: mongo_mapper
52
- version_requirements: *id002
53
- - !ruby/object:Gem::Dependency
54
- prerelease: false
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
55
20
  type: :development
56
- requirement: &id003 !ruby/object:Gem::Requirement
57
- none: false
58
- requirements:
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
59
24
  - - ">="
60
- - !ruby/object:Gem::Version
61
- hash: 3
62
- segments:
63
- - 0
64
- version: "0"
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
65
28
  name: i18n
66
- version_requirements: *id003
67
- - !ruby/object:Gem::Dependency
68
- prerelease: false
69
- type: :development
70
- requirement: &id004 !ruby/object:Gem::Requirement
71
- none: false
72
- requirements:
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
73
31
  - - ">="
74
- - !ruby/object:Gem::Version
75
- hash: 3
76
- segments:
77
- - 0
78
- version: "0"
79
- name: ruby-debug
80
- version_requirements: *id004
81
- - !ruby/object:Gem::Dependency
82
- prerelease: false
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
83
34
  type: :development
84
- requirement: &id005 !ruby/object:Gem::Requirement
85
- none: false
86
- requirements:
87
- - - ~>
88
- - !ruby/object:Gem::Version
89
- hash: 11
90
- segments:
91
- - 2
92
- - 1
93
- - 0
94
- version: 2.1.0
95
- name: rspec
96
- version_requirements: *id005
97
- - !ruby/object:Gem::Dependency
98
35
  prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: byebug
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
99
48
  type: :development
100
- requirement: &id006 !ruby/object:Gem::Requirement
101
- none: false
102
- requirements:
103
- - - ~>
104
- - !ruby/object:Gem::Version
105
- hash: 7
106
- segments:
107
- - 0
108
- - 6
109
- - 0
110
- version: 0.6.0
111
- name: yard
112
- version_requirements: *id006
113
- - !ruby/object:Gem::Dependency
114
49
  prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
115
62
  type: :development
116
- requirement: &id007 !ruby/object:Gem::Requirement
117
- none: false
118
- requirements:
119
- - - ~>
120
- - !ruby/object:Gem::Version
121
- hash: 23
122
- segments:
123
- - 1
124
- - 0
125
- - 0
126
- version: 1.0.0
127
- name: bundler
128
- version_requirements: *id007
129
- - !ruby/object:Gem::Dependency
130
63
  prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: yard
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
131
76
  type: :development
132
- requirement: &id008 !ruby/object:Gem::Requirement
133
- none: false
134
- requirements:
135
- - - ~>
136
- - !ruby/object:Gem::Version
137
- hash: 1
138
- segments:
139
- - 1
140
- - 5
141
- - 1
142
- version: 1.5.1
143
- name: jeweler
144
- version_requirements: *id008
145
- - !ruby/object:Gem::Dependency
146
77
  prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: jeweler
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
147
90
  type: :development
148
- requirement: &id009 !ruby/object:Gem::Requirement
149
- none: false
150
- requirements:
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
151
94
  - - ">="
152
- - !ruby/object:Gem::Version
153
- hash: 3
154
- segments:
155
- - 0
156
- version: "0"
157
- name: rcov
158
- version_requirements: *id009
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
159
97
  description: A very simple mongomapper plugin to make you models commentable
160
98
  email: luke@icaruswings.com
161
99
  executables: []
162
-
163
100
  extensions: []
164
-
165
- extra_rdoc_files:
101
+ extra_rdoc_files:
166
102
  - LICENSE.txt
167
103
  - README.rdoc
168
- files:
169
- - .document
170
- - .rspec
104
+ files:
105
+ - ".document"
106
+ - ".rspec"
107
+ - ".ruby-gemset"
108
+ - ".ruby-version"
171
109
  - Gemfile
172
110
  - Gemfile.lock
173
111
  - LICENSE.txt
@@ -181,41 +119,28 @@ files:
181
119
  - spec/mm-commentable_spec.rb
182
120
  - spec/spec_helper.rb
183
121
  - spec/support/models.rb
184
- has_rdoc: true
185
122
  homepage: http://github.com/icaruswings/mm-commentable
186
- licenses:
123
+ licenses:
187
124
  - MIT
125
+ metadata: {}
188
126
  post_install_message:
189
127
  rdoc_options: []
190
-
191
- require_paths:
128
+ require_paths:
192
129
  - lib
193
- required_ruby_version: !ruby/object:Gem::Requirement
194
- none: false
195
- requirements:
130
+ required_ruby_version: !ruby/object:Gem::Requirement
131
+ requirements:
196
132
  - - ">="
197
- - !ruby/object:Gem::Version
198
- hash: 3
199
- segments:
200
- - 0
201
- version: "0"
202
- required_rubygems_version: !ruby/object:Gem::Requirement
203
- none: false
204
- requirements:
133
+ - !ruby/object:Gem::Version
134
+ version: '0'
135
+ required_rubygems_version: !ruby/object:Gem::Requirement
136
+ requirements:
205
137
  - - ">="
206
- - !ruby/object:Gem::Version
207
- hash: 3
208
- segments:
209
- - 0
210
- version: "0"
138
+ - !ruby/object:Gem::Version
139
+ version: '0'
211
140
  requirements: []
212
-
213
141
  rubyforge_project:
214
- rubygems_version: 1.6.2
142
+ rubygems_version: 2.4.3
215
143
  signing_key:
216
- specification_version: 3
144
+ specification_version: 4
217
145
  summary: A very simple mongomapper plugin to make you models commentable
218
- test_files:
219
- - spec/mm-commentable_spec.rb
220
- - spec/spec_helper.rb
221
- - spec/support/models.rb
146
+ test_files: []