yapra 0.2.0 → 0.2.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/.gitignore +4 -0
- data/.rspec +1 -0
- data/ChangeLog +16 -0
- data/Gemfile +4 -0
- data/License.txt +22 -0
- data/Rakefile +9 -117
- data/lib-plugins/yapra/plugin/publish/file_download.rb +4 -2
- data/lib-plugins/yapra/plugin/publish/mail.rb +0 -3
- data/lib-plugins/yapra/plugin/publish/on_memory_download.rb +3 -5
- data/lib/yapra/pipeline.rb +1 -1
- data/lib/yapra/pipeline_base.rb +2 -1
- data/lib/yapra/version.rb +1 -1
- data/spec/spec_helper.rb +2 -2
- data/spec/yapra/legacy_plugin/base_spec.rb +1 -1
- data/spec/yapra/legacy_plugin/registry_factory_spec.rb +1 -1
- data/yapra.gemspec +24 -0
- metadata +99 -108
- data/spec/spec.opts +0 -1
data/.gitignore
ADDED
data/.rspec
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
--colour
|
data/ChangeLog
CHANGED
@@ -1,3 +1,19 @@
|
|
1
|
+
== 0.2.1
|
2
|
+
|
3
|
+
* 1 bug fix:
|
4
|
+
* Refferer fixed.
|
5
|
+
* Mail format bug is fixed.
|
6
|
+
* LoadError mechanizm is fixed.
|
7
|
+
|
8
|
+
* 2 majar enhancement:
|
9
|
+
|
10
|
+
== 0.2.0
|
11
|
+
|
12
|
+
* 1 bug fix:
|
13
|
+
|
14
|
+
* 2 majar enhancement:
|
15
|
+
* Ruby 1.9.2 is supported.
|
16
|
+
|
1
17
|
== 0.1.3
|
2
18
|
|
3
19
|
* 1 bug fix:
|
data/Gemfile
ADDED
data/License.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2008 Yuanying Ohtsuka
|
2
|
+
|
3
|
+
Original from 2008-06-12 http://pragger.ikejisoft.com/
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/Rakefile
CHANGED
@@ -1,119 +1,11 @@
|
|
1
|
-
|
2
|
-
require 'rubygems'
|
3
|
-
require 'rake'
|
4
|
-
require 'rake/clean'
|
5
|
-
require 'rake/testtask'
|
6
|
-
require 'rake/packagetask'
|
7
|
-
require 'rake/gempackagetask'
|
8
|
-
require 'rake/rdoctask'
|
9
|
-
require 'rake/contrib/rubyforgepublisher'
|
10
|
-
require 'rake/contrib/sshpublisher'
|
11
|
-
require 'fileutils'
|
12
|
-
require 'yapra/version'
|
13
|
-
include FileUtils
|
14
|
-
NAME = "yapra"
|
15
|
-
AUTHOR = "yuanying"
|
16
|
-
EMAIL = "yuanying at fraction dot jp"
|
17
|
-
DESCRIPTION = "Yet another pragger implementation."
|
18
|
-
RUBYFORGE_PROJECT = "yapra"
|
19
|
-
HOMEPATH = "http://#{RUBYFORGE_PROJECT}.rubyforge.org"
|
20
|
-
BIN_FILES = %w( yapra )
|
21
|
-
VERS = Yapra::VERSION::STRING
|
1
|
+
require "bundler/gem_tasks"
|
22
2
|
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
'--title', "#{NAME} documentation",
|
27
|
-
"--charset", "utf-8",
|
28
|
-
"--opname", "index.html",
|
29
|
-
"--line-numbers",
|
30
|
-
"--main", "README.mdown",
|
31
|
-
"--inline-source",
|
32
|
-
]
|
3
|
+
# task :uninstall => [:clean] do
|
4
|
+
# sh %{sudo gem uninstall #{NAME}}
|
5
|
+
# end
|
33
6
|
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
spec = Gem::Specification.new do |s|
|
40
|
-
s.name = NAME
|
41
|
-
s.version = VERS
|
42
|
-
s.platform = Gem::Platform::RUBY
|
43
|
-
s.has_rdoc = true
|
44
|
-
s.extra_rdoc_files = ["README.mdown", "ChangeLog"]
|
45
|
-
s.rdoc_options += RDOC_OPTS + ['--exclude', '^(examples|extras)/']
|
46
|
-
s.summary = DESCRIPTION
|
47
|
-
s.description = DESCRIPTION
|
48
|
-
s.author = AUTHOR
|
49
|
-
s.email = EMAIL
|
50
|
-
s.homepage = HOMEPATH
|
51
|
-
s.executables = BIN_FILES
|
52
|
-
s.rubyforge_project = RUBYFORGE_PROJECT
|
53
|
-
s.bindir = "bin"
|
54
|
-
s.require_paths << "lib-plugins"
|
55
|
-
s.autorequire = ""
|
56
|
-
s.test_files = Dir["test/test_*.rb"]
|
57
|
-
|
58
|
-
s.add_dependency('mechanize', '>=0.7.6')
|
59
|
-
#s.required_ruby_version = '>= 1.8.2'
|
60
|
-
|
61
|
-
s.files = %w(README.mdown ChangeLog Rakefile LICENCE) +
|
62
|
-
Dir.glob("{bin,doc,fixtures,legacy_plugins,lib,lib-plugins,plugins,spec,tasks,website,script}/**/*") +
|
63
|
-
# Dir.glob("ext/**/*.{h,c,rb}") +
|
64
|
-
# Dir.glob("examples/**/*.rb") +
|
65
|
-
# Dir.glob("tools/*.rb")
|
66
|
-
|
67
|
-
s.extensions = FileList["ext/**/extconf.rb"].to_a
|
68
|
-
end
|
69
|
-
|
70
|
-
Rake::GemPackageTask.new(spec) do |p|
|
71
|
-
p.need_tar = true
|
72
|
-
p.gem_spec = spec
|
73
|
-
end
|
74
|
-
|
75
|
-
task :install do
|
76
|
-
name = "#{NAME}-#{VERS}.gem"
|
77
|
-
sh %{rake package}
|
78
|
-
sh %{sudo gem install pkg/#{name}}
|
79
|
-
end
|
80
|
-
|
81
|
-
task :uninstall => [:clean] do
|
82
|
-
sh %{sudo gem uninstall #{NAME}}
|
83
|
-
end
|
84
|
-
|
85
|
-
|
86
|
-
Rake::RDocTask.new do |rdoc|
|
87
|
-
rdoc.rdoc_dir = 'html'
|
88
|
-
rdoc.options += RDOC_OPTS
|
89
|
-
rdoc.template = "resh"
|
90
|
-
#rdoc.template = "#{ENV['template']}.rb" if ENV['template']
|
91
|
-
if ENV['DOC_FILES']
|
92
|
-
rdoc.rdoc_files.include(ENV['DOC_FILES'].split(/,\s*/))
|
93
|
-
else
|
94
|
-
rdoc.rdoc_files.include('README', 'ChangeLog')
|
95
|
-
rdoc.rdoc_files.include('lib/**/*.rb')
|
96
|
-
rdoc.rdoc_files.include('ext/**/*.c')
|
97
|
-
end
|
98
|
-
end
|
99
|
-
|
100
|
-
desc "Publish to RubyForge"
|
101
|
-
task :rubyforge => [:rdoc, :package] do
|
102
|
-
require 'rubyforge'
|
103
|
-
Rake::RubyForgePublisher.new(RUBYFORGE_PROJECT, 'yuanying').upload
|
104
|
-
end
|
105
|
-
|
106
|
-
desc 'Package and upload the release to gemcutter.'
|
107
|
-
task :release => [:clean, :package] do |t|
|
108
|
-
v = ENV["VERSION"] or abort "Must supply VERSION=x.y.z"
|
109
|
-
abort "Versions don't match #{v} vs #{VERS}" unless v == VERS
|
110
|
-
pkg = "pkg/#{NAME}-#{VERS}"
|
111
|
-
|
112
|
-
files = [
|
113
|
-
"#{pkg}.tgz",
|
114
|
-
"#{pkg}.gem"
|
115
|
-
].compact
|
116
|
-
|
117
|
-
puts "Releasing #{NAME} v. #{VERS}"
|
118
|
-
sh %{gem push #{pkg}.gem}
|
119
|
-
end
|
7
|
+
# desc "Publish to RubyForge"
|
8
|
+
# task :rubyforge => [:rdoc, :package] do
|
9
|
+
# require 'rubyforge'
|
10
|
+
# Rake::RubyForgePublisher.new(RUBYFORGE_PROJECT, 'yuanying').upload
|
11
|
+
# end
|
@@ -43,9 +43,11 @@ module Yapra::Plugin::Publish
|
|
43
43
|
end
|
44
44
|
|
45
45
|
def save config, item, page
|
46
|
+
dir = config['dir']
|
47
|
+
|
46
48
|
filename = construct_data(config['filename'], item)
|
47
49
|
filename = page.filename unless filename
|
48
|
-
|
50
|
+
|
49
51
|
if config['auto_suffix']
|
50
52
|
ext = discover_extensions(page)
|
51
53
|
filename = "#{filename}.#{ext}" if ext
|
@@ -57,4 +59,4 @@ module Yapra::Plugin::Publish
|
|
57
59
|
end
|
58
60
|
end
|
59
61
|
end
|
60
|
-
end
|
62
|
+
end
|
@@ -93,7 +93,6 @@ Content-type: text/html; charset=UTF-8
|
|
93
93
|
Content-transfer-encoding: base64
|
94
94
|
|
95
95
|
<%=content %>
|
96
|
-
|
97
96
|
--<%=boundary %>
|
98
97
|
<% attachments.each do |file| -%>
|
99
98
|
Content-Type: <%=file.header['Content-Type'] %>;
|
@@ -103,9 +102,7 @@ Content-Disposition: attachment;
|
|
103
102
|
Content-Transfer-Encoding: base64
|
104
103
|
|
105
104
|
<%=[file.body].pack('m') -%>
|
106
|
-
|
107
105
|
--<%=boundary %>
|
108
|
-
|
109
106
|
<% end -%>
|
110
107
|
EOT
|
111
108
|
end
|
@@ -63,7 +63,7 @@ module Yapra::Plugin::Publish
|
|
63
63
|
original
|
64
64
|
end
|
65
65
|
|
66
|
-
def save
|
66
|
+
def save(config, item, page)
|
67
67
|
set_attribute_to item, config['attribute'], page
|
68
68
|
end
|
69
69
|
|
@@ -72,9 +72,7 @@ module Yapra::Plugin::Publish
|
|
72
72
|
eval(config['before_hook'])
|
73
73
|
end
|
74
74
|
|
75
|
-
|
76
|
-
|
77
|
-
page = agent.get(url, referrer)
|
75
|
+
page = agent.get(url, [], referrer)
|
78
76
|
|
79
77
|
save(config, item, page)
|
80
78
|
|
@@ -83,4 +81,4 @@ module Yapra::Plugin::Publish
|
|
83
81
|
end
|
84
82
|
end
|
85
83
|
end
|
86
|
-
end
|
84
|
+
end
|
data/lib/yapra/pipeline.rb
CHANGED
@@ -70,7 +70,7 @@ class Yapra::Pipeline < Yapra::PipelineBase
|
|
70
70
|
|
71
71
|
def run_class_based_plugin command, data
|
72
72
|
self.logger.debug("evaluate plugin as class based")
|
73
|
-
plugin = load(command
|
73
|
+
plugin = load(command)
|
74
74
|
|
75
75
|
# yml pipeline specific.
|
76
76
|
plugin.plugin_config = command['config'] if plugin.respond_to?('plugin_config=')
|
data/lib/yapra/pipeline_base.rb
CHANGED
data/lib/yapra/version.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
@@ -5,7 +5,7 @@ require 'yapra/legacy_plugin/base'
|
|
5
5
|
describe Yapra::LegacyPlugin::Base do
|
6
6
|
|
7
7
|
before do
|
8
|
-
@pipeline =
|
8
|
+
@pipeline = double('pipeline').as_null_object
|
9
9
|
end
|
10
10
|
|
11
11
|
describe 'which is initialized by "fixtures/legacy_test_plugin.rb"' do
|
@@ -4,7 +4,7 @@ require 'yapra/legacy_plugin/registry_factory'
|
|
4
4
|
|
5
5
|
describe Yapra::LegacyPlugin::RegistryFactory do
|
6
6
|
before do
|
7
|
-
@pipeline =
|
7
|
+
@pipeline = double('pipeline').as_null_object
|
8
8
|
end
|
9
9
|
|
10
10
|
it 'should create advance mode registry from string "advance"' do
|
data/yapra.gemspec
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
$:.push File.expand_path("../lib", __FILE__)
|
3
|
+
require "yapra/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |s|
|
6
|
+
s.name = "yapra"
|
7
|
+
s.version = Yapra::VERSION::STRING
|
8
|
+
s.authors = ["yuanying"]
|
9
|
+
s.email = ["yuanying at fraction dot jp"]
|
10
|
+
s.homepage = "http://yapra.rubyforge.org"
|
11
|
+
s.summary = %q{Yet another pragger implementation.}
|
12
|
+
s.description = %q{Yet another pragger implementation.}
|
13
|
+
|
14
|
+
s.rubyforge_project = "yapra"
|
15
|
+
|
16
|
+
s.files = `git ls-files`.split("\n")
|
17
|
+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
18
|
+
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
19
|
+
s.require_paths = ["lib", "lib-plugins"]
|
20
|
+
|
21
|
+
# specify any dependencies here; for example:
|
22
|
+
s.add_development_dependency "rspec"
|
23
|
+
s.add_runtime_dependency "mechanize"
|
24
|
+
end
|
metadata
CHANGED
@@ -1,67 +1,66 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: yapra
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 2
|
9
|
-
- 0
|
10
|
-
version: 0.2.0
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.2
|
5
|
+
prerelease:
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- yuanying
|
14
|
-
autorequire:
|
9
|
+
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
12
|
+
date: 2012-02-09 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: rspec
|
16
|
+
requirement: &70210196206560 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :development
|
23
23
|
prerelease: false
|
24
|
-
|
24
|
+
version_requirements: *70210196206560
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: mechanize
|
27
|
+
requirement: &70210196205960 !ruby/object:Gem::Requirement
|
25
28
|
none: false
|
26
|
-
requirements:
|
27
|
-
- -
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
|
30
|
-
segments:
|
31
|
-
- 0
|
32
|
-
- 7
|
33
|
-
- 6
|
34
|
-
version: 0.7.6
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '0'
|
35
33
|
type: :runtime
|
36
|
-
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *70210196205960
|
37
36
|
description: Yet another pragger implementation.
|
38
|
-
email:
|
39
|
-
|
37
|
+
email:
|
38
|
+
- yuanying at fraction dot jp
|
39
|
+
executables:
|
40
40
|
- yapra
|
41
41
|
extensions: []
|
42
|
-
|
43
|
-
|
44
|
-
-
|
42
|
+
extra_rdoc_files: []
|
43
|
+
files:
|
44
|
+
- .gitignore
|
45
|
+
- .rspec
|
45
46
|
- ChangeLog
|
46
|
-
|
47
|
+
- Gemfile
|
48
|
+
- LICENCE
|
49
|
+
- License.txt
|
47
50
|
- README.mdown
|
48
|
-
- ChangeLog
|
49
51
|
- Rakefile
|
50
|
-
- LICENCE
|
51
52
|
- bin/yapra
|
52
53
|
- fixtures/config/habu_like.yml
|
53
54
|
- fixtures/config/mixed_type.yml
|
54
55
|
- fixtures/config/pragger_like.yml
|
55
56
|
- fixtures/legacy_plugin/legacy_test_plugin.rb
|
56
|
-
- legacy_plugins/argv.rb
|
57
|
-
- legacy_plugins/concat.rb
|
58
|
-
- legacy_plugins/const_list.rb
|
59
57
|
- legacy_plugins/Download/nicovideo.rb
|
60
58
|
- legacy_plugins/Feed/custom_feed.rb
|
61
59
|
- legacy_plugins/Feed/google_calendar.rb
|
62
60
|
- legacy_plugins/Feed/google_search_history.rb
|
63
61
|
- legacy_plugins/Feed/hatena_graph.rb
|
64
62
|
- legacy_plugins/Feed/lirs.rb
|
63
|
+
- legacy_plugins/Filter/Translations/yahoo.rb
|
65
64
|
- legacy_plugins/Filter/apply_text_html.rb
|
66
65
|
- legacy_plugins/Filter/average.rb
|
67
66
|
- legacy_plugins/Filter/deduped.rb
|
@@ -74,14 +73,6 @@ files:
|
|
74
73
|
- legacy_plugins/Filter/sort.rb
|
75
74
|
- legacy_plugins/Filter/subs.rb
|
76
75
|
- legacy_plugins/Filter/to_integer.rb
|
77
|
-
- legacy_plugins/Filter/Translations/yahoo.rb
|
78
|
-
- legacy_plugins/first.rb
|
79
|
-
- legacy_plugins/head.rb
|
80
|
-
- legacy_plugins/load_path.rb
|
81
|
-
- legacy_plugins/plagger.rb
|
82
|
-
- legacy_plugins/plugin_from_uri.rb
|
83
|
-
- legacy_plugins/pluginbase.rb
|
84
|
-
- legacy_plugins/print.rb
|
85
76
|
- legacy_plugins/Publish/delicious.rb
|
86
77
|
- legacy_plugins/Publish/google_calendar.rb
|
87
78
|
- legacy_plugins/Publish/hatena_bookmark.rb
|
@@ -91,33 +82,24 @@ files:
|
|
91
82
|
- legacy_plugins/Publish/mixi_diary_writer.rb
|
92
83
|
- legacy_plugins/Publish/scuttle.rb
|
93
84
|
- legacy_plugins/Publish/twitter.rb
|
94
|
-
- legacy_plugins/reverse.rb
|
95
85
|
- legacy_plugins/RSS/load.rb
|
96
86
|
- legacy_plugins/RSS/save.rb
|
87
|
+
- legacy_plugins/Yaml/load.rb
|
88
|
+
- legacy_plugins/Yaml/save.rb
|
89
|
+
- legacy_plugins/argv.rb
|
90
|
+
- legacy_plugins/concat.rb
|
91
|
+
- legacy_plugins/const_list.rb
|
92
|
+
- legacy_plugins/first.rb
|
93
|
+
- legacy_plugins/head.rb
|
94
|
+
- legacy_plugins/load_path.rb
|
95
|
+
- legacy_plugins/plagger.rb
|
96
|
+
- legacy_plugins/plugin_from_uri.rb
|
97
|
+
- legacy_plugins/pluginbase.rb
|
98
|
+
- legacy_plugins/print.rb
|
99
|
+
- legacy_plugins/reverse.rb
|
97
100
|
- legacy_plugins/send_msg.rb
|
98
101
|
- legacy_plugins/stdin.rb
|
99
102
|
- legacy_plugins/stdout.rb
|
100
|
-
- legacy_plugins/Yaml/load.rb
|
101
|
-
- legacy_plugins/Yaml/save.rb
|
102
|
-
- lib/yapra/config.rb
|
103
|
-
- lib/yapra/inflector.rb
|
104
|
-
- lib/yapra/legacy_plugin/advance_mode_registry.rb
|
105
|
-
- lib/yapra/legacy_plugin/base.rb
|
106
|
-
- lib/yapra/legacy_plugin/compatible_mode_registry.rb
|
107
|
-
- lib/yapra/legacy_plugin/registry_factory.rb
|
108
|
-
- lib/yapra/legacy_plugin.rb
|
109
|
-
- lib/yapra/pipeline.rb
|
110
|
-
- lib/yapra/pipeline_base.rb
|
111
|
-
- lib/yapra/plugin/base.rb
|
112
|
-
- lib/yapra/plugin/context_aware.rb
|
113
|
-
- lib/yapra/plugin/erb_applier.rb
|
114
|
-
- lib/yapra/plugin/feed_item_operator.rb
|
115
|
-
- lib/yapra/plugin/mechanize_base.rb
|
116
|
-
- lib/yapra/plugin.rb
|
117
|
-
- lib/yapra/rb_pipeline.rb
|
118
|
-
- lib/yapra/runtime.rb
|
119
|
-
- lib/yapra/version.rb
|
120
|
-
- lib/yapra.rb
|
121
103
|
- lib-plugins/yapra/plugin/config/agent.rb
|
122
104
|
- lib-plugins/yapra/plugin/config/basic_auth.rb
|
123
105
|
- lib-plugins/yapra/plugin/config/web_post.rb
|
@@ -136,11 +118,33 @@ files:
|
|
136
118
|
- lib-plugins/yapra/plugin/test/raise_error.rb
|
137
119
|
- lib-plugins/yapra/plugin/test/test.rb
|
138
120
|
- lib-plugins/yapra/plugin/test/test2.rb
|
121
|
+
- lib/yapra.rb
|
122
|
+
- lib/yapra/config.rb
|
123
|
+
- lib/yapra/inflector.rb
|
124
|
+
- lib/yapra/legacy_plugin.rb
|
125
|
+
- lib/yapra/legacy_plugin/advance_mode_registry.rb
|
126
|
+
- lib/yapra/legacy_plugin/base.rb
|
127
|
+
- lib/yapra/legacy_plugin/compatible_mode_registry.rb
|
128
|
+
- lib/yapra/legacy_plugin/registry_factory.rb
|
129
|
+
- lib/yapra/pipeline.rb
|
130
|
+
- lib/yapra/pipeline_base.rb
|
131
|
+
- lib/yapra/plugin.rb
|
132
|
+
- lib/yapra/plugin/base.rb
|
133
|
+
- lib/yapra/plugin/context_aware.rb
|
134
|
+
- lib/yapra/plugin/erb_applier.rb
|
135
|
+
- lib/yapra/plugin/feed_item_operator.rb
|
136
|
+
- lib/yapra/plugin/mechanize_base.rb
|
137
|
+
- lib/yapra/rb_pipeline.rb
|
138
|
+
- lib/yapra/runtime.rb
|
139
|
+
- lib/yapra/version.rb
|
139
140
|
- plugins/Filter/deduped.rb
|
140
141
|
- plugins/Filter/grep.rb
|
141
142
|
- plugins/Filter/sort.rb
|
142
143
|
- plugins/Filter/subs.rb
|
143
|
-
-
|
144
|
+
- script/console
|
145
|
+
- script/destroy
|
146
|
+
- script/generate
|
147
|
+
- script/txt2html
|
144
148
|
- spec/spec_helper.rb
|
145
149
|
- spec/yapra/config_spec.rb
|
146
150
|
- spec/yapra/legacy_plugin/base_spec.rb
|
@@ -155,55 +159,42 @@ files:
|
|
155
159
|
- website/javascripts/rounded_corners_lite.inc.js
|
156
160
|
- website/stylesheets/screen.css
|
157
161
|
- website/template.html.erb
|
158
|
-
-
|
159
|
-
- script/destroy
|
160
|
-
- script/generate
|
161
|
-
- script/txt2html
|
162
|
-
has_rdoc: true
|
162
|
+
- yapra.gemspec
|
163
163
|
homepage: http://yapra.rubyforge.org
|
164
164
|
licenses: []
|
165
|
-
|
166
165
|
post_install_message:
|
167
|
-
rdoc_options:
|
168
|
-
|
169
|
-
- yapra documentation
|
170
|
-
- --charset
|
171
|
-
- utf-8
|
172
|
-
- --opname
|
173
|
-
- index.html
|
174
|
-
- --line-numbers
|
175
|
-
- --main
|
176
|
-
- README.mdown
|
177
|
-
- --inline-source
|
178
|
-
- --exclude
|
179
|
-
- ^(examples|extras)/
|
180
|
-
require_paths:
|
166
|
+
rdoc_options: []
|
167
|
+
require_paths:
|
181
168
|
- lib
|
182
169
|
- lib-plugins
|
183
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
170
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
184
171
|
none: false
|
185
|
-
requirements:
|
186
|
-
- -
|
187
|
-
- !ruby/object:Gem::Version
|
188
|
-
|
189
|
-
segments:
|
172
|
+
requirements:
|
173
|
+
- - ! '>='
|
174
|
+
- !ruby/object:Gem::Version
|
175
|
+
version: '0'
|
176
|
+
segments:
|
190
177
|
- 0
|
191
|
-
|
192
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
178
|
+
hash: -2886421756516064633
|
179
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
193
180
|
none: false
|
194
|
-
requirements:
|
195
|
-
- -
|
196
|
-
- !ruby/object:Gem::Version
|
197
|
-
|
198
|
-
segments:
|
181
|
+
requirements:
|
182
|
+
- - ! '>='
|
183
|
+
- !ruby/object:Gem::Version
|
184
|
+
version: '0'
|
185
|
+
segments:
|
199
186
|
- 0
|
200
|
-
|
187
|
+
hash: -2886421756516064633
|
201
188
|
requirements: []
|
202
|
-
|
203
189
|
rubyforge_project: yapra
|
204
|
-
rubygems_version: 1.
|
190
|
+
rubygems_version: 1.8.11
|
205
191
|
signing_key:
|
206
192
|
specification_version: 3
|
207
193
|
summary: Yet another pragger implementation.
|
208
|
-
test_files:
|
209
|
-
|
194
|
+
test_files:
|
195
|
+
- spec/spec_helper.rb
|
196
|
+
- spec/yapra/config_spec.rb
|
197
|
+
- spec/yapra/legacy_plugin/base_spec.rb
|
198
|
+
- spec/yapra/legacy_plugin/registry_factory_spec.rb
|
199
|
+
- spec/yapra/pipeline_spec.rb
|
200
|
+
- spec/yapra_spec.rb
|
data/spec/spec.opts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
--colour
|