shindan 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +50 -0
- data/.rubocop.yml +1 -0
- data/Gemfile +4 -11
- data/README.md +4 -1
- data/Rakefile +9 -39
- data/bin/shindan +8 -21
- data/bin/shindan-open +8 -20
- data/lib/shindan.rb +25 -37
- data/rubocop-todo.yml +6 -0
- data/shindan.gemspec +32 -0
- data/spec/shindan_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -2
- metadata +46 -140
- data/.document +0 -5
- data/Gemfile.lock +0 -51
- data/VERSION +0 -1
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 4cdf2793aa37218532aaaa0026e0d0de4709c44a
|
4
|
+
data.tar.gz: 333284b0acd1fcc3f261ed4514333603b84e3c29
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 8f6126382a29d5ebd770e6d33b01896fc8e2e6901e1b5acfa7d50801a619a4c95f535994b98699051d1b29b96cdba884718bb43971ee9b669f30b50b6bab0051
|
7
|
+
data.tar.gz: 28527d5be887d5e3a820beaf7b0ad1448214a2fcc99bbdfc169bbe594c49d944538c5406a65100ad93b175c54c48061b0be0d5052dcf83feb8f3fc17829d1ad4
|
data/.gitignore
ADDED
@@ -0,0 +1,50 @@
|
|
1
|
+
# rcov generated
|
2
|
+
coverage
|
3
|
+
coverage.data
|
4
|
+
|
5
|
+
# rdoc generated
|
6
|
+
rdoc
|
7
|
+
|
8
|
+
# yard generated
|
9
|
+
doc
|
10
|
+
.yardoc
|
11
|
+
|
12
|
+
# bundler
|
13
|
+
.bundle
|
14
|
+
Gemfile.lock
|
15
|
+
|
16
|
+
# jeweler generated
|
17
|
+
pkg
|
18
|
+
|
19
|
+
# Have editor/IDE/OS specific files you need to ignore? Consider using a global gitignore:
|
20
|
+
#
|
21
|
+
# * Create a file at ~/.gitignore
|
22
|
+
# * Include files you want ignored
|
23
|
+
# * Run: git config --global core.excludesfile ~/.gitignore
|
24
|
+
#
|
25
|
+
# After doing this, these files will be ignored in all your git projects,
|
26
|
+
# saving you from having to 'pollute' every project you touch with them
|
27
|
+
#
|
28
|
+
# Not sure what to needs to be ignored for particular editors/OSes? Here's some ideas to get you started. (Remember, remove the leading # of the line)
|
29
|
+
#
|
30
|
+
# For MacOS:
|
31
|
+
#
|
32
|
+
#.DS_Store
|
33
|
+
|
34
|
+
# For TextMate
|
35
|
+
#*.tmproj
|
36
|
+
#tmtags
|
37
|
+
|
38
|
+
# For emacs:
|
39
|
+
#*~
|
40
|
+
#\#*
|
41
|
+
#.\#*
|
42
|
+
|
43
|
+
# For vim:
|
44
|
+
#*.swp
|
45
|
+
|
46
|
+
# For redcar:
|
47
|
+
#.redcar
|
48
|
+
|
49
|
+
# For rubinius:
|
50
|
+
#*.rbc
|
data/.rubocop.yml
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
inherit_from: rubocop-todo.yml
|
data/Gemfile
CHANGED
@@ -1,17 +1,10 @@
|
|
1
|
-
source
|
2
|
-
# Add dependencies required to use your gem here.
|
3
|
-
# Example:
|
4
|
-
# gem "activesupport", ">= 2.3.5"
|
5
|
-
|
6
|
-
gem "mechanize"
|
1
|
+
source 'http://rubygems.org'
|
7
2
|
|
3
|
+
gemspec
|
8
4
|
|
9
5
|
# Add dependencies to develop your gem here.
|
10
6
|
# Include everything needed to run rake, tests, features, etc.
|
11
7
|
group :development do
|
12
|
-
gem
|
13
|
-
gem
|
14
|
-
gem "bundler", "~> 1.0.0"
|
15
|
-
gem "jeweler", "~> 1.8.3"
|
16
|
-
gem "rcov", ">= 0"
|
8
|
+
gem 'rspec', '~> 2.14.1'
|
9
|
+
gem 'rubocop', '~> 0.18.1'
|
17
10
|
end
|
data/README.md
CHANGED
@@ -1,10 +1,13 @@
|
|
1
1
|
# shindan
|
2
|
+
[![Gem Version](https://badge.fury.io/rb/shindan.png)](http://badge.fury.io/rb/shindan)
|
3
|
+
[![Code Climate](https://codeclimate.com/github/yasuhito/shindan.png)](https://codeclimate.com/github/yasuhito/shindan)
|
4
|
+
[![Dependency Status](https://gemnasium.com/yasuhito/shindan.png)](https://gemnasium.com/yasuhito/shindan)
|
2
5
|
|
3
6
|
診断メーカー http://shindanmaker.com/ を Ruby から使うためのライブラリです。
|
4
7
|
|
5
8
|
|
6
9
|
## Contributing to shindan
|
7
|
-
|
10
|
+
|
8
11
|
* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
|
9
12
|
* Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
|
10
13
|
* Fork the project.
|
data/Rakefile
CHANGED
@@ -1,30 +1,8 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
|
3
2
|
require 'rubygems'
|
4
|
-
require 'bundler'
|
5
|
-
begin
|
6
|
-
Bundler.setup(:default, :development)
|
7
|
-
rescue Bundler::BundlerError => e
|
8
|
-
$stderr.puts e.message
|
9
|
-
$stderr.puts "Run `bundle install` to install missing gems"
|
10
|
-
exit e.status_code
|
11
|
-
end
|
12
|
-
require 'rake'
|
3
|
+
require 'bundler/gem_tasks'
|
13
4
|
|
14
|
-
|
15
|
-
Jeweler::Tasks.new do |gem|
|
16
|
-
# gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
|
17
|
-
gem.version = File.read("VERSION").chomp
|
18
|
-
gem.name = "shindan"
|
19
|
-
gem.homepage = "http://github.com/yasuhito/shindan"
|
20
|
-
gem.license = "GPL3"
|
21
|
-
gem.summary = %Q{shindan maker for Ruby}
|
22
|
-
gem.description = %Q{shindan maker (http://shindanmaker.com/) wrapper library}
|
23
|
-
gem.email = "yasuhito@gmail.com"
|
24
|
-
gem.authors = ["Yasuhito Takamiya"]
|
25
|
-
# dependencies defined in Gemfile
|
26
|
-
end
|
27
|
-
Jeweler::RubygemsDotOrgTasks.new
|
5
|
+
task default: [:spec, :rubocop]
|
28
6
|
|
29
7
|
require 'rspec/core'
|
30
8
|
require 'rspec/core/rake_task'
|
@@ -32,19 +10,11 @@ RSpec::Core::RakeTask.new(:spec) do |spec|
|
|
32
10
|
spec.pattern = FileList['spec/**/*_spec.rb']
|
33
11
|
end
|
34
12
|
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
require 'rdoc/task'
|
43
|
-
Rake::RDocTask.new do |rdoc|
|
44
|
-
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
45
|
-
|
46
|
-
rdoc.rdoc_dir = 'rdoc'
|
47
|
-
rdoc.title = "shindan #{version}"
|
48
|
-
rdoc.rdoc_files.include('README*')
|
49
|
-
rdoc.rdoc_files.include('lib/**/*.rb')
|
13
|
+
require 'rubocop/rake_task'
|
14
|
+
Rubocop::RakeTask.new do |task|
|
15
|
+
task.patterns = %w(lib/**/*.rb
|
16
|
+
spec/**/*.rb
|
17
|
+
Rakefile
|
18
|
+
Gemfile
|
19
|
+
shindan.gemspec)
|
50
20
|
end
|
data/bin/shindan
CHANGED
@@ -1,29 +1,16 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
-
# -*- coding: utf-8 -*-
|
3
2
|
#
|
4
|
-
#
|
5
|
-
#
|
6
|
-
# % ./bin/shindan "高宮 安仁"
|
7
|
-
# 高宮 安仁が生まれてきた使命・・・『地 球 に 降 り 注 ぐ 隕 石 を 食 い 止 め 人 類 を 滅 亡 か ら 救 う 為』
|
8
|
-
#
|
9
|
-
# 診断を変えたいときには、診断メーカーの URL の最後の数字、たとえば
|
10
|
-
# http://shindanmaker.com/189037 であれば 189037 の部分を第二引数に渡してください。
|
11
|
-
#
|
12
|
-
# % ./bin/shindan "高宮 安仁" 189037
|
13
|
-
#
|
14
|
-
|
15
|
-
|
16
|
-
$LOAD_PATH.unshift File.expand_path( File.join File.dirname( __FILE__ ), "..", "lib" )
|
17
|
-
|
18
|
-
|
19
|
-
require "shindan"
|
3
|
+
# % ./bin/shindan YOUR_NAME
|
4
|
+
# % ./bin/shindan YOUR_NAME SHINDAN_ID
|
20
5
|
|
6
|
+
$LOAD_PATH.unshift File.expand_path(File.join __dir__, '..', 'lib')
|
21
7
|
|
22
|
-
|
8
|
+
require 'shindan'
|
23
9
|
|
10
|
+
DEFAULT_SHINDAN_ID = 163_723
|
24
11
|
|
25
|
-
if ARGV[
|
26
|
-
puts "Usage: #{
|
12
|
+
if ARGV[0].nil?
|
13
|
+
puts "Usage: #{__FILE__} YOUR_NAME [SHINDAN_ID]"
|
27
14
|
exit false
|
28
15
|
end
|
29
|
-
puts Shindan.new(
|
16
|
+
puts Shindan.new(ARGV[1] || DEFAULT_SHINDAN_ID).get(ARGV[0])
|
data/bin/shindan-open
CHANGED
@@ -1,28 +1,16 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
-
# -*- coding: utf-8 -*-
|
3
2
|
#
|
4
|
-
#
|
5
|
-
#
|
6
|
-
# % ./bin/shindan-open "高宮 安仁"
|
7
|
-
#
|
8
|
-
# 診断を変えたいときには、診断メーカーの URL の最後の数字、たとえば
|
9
|
-
# http://shindanmaker.com/189037 であれば 189037 の部分を第二引数に渡してください。
|
10
|
-
#
|
11
|
-
# % ./bin/shindan-open "高宮 安仁" 189037
|
12
|
-
#
|
13
|
-
|
14
|
-
|
15
|
-
$LOAD_PATH.unshift File.expand_path( File.join File.dirname( __FILE__ ), "..", "lib" )
|
16
|
-
|
17
|
-
|
18
|
-
require "shindan"
|
3
|
+
# % ./bin/shindan-open YOUR_NAME
|
4
|
+
# % ./bin/shindan-open YOUR_NAME SHINDAN_ID
|
19
5
|
|
6
|
+
$LOAD_PATH.unshift File.expand_path(File.join __dir__, '..', 'lib')
|
20
7
|
|
21
|
-
|
8
|
+
require 'shindan'
|
22
9
|
|
10
|
+
DEFAULT_SHINDAN_ID = 163_723
|
23
11
|
|
24
|
-
if ARGV[
|
25
|
-
puts "Usage: #{
|
12
|
+
if ARGV[0].nil?
|
13
|
+
puts "Usage: #{__FILE__} YOUR_NAME [SHINDAN_ID]"
|
26
14
|
exit false
|
27
15
|
end
|
28
|
-
Shindan.new(
|
16
|
+
Shindan.new(ARGV[1] || DEFAULT_SHINDAN_ID).open ARGV[0]
|
data/lib/shindan.rb
CHANGED
@@ -1,80 +1,68 @@
|
|
1
|
-
require
|
2
|
-
|
3
|
-
require "kconv"
|
4
|
-
require "mechanize"
|
5
|
-
require "tempfile"
|
1
|
+
require 'rubygems'
|
6
2
|
|
3
|
+
require 'kconv'
|
4
|
+
require 'mechanize'
|
5
|
+
require 'tempfile'
|
7
6
|
|
7
|
+
# Shindan Maker Ruby Library
|
8
8
|
class Shindan
|
9
|
-
|
10
|
-
|
9
|
+
VERSION = '0.4.0'
|
10
|
+
URL = 'http://shindanmaker.com/'
|
11
11
|
|
12
|
-
def initialize
|
12
|
+
def initialize(shindan_id)
|
13
13
|
@shindan_id = shindan_id
|
14
14
|
end
|
15
15
|
|
16
|
-
|
17
|
-
|
18
|
-
shindan( name ).search( "div.result" ).inner_text.strip
|
16
|
+
def get(name)
|
17
|
+
shindan(name).search('div.result').inner_text.strip
|
19
18
|
end
|
20
19
|
|
21
|
-
|
22
|
-
|
23
|
-
system "x-www-browser #{ temp_html shindan( name ).body }"
|
20
|
+
def open(name)
|
21
|
+
system "x-www-browser #{temp_html shindan(name).body}"
|
24
22
|
end
|
25
23
|
|
26
|
-
|
27
|
-
##############################################################################
|
28
24
|
private
|
29
|
-
##############################################################################
|
30
|
-
|
31
25
|
|
32
26
|
def css
|
33
27
|
"#{ URL }/css/pc8.css"
|
34
28
|
end
|
35
29
|
|
36
|
-
|
37
30
|
def logo
|
38
31
|
"#{ URL }/img/logo_head.png"
|
39
32
|
end
|
40
33
|
|
41
|
-
|
42
34
|
def hatena_haiku
|
43
35
|
"#{ URL }/img/hatenahaiku.png"
|
44
36
|
end
|
45
37
|
|
46
|
-
|
47
38
|
def mixi_voice
|
48
39
|
"#{ URL }/img/mixivoice.png"
|
49
40
|
end
|
50
41
|
|
51
|
-
|
52
|
-
def shindan name
|
42
|
+
def shindan(name)
|
53
43
|
agent = Mechanize.new
|
54
|
-
agent.get "#{
|
55
|
-
agent.page.form_with(
|
56
|
-
form[
|
44
|
+
agent.get "#{URL}/#{@shindan_id}"
|
45
|
+
agent.page.form_with(name: 'enter') do | form |
|
46
|
+
form['u'] = name.toutf8
|
57
47
|
form.click_button
|
58
48
|
end
|
59
49
|
agent.page
|
60
50
|
end
|
61
51
|
|
62
|
-
|
63
|
-
|
64
|
-
t
|
65
|
-
t.puts rewrite( body )
|
52
|
+
def temp_html(body)
|
53
|
+
t = Tempfile.new('shindan')
|
54
|
+
t.puts rewrite(body)
|
66
55
|
t.close
|
67
|
-
html = t.path +
|
56
|
+
html = t.path + '.html'
|
68
57
|
FileUtils.mv t.path, html
|
69
58
|
html
|
70
59
|
end
|
71
60
|
|
72
|
-
|
73
|
-
def rewrite body
|
61
|
+
def rewrite(body)
|
74
62
|
result = body.dup
|
75
|
-
result.gsub!
|
76
|
-
result.gsub!
|
77
|
-
result.gsub!
|
78
|
-
result.gsub!
|
63
|
+
result.gsub! %r{/css/pc8\.css}, css
|
64
|
+
result.gsub! %r{/img/logo_head\.png}, logo
|
65
|
+
result.gsub! %r{/img/mixivoice\.png}, mixi_voice
|
66
|
+
result.gsub! %r{/img/hatenahaiku\.png}, hatena_haiku
|
79
67
|
end
|
80
68
|
end
|
data/rubocop-todo.yml
ADDED
@@ -0,0 +1,6 @@
|
|
1
|
+
# This configuration was generated by `rubocop --auto-gen-config`
|
2
|
+
# on 2014-02-28 09:18:39 +0900 using RuboCop version 0.18.1.
|
3
|
+
# The point is for the user to remove these configuration records
|
4
|
+
# one by one as the offences are removed from the code base.
|
5
|
+
# Note that changes in the inspected code, or installation of new
|
6
|
+
# versions of RuboCop, may require this file to be generated again.
|
data/shindan.gemspec
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'shindan'
|
5
|
+
|
6
|
+
Gem::Specification.new do | gem |
|
7
|
+
gem.name = 'shindan'
|
8
|
+
gem.version = Shindan::VERSION
|
9
|
+
gem.summary = 'Shindan maker for Ruby'
|
10
|
+
gem.description = 'Shindan maker (http://shindanmaker.com/) wrapper library.'
|
11
|
+
|
12
|
+
gem.license = 'GPL3'
|
13
|
+
|
14
|
+
gem.authors = ['Yasuhito Takamiya']
|
15
|
+
gem.email = ['yasuhito@gmail.com']
|
16
|
+
gem.homepage = 'http://github.com/yasuhito/shindan'
|
17
|
+
|
18
|
+
gem.files = `git ls-files`.split("\n")
|
19
|
+
|
20
|
+
gem.require_paths = ['lib']
|
21
|
+
|
22
|
+
gem.extra_rdoc_files = ['README.md']
|
23
|
+
gem.test_files = `git ls-files -- {spec,features}/*`.split("\n")
|
24
|
+
|
25
|
+
gem.add_dependency 'mechanize', '~> 2.7.3'
|
26
|
+
end
|
27
|
+
|
28
|
+
### Local variables:
|
29
|
+
### mode: Ruby
|
30
|
+
### coding: utf-8-unix
|
31
|
+
### indent-tabs-mode: nil
|
32
|
+
### End:
|
data/spec/shindan_spec.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
@@ -5,8 +5,7 @@ require 'shindan'
|
|
5
5
|
|
6
6
|
# Requires supporting files with custom matchers and macros, etc,
|
7
7
|
# in ./support/ and its subdirectories.
|
8
|
-
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
|
8
|
+
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
|
9
9
|
|
10
10
|
RSpec.configure do |config|
|
11
|
-
|
12
11
|
end
|
metadata
CHANGED
@@ -1,169 +1,75 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: shindan
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 3
|
9
|
-
- 0
|
10
|
-
version: 0.3.0
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.4.0
|
11
5
|
platform: ruby
|
12
|
-
authors:
|
6
|
+
authors:
|
13
7
|
- Yasuhito Takamiya
|
14
8
|
autorequire:
|
15
9
|
bindir: bin
|
16
10
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
dependencies:
|
21
|
-
- !ruby/object:Gem::Dependency
|
22
|
-
type: :runtime
|
23
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
-
none: false
|
25
|
-
requirements:
|
26
|
-
- - ">="
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
hash: 3
|
29
|
-
segments:
|
30
|
-
- 0
|
31
|
-
version: "0"
|
11
|
+
date: 2014-02-28 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
32
14
|
name: mechanize
|
33
|
-
|
34
|
-
|
35
|
-
- !ruby/object:Gem::Dependency
|
36
|
-
type: :development
|
37
|
-
requirement: &id002 !ruby/object:Gem::Requirement
|
38
|
-
none: false
|
39
|
-
requirements:
|
40
|
-
- - ~>
|
41
|
-
- !ruby/object:Gem::Version
|
42
|
-
hash: 47
|
43
|
-
segments:
|
44
|
-
- 2
|
45
|
-
- 8
|
46
|
-
- 0
|
47
|
-
version: 2.8.0
|
48
|
-
name: rspec
|
49
|
-
version_requirements: *id002
|
50
|
-
prerelease: false
|
51
|
-
- !ruby/object:Gem::Dependency
|
52
|
-
type: :development
|
53
|
-
requirement: &id003 !ruby/object:Gem::Requirement
|
54
|
-
none: false
|
55
|
-
requirements:
|
56
|
-
- - ~>
|
57
|
-
- !ruby/object:Gem::Version
|
58
|
-
hash: 31
|
59
|
-
segments:
|
60
|
-
- 3
|
61
|
-
- 12
|
62
|
-
version: "3.12"
|
63
|
-
name: rdoc
|
64
|
-
version_requirements: *id003
|
65
|
-
prerelease: false
|
66
|
-
- !ruby/object:Gem::Dependency
|
67
|
-
type: :development
|
68
|
-
requirement: &id004 !ruby/object:Gem::Requirement
|
69
|
-
none: false
|
70
|
-
requirements:
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
71
17
|
- - ~>
|
72
|
-
- !ruby/object:Gem::Version
|
73
|
-
|
74
|
-
|
75
|
-
- 1
|
76
|
-
- 0
|
77
|
-
- 0
|
78
|
-
version: 1.0.0
|
79
|
-
name: bundler
|
80
|
-
version_requirements: *id004
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 2.7.3
|
20
|
+
type: :runtime
|
81
21
|
prerelease: false
|
82
|
-
|
83
|
-
|
84
|
-
requirement: &id005 !ruby/object:Gem::Requirement
|
85
|
-
none: false
|
86
|
-
requirements:
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
87
24
|
- - ~>
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
version: 1.8.3
|
95
|
-
name: jeweler
|
96
|
-
version_requirements: *id005
|
97
|
-
prerelease: false
|
98
|
-
- !ruby/object:Gem::Dependency
|
99
|
-
type: :development
|
100
|
-
requirement: &id006 !ruby/object:Gem::Requirement
|
101
|
-
none: false
|
102
|
-
requirements:
|
103
|
-
- - ">="
|
104
|
-
- !ruby/object:Gem::Version
|
105
|
-
hash: 3
|
106
|
-
segments:
|
107
|
-
- 0
|
108
|
-
version: "0"
|
109
|
-
name: rcov
|
110
|
-
version_requirements: *id006
|
111
|
-
prerelease: false
|
112
|
-
description: shindan maker (http://shindanmaker.com/) wrapper library
|
113
|
-
email: yasuhito@gmail.com
|
114
|
-
executables:
|
115
|
-
- shindan-open
|
116
|
-
- shindan
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 2.7.3
|
27
|
+
description: Shindan maker (http://shindanmaker.com/) wrapper library.
|
28
|
+
email:
|
29
|
+
- yasuhito@gmail.com
|
30
|
+
executables: []
|
117
31
|
extensions: []
|
118
|
-
|
119
|
-
extra_rdoc_files:
|
32
|
+
extra_rdoc_files:
|
120
33
|
- README.md
|
121
|
-
files:
|
122
|
-
- .
|
34
|
+
files:
|
35
|
+
- .gitignore
|
36
|
+
- .rubocop.yml
|
123
37
|
- GPL3.txt
|
124
38
|
- Gemfile
|
125
|
-
- Gemfile.lock
|
126
39
|
- README.md
|
127
40
|
- Rakefile
|
128
|
-
- VERSION
|
129
41
|
- bin/shindan
|
130
42
|
- bin/shindan-open
|
131
43
|
- lib/shindan.rb
|
44
|
+
- rubocop-todo.yml
|
45
|
+
- shindan.gemspec
|
132
46
|
- spec/shindan_spec.rb
|
133
47
|
- spec/spec_helper.rb
|
134
|
-
has_rdoc: true
|
135
48
|
homepage: http://github.com/yasuhito/shindan
|
136
|
-
licenses:
|
49
|
+
licenses:
|
137
50
|
- GPL3
|
51
|
+
metadata: {}
|
138
52
|
post_install_message:
|
139
53
|
rdoc_options: []
|
140
|
-
|
141
|
-
require_paths:
|
54
|
+
require_paths:
|
142
55
|
- lib
|
143
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
none: false
|
154
|
-
requirements:
|
155
|
-
- - ">="
|
156
|
-
- !ruby/object:Gem::Version
|
157
|
-
hash: 3
|
158
|
-
segments:
|
159
|
-
- 0
|
160
|
-
version: "0"
|
56
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - '>='
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '0'
|
61
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
62
|
+
requirements:
|
63
|
+
- - '>='
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: '0'
|
161
66
|
requirements: []
|
162
|
-
|
163
67
|
rubyforge_project:
|
164
|
-
rubygems_version:
|
68
|
+
rubygems_version: 2.0.7
|
165
69
|
signing_key:
|
166
|
-
specification_version:
|
167
|
-
summary:
|
168
|
-
test_files:
|
169
|
-
|
70
|
+
specification_version: 4
|
71
|
+
summary: Shindan maker for Ruby
|
72
|
+
test_files:
|
73
|
+
- spec/shindan_spec.rb
|
74
|
+
- spec/spec_helper.rb
|
75
|
+
has_rdoc:
|
data/.document
DELETED
data/Gemfile.lock
DELETED
@@ -1,51 +0,0 @@
|
|
1
|
-
GEM
|
2
|
-
remote: http://rubygems.org/
|
3
|
-
specs:
|
4
|
-
diff-lcs (1.1.3)
|
5
|
-
domain_name (0.5.2)
|
6
|
-
unf (~> 0.0.3)
|
7
|
-
git (1.2.5)
|
8
|
-
jeweler (1.8.3)
|
9
|
-
bundler (~> 1.0)
|
10
|
-
git (>= 1.2.5)
|
11
|
-
rake
|
12
|
-
rdoc
|
13
|
-
json (1.6.5)
|
14
|
-
mechanize (2.1)
|
15
|
-
domain_name (~> 0.5, >= 0.5.1)
|
16
|
-
net-http-digest_auth (~> 1.1, >= 1.1.1)
|
17
|
-
net-http-persistent (~> 2.3, >= 2.3.2)
|
18
|
-
nokogiri (~> 1.4)
|
19
|
-
ntlm-http (~> 0.1, >= 0.1.1)
|
20
|
-
webrobots (~> 0.0, >= 0.0.9)
|
21
|
-
net-http-digest_auth (1.2)
|
22
|
-
net-http-persistent (2.4)
|
23
|
-
nokogiri (1.5.0)
|
24
|
-
ntlm-http (0.1.1)
|
25
|
-
rake (0.9.2.2)
|
26
|
-
rcov (1.0.0)
|
27
|
-
rdoc (3.12)
|
28
|
-
json (~> 1.4)
|
29
|
-
rspec (2.8.0)
|
30
|
-
rspec-core (~> 2.8.0)
|
31
|
-
rspec-expectations (~> 2.8.0)
|
32
|
-
rspec-mocks (~> 2.8.0)
|
33
|
-
rspec-core (2.8.0)
|
34
|
-
rspec-expectations (2.8.0)
|
35
|
-
diff-lcs (~> 1.1.2)
|
36
|
-
rspec-mocks (2.8.0)
|
37
|
-
unf (0.0.4)
|
38
|
-
unf_ext
|
39
|
-
unf_ext (0.0.4)
|
40
|
-
webrobots (0.0.13)
|
41
|
-
|
42
|
-
PLATFORMS
|
43
|
-
ruby
|
44
|
-
|
45
|
-
DEPENDENCIES
|
46
|
-
bundler (~> 1.0.0)
|
47
|
-
jeweler (~> 1.8.3)
|
48
|
-
mechanize
|
49
|
-
rcov
|
50
|
-
rdoc (~> 3.12)
|
51
|
-
rspec (~> 2.8.0)
|
data/VERSION
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
0.3.0
|