qwiki 1.0.1 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +2 -13
- data/Gemfile.lock +29 -17
- data/Rakefile +1 -48
- data/lib/qwiki/app.rb +1 -1
- data/qwiki.gemspec +6 -39
- metadata +59 -117
- data/test/helper.rb +0 -17
- data/test/test_qwiki.rb +0 -4
data/Gemfile
CHANGED
@@ -1,14 +1,3 @@
|
|
1
|
-
source
|
2
|
-
# Add dependencies required to use your gem here.
|
3
|
-
gem 'github-markup'
|
4
|
-
gem 'haml'
|
5
|
-
gem 'rdoc'
|
6
|
-
gem 'sinatra'
|
1
|
+
source :rubygems
|
7
2
|
|
8
|
-
|
9
|
-
# Include everything needed to run rake, tests, features, etc.
|
10
|
-
group :development do
|
11
|
-
gem "bundler", "~> 1.0.0"
|
12
|
-
gem "jeweler", "~> 1.5.1"
|
13
|
-
gem "rcov", ">= 0"
|
14
|
-
end
|
3
|
+
gemspec
|
data/Gemfile.lock
CHANGED
@@ -1,30 +1,42 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
qwiki (1.0.1)
|
5
|
+
github-markup
|
6
|
+
haml
|
7
|
+
rdoc
|
8
|
+
sinatra
|
9
|
+
|
1
10
|
GEM
|
2
11
|
remote: http://rubygems.org/
|
3
12
|
specs:
|
4
13
|
git (1.2.5)
|
5
|
-
github-markup (0.
|
6
|
-
haml (3.
|
7
|
-
jeweler (1.
|
8
|
-
bundler (~> 1.0
|
14
|
+
github-markup (0.7.0)
|
15
|
+
haml (3.1.4)
|
16
|
+
jeweler (1.6.4)
|
17
|
+
bundler (~> 1.0)
|
9
18
|
git (>= 1.2.5)
|
10
19
|
rake
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
20
|
+
json (1.6.3)
|
21
|
+
rack (1.3.5)
|
22
|
+
rack-protection (1.1.4)
|
23
|
+
rack
|
24
|
+
rake (0.9.2.2)
|
25
|
+
rcov (0.9.11)
|
26
|
+
rdoc (3.11)
|
27
|
+
json (~> 1.4)
|
28
|
+
sinatra (1.3.1)
|
29
|
+
rack (~> 1.3, >= 1.3.4)
|
30
|
+
rack-protection (~> 1.1, >= 1.1.2)
|
31
|
+
tilt (~> 1.3, >= 1.3.3)
|
32
|
+
tilt (1.3.3)
|
19
33
|
|
20
34
|
PLATFORMS
|
21
35
|
ruby
|
22
36
|
|
23
37
|
DEPENDENCIES
|
24
38
|
bundler (~> 1.0.0)
|
25
|
-
|
26
|
-
|
27
|
-
|
39
|
+
jeweler
|
40
|
+
qwiki!
|
41
|
+
rake
|
28
42
|
rcov
|
29
|
-
rdoc
|
30
|
-
sinatra
|
data/Rakefile
CHANGED
@@ -1,49 +1,2 @@
|
|
1
|
-
require 'rubygems'
|
2
1
|
require 'bundler'
|
3
|
-
|
4
|
-
Bundler.setup(:default, :development)
|
5
|
-
rescue Bundler::BundlerError => e
|
6
|
-
$stderr.puts e.message
|
7
|
-
$stderr.puts "Run `bundle install` to install missing gems"
|
8
|
-
exit e.status_code
|
9
|
-
end
|
10
|
-
require 'rake'
|
11
|
-
|
12
|
-
require 'jeweler'
|
13
|
-
Jeweler::Tasks.new do |gem|
|
14
|
-
# gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
|
15
|
-
gem.name = "qwiki"
|
16
|
-
gem.homepage = "http://github.com/balexand/qwiki"
|
17
|
-
gem.license = "MIT"
|
18
|
-
gem.summary = %Q{Quickly render some wiki markup for your browser}
|
19
|
-
gem.description = %Q{A command-line web server that renders wiki markup files. It's handy when you want a quick preview of your markup.}
|
20
|
-
gem.email = "balexand@gmail.com"
|
21
|
-
gem.authors = ["Brian Alexander"]
|
22
|
-
end
|
23
|
-
Jeweler::RubygemsDotOrgTasks.new
|
24
|
-
|
25
|
-
require 'rake/testtask'
|
26
|
-
Rake::TestTask.new(:test) do |test|
|
27
|
-
test.libs << 'lib' << 'test'
|
28
|
-
test.pattern = 'test/**/test_*.rb'
|
29
|
-
test.verbose = true
|
30
|
-
end
|
31
|
-
|
32
|
-
require 'rcov/rcovtask'
|
33
|
-
Rcov::RcovTask.new do |test|
|
34
|
-
test.libs << 'test'
|
35
|
-
test.pattern = 'test/**/test_*.rb'
|
36
|
-
test.verbose = true
|
37
|
-
end
|
38
|
-
|
39
|
-
task :default => :test
|
40
|
-
|
41
|
-
require 'rake/rdoctask'
|
42
|
-
Rake::RDocTask.new do |rdoc|
|
43
|
-
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
44
|
-
|
45
|
-
rdoc.rdoc_dir = 'rdoc'
|
46
|
-
rdoc.title = "qwiki #{version}"
|
47
|
-
rdoc.rdoc_files.include('README*')
|
48
|
-
rdoc.rdoc_files.include('lib/**/*.rb')
|
49
|
-
end
|
2
|
+
Bundler::GemHelper.install_tasks
|
data/lib/qwiki/app.rb
CHANGED
data/qwiki.gemspec
CHANGED
@@ -1,11 +1,6 @@
|
|
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
1
|
Gem::Specification.new do |s|
|
7
2
|
s.name = %q{qwiki}
|
8
|
-
s.version = "1.0
|
3
|
+
s.version = "1.1.0"
|
9
4
|
|
10
5
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
6
|
s.authors = ["Brian Alexander"]
|
@@ -30,8 +25,6 @@ Gem::Specification.new do |s|
|
|
30
25
|
"lib/qwiki.rb",
|
31
26
|
"lib/qwiki/app.rb",
|
32
27
|
"qwiki.gemspec",
|
33
|
-
"test/helper.rb",
|
34
|
-
"test/test_qwiki.rb"
|
35
28
|
]
|
36
29
|
s.homepage = %q{http://github.com/balexand/qwiki}
|
37
30
|
s.licenses = ["MIT"]
|
@@ -39,39 +32,13 @@ Gem::Specification.new do |s|
|
|
39
32
|
s.rubygems_version = %q{1.3.7}
|
40
33
|
s.summary = %q{Quickly render some wiki markup for your browser}
|
41
34
|
s.test_files = [
|
42
|
-
"test/helper.rb",
|
43
|
-
"test/test_qwiki.rb"
|
44
35
|
]
|
45
36
|
|
46
|
-
|
47
|
-
|
48
|
-
|
37
|
+
s.add_dependency("github-markup")
|
38
|
+
s.add_dependency("haml")
|
39
|
+
s.add_dependency("rdoc")
|
40
|
+
s.add_dependency("sinatra")
|
41
|
+
s.add_development_dependency("bundler", "~> 1.0.0")
|
49
42
|
|
50
|
-
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
51
|
-
s.add_runtime_dependency(%q<github-markup>, [">= 0"])
|
52
|
-
s.add_runtime_dependency(%q<haml>, [">= 0"])
|
53
|
-
s.add_runtime_dependency(%q<rdoc>, [">= 0"])
|
54
|
-
s.add_runtime_dependency(%q<sinatra>, [">= 0"])
|
55
|
-
s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
|
56
|
-
s.add_development_dependency(%q<jeweler>, ["~> 1.5.1"])
|
57
|
-
s.add_development_dependency(%q<rcov>, [">= 0"])
|
58
|
-
else
|
59
|
-
s.add_dependency(%q<github-markup>, [">= 0"])
|
60
|
-
s.add_dependency(%q<haml>, [">= 0"])
|
61
|
-
s.add_dependency(%q<rdoc>, [">= 0"])
|
62
|
-
s.add_dependency(%q<sinatra>, [">= 0"])
|
63
|
-
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
64
|
-
s.add_dependency(%q<jeweler>, ["~> 1.5.1"])
|
65
|
-
s.add_dependency(%q<rcov>, [">= 0"])
|
66
|
-
end
|
67
|
-
else
|
68
|
-
s.add_dependency(%q<github-markup>, [">= 0"])
|
69
|
-
s.add_dependency(%q<haml>, [">= 0"])
|
70
|
-
s.add_dependency(%q<rdoc>, [">= 0"])
|
71
|
-
s.add_dependency(%q<sinatra>, [">= 0"])
|
72
|
-
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
73
|
-
s.add_dependency(%q<jeweler>, ["~> 1.5.1"])
|
74
|
-
s.add_dependency(%q<rcov>, [">= 0"])
|
75
|
-
end
|
76
43
|
end
|
77
44
|
|
metadata
CHANGED
@@ -1,127 +1,81 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: qwiki
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
6
|
-
- 1
|
7
|
-
- 0
|
8
|
-
- 1
|
9
|
-
version: 1.0.1
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.1.0
|
5
|
+
prerelease:
|
10
6
|
platform: ruby
|
11
|
-
authors:
|
7
|
+
authors:
|
12
8
|
- Brian Alexander
|
13
9
|
autorequire:
|
14
10
|
bindir: bin
|
15
11
|
cert_chain: []
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
dependencies:
|
20
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2010-12-03 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
21
15
|
name: github-markup
|
22
|
-
requirement: &
|
16
|
+
requirement: &70195549981300 !ruby/object:Gem::Requirement
|
23
17
|
none: false
|
24
|
-
requirements:
|
25
|
-
- -
|
26
|
-
- !ruby/object:Gem::Version
|
27
|
-
|
28
|
-
- 0
|
29
|
-
version: "0"
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
30
22
|
type: :runtime
|
31
23
|
prerelease: false
|
32
|
-
version_requirements: *
|
33
|
-
- !ruby/object:Gem::Dependency
|
24
|
+
version_requirements: *70195549981300
|
25
|
+
- !ruby/object:Gem::Dependency
|
34
26
|
name: haml
|
35
|
-
requirement: &
|
27
|
+
requirement: &70195549980780 !ruby/object:Gem::Requirement
|
36
28
|
none: false
|
37
|
-
requirements:
|
38
|
-
- -
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
|
41
|
-
- 0
|
42
|
-
version: "0"
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '0'
|
43
33
|
type: :runtime
|
44
34
|
prerelease: false
|
45
|
-
version_requirements: *
|
46
|
-
- !ruby/object:Gem::Dependency
|
35
|
+
version_requirements: *70195549980780
|
36
|
+
- !ruby/object:Gem::Dependency
|
47
37
|
name: rdoc
|
48
|
-
requirement: &
|
38
|
+
requirement: &70195549980200 !ruby/object:Gem::Requirement
|
49
39
|
none: false
|
50
|
-
requirements:
|
51
|
-
- -
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
|
54
|
-
- 0
|
55
|
-
version: "0"
|
40
|
+
requirements:
|
41
|
+
- - ! '>='
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '0'
|
56
44
|
type: :runtime
|
57
45
|
prerelease: false
|
58
|
-
version_requirements: *
|
59
|
-
- !ruby/object:Gem::Dependency
|
46
|
+
version_requirements: *70195549980200
|
47
|
+
- !ruby/object:Gem::Dependency
|
60
48
|
name: sinatra
|
61
|
-
requirement: &
|
49
|
+
requirement: &70195549979720 !ruby/object:Gem::Requirement
|
62
50
|
none: false
|
63
|
-
requirements:
|
64
|
-
- -
|
65
|
-
- !ruby/object:Gem::Version
|
66
|
-
|
67
|
-
- 0
|
68
|
-
version: "0"
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
69
55
|
type: :runtime
|
70
56
|
prerelease: false
|
71
|
-
version_requirements: *
|
72
|
-
- !ruby/object:Gem::Dependency
|
57
|
+
version_requirements: *70195549979720
|
58
|
+
- !ruby/object:Gem::Dependency
|
73
59
|
name: bundler
|
74
|
-
requirement: &
|
60
|
+
requirement: &70195549979220 !ruby/object:Gem::Requirement
|
75
61
|
none: false
|
76
|
-
requirements:
|
62
|
+
requirements:
|
77
63
|
- - ~>
|
78
|
-
- !ruby/object:Gem::Version
|
79
|
-
segments:
|
80
|
-
- 1
|
81
|
-
- 0
|
82
|
-
- 0
|
64
|
+
- !ruby/object:Gem::Version
|
83
65
|
version: 1.0.0
|
84
66
|
type: :development
|
85
67
|
prerelease: false
|
86
|
-
version_requirements: *
|
87
|
-
-
|
88
|
-
|
89
|
-
requirement: &id006 !ruby/object:Gem::Requirement
|
90
|
-
none: false
|
91
|
-
requirements:
|
92
|
-
- - ~>
|
93
|
-
- !ruby/object:Gem::Version
|
94
|
-
segments:
|
95
|
-
- 1
|
96
|
-
- 5
|
97
|
-
- 1
|
98
|
-
version: 1.5.1
|
99
|
-
type: :development
|
100
|
-
prerelease: false
|
101
|
-
version_requirements: *id006
|
102
|
-
- !ruby/object:Gem::Dependency
|
103
|
-
name: rcov
|
104
|
-
requirement: &id007 !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
106
|
-
requirements:
|
107
|
-
- - ">="
|
108
|
-
- !ruby/object:Gem::Version
|
109
|
-
segments:
|
110
|
-
- 0
|
111
|
-
version: "0"
|
112
|
-
type: :development
|
113
|
-
prerelease: false
|
114
|
-
version_requirements: *id007
|
115
|
-
description: A command-line web server that renders wiki markup files. It's handy when you want a quick preview of your markup.
|
68
|
+
version_requirements: *70195549979220
|
69
|
+
description: A command-line web server that renders wiki markup files. It's handy
|
70
|
+
when you want a quick preview of your markup.
|
116
71
|
email: balexand@gmail.com
|
117
|
-
executables:
|
72
|
+
executables:
|
118
73
|
- qwiki
|
119
74
|
extensions: []
|
120
|
-
|
121
|
-
extra_rdoc_files:
|
75
|
+
extra_rdoc_files:
|
122
76
|
- LICENSE.txt
|
123
77
|
- README.rdoc
|
124
|
-
files:
|
78
|
+
files:
|
125
79
|
- .document
|
126
80
|
- Gemfile
|
127
81
|
- Gemfile.lock
|
@@ -133,41 +87,29 @@ files:
|
|
133
87
|
- lib/qwiki.rb
|
134
88
|
- lib/qwiki/app.rb
|
135
89
|
- qwiki.gemspec
|
136
|
-
- test/helper.rb
|
137
|
-
- test/test_qwiki.rb
|
138
|
-
has_rdoc: true
|
139
90
|
homepage: http://github.com/balexand/qwiki
|
140
|
-
licenses:
|
91
|
+
licenses:
|
141
92
|
- MIT
|
142
93
|
post_install_message:
|
143
94
|
rdoc_options: []
|
144
|
-
|
145
|
-
require_paths:
|
95
|
+
require_paths:
|
146
96
|
- lib
|
147
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
97
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
148
98
|
none: false
|
149
|
-
requirements:
|
150
|
-
- -
|
151
|
-
- !ruby/object:Gem::Version
|
152
|
-
|
153
|
-
|
154
|
-
- 0
|
155
|
-
version: "0"
|
156
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - ! '>='
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '0'
|
103
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
157
104
|
none: false
|
158
|
-
requirements:
|
159
|
-
- -
|
160
|
-
- !ruby/object:Gem::Version
|
161
|
-
|
162
|
-
- 0
|
163
|
-
version: "0"
|
105
|
+
requirements:
|
106
|
+
- - ! '>='
|
107
|
+
- !ruby/object:Gem::Version
|
108
|
+
version: '0'
|
164
109
|
requirements: []
|
165
|
-
|
166
110
|
rubyforge_project:
|
167
|
-
rubygems_version: 1.
|
111
|
+
rubygems_version: 1.8.10
|
168
112
|
signing_key:
|
169
113
|
specification_version: 3
|
170
114
|
summary: Quickly render some wiki markup for your browser
|
171
|
-
test_files:
|
172
|
-
- test/helper.rb
|
173
|
-
- test/test_qwiki.rb
|
115
|
+
test_files: []
|
data/test/helper.rb
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
require 'rubygems'
|
2
|
-
require 'bundler'
|
3
|
-
begin
|
4
|
-
Bundler.setup(:default, :development)
|
5
|
-
rescue Bundler::BundlerError => e
|
6
|
-
$stderr.puts e.message
|
7
|
-
$stderr.puts "Run `bundle install` to install missing gems"
|
8
|
-
exit e.status_code
|
9
|
-
end
|
10
|
-
require 'test/unit'
|
11
|
-
|
12
|
-
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
13
|
-
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
14
|
-
require 'qwiki'
|
15
|
-
|
16
|
-
class Test::Unit::TestCase
|
17
|
-
end
|
data/test/test_qwiki.rb
DELETED