tdiary 4.1.0 → 4.1.0.20141126

Sign up to get free protection for your applications and to get access to all the features.
data/ChangeLog CHANGED
@@ -1,6 +1,3 @@
1
- 2014-11-29 TADA Tadashi <t@tdtds.jp>
2
- * release 4.1.0
3
-
4
1
  2014-11-26 TADA Tadashi <t@tdtds.jp>
5
2
  * misc/plugin/category.rb: support plugin storage
6
3
  * misc/plugin/disp_referrer.rb: unsupport nora library
data/lib/tdiary/plugin.rb CHANGED
@@ -4,6 +4,7 @@
4
4
  # plugin management class
5
5
  #
6
6
  require 'erb'
7
+ require 'pathname'
7
8
 
8
9
  module TDiary
9
10
  class Plugin
@@ -1,3 +1,3 @@
1
1
  module TDiary
2
- VERSION = '4.1.0'
2
+ VERSION = '4.1.0.20141126'
3
3
  end
data/lib/tdiary/view.rb CHANGED
@@ -169,13 +169,6 @@ module TDiary
169
169
  end
170
170
  end
171
171
 
172
- #
173
- # class TDiaryDayWithoutFilter
174
- #
175
- class TDiaryDayWithoutFilter < TDiaryDay
176
- def referer_filter(referer); end
177
- end
178
-
179
172
  #
180
173
  # class TDiaryComment
181
174
  # save a comment
data/lib/tdiary.rb CHANGED
@@ -76,7 +76,6 @@ module TDiary
76
76
  autoload :TDiaryShowComment, 'tdiary/admin'
77
77
  autoload :TDiaryView, 'tdiary/view'
78
78
  autoload :TDiaryDay, 'tdiary/view'
79
- autoload :TDiaryDayWithoutFilter, 'tdiary/view'
80
79
  autoload :TDiaryComment, 'tdiary/view'
81
80
  autoload :TDiaryMonthBase, 'tdiary/view'
82
81
  autoload :TDiaryMonth, 'tdiary/view'
@@ -10,7 +10,6 @@
10
10
  require 'pstore'
11
11
  require 'fileutils'
12
12
  require 'time'
13
- require 'pathname'
14
13
 
15
14
  def recent_comment3_format(format, *args)
16
15
  format.gsub(/\$(\d)/) {|s| args[$1.to_i - 1]}
@@ -101,7 +100,7 @@ def recent_comment3(ob_max = 'OBSOLUTE' ,sep = 'OBSOLUTE',ob_date_format = 'OBSO
101
100
  tree_order.each do |entry_date|
102
101
  a_entry = @index + anchor(entry_date)
103
102
  cgi.params['date'] = [entry_date]
104
- diary = TDiaryDayWithoutFilter::new(cgi, '', @conf)
103
+ diary = TDiaryDay::new(cgi, '', @conf)
105
104
  title = diary.diaries[entry_date].title.gsub( /<[^>]*>/, '' ) if diary
106
105
 
107
106
  if title.nil? || title.length == 0 || title.strip.delete(' ').delete(' ').length == 0 then
metadata CHANGED
@@ -1,7 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tdiary
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.0
4
+ version: 4.1.0.20141126
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - TADA Tadashi
@@ -10,11 +11,12 @@ authors:
10
11
  autorequire:
11
12
  bindir: bin
12
13
  cert_chain: []
13
- date: 2014-11-29 00:00:00.000000000 Z
14
+ date: 2014-11-22 00:00:00.000000000 Z
14
15
  dependencies:
15
16
  - !ruby/object:Gem::Dependency
16
17
  name: thor
17
18
  requirement: !ruby/object:Gem::Requirement
19
+ none: false
18
20
  requirements:
19
21
  - - "~>"
20
22
  - !ruby/object:Gem::Version
@@ -22,6 +24,7 @@ dependencies:
22
24
  type: :runtime
23
25
  prerelease: false
24
26
  version_requirements: !ruby/object:Gem::Requirement
27
+ none: false
25
28
  requirements:
26
29
  - - "~>"
27
30
  - !ruby/object:Gem::Version
@@ -29,6 +32,7 @@ dependencies:
29
32
  - !ruby/object:Gem::Dependency
30
33
  name: bundler
31
34
  requirement: !ruby/object:Gem::Requirement
35
+ none: false
32
36
  requirements:
33
37
  - - "~>"
34
38
  - !ruby/object:Gem::Version
@@ -36,6 +40,7 @@ dependencies:
36
40
  type: :runtime
37
41
  prerelease: false
38
42
  version_requirements: !ruby/object:Gem::Requirement
43
+ none: false
39
44
  requirements:
40
45
  - - "~>"
41
46
  - !ruby/object:Gem::Version
@@ -432,26 +437,30 @@ files:
432
437
  homepage: http://www.tdiary.org/
433
438
  licenses:
434
439
  - GPL2
435
- metadata: {}
436
440
  post_install_message:
437
441
  rdoc_options: []
438
442
  require_paths:
439
443
  - lib
440
444
  required_ruby_version: !ruby/object:Gem::Requirement
445
+ none: false
441
446
  requirements:
442
447
  - - ">="
443
448
  - !ruby/object:Gem::Version
444
449
  version: 1.9.2
445
450
  required_rubygems_version: !ruby/object:Gem::Requirement
451
+ none: false
446
452
  requirements:
447
453
  - - ">="
448
454
  - !ruby/object:Gem::Version
449
455
  version: '0'
456
+ segments:
457
+ - 0
458
+ hash: 4014152882961253422
450
459
  requirements: []
451
460
  rubyforge_project:
452
- rubygems_version: 2.2.2
461
+ rubygems_version: 1.8.29
453
462
  signing_key:
454
- specification_version: 4
463
+ specification_version: 3
455
464
  summary: a TSUKKOMI-able Web-log
456
465
  test_files:
457
466
  - spec/acceptance/append_comment_spec.rb
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: d5056691a2acf020d746a81e726949f233822191
4
- data.tar.gz: 9a14322d096d7d747ad54a1924319eb7565988ca
5
- SHA512:
6
- metadata.gz: 7f47d931870094fe7605ed9fb3bf34923576cde01deea204303cbaf9ba21bc5380830902125348e35312b6e7b2731fc9085ce484e229500a941e12c5ad8391d6
7
- data.tar.gz: b6442bce75680180b80d2f7dd2fd548108bc51a5610321d556af518223573d244be11bd66cd9e42a80fbd34a34a159e8c06ff3b5e69cd33bc6d66492fba08c7f