chiver 0.3.5 → 0.3.6
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/VERSION +1 -1
- data/chiver.gemspec +2 -2
- data/lib/chiver.rb +2 -1
- metadata +3 -3
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.3.
|
|
1
|
+
0.3.6
|
data/chiver.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{chiver}
|
|
8
|
-
s.version = "0.3.
|
|
8
|
+
s.version = "0.3.6"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Ryo NAKAMURA"]
|
|
12
|
-
s.date = %q{2011-06-
|
|
12
|
+
s.date = %q{2011-06-20}
|
|
13
13
|
s.description = %q{a simple archive system using sinatra and markdown}
|
|
14
14
|
s.email = %q{r7kamura@gmail.com}
|
|
15
15
|
s.extra_rdoc_files = [
|
data/lib/chiver.rb
CHANGED
|
@@ -37,7 +37,7 @@ class Chiver < Sinatra::Base
|
|
|
37
37
|
end
|
|
38
38
|
|
|
39
39
|
before do
|
|
40
|
-
@title = config.title
|
|
40
|
+
@sitename = @title = config.title
|
|
41
41
|
end
|
|
42
42
|
|
|
43
43
|
error { haml :error } unless development?
|
|
@@ -62,6 +62,7 @@ class Chiver < Sinatra::Base
|
|
|
62
62
|
end
|
|
63
63
|
|
|
64
64
|
get /^.([^\.]+).*$/ do
|
|
65
|
+
@title = "%s - %s" % [params[:captures][0].split("-", 4).last, @title]
|
|
65
66
|
@text = convert(params[:captures][0])
|
|
66
67
|
haml :page
|
|
67
68
|
end
|
metadata
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: chiver
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease:
|
|
5
|
-
version: 0.3.
|
|
5
|
+
version: 0.3.6
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
8
8
|
- Ryo NAKAMURA
|
|
@@ -10,7 +10,7 @@ autorequire:
|
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
12
|
|
|
13
|
-
date: 2011-06-
|
|
13
|
+
date: 2011-06-20 00:00:00 +09:00
|
|
14
14
|
default_executable:
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
@@ -191,7 +191,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
191
191
|
requirements:
|
|
192
192
|
- - ">="
|
|
193
193
|
- !ruby/object:Gem::Version
|
|
194
|
-
hash:
|
|
194
|
+
hash: 3258755022507307212
|
|
195
195
|
segments:
|
|
196
196
|
- 0
|
|
197
197
|
version: "0"
|