addic7ed_downloader 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7188a8b0ab68024df3d172e9c3bc4f6ec4a5f7ad
4
- data.tar.gz: dec1e904491b81d8d5af5616fcbac0f88633fe49
3
+ metadata.gz: d06349a26b829947d73fb9280220ac2f28a61f14
4
+ data.tar.gz: cb84eb76108d5b33739783361ba3eac9dc7562da
5
5
  SHA512:
6
- metadata.gz: 478b87d36afbfac7c747dcca996673c6157b50c72c8754523db305d48dc78bfef7e9163a23a4ba966def7144860a4f7621ee45bbf6518623f1c676f86ed67348
7
- data.tar.gz: 98d05656e23c601640daac69a5540810b0e9d4f15df3b8d8522ca2e5493739c6c5fde2514e78bdac81ea0a379ab1ee76b9ae78cfb3d48af4eb6c9f3fb3968371
6
+ metadata.gz: 1d2e530bf9163f67744c4f05bb59d6cdfbc6a4cdeecc770fdbdffd855a9e21100c16e63dd5d42d8c849441c42b4554d6c9ee1dbe2064286cf573962f41527ab0
7
+ data.tar.gz: 35d4b2629d4613bfdfe19cb9324643948613251ae47e8ceca8e851c06b178ace2d04e53ddc02331cf341b84a73d208e01b592f8e0b8c560fb422e43d04f293e9
data/README.md CHANGED
@@ -1,3 +1,5 @@
1
+ [![Gem Version](https://badge.fury.io/rb/addic7ed_downloader.svg)](https://badge.fury.io/rb/addic7ed_downloader) [![Build Status](https://travis-ci.org/iovis9/addic7ed_downloader.svg?branch=master)](https://travis-ci.org/iovis9/addic7ed_downloader) [![Dependency Status](https://gemnasium.com/badges/github.com/iovis9/addic7ed_downloader.svg)](https://gemnasium.com/github.com/iovis9/addic7ed_downloader)
2
+
1
3
  # Addic7edDownloader
2
4
 
3
5
  Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/addic7ed_downloader`. To experiment with that code, run `bin/console` for an interactive prompt.
@@ -24,11 +24,11 @@ Gem::Specification.new do |spec|
24
24
  spec.add_runtime_dependency 'httparty', '~> 0.13'
25
25
 
26
26
  spec.add_development_dependency 'bundler', '~> 1.12'
27
- spec.add_development_dependency 'rake', '~> 10.0'
27
+ spec.add_development_dependency 'rake', '~> 11.1'
28
28
  spec.add_development_dependency 'rspec', '~> 3.0'
29
29
  spec.add_development_dependency 'guard-rspec', '~> 4.6'
30
30
  spec.add_development_dependency 'factory_girl', '~> 4.5'
31
- spec.add_development_dependency 'webmock', '~> 1.24'
31
+ spec.add_development_dependency 'webmock', '~> 2.0'
32
32
  spec.add_development_dependency 'pry', '~> 0.10'
33
33
  spec.add_development_dependency 'pry-byebug', '~> 3.3'
34
34
  end
data/exe/addic7ed CHANGED
@@ -78,7 +78,7 @@ begin
78
78
  if options[:auto]
79
79
  subtitles = search.find_best_subtitle
80
80
  else
81
- cli.say "Search results for #{search}. Choose the file:"
81
+ cli.say "Search results for #{search}:"
82
82
  subtitles = cli.choose(*search.results) do |menu|
83
83
  menu.default = '1'
84
84
  menu.select_by = :index
@@ -14,9 +14,10 @@ module Addic7edDownloader
14
14
  end
15
15
 
16
16
  def to_s
17
- str = "Version #{@version} (#{@language}): #{@complete} [#{@downloads} Downloads]"
18
- str << " #{@notes}" unless @notes.empty?
19
- str
17
+ "Version #{@version} " \
18
+ "(#{@language}#{', Hearing Impaired' if @hi})" \
19
+ "#{': ' << @notes unless @notes.empty?}" \
20
+ " [#{@downloads} Downloads]"
20
21
  end
21
22
 
22
23
  # We can sort by downloads number
@@ -1,3 +1,3 @@
1
1
  module Addic7edDownloader
2
- VERSION = '1.0.1'.freeze
2
+ VERSION = '1.0.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: addic7ed_downloader
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Marchante
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-05-18 00:00:00.000000000 Z
11
+ date: 2016-05-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '10.0'
75
+ version: '11.1'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '10.0'
82
+ version: '11.1'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rspec
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -128,14 +128,14 @@ dependencies:
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: '1.24'
131
+ version: '2.0'
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
- version: '1.24'
138
+ version: '2.0'
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: pry
141
141
  requirement: !ruby/object:Gem::Requirement