consadole_aggregator 0.0.4 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +5 -0
- data/.rspec +1 -0
- data/Gemfile +10 -0
- data/Gemfile.lock +37 -0
- data/LICENSE.txt +20 -0
- data/README.rdoc +33 -0
- data/Rakefile +41 -22
- data/VERSION +1 -1
- data/account.yaml +6 -0
- data/bin/consadole_aggregator +47 -0
- data/consadole_aggregator.gemspec +193 -152
- data/db/.gitignore +0 -0
- data/lib/consadole_aggregator/helper.rb +20 -0
- data/lib/consadole_aggregator/live/timeline.rb +13 -0
- data/lib/consadole_aggregator/live.rb +79 -0
- data/lib/consadole_aggregator/news.rb +165 -0
- data/lib/consadole_aggregator.rb +5 -19
- data/log/.gitignore +0 -0
- data/spec/consadole_aggregator/helper_spec.rb +27 -0
- data/spec/consadole_aggregator/live/timeline_spec.rb +53 -0
- data/spec/consadole_aggregator/live_spec.rb +139 -0
- data/spec/consadole_aggregator/news_spec.rb +156 -0
- data/spec/ext/asahi.txt +1068 -0
- data/spec/ext/consaburn.txt +660 -0
- data/spec/ext/consaclub.txt +677 -0
- data/spec/ext/consadolenews.txt +251 -0
- data/spec/ext/consadolephotos.txt +5 -0
- data/spec/ext/consadolesponsornews.txt +229 -0
- data/spec/ext/forzaconsadole.txt +1038 -0
- data/spec/ext/hochiyomiuri.txt +783 -0
- data/spec/ext/jsgoalnews.txt +421 -0
- data/spec/ext/jsgoalphotos.txt +322 -0
- data/spec/ext/nikkansports.txt +478 -0
- data/spec/spec.opts +1 -1
- data/spec/spec_helper.rb +11 -4
- metadata +240 -157
- data/.gitignore +0 -3
- data/lib/consadole_aggregator/live/builder.rb +0 -44
- data/lib/consadole_aggregator/live/parser.rb +0 -26
- data/lib/consadole_aggregator/nikkan_sports.rb +0 -61
- data/spec/consadole_aggregator_spec.rb +0 -2
- data/spec/nikkan_sports/consadole.rdf +0 -478
- data/spec/nikkan_sports/nikkan_sports_spec.rb +0 -62
- data/spec/nikkan_sports/p-sc-tp0-20091225-579346.html +0 -1547
- data/spec/nikkan_sports/p-sc-tp0-20100204-592466.html +0 -1538
- /data/spec/{timeline → ext/live}/s674.html +0 -0
- /data/spec/{timeline → ext/live}/s674.html.1 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.10 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.100 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.101 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.102 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.103 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.104 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.105 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.106 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.107 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.108 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.109 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.11 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.110 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.111 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.112 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.113 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.114 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.115 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.116 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.117 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.118 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.119 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.12 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.120 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.13 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.14 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.15 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.16 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.17 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.18 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.19 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.2 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.20 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.21 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.22 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.23 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.24 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.25 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.26 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.27 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.28 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.29 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.3 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.30 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.31 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.32 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.33 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.34 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.35 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.36 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.37 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.38 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.39 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.4 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.40 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.41 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.42 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.43 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.44 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.45 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.46 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.47 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.48 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.49 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.5 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.50 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.51 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.52 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.53 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.54 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.55 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.56 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.57 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.58 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.59 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.6 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.60 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.61 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.62 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.63 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.64 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.65 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.66 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.67 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.68 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.69 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.7 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.70 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.71 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.72 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.73 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.74 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.75 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.76 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.77 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.78 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.79 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.8 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.80 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.81 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.82 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.83 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.84 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.85 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.86 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.87 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.88 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.89 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.9 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.90 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.91 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.92 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.93 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.94 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.95 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.96 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.97 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.98 +0 -0
- /data/spec/{timeline → ext/live}/s674.html.99 +0 -0
data/.document
ADDED
data/.rspec
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
--color --format documentation
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,37 @@
|
|
1
|
+
GEM
|
2
|
+
remote: http://rubygems.org/
|
3
|
+
specs:
|
4
|
+
diff-lcs (1.1.2)
|
5
|
+
git (1.2.5)
|
6
|
+
jeweler (1.5.2)
|
7
|
+
bundler (~> 1.0.0)
|
8
|
+
git (>= 1.2.5)
|
9
|
+
rake
|
10
|
+
json (1.5.1)
|
11
|
+
nokogiri (1.4.4)
|
12
|
+
oauth (0.4.4)
|
13
|
+
rake (0.8.7)
|
14
|
+
rcov (0.9.9)
|
15
|
+
rspec (2.5.0)
|
16
|
+
rspec-core (~> 2.5.0)
|
17
|
+
rspec-expectations (~> 2.5.0)
|
18
|
+
rspec-mocks (~> 2.5.0)
|
19
|
+
rspec-core (2.5.1)
|
20
|
+
rspec-expectations (2.5.0)
|
21
|
+
diff-lcs (~> 1.1.2)
|
22
|
+
rspec-mocks (2.5.0)
|
23
|
+
rubytter (1.4.2)
|
24
|
+
json (>= 1.1.3)
|
25
|
+
oauth (>= 0.3.6)
|
26
|
+
|
27
|
+
PLATFORMS
|
28
|
+
ruby
|
29
|
+
|
30
|
+
DEPENDENCIES
|
31
|
+
bundler
|
32
|
+
jeweler
|
33
|
+
nokogiri
|
34
|
+
oauth
|
35
|
+
rcov
|
36
|
+
rspec
|
37
|
+
rubytter
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright (c) 2010 niku
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.rdoc
ADDED
@@ -0,0 +1,33 @@
|
|
1
|
+
= Consadole Aggregator
|
2
|
+
|
3
|
+
Aggregate infomation of 'Consadole Sapporo'.
|
4
|
+
|
5
|
+
== Install
|
6
|
+
|
7
|
+
$ gem install consadole_aggregator
|
8
|
+
|
9
|
+
== Usage
|
10
|
+
|
11
|
+
$ consadole_aggregator
|
12
|
+
|
13
|
+
== Contributing to consadole_aggregator
|
14
|
+
|
15
|
+
* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
|
16
|
+
* Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
|
17
|
+
* Fork the project
|
18
|
+
* Start a feature/bugfix branch
|
19
|
+
* Commit and push until you are happy with your contribution
|
20
|
+
* Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
|
21
|
+
* Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
|
22
|
+
|
23
|
+
== TODO
|
24
|
+
|
25
|
+
* extract Module of Aggregatable
|
26
|
+
* use Aggregatable to Live
|
27
|
+
* create Stack for output
|
28
|
+
|
29
|
+
== Copyright
|
30
|
+
|
31
|
+
Copyright (c) 2010 niku. See LICENSE.txt for
|
32
|
+
further details.
|
33
|
+
|
data/Rakefile
CHANGED
@@ -1,32 +1,51 @@
|
|
1
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
|
2
10
|
require 'rake'
|
3
11
|
|
4
|
-
require '
|
5
|
-
|
6
|
-
|
7
|
-
|
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 = "consadole_aggregator"
|
16
|
+
gem.homepage = "http://github.com/niku/consadole_aggregator"
|
17
|
+
gem.license = "MIT"
|
18
|
+
gem.summary = %Q{ It aggregates infomation of 'Consadole Sapporo' }
|
19
|
+
gem.description = %Q{ It aggregates infomation of 'Consadole Sapporo' }
|
20
|
+
gem.email = "niku@niku.name"
|
21
|
+
gem.authors = ["niku"]
|
22
|
+
# Include your dependencies below. Runtime dependencies are required when using your gem,
|
23
|
+
# and development dependencies are only needed for development (ie running rake tasks, tests, etc)
|
24
|
+
# gem.add_runtime_dependency 'jabber4r', '> 0.1'
|
25
|
+
# gem.add_development_dependency 'rspec', '> 1.2.3'
|
8
26
|
end
|
27
|
+
Jeweler::RubygemsDotOrgTasks.new
|
9
28
|
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
spec.
|
29
|
+
require 'rspec/core'
|
30
|
+
require 'rspec/core/rake_task'
|
31
|
+
RSpec::Core::RakeTask.new(:spec) do |spec|
|
32
|
+
spec.pattern = FileList['spec/**/*_spec.rb']
|
33
|
+
spec.rspec_opts = '--format documentation'
|
14
34
|
end
|
15
35
|
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
gemspec.name = "consadole_aggregator"
|
20
|
-
gemspec.summary = "Consadole Sapporo's Information Aggregator"
|
21
|
-
gemspec.email = "niku@niku.name"
|
22
|
-
gemspec.homepage = "http://github.com/niku/consadole_aggregator"
|
23
|
-
gemspec.authors = ["niku"]
|
24
|
-
gemspec.required_ruby_version = '>=1.8.7'
|
25
|
-
gemspec.add_development_dependency('hpricot')
|
26
|
-
gemspec.add_development_dependency('rspec')
|
27
|
-
end
|
28
|
-
rescue LoadError
|
29
|
-
puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
|
36
|
+
RSpec::Core::RakeTask.new(:rcov) do |spec|
|
37
|
+
spec.pattern = 'spec/**/*_spec.rb'
|
38
|
+
spec.rcov = true
|
30
39
|
end
|
31
40
|
|
32
41
|
task :default => :spec
|
42
|
+
|
43
|
+
require 'rake/rdoctask'
|
44
|
+
Rake::RDocTask.new do |rdoc|
|
45
|
+
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
46
|
+
|
47
|
+
rdoc.rdoc_dir = 'rdoc'
|
48
|
+
rdoc.title = "consadole_aggregator #{version}"
|
49
|
+
rdoc.rdoc_files.include('README*')
|
50
|
+
rdoc.rdoc_files.include('lib/**/*.rb')
|
51
|
+
end
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0
|
1
|
+
0.1.0
|
data/account.yaml
ADDED
@@ -0,0 +1,47 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
require 'optparse'
|
3
|
+
params = ARGV.getopts(nil, "module:news", "output:log", "date")
|
4
|
+
|
5
|
+
$:.unshift(File.expand_path('../../lib', __FILE__)) if $0 == __FILE__
|
6
|
+
|
7
|
+
require 'consadole_aggregator'
|
8
|
+
|
9
|
+
output = case params['output']
|
10
|
+
when 'log'
|
11
|
+
require 'logger'
|
12
|
+
path = File.expand_path('../../log', __FILE__) + '/exec_result.log'
|
13
|
+
log = Logger.new(path)
|
14
|
+
puts "output to #{path}"
|
15
|
+
->(element){
|
16
|
+
if element.kind_of?(ConsadoleAggregator::Live::Timeline)
|
17
|
+
log.debug ConsadoleAggregator::Helper.concat(element.to_s, hashtag:'#consadole')
|
18
|
+
else
|
19
|
+
title, url = element[:title], element[:url]
|
20
|
+
log.debug ConsadoleAggregator::Helper.concat(title, url:url, hashtag:'#consadole')
|
21
|
+
end
|
22
|
+
}
|
23
|
+
when 'twitter'
|
24
|
+
require 'oauth'
|
25
|
+
require 'rubytter'
|
26
|
+
ACCOUNT = YAML.load_file('account.yaml')
|
27
|
+
oauth = Rubytter::OAuth.new(ACCOUNT['consumer']['key'], ACCOUNT['consumer']['secret'])
|
28
|
+
access_token = OAuth::AccessToken.new(oauth.create_consumer, ACCOUNT['access']['key'], ACCOUNT['access']['secret'])
|
29
|
+
t = OAuthRubytter.new(access_token)
|
30
|
+
->(element){
|
31
|
+
if element.kind_of?(ConsadoleAggregator::Live::Timeline)
|
32
|
+
t.update ConsadoleAggregator::Helper.concat(element.to_s, hashtag:'#consadole')
|
33
|
+
else
|
34
|
+
title, url = element[:title], element[:url]
|
35
|
+
t.update ConsadoleAggregator::Helper.concat(title, url:url, hashtag:'#consadole')
|
36
|
+
end
|
37
|
+
}
|
38
|
+
end
|
39
|
+
|
40
|
+
case params['module']
|
41
|
+
when 'news'
|
42
|
+
modules = ConsadoleAggregator::News.constants.map{ |k| ConsadoleAggregator::News.const_get(k).new }
|
43
|
+
modules.each{ |m| m.update &output }
|
44
|
+
when 'live'
|
45
|
+
reservation_time = params['date'] ? Time.parse(params['date']) : nil
|
46
|
+
ConsadoleAggregator::Live.reserve(reservation_time).execute &output
|
47
|
+
end
|
@@ -1,181 +1,222 @@
|
|
1
1
|
# Generated by jeweler
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{consadole_aggregator}
|
8
|
-
s.version = "0.0
|
8
|
+
s.version = "0.1.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["niku"]
|
12
|
-
s.date = %q{
|
12
|
+
s.date = %q{2011-05-05}
|
13
|
+
s.default_executable = %q{consadole_aggregator}
|
14
|
+
s.description = %q{ It aggregates infomation of 'Consadole Sapporo' }
|
13
15
|
s.email = %q{niku@niku.name}
|
16
|
+
s.executables = ["consadole_aggregator"]
|
17
|
+
s.extra_rdoc_files = [
|
18
|
+
"LICENSE.txt",
|
19
|
+
"README.rdoc"
|
20
|
+
]
|
14
21
|
s.files = [
|
15
|
-
".
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
22
|
+
".document",
|
23
|
+
".rspec",
|
24
|
+
"Gemfile",
|
25
|
+
"Gemfile.lock",
|
26
|
+
"LICENSE.txt",
|
27
|
+
"README.rdoc",
|
28
|
+
"Rakefile",
|
29
|
+
"VERSION",
|
30
|
+
"account.yaml",
|
31
|
+
"bin/consadole_aggregator",
|
32
|
+
"consadole_aggregator.gemspec",
|
33
|
+
"db/.gitignore",
|
34
|
+
"lib/consadole_aggregator.rb",
|
35
|
+
"lib/consadole_aggregator/helper.rb",
|
36
|
+
"lib/consadole_aggregator/live.rb",
|
37
|
+
"lib/consadole_aggregator/live/timeline.rb",
|
38
|
+
"lib/consadole_aggregator/news.rb",
|
39
|
+
"log/.gitignore",
|
40
|
+
"spec/consadole_aggregator/helper_spec.rb",
|
41
|
+
"spec/consadole_aggregator/live/timeline_spec.rb",
|
42
|
+
"spec/consadole_aggregator/live_spec.rb",
|
43
|
+
"spec/consadole_aggregator/news_spec.rb",
|
44
|
+
"spec/ext/asahi.txt",
|
45
|
+
"spec/ext/consaburn.txt",
|
46
|
+
"spec/ext/consaclub.txt",
|
47
|
+
"spec/ext/consadolenews.txt",
|
48
|
+
"spec/ext/consadolephotos.txt",
|
49
|
+
"spec/ext/consadolesponsornews.txt",
|
50
|
+
"spec/ext/forzaconsadole.txt",
|
51
|
+
"spec/ext/hochiyomiuri.txt",
|
52
|
+
"spec/ext/jsgoalnews.txt",
|
53
|
+
"spec/ext/jsgoalphotos.txt",
|
54
|
+
"spec/ext/live/s674.html",
|
55
|
+
"spec/ext/live/s674.html.1",
|
56
|
+
"spec/ext/live/s674.html.10",
|
57
|
+
"spec/ext/live/s674.html.100",
|
58
|
+
"spec/ext/live/s674.html.101",
|
59
|
+
"spec/ext/live/s674.html.102",
|
60
|
+
"spec/ext/live/s674.html.103",
|
61
|
+
"spec/ext/live/s674.html.104",
|
62
|
+
"spec/ext/live/s674.html.105",
|
63
|
+
"spec/ext/live/s674.html.106",
|
64
|
+
"spec/ext/live/s674.html.107",
|
65
|
+
"spec/ext/live/s674.html.108",
|
66
|
+
"spec/ext/live/s674.html.109",
|
67
|
+
"spec/ext/live/s674.html.11",
|
68
|
+
"spec/ext/live/s674.html.110",
|
69
|
+
"spec/ext/live/s674.html.111",
|
70
|
+
"spec/ext/live/s674.html.112",
|
71
|
+
"spec/ext/live/s674.html.113",
|
72
|
+
"spec/ext/live/s674.html.114",
|
73
|
+
"spec/ext/live/s674.html.115",
|
74
|
+
"spec/ext/live/s674.html.116",
|
75
|
+
"spec/ext/live/s674.html.117",
|
76
|
+
"spec/ext/live/s674.html.118",
|
77
|
+
"spec/ext/live/s674.html.119",
|
78
|
+
"spec/ext/live/s674.html.12",
|
79
|
+
"spec/ext/live/s674.html.120",
|
80
|
+
"spec/ext/live/s674.html.13",
|
81
|
+
"spec/ext/live/s674.html.14",
|
82
|
+
"spec/ext/live/s674.html.15",
|
83
|
+
"spec/ext/live/s674.html.16",
|
84
|
+
"spec/ext/live/s674.html.17",
|
85
|
+
"spec/ext/live/s674.html.18",
|
86
|
+
"spec/ext/live/s674.html.19",
|
87
|
+
"spec/ext/live/s674.html.2",
|
88
|
+
"spec/ext/live/s674.html.20",
|
89
|
+
"spec/ext/live/s674.html.21",
|
90
|
+
"spec/ext/live/s674.html.22",
|
91
|
+
"spec/ext/live/s674.html.23",
|
92
|
+
"spec/ext/live/s674.html.24",
|
93
|
+
"spec/ext/live/s674.html.25",
|
94
|
+
"spec/ext/live/s674.html.26",
|
95
|
+
"spec/ext/live/s674.html.27",
|
96
|
+
"spec/ext/live/s674.html.28",
|
97
|
+
"spec/ext/live/s674.html.29",
|
98
|
+
"spec/ext/live/s674.html.3",
|
99
|
+
"spec/ext/live/s674.html.30",
|
100
|
+
"spec/ext/live/s674.html.31",
|
101
|
+
"spec/ext/live/s674.html.32",
|
102
|
+
"spec/ext/live/s674.html.33",
|
103
|
+
"spec/ext/live/s674.html.34",
|
104
|
+
"spec/ext/live/s674.html.35",
|
105
|
+
"spec/ext/live/s674.html.36",
|
106
|
+
"spec/ext/live/s674.html.37",
|
107
|
+
"spec/ext/live/s674.html.38",
|
108
|
+
"spec/ext/live/s674.html.39",
|
109
|
+
"spec/ext/live/s674.html.4",
|
110
|
+
"spec/ext/live/s674.html.40",
|
111
|
+
"spec/ext/live/s674.html.41",
|
112
|
+
"spec/ext/live/s674.html.42",
|
113
|
+
"spec/ext/live/s674.html.43",
|
114
|
+
"spec/ext/live/s674.html.44",
|
115
|
+
"spec/ext/live/s674.html.45",
|
116
|
+
"spec/ext/live/s674.html.46",
|
117
|
+
"spec/ext/live/s674.html.47",
|
118
|
+
"spec/ext/live/s674.html.48",
|
119
|
+
"spec/ext/live/s674.html.49",
|
120
|
+
"spec/ext/live/s674.html.5",
|
121
|
+
"spec/ext/live/s674.html.50",
|
122
|
+
"spec/ext/live/s674.html.51",
|
123
|
+
"spec/ext/live/s674.html.52",
|
124
|
+
"spec/ext/live/s674.html.53",
|
125
|
+
"spec/ext/live/s674.html.54",
|
126
|
+
"spec/ext/live/s674.html.55",
|
127
|
+
"spec/ext/live/s674.html.56",
|
128
|
+
"spec/ext/live/s674.html.57",
|
129
|
+
"spec/ext/live/s674.html.58",
|
130
|
+
"spec/ext/live/s674.html.59",
|
131
|
+
"spec/ext/live/s674.html.6",
|
132
|
+
"spec/ext/live/s674.html.60",
|
133
|
+
"spec/ext/live/s674.html.61",
|
134
|
+
"spec/ext/live/s674.html.62",
|
135
|
+
"spec/ext/live/s674.html.63",
|
136
|
+
"spec/ext/live/s674.html.64",
|
137
|
+
"spec/ext/live/s674.html.65",
|
138
|
+
"spec/ext/live/s674.html.66",
|
139
|
+
"spec/ext/live/s674.html.67",
|
140
|
+
"spec/ext/live/s674.html.68",
|
141
|
+
"spec/ext/live/s674.html.69",
|
142
|
+
"spec/ext/live/s674.html.7",
|
143
|
+
"spec/ext/live/s674.html.70",
|
144
|
+
"spec/ext/live/s674.html.71",
|
145
|
+
"spec/ext/live/s674.html.72",
|
146
|
+
"spec/ext/live/s674.html.73",
|
147
|
+
"spec/ext/live/s674.html.74",
|
148
|
+
"spec/ext/live/s674.html.75",
|
149
|
+
"spec/ext/live/s674.html.76",
|
150
|
+
"spec/ext/live/s674.html.77",
|
151
|
+
"spec/ext/live/s674.html.78",
|
152
|
+
"spec/ext/live/s674.html.79",
|
153
|
+
"spec/ext/live/s674.html.8",
|
154
|
+
"spec/ext/live/s674.html.80",
|
155
|
+
"spec/ext/live/s674.html.81",
|
156
|
+
"spec/ext/live/s674.html.82",
|
157
|
+
"spec/ext/live/s674.html.83",
|
158
|
+
"spec/ext/live/s674.html.84",
|
159
|
+
"spec/ext/live/s674.html.85",
|
160
|
+
"spec/ext/live/s674.html.86",
|
161
|
+
"spec/ext/live/s674.html.87",
|
162
|
+
"spec/ext/live/s674.html.88",
|
163
|
+
"spec/ext/live/s674.html.89",
|
164
|
+
"spec/ext/live/s674.html.9",
|
165
|
+
"spec/ext/live/s674.html.90",
|
166
|
+
"spec/ext/live/s674.html.91",
|
167
|
+
"spec/ext/live/s674.html.92",
|
168
|
+
"spec/ext/live/s674.html.93",
|
169
|
+
"spec/ext/live/s674.html.94",
|
170
|
+
"spec/ext/live/s674.html.95",
|
171
|
+
"spec/ext/live/s674.html.96",
|
172
|
+
"spec/ext/live/s674.html.97",
|
173
|
+
"spec/ext/live/s674.html.98",
|
174
|
+
"spec/ext/live/s674.html.99",
|
175
|
+
"spec/ext/nikkansports.txt",
|
176
|
+
"spec/spec.opts",
|
177
|
+
"spec/spec_helper.rb"
|
152
178
|
]
|
153
179
|
s.homepage = %q{http://github.com/niku/consadole_aggregator}
|
154
|
-
s.
|
180
|
+
s.licenses = ["MIT"]
|
155
181
|
s.require_paths = ["lib"]
|
156
|
-
s.
|
157
|
-
s.
|
158
|
-
s.summary = %q{Consadole Sapporo's Information Aggregator}
|
182
|
+
s.rubygems_version = %q{1.5.2}
|
183
|
+
s.summary = %q{It aggregates infomation of 'Consadole Sapporo'}
|
159
184
|
s.test_files = [
|
160
|
-
"spec/
|
161
|
-
|
162
|
-
|
185
|
+
"spec/consadole_aggregator/helper_spec.rb",
|
186
|
+
"spec/consadole_aggregator/live/timeline_spec.rb",
|
187
|
+
"spec/consadole_aggregator/live_spec.rb",
|
188
|
+
"spec/consadole_aggregator/news_spec.rb",
|
189
|
+
"spec/spec_helper.rb"
|
163
190
|
]
|
164
191
|
|
165
192
|
if s.respond_to? :specification_version then
|
166
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
167
193
|
s.specification_version = 3
|
168
194
|
|
169
|
-
if Gem::Version.new(Gem::
|
170
|
-
s.add_development_dependency(%q<hpricot>, [">= 0"])
|
195
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
171
196
|
s.add_development_dependency(%q<rspec>, [">= 0"])
|
197
|
+
s.add_development_dependency(%q<bundler>, [">= 0"])
|
198
|
+
s.add_development_dependency(%q<jeweler>, [">= 0"])
|
199
|
+
s.add_development_dependency(%q<rcov>, [">= 0"])
|
200
|
+
s.add_development_dependency(%q<nokogiri>, [">= 0"])
|
201
|
+
s.add_development_dependency(%q<oauth>, [">= 0"])
|
202
|
+
s.add_development_dependency(%q<rubytter>, [">= 0"])
|
172
203
|
else
|
173
|
-
s.add_dependency(%q<hpricot>, [">= 0"])
|
174
204
|
s.add_dependency(%q<rspec>, [">= 0"])
|
205
|
+
s.add_dependency(%q<bundler>, [">= 0"])
|
206
|
+
s.add_dependency(%q<jeweler>, [">= 0"])
|
207
|
+
s.add_dependency(%q<rcov>, [">= 0"])
|
208
|
+
s.add_dependency(%q<nokogiri>, [">= 0"])
|
209
|
+
s.add_dependency(%q<oauth>, [">= 0"])
|
210
|
+
s.add_dependency(%q<rubytter>, [">= 0"])
|
175
211
|
end
|
176
212
|
else
|
177
|
-
s.add_dependency(%q<hpricot>, [">= 0"])
|
178
213
|
s.add_dependency(%q<rspec>, [">= 0"])
|
214
|
+
s.add_dependency(%q<bundler>, [">= 0"])
|
215
|
+
s.add_dependency(%q<jeweler>, [">= 0"])
|
216
|
+
s.add_dependency(%q<rcov>, [">= 0"])
|
217
|
+
s.add_dependency(%q<nokogiri>, [">= 0"])
|
218
|
+
s.add_dependency(%q<oauth>, [">= 0"])
|
219
|
+
s.add_dependency(%q<rubytter>, [">= 0"])
|
179
220
|
end
|
180
221
|
end
|
181
222
|
|
data/db/.gitignore
ADDED
File without changes
|