series_reminder 0.1.0 → 0.1.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 500a7a51a22c09672e6ca014bba57f0c9448d3b1
4
- data.tar.gz: 428c6589c42be636e38b3e5e7613e3b423b475ac
3
+ metadata.gz: a56ea2e4b361a7a4ac81c4a5a48425bab181f6c8
4
+ data.tar.gz: 2d97e4a88f7190a611193bbda96d0ec748200917
5
5
  SHA512:
6
- metadata.gz: cc44bf0e2e2e86e0dd88b2d911bf71bc8eb72196d21d8f82e8d74075108545abb9add2dd79cbaaa88291bffa74c3e430e11b5338ff9de5af136341ab712ebd74
7
- data.tar.gz: 1eeff14b92f1599b29d327a7981a05dc97435bb515f8759f0991faf6e12f64efb3b2f306240a71cb2795df07a23baac5bab5e9e470ad85c7d477eb49d019bb6b
6
+ metadata.gz: b8ef74a4c84b9b938a9dd51b03ce8deb1daff1b6738df90f036256d2a49ebb0ed0750b1f27f1c83bec618ce145ea9f234b95e4432f4c0bb1ed2d839f66ed43ac
7
+ data.tar.gz: 01f70843fe7cf4e8be751c267c5651701977218fbd36c51f793342b07f07205049bbd6d2acfbe03571fc42dda80ac5eceeb71e15f792c2c22704c0082cf09c44
@@ -1,4 +1,4 @@
1
- The MIT License (MIT)
1
+ MIT License
2
2
 
3
3
  Copyright (c) 2017 relmay
4
4
 
@@ -9,13 +9,13 @@ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
9
  copies of the Software, and to permit persons to whom the Software is
10
10
  furnished to do so, subject to the following conditions:
11
11
 
12
- The above copyright notice and this permission notice shall be included in
13
- all copies or substantial portions of the Software.
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
14
 
15
15
  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
16
  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
17
  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
18
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
19
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- THE SOFTWARE.
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/bin/series CHANGED
@@ -28,6 +28,10 @@ OptionParser.new do |opts|
28
28
  series.open_next
29
29
  end
30
30
 
31
+ opts.on('-p', '--show-previously', 'Open previously series.') do
32
+ series.open_series(series.get_last_series)
33
+ end
34
+
31
35
  opts.on('-l', '--show-last', 'Show number of last viewed series.') do
32
36
  puts "Number of last viewed series: #{series.get_last_series}"
33
37
  end
@@ -12,7 +12,7 @@ module SeriesReminder
12
12
  end
13
13
 
14
14
  def open_series(series)
15
- Player.open(filename(series))
15
+ Player.open(filename(series, @storage.get_regexp))
16
16
  end
17
17
 
18
18
  def open_next
@@ -1,3 +1,3 @@
1
1
  module SeriesReminder
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: series_reminder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - relmay
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-12-24 00:00:00.000000000 Z
11
+ date: 2017-12-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -47,16 +47,12 @@ executables:
47
47
  extensions: []
48
48
  extra_rdoc_files: []
49
49
  files:
50
- - ".gitignore"
51
- - ".rspec"
52
- - ".travis.yml"
53
50
  - CODE_OF_CONDUCT.md
54
51
  - Gemfile
55
- - LICENSE.txt
52
+ - LICENSE
56
53
  - README.md
57
54
  - Rakefile
58
55
  - bin/series
59
- - lib/.series
60
56
  - lib/series_reminder.rb
61
57
  - lib/series_reminder/config.rb
62
58
  - lib/series_reminder/helpers.rb
data/.gitignore DELETED
@@ -1,12 +0,0 @@
1
- /.bundle/
2
- /.yardoc
3
- /Gemfile.lock
4
- /_yardoc/
5
- /coverage/
6
- /doc/
7
- /pkg/
8
- /spec/reports/
9
- /tmp/
10
-
11
- # rspec failure tracking
12
- .rspec_status
data/.rspec DELETED
@@ -1,2 +0,0 @@
1
- --format documentation
2
- --color
@@ -1,5 +0,0 @@
1
- sudo: false
2
- language: ruby
3
- rvm:
4
- - 2.4.1
5
- before_install: gem install bundler -v 1.15.4
@@ -1 +0,0 @@
1
- 0