meimei 0.7.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +0 -2
- data/Gemfile.lock +39 -59
- data/VERSION +1 -1
- data/example/Gemfile +3 -0
- data/example/Gemfile.lock +92 -0
- data/example/start.rb +8 -0
- data/meimei.gemspec +40 -42
- data/plugins/eta.rb +42 -42
- data/plugins/gc.rb +2 -1
- data/plugins/weather.rb +4 -1
- metadata +25 -50
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c43cf567a3abe598229ff5f47f7e1536c15a445b
|
4
|
+
data.tar.gz: a0fa445fe4e1f313ce5a9d619e444e3ed99eb042
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aba79358fdf33c186713650d3dd40f62d6c4ece1feceb10651af57e07c304dfa71d0f4caeec9d6626fcf3d6b246069f54f6fbb5f1993c08bc23346d84896f64b
|
7
|
+
data.tar.gz: dcfbb08ed6dd74af48404e86cef6af343b7f0052c5a4b09e32a0e1bb47808529e1d3f7aa6579934cd01e62dd7053287b03f0a65423626e55b98dc7697f8c7b53
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,94 +1,74 @@
|
|
1
1
|
GEM
|
2
2
|
remote: https://rubygems.org/
|
3
3
|
specs:
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
minitest (~> 5.1)
|
8
|
-
thread_safe (~> 0.3, >= 0.3.4)
|
9
|
-
tzinfo (~> 1.1)
|
10
|
-
addressable (2.3.8)
|
11
|
-
builder (3.2.2)
|
12
|
-
coderay (1.1.0)
|
13
|
-
damerau-levenshtein (1.1.0)
|
14
|
-
bundler (~> 1.7)
|
15
|
-
json (~> 1.8)
|
16
|
-
rake (~> 10.4)
|
17
|
-
rake-compiler (~> 0.9)
|
4
|
+
addressable (2.4.0)
|
5
|
+
builder (3.2.3)
|
6
|
+
coderay (1.1.2)
|
18
7
|
descendants_tracker (0.0.4)
|
19
8
|
thread_safe (~> 0.3, >= 0.3.1)
|
20
|
-
faraday (0.9.
|
9
|
+
faraday (0.9.2)
|
21
10
|
multipart-post (>= 1.2, < 3)
|
22
|
-
git (1.
|
23
|
-
github_api (0.
|
24
|
-
addressable (~> 2.
|
11
|
+
git (1.3.0)
|
12
|
+
github_api (0.16.0)
|
13
|
+
addressable (~> 2.4.0)
|
25
14
|
descendants_tracker (~> 0.0.4)
|
26
15
|
faraday (~> 0.8, < 0.10)
|
27
|
-
hashie (>= 3.
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
i18n (0.7.0)
|
34
|
-
jeweler (2.0.1)
|
16
|
+
hashie (>= 3.4)
|
17
|
+
mime-types (>= 1.16, < 3.0)
|
18
|
+
oauth2 (~> 1.0)
|
19
|
+
hashie (3.5.7)
|
20
|
+
highline (1.7.10)
|
21
|
+
jeweler (2.3.9)
|
35
22
|
builder
|
36
|
-
bundler
|
23
|
+
bundler
|
37
24
|
git (>= 1.2.5)
|
38
|
-
github_api
|
25
|
+
github_api (~> 0.16.0)
|
39
26
|
highline (>= 1.6.15)
|
40
27
|
nokogiri (>= 1.5.10)
|
28
|
+
psych
|
41
29
|
rake
|
42
30
|
rdoc
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
31
|
+
semver2
|
32
|
+
json (2.1.0)
|
33
|
+
jwt (1.5.6)
|
34
|
+
method_source (0.9.0)
|
35
|
+
mime-types (2.99.3)
|
36
|
+
mini_portile2 (2.3.0)
|
37
|
+
multi_json (1.13.1)
|
38
|
+
multi_xml (0.6.0)
|
50
39
|
multipart-post (2.0.0)
|
51
|
-
nokogiri (1.
|
52
|
-
|
53
|
-
oauth2 (1.
|
54
|
-
faraday (>= 0.8, < 0.
|
40
|
+
nokogiri (1.8.2)
|
41
|
+
mini_portile2 (~> 2.3.0)
|
42
|
+
oauth2 (1.4.0)
|
43
|
+
faraday (>= 0.8, < 0.13)
|
55
44
|
jwt (~> 1.0)
|
56
45
|
multi_json (~> 1.3)
|
57
46
|
multi_xml (~> 0.5)
|
58
|
-
rack (
|
59
|
-
pry (0.
|
47
|
+
rack (>= 1.2, < 3)
|
48
|
+
pry (0.11.3)
|
60
49
|
coderay (~> 1.1.0)
|
61
|
-
method_source (~> 0.
|
62
|
-
|
63
|
-
rack (
|
64
|
-
rake (
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
slop (3.6.0)
|
70
|
-
thread_safe (0.3.5)
|
71
|
-
time_difference (0.4.2)
|
72
|
-
activesupport
|
73
|
-
timezone (0.6.0)
|
74
|
-
tzinfo (1.2.2)
|
75
|
-
thread_safe (~> 0.1)
|
50
|
+
method_source (~> 0.9.0)
|
51
|
+
psych (3.0.2)
|
52
|
+
rack (2.0.4)
|
53
|
+
rake (12.3.0)
|
54
|
+
rdoc (6.0.1)
|
55
|
+
semver2 (3.4.2)
|
56
|
+
thread_safe (0.3.6)
|
57
|
+
timezone (1.2.10)
|
76
58
|
yahoofinance (1.2.2)
|
77
59
|
|
78
60
|
PLATFORMS
|
79
61
|
ruby
|
80
62
|
|
81
63
|
DEPENDENCIES
|
82
|
-
damerau-levenshtein
|
83
64
|
jeweler
|
84
65
|
json
|
85
66
|
nokogiri
|
86
67
|
pry
|
87
68
|
rake
|
88
69
|
rdoc
|
89
|
-
time_difference
|
90
70
|
timezone
|
91
71
|
yahoofinance
|
92
72
|
|
93
73
|
BUNDLED WITH
|
94
|
-
1.
|
74
|
+
1.15.3
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.8.0
|
data/example/Gemfile
ADDED
@@ -0,0 +1,92 @@
|
|
1
|
+
GEM
|
2
|
+
remote: https://rubygems.org/
|
3
|
+
specs:
|
4
|
+
activesupport (5.1.5)
|
5
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
6
|
+
i18n (~> 0.7)
|
7
|
+
minitest (~> 5.1)
|
8
|
+
tzinfo (~> 1.1)
|
9
|
+
addressable (2.4.0)
|
10
|
+
builder (3.2.3)
|
11
|
+
coderay (1.1.2)
|
12
|
+
concurrent-ruby (1.0.5)
|
13
|
+
damerau-levenshtein (1.3.1)
|
14
|
+
descendants_tracker (0.0.4)
|
15
|
+
thread_safe (~> 0.3, >= 0.3.1)
|
16
|
+
faraday (0.9.2)
|
17
|
+
multipart-post (>= 1.2, < 3)
|
18
|
+
git (1.3.0)
|
19
|
+
github_api (0.16.0)
|
20
|
+
addressable (~> 2.4.0)
|
21
|
+
descendants_tracker (~> 0.0.4)
|
22
|
+
faraday (~> 0.8, < 0.10)
|
23
|
+
hashie (>= 3.4)
|
24
|
+
mime-types (>= 1.16, < 3.0)
|
25
|
+
oauth2 (~> 1.0)
|
26
|
+
hashie (3.5.7)
|
27
|
+
highline (1.7.10)
|
28
|
+
i18n (0.9.5)
|
29
|
+
concurrent-ruby (~> 1.0)
|
30
|
+
jeweler (2.3.9)
|
31
|
+
builder
|
32
|
+
bundler
|
33
|
+
git (>= 1.2.5)
|
34
|
+
github_api (~> 0.16.0)
|
35
|
+
highline (>= 1.6.15)
|
36
|
+
nokogiri (>= 1.5.10)
|
37
|
+
psych
|
38
|
+
rake
|
39
|
+
rdoc
|
40
|
+
semver2
|
41
|
+
json (2.1.0)
|
42
|
+
jwt (1.5.6)
|
43
|
+
meimei (0.7.0)
|
44
|
+
damerau-levenshtein
|
45
|
+
jeweler
|
46
|
+
json
|
47
|
+
nokogiri
|
48
|
+
pry
|
49
|
+
rake
|
50
|
+
rdoc
|
51
|
+
time_difference
|
52
|
+
timezone
|
53
|
+
yahoofinance
|
54
|
+
method_source (0.9.0)
|
55
|
+
mime-types (2.99.3)
|
56
|
+
mini_portile2 (2.3.0)
|
57
|
+
minitest (5.11.3)
|
58
|
+
multi_json (1.13.1)
|
59
|
+
multi_xml (0.6.0)
|
60
|
+
multipart-post (2.0.0)
|
61
|
+
nokogiri (1.8.2)
|
62
|
+
mini_portile2 (~> 2.3.0)
|
63
|
+
oauth2 (1.4.0)
|
64
|
+
faraday (>= 0.8, < 0.13)
|
65
|
+
jwt (~> 1.0)
|
66
|
+
multi_json (~> 1.3)
|
67
|
+
multi_xml (~> 0.5)
|
68
|
+
rack (>= 1.2, < 3)
|
69
|
+
pry (0.11.3)
|
70
|
+
coderay (~> 1.1.0)
|
71
|
+
method_source (~> 0.9.0)
|
72
|
+
psych (3.0.2)
|
73
|
+
rack (2.0.4)
|
74
|
+
rake (12.3.0)
|
75
|
+
rdoc (6.0.1)
|
76
|
+
semver2 (3.4.2)
|
77
|
+
thread_safe (0.3.6)
|
78
|
+
time_difference (0.7.0)
|
79
|
+
activesupport (~> 5.1)
|
80
|
+
timezone (1.2.10)
|
81
|
+
tzinfo (1.2.5)
|
82
|
+
thread_safe (~> 0.1)
|
83
|
+
yahoofinance (1.2.2)
|
84
|
+
|
85
|
+
PLATFORMS
|
86
|
+
ruby
|
87
|
+
|
88
|
+
DEPENDENCIES
|
89
|
+
meimei
|
90
|
+
|
91
|
+
BUNDLED WITH
|
92
|
+
1.15.3
|
data/example/start.rb
ADDED
data/meimei.gemspec
CHANGED
@@ -2,16 +2,18 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
+
# stub: meimei 0.8.0 ruby lib
|
5
6
|
|
6
7
|
Gem::Specification.new do |s|
|
7
|
-
s.name = "meimei"
|
8
|
-
s.version = "0.
|
8
|
+
s.name = "meimei".freeze
|
9
|
+
s.version = "0.8.0"
|
9
10
|
|
10
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.
|
12
|
-
s.
|
13
|
-
s.
|
14
|
-
s.
|
11
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
12
|
+
s.require_paths = ["lib".freeze]
|
13
|
+
s.authors = ["r888888888".freeze]
|
14
|
+
s.date = "2018-03-02"
|
15
|
+
s.description = "If all you need is a simple infobot and don't need a full RFC1459 implementation.".freeze
|
16
|
+
s.email = "r888888888@gmail.com".freeze
|
15
17
|
s.extra_rdoc_files = [
|
16
18
|
"LICENSE.txt",
|
17
19
|
"README.rdoc"
|
@@ -25,6 +27,9 @@ Gem::Specification.new do |s|
|
|
25
27
|
"Rakefile",
|
26
28
|
"VERSION",
|
27
29
|
"cron.sh",
|
30
|
+
"example/Gemfile",
|
31
|
+
"example/Gemfile.lock",
|
32
|
+
"example/start.rb",
|
28
33
|
"lib/meimei.rb",
|
29
34
|
"lib/meimei/array_extensions.rb",
|
30
35
|
"lib/meimei/client.rb",
|
@@ -73,49 +78,42 @@ Gem::Specification.new do |s|
|
|
73
78
|
"test/helper.rb",
|
74
79
|
"test/test_meimei.rb"
|
75
80
|
]
|
76
|
-
s.homepage = "http://github.com/r888888888/meimei"
|
77
|
-
s.licenses = ["MIT"]
|
78
|
-
s.
|
79
|
-
s.
|
80
|
-
s.summary = "Minimalistic IRC bot framework"
|
81
|
+
s.homepage = "http://github.com/r888888888/meimei".freeze
|
82
|
+
s.licenses = ["MIT".freeze]
|
83
|
+
s.rubygems_version = "2.6.11".freeze
|
84
|
+
s.summary = "Minimalistic IRC bot framework".freeze
|
81
85
|
|
82
86
|
if s.respond_to? :specification_version then
|
83
87
|
s.specification_version = 4
|
84
88
|
|
85
89
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
86
|
-
s.add_runtime_dependency(%q<jeweler
|
87
|
-
s.add_runtime_dependency(%q<rake
|
88
|
-
s.add_runtime_dependency(%q<rdoc
|
89
|
-
s.add_runtime_dependency(%q<nokogiri
|
90
|
-
s.add_runtime_dependency(%q<json
|
91
|
-
s.add_runtime_dependency(%q<
|
92
|
-
s.add_runtime_dependency(%q<
|
93
|
-
s.add_runtime_dependency(%q<
|
94
|
-
s.add_runtime_dependency(%q<yahoofinance>, [">= 0"])
|
95
|
-
s.add_runtime_dependency(%q<timezone>, [">= 0"])
|
90
|
+
s.add_runtime_dependency(%q<jeweler>.freeze, [">= 0"])
|
91
|
+
s.add_runtime_dependency(%q<rake>.freeze, [">= 0"])
|
92
|
+
s.add_runtime_dependency(%q<rdoc>.freeze, [">= 0"])
|
93
|
+
s.add_runtime_dependency(%q<nokogiri>.freeze, [">= 0"])
|
94
|
+
s.add_runtime_dependency(%q<json>.freeze, [">= 0"])
|
95
|
+
s.add_runtime_dependency(%q<pry>.freeze, [">= 0"])
|
96
|
+
s.add_runtime_dependency(%q<yahoofinance>.freeze, [">= 0"])
|
97
|
+
s.add_runtime_dependency(%q<timezone>.freeze, [">= 0"])
|
96
98
|
else
|
97
|
-
s.add_dependency(%q<jeweler
|
98
|
-
s.add_dependency(%q<rake
|
99
|
-
s.add_dependency(%q<rdoc
|
100
|
-
s.add_dependency(%q<nokogiri
|
101
|
-
s.add_dependency(%q<json
|
102
|
-
s.add_dependency(%q<
|
103
|
-
s.add_dependency(%q<
|
104
|
-
s.add_dependency(%q<
|
105
|
-
s.add_dependency(%q<yahoofinance>, [">= 0"])
|
106
|
-
s.add_dependency(%q<timezone>, [">= 0"])
|
99
|
+
s.add_dependency(%q<jeweler>.freeze, [">= 0"])
|
100
|
+
s.add_dependency(%q<rake>.freeze, [">= 0"])
|
101
|
+
s.add_dependency(%q<rdoc>.freeze, [">= 0"])
|
102
|
+
s.add_dependency(%q<nokogiri>.freeze, [">= 0"])
|
103
|
+
s.add_dependency(%q<json>.freeze, [">= 0"])
|
104
|
+
s.add_dependency(%q<pry>.freeze, [">= 0"])
|
105
|
+
s.add_dependency(%q<yahoofinance>.freeze, [">= 0"])
|
106
|
+
s.add_dependency(%q<timezone>.freeze, [">= 0"])
|
107
107
|
end
|
108
108
|
else
|
109
|
-
s.add_dependency(%q<jeweler
|
110
|
-
s.add_dependency(%q<rake
|
111
|
-
s.add_dependency(%q<rdoc
|
112
|
-
s.add_dependency(%q<nokogiri
|
113
|
-
s.add_dependency(%q<json
|
114
|
-
s.add_dependency(%q<
|
115
|
-
s.add_dependency(%q<
|
116
|
-
s.add_dependency(%q<
|
117
|
-
s.add_dependency(%q<yahoofinance>, [">= 0"])
|
118
|
-
s.add_dependency(%q<timezone>, [">= 0"])
|
109
|
+
s.add_dependency(%q<jeweler>.freeze, [">= 0"])
|
110
|
+
s.add_dependency(%q<rake>.freeze, [">= 0"])
|
111
|
+
s.add_dependency(%q<rdoc>.freeze, [">= 0"])
|
112
|
+
s.add_dependency(%q<nokogiri>.freeze, [">= 0"])
|
113
|
+
s.add_dependency(%q<json>.freeze, [">= 0"])
|
114
|
+
s.add_dependency(%q<pry>.freeze, [">= 0"])
|
115
|
+
s.add_dependency(%q<yahoofinance>.freeze, [">= 0"])
|
116
|
+
s.add_dependency(%q<timezone>.freeze, [">= 0"])
|
119
117
|
end
|
120
118
|
end
|
121
119
|
|
data/plugins/eta.rb
CHANGED
@@ -1,47 +1,47 @@
|
|
1
|
-
require 'rubygems'
|
2
|
-
require 'net/http'
|
3
|
-
require 'json'
|
4
|
-
require 'damerau-levenshtein'
|
5
|
-
require 'time_difference'
|
1
|
+
# require 'rubygems'
|
2
|
+
# require 'net/http'
|
3
|
+
# require 'json'
|
4
|
+
# require 'damerau-levenshtein'
|
5
|
+
# require 'time_difference'
|
6
6
|
|
7
|
-
define_plugin("!eta") do |msg|
|
8
|
-
|
7
|
+
# define_plugin("!eta") do |msg|
|
8
|
+
# query = Regexp.compile(Regexp.escape(msg.downcase.gsub(/[^a-z0-9 ]+/, " ")), Regexp::IGNORECASE)
|
9
9
|
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
10
|
+
# if msg.strip == ""
|
11
|
+
# reply "http://www.mahou.org/Showtime"
|
12
|
+
# else
|
13
|
+
# Net::HTTP.start("anime.yshi.org", 80) do |http|
|
14
|
+
# resp = http.get("/api/calendar/upcoming/all")
|
15
|
+
# if resp.code !~ /200/
|
16
|
+
# reply "Could not fetch web page, try again later"
|
17
|
+
# break
|
18
|
+
# end
|
19
19
|
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
20
|
+
# answer = "Show not found"
|
21
|
+
# json = JSON.parse(resp.body)
|
22
|
+
# best, score = nil, 1_000
|
23
|
+
# json.each do |show|
|
24
|
+
# title = show["title_name"].downcase.gsub(/[^a-z0-9 ]+/, " ")
|
25
|
+
# if title =~ query
|
26
|
+
# d = DamerauLevenshtein.distance(show["title_name"].downcase, msg.downcase)
|
27
|
+
# if d < score
|
28
|
+
# best = show
|
29
|
+
# score = d
|
30
|
+
# end
|
31
|
+
# end
|
32
|
+
# end
|
33
33
|
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
34
|
+
# if best
|
35
|
+
# anime = best["title_name"]
|
36
|
+
# episode = best["count"]
|
37
|
+
# start_time = Time.at(best["start_time"].to_i)
|
38
|
+
# distance = TimeDifference.between(start_time, Time.now).in_general
|
39
|
+
# distance_s = "#{distance[:days]}d #{distance[:hours]}h #{distance[:minutes]}m"
|
40
40
|
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
end
|
41
|
+
# reply "ETA for #{anime} (ep #{episode}): #{distance_s}"
|
42
|
+
# else
|
43
|
+
# reply "No matches found"
|
44
|
+
# end
|
45
|
+
# end
|
46
|
+
# end
|
47
|
+
# end
|
data/plugins/gc.rb
CHANGED
@@ -22,10 +22,11 @@ define_plugin("!gc") do |msg|
|
|
22
22
|
url = URI.parse("http://api.wolframalpha.com/v2/query?input=#{CGI.escape(msg)}&appid=#{app_id}&format=plaintext&excludepodid=Input&assumption=#{assumption}")
|
23
23
|
|
24
24
|
begin
|
25
|
+
answers = []
|
26
|
+
|
25
27
|
Net::HTTP.start(url.host, url.port) do |http|
|
26
28
|
resp = http.get(url.request_uri).body
|
27
29
|
doc = Nokogiri::XML(resp)
|
28
|
-
answers = []
|
29
30
|
|
30
31
|
doc.css("pod[error='false'] plaintext").each do |plaintext|
|
31
32
|
answers << plaintext.inner_html.strip
|
data/plugins/weather.rb
CHANGED
@@ -21,7 +21,10 @@ define_plugin("!w") do |msg|
|
|
21
21
|
resp = http.get("/api/#{api_key}/conditions/q/#{param}.json")
|
22
22
|
json = JSON.parse(resp.body)
|
23
23
|
|
24
|
-
if json["
|
24
|
+
if json["response"] && json["response"]["results"]
|
25
|
+
query = "zmw:" + json["response"]["results"][0]["zmw"]
|
26
|
+
reply "Ambiguous location. Try searching #{query}"
|
27
|
+
elsif json["current_observation"].nil?
|
25
28
|
reply "Unknown location. Usage: !w [us zip code | city, state | city, country]"
|
26
29
|
else
|
27
30
|
location = json["current_observation"]["display_location"]["full"]
|
metadata
CHANGED
@@ -1,153 +1,125 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: meimei
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- r888888888
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-03-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jeweler
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rdoc
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: nokogiri
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '0'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: json
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '0'
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- -
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '0'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: damerau-levenshtein
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - '>='
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '0'
|
90
|
-
type: :runtime
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - '>='
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '0'
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: time_difference
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - '>='
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: '0'
|
104
|
-
type: :runtime
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - '>='
|
80
|
+
- - ">="
|
109
81
|
- !ruby/object:Gem::Version
|
110
82
|
version: '0'
|
111
83
|
- !ruby/object:Gem::Dependency
|
112
84
|
name: pry
|
113
85
|
requirement: !ruby/object:Gem::Requirement
|
114
86
|
requirements:
|
115
|
-
- -
|
87
|
+
- - ">="
|
116
88
|
- !ruby/object:Gem::Version
|
117
89
|
version: '0'
|
118
90
|
type: :runtime
|
119
91
|
prerelease: false
|
120
92
|
version_requirements: !ruby/object:Gem::Requirement
|
121
93
|
requirements:
|
122
|
-
- -
|
94
|
+
- - ">="
|
123
95
|
- !ruby/object:Gem::Version
|
124
96
|
version: '0'
|
125
97
|
- !ruby/object:Gem::Dependency
|
126
98
|
name: yahoofinance
|
127
99
|
requirement: !ruby/object:Gem::Requirement
|
128
100
|
requirements:
|
129
|
-
- -
|
101
|
+
- - ">="
|
130
102
|
- !ruby/object:Gem::Version
|
131
103
|
version: '0'
|
132
104
|
type: :runtime
|
133
105
|
prerelease: false
|
134
106
|
version_requirements: !ruby/object:Gem::Requirement
|
135
107
|
requirements:
|
136
|
-
- -
|
108
|
+
- - ">="
|
137
109
|
- !ruby/object:Gem::Version
|
138
110
|
version: '0'
|
139
111
|
- !ruby/object:Gem::Dependency
|
140
112
|
name: timezone
|
141
113
|
requirement: !ruby/object:Gem::Requirement
|
142
114
|
requirements:
|
143
|
-
- -
|
115
|
+
- - ">="
|
144
116
|
- !ruby/object:Gem::Version
|
145
117
|
version: '0'
|
146
118
|
type: :runtime
|
147
119
|
prerelease: false
|
148
120
|
version_requirements: !ruby/object:Gem::Requirement
|
149
121
|
requirements:
|
150
|
-
- -
|
122
|
+
- - ">="
|
151
123
|
- !ruby/object:Gem::Version
|
152
124
|
version: '0'
|
153
125
|
description: If all you need is a simple infobot and don't need a full RFC1459 implementation.
|
@@ -158,7 +130,7 @@ extra_rdoc_files:
|
|
158
130
|
- LICENSE.txt
|
159
131
|
- README.rdoc
|
160
132
|
files:
|
161
|
-
- .document
|
133
|
+
- ".document"
|
162
134
|
- Gemfile
|
163
135
|
- Gemfile.lock
|
164
136
|
- LICENSE.txt
|
@@ -166,6 +138,9 @@ files:
|
|
166
138
|
- Rakefile
|
167
139
|
- VERSION
|
168
140
|
- cron.sh
|
141
|
+
- example/Gemfile
|
142
|
+
- example/Gemfile.lock
|
143
|
+
- example/start.rb
|
169
144
|
- lib/meimei.rb
|
170
145
|
- lib/meimei/array_extensions.rb
|
171
146
|
- lib/meimei/client.rb
|
@@ -223,17 +198,17 @@ require_paths:
|
|
223
198
|
- lib
|
224
199
|
required_ruby_version: !ruby/object:Gem::Requirement
|
225
200
|
requirements:
|
226
|
-
- -
|
201
|
+
- - ">="
|
227
202
|
- !ruby/object:Gem::Version
|
228
203
|
version: '0'
|
229
204
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
230
205
|
requirements:
|
231
|
-
- -
|
206
|
+
- - ">="
|
232
207
|
- !ruby/object:Gem::Version
|
233
208
|
version: '0'
|
234
209
|
requirements: []
|
235
210
|
rubyforge_project:
|
236
|
-
rubygems_version: 2.
|
211
|
+
rubygems_version: 2.6.11
|
237
212
|
signing_key:
|
238
213
|
specification_version: 4
|
239
214
|
summary: Minimalistic IRC bot framework
|