bbiff 0.3.1 → 0.3.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.
- checksums.yaml +4 -4
- data/lib/bbiff/executable.rb +5 -2
- data/lib/bbiff/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b6e29891f7105f485929afc787b739a2476f2a66
|
|
4
|
+
data.tar.gz: 477da394e16185126c4cb48c242d20c3d629c289
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 86dd0c417709d9421d96b1f61b3b2d83c231c28c7203b9df73c6748c5f6d8992d522ba2ee8ec4cdd5cd2fbc48b577a8cd509483e337415091bb0c8e3db351fb5
|
|
7
|
+
data.tar.gz: 8868e04277662aff778a94e157ad2e414720d01e2e9fb2e84adb9a9dbb4d725a56a9061a8104d76f0dc8ae17d463fdc2e649ac496d81664780ee87904259af80
|
data/lib/bbiff/executable.rb
CHANGED
|
@@ -125,7 +125,7 @@ class Executable
|
|
|
125
125
|
end
|
|
126
126
|
|
|
127
127
|
start_no = thread.last + 1
|
|
128
|
-
if start_no
|
|
128
|
+
if start_no > thread_stop
|
|
129
129
|
out.puts "スレッドストップ"
|
|
130
130
|
break
|
|
131
131
|
end
|
|
@@ -176,8 +176,11 @@ EOD
|
|
|
176
176
|
begin
|
|
177
177
|
thread = Bbs::create_thread(url)
|
|
178
178
|
@settings.current['thread_url'] = url
|
|
179
|
+
rescue Bbs::Downloader::DownloadFailure => e
|
|
180
|
+
STDERR.puts "#{e.response.code} #{e.response.msg}: #{e.response.uri}"
|
|
181
|
+
exit 1
|
|
179
182
|
rescue => e
|
|
180
|
-
STDERR.puts e
|
|
183
|
+
STDERR.puts e.message
|
|
181
184
|
exit 1
|
|
182
185
|
end
|
|
183
186
|
if thread.nil?
|
data/lib/bbiff/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bbiff
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Yoteichi
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2017-04-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -126,7 +126,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
126
126
|
version: '0'
|
|
127
127
|
requirements: []
|
|
128
128
|
rubyforge_project:
|
|
129
|
-
rubygems_version: 2.
|
|
129
|
+
rubygems_version: 2.6.8
|
|
130
130
|
signing_key:
|
|
131
131
|
specification_version: 4
|
|
132
132
|
summary: notifies new post arrival on the Shitaraba BBS.
|