has_comments 0.1.1 → 0.1.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/lib/has_comments.rb CHANGED
@@ -1,4 +1 @@
1
- require 'module.rb'
2
- class HasComments
3
- VERSION = '0.1.1'
4
- end
1
+ require 'has_comments/module.rb'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: has_comments
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,45 +11,19 @@ bindir: bin
11
11
  cert_chain: []
12
12
  date: 2011-08-17 00:00:00.000000000 +05:30
13
13
  default_executable:
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
16
- name: hoe
17
- requirement: &2168887380 !ruby/object:Gem::Requirement
18
- none: false
19
- requirements:
20
- - - ~>
21
- - !ruby/object:Gem::Version
22
- version: '2.12'
23
- type: :development
24
- prerelease: false
25
- version_requirements: *2168887380
26
- description: As the name implies, this gem allows comments to be added to any model.
27
- email:
28
- - felix1985@gmail.com.com
29
- executables:
30
- - has_comments
14
+ dependencies: []
15
+ description: has_comments allows comments to be added to a model
16
+ email: felix1985@gmail.com
17
+ executables: []
31
18
  extensions: []
32
- extra_rdoc_files:
33
- - History.txt
34
- - Manifest.txt
35
- - README.txt
19
+ extra_rdoc_files: []
36
20
  files:
37
- - .autotest
38
- - History.txt
39
- - Manifest.txt
40
- - README.txt
41
- - Rakefile
42
- - bin/has_comments
43
21
  - lib/has_comments.rb
44
- - test/test_has_comments.rb
45
- - .gemtest
46
22
  has_rdoc: true
47
- homepage: http://github.com/johnfelix/has_comments
23
+ homepage:
48
24
  licenses: []
49
25
  post_install_message:
50
- rdoc_options:
51
- - --main
52
- - README.txt
26
+ rdoc_options: []
53
27
  require_paths:
54
28
  - lib
55
29
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -69,6 +43,5 @@ rubyforge_project: has_comments
69
43
  rubygems_version: 1.6.2
70
44
  signing_key:
71
45
  specification_version: 3
72
- summary: As the name implies, this gem allows comments to be added to any model.
73
- test_files:
74
- - test/test_has_comments.rb
46
+ summary: has_comments allows comments to be added to a model
47
+ test_files: []
data/.autotest DELETED
@@ -1,23 +0,0 @@
1
- # -*- ruby -*-
2
-
3
- require 'autotest/restart'
4
-
5
- # Autotest.add_hook :initialize do |at|
6
- # at.extra_files << "../some/external/dependency.rb"
7
- #
8
- # at.libs << ":../some/external"
9
- #
10
- # at.add_exception 'vendor'
11
- #
12
- # at.add_mapping(/dependency.rb/) do |f, _|
13
- # at.files_matching(/test_.*rb$/)
14
- # end
15
- #
16
- # %w(TestA TestB).each do |klass|
17
- # at.extra_class_map[klass] = "test/test_misc.rb"
18
- # end
19
- # end
20
-
21
- # Autotest.add_hook :run_command do |at|
22
- # system "rake build"
23
- # end
data/.gemtest DELETED
File without changes
data/History.txt DELETED
@@ -1,6 +0,0 @@
1
- === 1.0.0 / 2011-08-17
2
-
3
- * 1 major enhancement
4
-
5
- * Birthday!
6
-
data/Manifest.txt DELETED
@@ -1,8 +0,0 @@
1
- .autotest
2
- History.txt
3
- Manifest.txt
4
- README.txt
5
- Rakefile
6
- bin/has_comments
7
- lib/has_comments.rb
8
- test/test_has_comments.rb
data/README.txt DELETED
@@ -1,54 +0,0 @@
1
- = has_comments
2
-
3
- http://github.com/johnfelix/has_comments
4
- == DESCRIPTION:
5
-
6
- As the name implies, this gem allows comments to be added to any model.
7
-
8
- == FEATURES/PROBLEMS:
9
-
10
- == SYNOPSIS:
11
-
12
- gem install has_comments
13
-
14
- == REQUIREMENTS:
15
-
16
- Runs only in Rails 3.1
17
-
18
- == INSTALL:
19
-
20
- gem install has_comments
21
-
22
- == DEVELOPERS:
23
-
24
- After checking out the source, run:
25
-
26
- $ rake newb
27
-
28
- This task will install any missing dependencies, run the tests/specs,
29
- and generate the RDoc.
30
-
31
- == LICENSE:
32
-
33
- (The MIT License)
34
-
35
- Copyright (c) 2011 FIX
36
-
37
- Permission is hereby granted, free of charge, to any person obtaining
38
- a copy of this software and associated documentation files (the
39
- 'Software'), to deal in the Software without restriction, including
40
- without limitation the rights to use, copy, modify, merge, publish,
41
- distribute, sublicense, and/or sell copies of the Software, and to
42
- permit persons to whom the Software is furnished to do so, subject to
43
- the following conditions:
44
-
45
- The above copyright notice and this permission notice shall be
46
- included in all copies or substantial portions of the Software.
47
-
48
- THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
49
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
50
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
51
- IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
52
- CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
53
- TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
54
- SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/Rakefile DELETED
@@ -1,22 +0,0 @@
1
- # -*- ruby -*-
2
-
3
- require 'rubygems'
4
- require 'hoe'
5
-
6
- # Hoe.plugin :compiler
7
- # Hoe.plugin :gem_prelude_sucks
8
- # Hoe.plugin :inline
9
- # Hoe.plugin :racc
10
- # Hoe.plugin :rubyforge
11
-
12
- Hoe.spec 'has_comments' do
13
- # HEY! If you fill these out in ~/.hoe_template/Rakefile.erb then
14
- # you'll never have to touch them again!
15
- # (delete this comment too, of course)
16
-
17
- developer('John Felix', 'felix1985@gmail.com.com')
18
-
19
- # self.rubyforge_name = 'has_commentsx' # if different than 'has_comments'
20
- end
21
-
22
- # vim: syntax=ruby
data/bin/has_comments DELETED
@@ -1,3 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- abort "you need to write me"
@@ -1,8 +0,0 @@
1
- require "test/unit"
2
- require "has_comments"
3
-
4
- class TestHasComments < Test::Unit::TestCase
5
- def test_sanity
6
- flunk "write tests or I will kneecap you"
7
- end
8
- end