vigetlabs-acts_as_markup 1.3.2 → 1.3.3
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +6 -0
- data/Rakefile +4 -4
- data/acts_as_markup.gemspec +16 -17
- data/lib/acts_as_markup.rb +1 -1
- data/tasks/post_load.rake +0 -1
- data/tasks/rdoc.rake +4 -1
- data/tasks/setup.rb +1 -4
- metadata +10 -12
- data/Manifest.txt +0 -30
- data/tasks/manifest.rake +0 -48
data/CHANGELOG
CHANGED
data/Rakefile
CHANGED
@@ -24,10 +24,10 @@ PROJ.rcov.opts = ['--no-html', '-T', '--sort coverage',
|
|
24
24
|
'-x "\/System\/Library\/"']
|
25
25
|
PROJ.rcov.pattern = 'test/**/*_test.rb'
|
26
26
|
|
27
|
-
PROJ.gem.development_dependencies << ['mislav-hanna', '~> 0.1']
|
28
27
|
PROJ.gem.development_dependencies << ['thoughtbot-shoulda', '~> 2.0']
|
29
|
-
|
30
|
-
depend_on '
|
28
|
+
PROJ.gem.development_dependencies << ['bones', '~> 2.5']
|
29
|
+
depend_on 'activesupport', '~> 2.3.2'
|
30
|
+
depend_on 'activerecord', '~> 2.3.2'
|
31
31
|
depend_on 'rdiscount', '~> 1.3'
|
32
32
|
depend_on 'wikitext', '~> 1.5'
|
33
|
-
depend_on 'RedCloth', '~> 4.
|
33
|
+
depend_on 'RedCloth', '~> 4.2'
|
data/acts_as_markup.gemspec
CHANGED
@@ -2,21 +2,20 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{acts_as_markup}
|
5
|
-
s.version = "1.3.
|
5
|
+
s.version = "1.3.3"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Brian Landau"]
|
9
|
-
s.date = %q{2009-
|
9
|
+
s.date = %q{2009-06-11}
|
10
10
|
s.description = %q{Represent ActiveRecord Markdown, Textile, Wiki text, RDoc columns as Markdown, Textile Wikitext, RDoc objects using various external libraries to convert to HTML.}
|
11
11
|
s.email = %q{brian.landau@viget.com}
|
12
12
|
s.extra_rdoc_files = ["CHANGELOG", "LICENSE", "README.rdoc"]
|
13
|
-
s.files = ["CHANGELOG", "LICENSE", "
|
14
|
-
s.has_rdoc = true
|
13
|
+
s.files = ["CHANGELOG", "LICENSE", "README.rdoc", "Rakefile", "acts_as_markup.gemspec", "lib/acts/as_markup.rb", "lib/acts_as_markup.rb", "lib/acts_as_markup/exts/maruku.rb", "lib/acts_as_markup/exts/object.rb", "lib/acts_as_markup/exts/peg_markdown.rb", "lib/acts_as_markup/exts/rdiscount.rb", "lib/acts_as_markup/exts/rdoc.rb", "lib/acts_as_markup/exts/wikitext.rb", "lib/acts_as_markup/stringlike.rb", "tasks/bones.rake", "tasks/gem.rake", "tasks/git.rake", "tasks/post_load.rake", "tasks/rdoc.rake", "tasks/rubyforge.rake", "tasks/setup.rb", "tasks/test.rake", "test/acts_as_markdown_test.rb", "test/acts_as_markup_test.rb", "test/acts_as_rdoc_test.rb", "test/acts_as_textile_test.rb", "test/acts_as_wikitext_test.rb", "test/test_helper.rb"]
|
15
14
|
s.homepage = %q{http://viget.rubyforge.com/acts_as_markup}
|
16
15
|
s.rdoc_options = ["--main", "README.rdoc"]
|
17
16
|
s.require_paths = ["lib"]
|
18
17
|
s.rubyforge_project = %q{viget}
|
19
|
-
s.rubygems_version = %q{1.3.
|
18
|
+
s.rubygems_version = %q{1.3.4}
|
20
19
|
s.summary = %q{Represent ActiveRecord Markdown, Textile, Wiki text, RDoc columns as Markdown, Textile Wikitext, RDoc objects using various external libraries to convert to HTML}
|
21
20
|
s.test_files = ["test/acts_as_markdown_test.rb", "test/acts_as_markup_test.rb", "test/acts_as_rdoc_test.rb", "test/acts_as_textile_test.rb", "test/acts_as_wikitext_test.rb"]
|
22
21
|
|
@@ -25,29 +24,29 @@ Gem::Specification.new do |s|
|
|
25
24
|
s.specification_version = 3
|
26
25
|
|
27
26
|
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
28
|
-
s.add_runtime_dependency(%q<activesupport>, ["~> 2.3.
|
29
|
-
s.add_runtime_dependency(%q<activerecord>, ["~> 2.3.
|
27
|
+
s.add_runtime_dependency(%q<activesupport>, ["~> 2.3.2"])
|
28
|
+
s.add_runtime_dependency(%q<activerecord>, ["~> 2.3.2"])
|
30
29
|
s.add_runtime_dependency(%q<rdiscount>, ["~> 1.3"])
|
31
30
|
s.add_runtime_dependency(%q<wikitext>, ["~> 1.5"])
|
32
|
-
s.add_runtime_dependency(%q<RedCloth>, ["~> 4.
|
33
|
-
s.add_development_dependency(%q<mislav-hanna>, ["~> 0.1"])
|
31
|
+
s.add_runtime_dependency(%q<RedCloth>, ["~> 4.2"])
|
34
32
|
s.add_development_dependency(%q<thoughtbot-shoulda>, ["~> 2.0"])
|
33
|
+
s.add_development_dependency(%q<bones>, ["~> 2.5"])
|
35
34
|
else
|
36
|
-
s.add_dependency(%q<activesupport>, ["~> 2.3.
|
37
|
-
s.add_dependency(%q<activerecord>, ["~> 2.3.
|
35
|
+
s.add_dependency(%q<activesupport>, ["~> 2.3.2"])
|
36
|
+
s.add_dependency(%q<activerecord>, ["~> 2.3.2"])
|
38
37
|
s.add_dependency(%q<rdiscount>, ["~> 1.3"])
|
39
38
|
s.add_dependency(%q<wikitext>, ["~> 1.5"])
|
40
|
-
s.add_dependency(%q<RedCloth>, ["~> 4.
|
41
|
-
s.add_dependency(%q<mislav-hanna>, ["~> 0.1"])
|
39
|
+
s.add_dependency(%q<RedCloth>, ["~> 4.2"])
|
42
40
|
s.add_dependency(%q<thoughtbot-shoulda>, ["~> 2.0"])
|
41
|
+
s.add_dependency(%q<bones>, ["~> 2.5"])
|
43
42
|
end
|
44
43
|
else
|
45
|
-
s.add_dependency(%q<activesupport>, ["~> 2.3.
|
46
|
-
s.add_dependency(%q<activerecord>, ["~> 2.3.
|
44
|
+
s.add_dependency(%q<activesupport>, ["~> 2.3.2"])
|
45
|
+
s.add_dependency(%q<activerecord>, ["~> 2.3.2"])
|
47
46
|
s.add_dependency(%q<rdiscount>, ["~> 1.3"])
|
48
47
|
s.add_dependency(%q<wikitext>, ["~> 1.5"])
|
49
|
-
s.add_dependency(%q<RedCloth>, ["~> 4.
|
50
|
-
s.add_dependency(%q<mislav-hanna>, ["~> 0.1"])
|
48
|
+
s.add_dependency(%q<RedCloth>, ["~> 4.2"])
|
51
49
|
s.add_dependency(%q<thoughtbot-shoulda>, ["~> 2.0"])
|
50
|
+
s.add_dependency(%q<bones>, ["~> 2.5"])
|
52
51
|
end
|
53
52
|
end
|
data/lib/acts_as_markup.rb
CHANGED
data/tasks/post_load.rake
CHANGED
@@ -2,7 +2,6 @@
|
|
2
2
|
# This file does not define any rake tasks. It is used to load some project
|
3
3
|
# settings if they are not defined by the user.
|
4
4
|
|
5
|
-
PROJ.rdoc.exclude << "^#{Regexp.escape(PROJ.manifest_file)}$"
|
6
5
|
PROJ.exclude << ["^#{Regexp.escape(PROJ.rdoc.dir)}/",
|
7
6
|
"^#{Regexp.escape(PROJ.rcov.dir)}/"]
|
8
7
|
|
data/tasks/rdoc.rake
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
# $Id$
|
2
2
|
|
3
|
-
require '
|
3
|
+
require 'sdoc'
|
4
|
+
require 'rake/rdoctask'
|
4
5
|
|
5
6
|
namespace :doc do
|
6
7
|
|
@@ -23,6 +24,8 @@ namespace :doc do
|
|
23
24
|
title = "#{PROJ.name}-#{PROJ.version} Documentation"
|
24
25
|
|
25
26
|
rd.options << "-t #{title}"
|
27
|
+
rd.options << '--fmt' << 'shtml' # explictly set shtml generator
|
28
|
+
rd.template = 'direct'
|
26
29
|
rd.options.concat(rdoc.opts)
|
27
30
|
end
|
28
31
|
|
data/tasks/setup.rb
CHANGED
@@ -26,7 +26,6 @@ PROJ = OpenStruct.new(
|
|
26
26
|
:ruby_opts => %w(-w),
|
27
27
|
:libs => [],
|
28
28
|
:history_file => 'CHANGELOG',
|
29
|
-
:manifest_file => 'Manifest.txt',
|
30
29
|
:readme_file => 'README.rdoc',
|
31
30
|
:ignore_file => '.gitignore',
|
32
31
|
|
@@ -112,7 +111,7 @@ RCOV = "#{RUBY} -S rcov"
|
|
112
111
|
RDOC = "#{RUBY} -S rdoc"
|
113
112
|
GEM = "#{RUBY} -S gem"
|
114
113
|
|
115
|
-
%w(rcov
|
114
|
+
%w(rcov rubyforge bones facets/ansicode).each do |lib|
|
116
115
|
begin
|
117
116
|
require lib
|
118
117
|
Object.instance_eval {const_set "HAVE_#{lib.tr('/','_').upcase}", true}
|
@@ -120,8 +119,6 @@ GEM = "#{RUBY} -S gem"
|
|
120
119
|
Object.instance_eval {const_set "HAVE_#{lib.tr('/','_').upcase}", false}
|
121
120
|
end
|
122
121
|
end
|
123
|
-
HAVE_SVN = (Dir.entries(Dir.pwd).include?('.svn') and
|
124
|
-
system("svn --version 2>&1 > #{DEV_NULL}"))
|
125
122
|
HAVE_GIT = (Dir.entries(Dir.pwd).include?('.git') and
|
126
123
|
system("git --version 2>&1 > #{DEV_NULL}"))
|
127
124
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vigetlabs-acts_as_markup
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Landau
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-06-11 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -20,7 +20,7 @@ dependencies:
|
|
20
20
|
requirements:
|
21
21
|
- - ~>
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version: 2.3.
|
23
|
+
version: 2.3.2
|
24
24
|
version:
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: activerecord
|
@@ -30,7 +30,7 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - ~>
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 2.3.
|
33
|
+
version: 2.3.2
|
34
34
|
version:
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
36
|
name: rdiscount
|
@@ -60,27 +60,27 @@ dependencies:
|
|
60
60
|
requirements:
|
61
61
|
- - ~>
|
62
62
|
- !ruby/object:Gem::Version
|
63
|
-
version: "4.
|
63
|
+
version: "4.2"
|
64
64
|
version:
|
65
65
|
- !ruby/object:Gem::Dependency
|
66
|
-
name:
|
66
|
+
name: thoughtbot-shoulda
|
67
67
|
type: :development
|
68
68
|
version_requirement:
|
69
69
|
version_requirements: !ruby/object:Gem::Requirement
|
70
70
|
requirements:
|
71
71
|
- - ~>
|
72
72
|
- !ruby/object:Gem::Version
|
73
|
-
version: "0
|
73
|
+
version: "2.0"
|
74
74
|
version:
|
75
75
|
- !ruby/object:Gem::Dependency
|
76
|
-
name:
|
76
|
+
name: bones
|
77
77
|
type: :development
|
78
78
|
version_requirement:
|
79
79
|
version_requirements: !ruby/object:Gem::Requirement
|
80
80
|
requirements:
|
81
81
|
- - ~>
|
82
82
|
- !ruby/object:Gem::Version
|
83
|
-
version: "2.
|
83
|
+
version: "2.5"
|
84
84
|
version:
|
85
85
|
description: Represent ActiveRecord Markdown, Textile, Wiki text, RDoc columns as Markdown, Textile Wikitext, RDoc objects using various external libraries to convert to HTML.
|
86
86
|
email: brian.landau@viget.com
|
@@ -95,7 +95,6 @@ extra_rdoc_files:
|
|
95
95
|
files:
|
96
96
|
- CHANGELOG
|
97
97
|
- LICENSE
|
98
|
-
- Manifest.txt
|
99
98
|
- README.rdoc
|
100
99
|
- Rakefile
|
101
100
|
- acts_as_markup.gemspec
|
@@ -111,7 +110,6 @@ files:
|
|
111
110
|
- tasks/bones.rake
|
112
111
|
- tasks/gem.rake
|
113
112
|
- tasks/git.rake
|
114
|
-
- tasks/manifest.rake
|
115
113
|
- tasks/post_load.rake
|
116
114
|
- tasks/rdoc.rake
|
117
115
|
- tasks/rubyforge.rake
|
@@ -123,7 +121,7 @@ files:
|
|
123
121
|
- test/acts_as_textile_test.rb
|
124
122
|
- test/acts_as_wikitext_test.rb
|
125
123
|
- test/test_helper.rb
|
126
|
-
has_rdoc:
|
124
|
+
has_rdoc: false
|
127
125
|
homepage: http://viget.rubyforge.com/acts_as_markup
|
128
126
|
post_install_message:
|
129
127
|
rdoc_options:
|
data/Manifest.txt
DELETED
@@ -1,30 +0,0 @@
|
|
1
|
-
CHANGELOG
|
2
|
-
LICENSE
|
3
|
-
Manifest.txt
|
4
|
-
README.rdoc
|
5
|
-
Rakefile
|
6
|
-
acts_as_markup.gemspec
|
7
|
-
lib/acts/as_markup.rb
|
8
|
-
lib/acts_as_markup.rb
|
9
|
-
lib/acts_as_markup/exts/maruku.rb
|
10
|
-
lib/acts_as_markup/exts/object.rb
|
11
|
-
lib/acts_as_markup/exts/peg_markdown.rb
|
12
|
-
lib/acts_as_markup/exts/rdiscount.rb
|
13
|
-
lib/acts_as_markup/exts/rdoc.rb
|
14
|
-
lib/acts_as_markup/exts/wikitext.rb
|
15
|
-
lib/acts_as_markup/stringlike.rb
|
16
|
-
tasks/bones.rake
|
17
|
-
tasks/gem.rake
|
18
|
-
tasks/git.rake
|
19
|
-
tasks/manifest.rake
|
20
|
-
tasks/post_load.rake
|
21
|
-
tasks/rdoc.rake
|
22
|
-
tasks/rubyforge.rake
|
23
|
-
tasks/setup.rb
|
24
|
-
tasks/test.rake
|
25
|
-
test/acts_as_markdown_test.rb
|
26
|
-
test/acts_as_markup_test.rb
|
27
|
-
test/acts_as_rdoc_test.rb
|
28
|
-
test/acts_as_textile_test.rb
|
29
|
-
test/acts_as_wikitext_test.rb
|
30
|
-
test/test_helper.rb
|
data/tasks/manifest.rake
DELETED
@@ -1,48 +0,0 @@
|
|
1
|
-
|
2
|
-
require 'find'
|
3
|
-
|
4
|
-
namespace :manifest do
|
5
|
-
|
6
|
-
desc 'Verify the manifest'
|
7
|
-
task :check do
|
8
|
-
fn = PROJ.manifest_file + '.tmp'
|
9
|
-
files = manifest_files
|
10
|
-
|
11
|
-
File.open(fn, 'w') {|fp| fp.puts files}
|
12
|
-
lines = %x(#{DIFF} -du #{PROJ.manifest_file} #{fn}).split("\n")
|
13
|
-
if HAVE_FACETS_ANSICODE and ENV.has_key?('TERM')
|
14
|
-
lines.map! do |line|
|
15
|
-
case line
|
16
|
-
when %r/^(-{3}|\+{3})/; nil
|
17
|
-
when %r/^@/; ANSICode.blue line
|
18
|
-
when %r/^\+/; ANSICode.green line
|
19
|
-
when %r/^\-/; ANSICode.red line
|
20
|
-
else line end
|
21
|
-
end
|
22
|
-
end
|
23
|
-
puts lines.compact
|
24
|
-
rm fn rescue nil
|
25
|
-
end
|
26
|
-
|
27
|
-
desc 'Create a new manifest'
|
28
|
-
task :create do
|
29
|
-
files = manifest
|
30
|
-
unless test(?f, PROJ.manifest_file)
|
31
|
-
files << PROJ.manifest_file
|
32
|
-
files.sort!
|
33
|
-
end
|
34
|
-
File.open(PROJ.manifest_file, 'w') {|fp| fp.puts files}
|
35
|
-
end
|
36
|
-
|
37
|
-
task :assert do
|
38
|
-
files = manifest_files
|
39
|
-
manifest = File.read(PROJ.manifest_file).split($/)
|
40
|
-
raise "ERROR: #{PROJ.manifest_file} is out of date" unless files == manifest
|
41
|
-
end
|
42
|
-
|
43
|
-
end # namespace :manifest
|
44
|
-
|
45
|
-
desc 'Alias to manifest:check'
|
46
|
-
task :manifest => 'manifest:check'
|
47
|
-
|
48
|
-
# EOF
|